diff --git a/.github/workflows/cocoapods.yml b/.github/workflows/cocoapods.yml index 87ed26074..bf9cb04a6 100644 --- a/.github/workflows/cocoapods.yml +++ b/.github/workflows/cocoapods.yml @@ -31,7 +31,11 @@ jobs: pod_configuration: ["Debug", "Release"] extra_flags: ["", "--use-static-frameworks"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: "iOS, macOS, tvOS, and visionOS" run: | pod lib lint --verbose ${{ matrix.extra_flags }} \ @@ -61,7 +65,11 @@ jobs: matrix: pod_configuration: ["Debug", "Release"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: "macOS" run: | pod lib lint --verbose \ diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 402eb07f5..554d4ce0d 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -37,7 +37,11 @@ jobs: matrix: SAMPLE: ["Calendar", "Drive", "YouTube", "Storage"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build Debug run: | set -eu diff --git a/.github/workflows/service_generator.yml b/.github/workflows/service_generator.yml index 1f48bb4ac..8d448efeb 100644 --- a/.github/workflows/service_generator.yml +++ b/.github/workflows/service_generator.yml @@ -35,7 +35,11 @@ jobs: matrix: CONFIGURATION: ["debug", "release"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build ServiceGenerator run: | set -eu @@ -49,7 +53,11 @@ jobs: matrix: CONFIGURATION: ["Debug", "Release"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build ServiceGenerator run: | set -eu diff --git a/.github/workflows/swiftpm.yml b/.github/workflows/swiftpm.yml index 1a7197203..a327f13db 100644 --- a/.github/workflows/swiftpm.yml +++ b/.github/workflows/swiftpm.yml @@ -30,7 +30,11 @@ jobs: matrix: CONFIGURATION: ["debug", "release"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build and Test Library run: | set -eu @@ -47,7 +51,11 @@ jobs: PLATFORM: ["ios", "macos", "tvos", "visionos", "watchos"] CONFIGURATION: ["Debug", "Release"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 + - name: Select Xcode Version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 'latest-stable' - name: Build and Test Library run: | set -eu @@ -62,7 +70,9 @@ jobs: DESTINATION="platform=tvOS Simulator,name=Apple TV,OS=latest" ;; visionos) - DESTINATION="platform=visionOS Simulator,name=Apple Vision Pro,OS=latest" + # As of Aug 15, 2025, "latest" was failing as it matched both the + # beta and GM, use explict GM. + DESTINATION="platform=visionOS Simulator,name=Apple Vision Pro,OS=2.5" ;; watchos) DESTINATION="platform=WatchOS Simulator,name=Apple Watch Series 10 (46mm),OS=latest" diff --git a/GoogleAPIClientForREST.podspec b/GoogleAPIClientForREST.podspec index 37c0d1107..9795e8e12 100644 --- a/GoogleAPIClientForREST.podspec +++ b/GoogleAPIClientForREST.podspec @@ -1165,6 +1165,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/Parallelstore/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/Parallelstore/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'ParameterManager' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/ParameterManager/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'PaymentsResellerSubscription' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/PaymentsResellerSubscription/**/*.{h,m}' @@ -1315,6 +1320,11 @@ Pod::Spec.new do |s| sp.source_files = 'Sources/GeneratedServices/SecretManager/**/*.{h,m}' sp.public_header_files = 'Sources/GeneratedServices/SecretManager/Public/GoogleAPIClientForREST/*.h' end + s.subspec 'SecureSourceManager' do |sp| + sp.dependency 'GoogleAPIClientForREST/Core' + sp.source_files = 'Sources/GeneratedServices/SecureSourceManager/**/*.{h,m}' + sp.public_header_files = 'Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/*.h' + end s.subspec 'SecurityCommandCenter' do |sp| sp.dependency 'GoogleAPIClientForREST/Core' sp.source_files = 'Sources/GeneratedServices/SecurityCommandCenter/**/*.{h,m}' diff --git a/Package.swift b/Package.swift index 3e3b0c719..7d2eba9f2 100644 --- a/Package.swift +++ b/Package.swift @@ -901,6 +901,10 @@ let package = Package( name: "GoogleAPIClientForREST_Parallelstore", targets: ["GoogleAPIClientForREST_Parallelstore"] ), + .library( + name: "GoogleAPIClientForREST_ParameterManager", + targets: ["GoogleAPIClientForREST_ParameterManager"] + ), .library( name: "GoogleAPIClientForREST_PaymentsResellerSubscription", targets: ["GoogleAPIClientForREST_PaymentsResellerSubscription"] @@ -1021,6 +1025,10 @@ let package = Package( name: "GoogleAPIClientForREST_SecretManager", targets: ["GoogleAPIClientForREST_SecretManager"] ), + .library( + name: "GoogleAPIClientForREST_SecureSourceManager", + targets: ["GoogleAPIClientForREST_SecureSourceManager"] + ), .library( name: "GoogleAPIClientForREST_SecurityCommandCenter", targets: ["GoogleAPIClientForREST_SecurityCommandCenter"] @@ -2581,6 +2589,12 @@ let package = Package( path: "Sources/GeneratedServices/Parallelstore", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_ParameterManager", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/ParameterManager", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_PaymentsResellerSubscription", dependencies: ["GoogleAPIClientForRESTCore"], @@ -2761,6 +2775,12 @@ let package = Package( path: "Sources/GeneratedServices/SecretManager", publicHeadersPath: "Public" ), + .target( + name: "GoogleAPIClientForREST_SecureSourceManager", + dependencies: ["GoogleAPIClientForRESTCore"], + path: "Sources/GeneratedServices/SecureSourceManager", + publicHeadersPath: "Public" + ), .target( name: "GoogleAPIClientForREST_SecurityCommandCenter", dependencies: ["GoogleAPIClientForRESTCore"], diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m index 3ff2c4a3e..99ad432a5 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksObjects.m @@ -163,6 +163,45 @@ @implementation GTLRAIPlatformNotebooks_CancelOperationRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_CheckAuthorizationRequest +// + +@implementation GTLRAIPlatformNotebooks_CheckAuthorizationRequest +@dynamic authorizationDetails; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails +// + +@implementation GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_CheckAuthorizationResponse +// + +@implementation GTLRAIPlatformNotebooks_CheckAuthorizationResponse +@dynamic createTime, oauthUri, success; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"oauthUri" : @"oauth_uri" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAIPlatformNotebooks_CheckInstanceUpgradabilityResponse @@ -341,6 +380,36 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_GenerateAccessTokenRequest +// + +@implementation GTLRAIPlatformNotebooks_GenerateAccessTokenRequest +@dynamic vmToken; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAIPlatformNotebooks_GenerateAccessTokenResponse +// + +@implementation GTLRAIPlatformNotebooks_GenerateAccessTokenResponse +@dynamic accessToken, expiresIn, scope, tokenType; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"accessToken" : @"access_token", + @"expiresIn" : @"expires_in", + @"tokenType" : @"token_type" + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAIPlatformNotebooks_GPUDriverConfig @@ -368,9 +437,10 @@ @implementation GTLRAIPlatformNotebooks_ImageRelease @implementation GTLRAIPlatformNotebooks_Instance @dynamic createTime, creator, disableProxyAccess, enableDeletionProtection, - enableThirdPartyIdentity, gceSetup, healthInfo, healthState, - identifier, instanceOwners, labels, name, proxyUri, satisfiesPzi, - satisfiesPzs, state, thirdPartyProxyUrl, updateTime, upgradeHistory; + enableManagedEuc, 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/GTLRAIPlatformNotebooksQuery.m b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m index 606b2e7b4..e8673122b 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m +++ b/Sources/GeneratedServices/AIPlatformNotebooks/GTLRAIPlatformNotebooksQuery.m @@ -35,6 +35,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckAuthorization + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_CheckAuthorizationRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:checkAuthorization"; + GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckAuthorization *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAIPlatformNotebooks_CheckAuthorizationResponse class]; + query.loggingName = @"notebooks.projects.locations.instances.checkAuthorization"; + return query; +} + +@end + @implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckUpgradability @dynamic notebookInstance; @@ -127,6 +154,33 @@ + (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_DiagnoseInstanceRequest @end +@implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGenerateAccessToken + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_GenerateAccessTokenRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:generateAccessToken"; + GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGenerateAccessToken *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAIPlatformNotebooks_GenerateAccessTokenResponse class]; + query.loggingName = @"notebooks.projects.locations.instances.generateAccessToken"; + return query; +} + +@end + @implementation GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGet @dynamic name; diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h index a8b0787d6..0206196e4 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksObjects.h @@ -18,6 +18,7 @@ @class GTLRAIPlatformNotebooks_AccessConfig; @class GTLRAIPlatformNotebooks_Binding; @class GTLRAIPlatformNotebooks_BootDisk; +@class GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails; @class GTLRAIPlatformNotebooks_ConfidentialInstanceConfig; @class GTLRAIPlatformNotebooks_ContainerImage; @class GTLRAIPlatformNotebooks_DataDisk; @@ -753,6 +754,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @end +/** + * Request message for checking authorization for the instance owner. + */ +@interface GTLRAIPlatformNotebooks_CheckAuthorizationRequest : GTLRObject + +/** + * Optional. The details of the OAuth authorization response. This may include + * additional params such as dry_run, version_info, origin, propagate, etc. + */ +@property(nonatomic, strong, nullable) GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails *authorizationDetails; + +@end + + +/** + * Optional. The details of the OAuth authorization response. This may include + * additional params such as dry_run, version_info, origin, propagate, etc. + * + * @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 GTLRAIPlatformNotebooks_CheckAuthorizationRequest_AuthorizationDetails : GTLRObject +@end + + +/** + * Response message for checking authorization for the instance owner. + */ +@interface GTLRAIPlatformNotebooks_CheckAuthorizationResponse : GTLRObject + +/** Output only. Timestamp when this Authorization request was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * If the user has not completed OAuth consent, then the oauth_url is returned. + * Otherwise, this field is not set. + */ +@property(nonatomic, copy, nullable) NSString *oauthUri; + +/** + * Success indicates that the user completed OAuth consent and access tokens + * can be generated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *success; + +@end + + /** * Response for checking if a notebook instance is upgradeable. */ @@ -1207,6 +1260,53 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ @end +/** + * Request message for generating an EUC for the instance owner. + */ +@interface GTLRAIPlatformNotebooks_GenerateAccessTokenRequest : GTLRObject + +/** + * Required. The VM identity token (a JWT) for authenticating the VM. + * https://cloud.google.com/compute/docs/instances/verifying-instance-identity + */ +@property(nonatomic, copy, nullable) NSString *vmToken; + +@end + + +/** + * Response message for generating an EUC for the instance owner. + */ +@interface GTLRAIPlatformNotebooks_GenerateAccessTokenResponse : GTLRObject + +/** + * Short-lived access token string which may be used to access Google APIs. + */ +@property(nonatomic, copy, nullable) NSString *accessToken; + +/** + * The time in seconds when the access token expires. Typically that's 3600. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *expiresIn; + +/** + * Space-separated list of scopes contained in the returned token. + * https://cloud.google.com/docs/authentication/token-types#access-contents + */ +@property(nonatomic, copy, nullable) NSString *scope; + +/** + * Type of the returned access token (e.g. "Bearer"). It specifies how the + * token must be used. Bearer tokens may be used by any entity without proof of + * identity. + */ +@property(nonatomic, copy, nullable) NSString *tokenType; + +@end + + /** * A GPU driver configuration */ @@ -1278,6 +1378,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAIPlatformNotebooks_UpgradeHistoryEntry_ */ @property(nonatomic, strong, nullable) NSNumber *enableDeletionProtection; +/** + * Optional. Flag to enable managed end user credentials for the instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableManagedEuc; + /** * Optional. Flag that specifies that a notebook can be accessed with third * party identity provider. diff --git a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h index b969123b6..bef7ba57f 100644 --- a/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h +++ b/Sources/GeneratedServices/AIPlatformNotebooks/Public/GoogleAPIClientForREST/GTLRAIPlatformNotebooksQuery.h @@ -59,6 +59,41 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Initiated by Cloud Console for Oauth consent flow for Workbench Instances. + * Do not use this method directly. Design doc: go/wbi-euc:auth-dd + * + * Method: notebooks.projects.locations.instances.checkAuthorization + * + * Authorization scope(s): + * @c kGTLRAuthScopeAIPlatformNotebooksCloudPlatform + */ +@interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckAuthorization : GTLRAIPlatformNotebooksQuery + +/** + * Required. The name of the Notebook Instance resource. Format: + * `projects/{project}/locations/{location}/instances/{instance}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAIPlatformNotebooks_CheckAuthorizationResponse. + * + * Initiated by Cloud Console for Oauth consent flow for Workbench Instances. + * Do not use this method directly. Design doc: go/wbi-euc:auth-dd + * + * @param object The @c GTLRAIPlatformNotebooks_CheckAuthorizationRequest to + * include in the query. + * @param name Required. The name of the Notebook Instance resource. Format: + * `projects/{project}/locations/{location}/instances/{instance}` + * + * @return GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesCheckAuthorization + */ ++ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_CheckAuthorizationRequest *)object + name:(NSString *)name; + +@end + /** * Checks whether a notebook instance is upgradable. * @@ -191,6 +226,41 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Called by VM to return an EUC for the instance owner. Do not use this method + * directly. Design doc: go/wbi-euc:dd + * + * Method: notebooks.projects.locations.instances.generateAccessToken + * + * Authorization scope(s): + * @c kGTLRAuthScopeAIPlatformNotebooksCloudPlatform + */ +@interface GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGenerateAccessToken : GTLRAIPlatformNotebooksQuery + +/** + * Required. Format: + * `projects/{project}/locations/{location}/instances/{instance_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAIPlatformNotebooks_GenerateAccessTokenResponse. + * + * Called by VM to return an EUC for the instance owner. Do not use this method + * directly. Design doc: go/wbi-euc:dd + * + * @param object The @c GTLRAIPlatformNotebooks_GenerateAccessTokenRequest to + * include in the query. + * @param name Required. Format: + * `projects/{project}/locations/{location}/instances/{instance_id}` + * + * @return GTLRAIPlatformNotebooksQuery_ProjectsLocationsInstancesGenerateAccessToken + */ ++ (instancetype)queryWithObject:(GTLRAIPlatformNotebooks_GenerateAccessTokenRequest *)object + name:(NSString *)name; + +@end + /** * Gets details of a single Instance. * diff --git a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m index aed7c0da1..a42c366a3 100644 --- a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m +++ b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementObjects.m @@ -199,6 +199,17 @@ @implementation GTLRAPIManagement_EnableObservationJobRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIManagement_Entitlement +// + +@implementation GTLRAPIManagement_Entitlement +@dynamic apiObservationEntitled, billingProjectNumber, createTime, name, + updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIManagement_GclbObservationSource diff --git a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m index 625a6c766..a077e68c3 100644 --- a/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m +++ b/Sources/GeneratedServices/APIManagement/GTLRAPIManagementQuery.m @@ -36,6 +36,25 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1alpha/{+name}"; + GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIManagement_Entitlement class]; + query.loggingName = @"apim.projects.locations.getEntitlement"; + return query; +} + +@end + @implementation GTLRAPIManagementQuery_ProjectsLocationsList @dynamic extraLocationTypes, filter, name, pageSize, pageToken; diff --git a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h index 8e36f6cf1..59995ae16 100644 --- a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h +++ b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementObjects.h @@ -533,6 +533,42 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIManagement_TagAction_Action_Remove; @end +/** + * Entitlement stores data related to API Observation entitlement for a given + * project + */ +@interface GTLRAPIManagement_Entitlement : GTLRObject + +/** + * Whether API Observation is entitled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *apiObservationEntitled; + +/** + * Project number of associated billing project that has Apigee and Advanced + * API Security entitled. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *billingProjectNumber; + +/** Output only. The time of the entitlement creation. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. The entitlement resource name + * `projects/{project}/locations/{location}/entitlement` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The time of the entitlement update. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * The GCLB observation source. */ diff --git a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h index e5e9bdad6..e74d31a0e 100644 --- a/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h +++ b/Sources/GeneratedServices/APIManagement/Public/GoogleAPIClientForREST/GTLRAPIManagementQuery.h @@ -60,6 +60,36 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * GetEntitlement returns the entitlement for the provided project. + * + * Method: apim.projects.locations.getEntitlement + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIManagementCloudPlatform + */ +@interface GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement : GTLRAPIManagementQuery + +/** + * Required. The entitlement resource name Format: + * projects/{project}/locations/{location}/entitlement + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIManagement_Entitlement. + * + * GetEntitlement returns the entitlement for the provided project. + * + * @param name Required. The entitlement resource name Format: + * projects/{project}/locations/{location}/entitlement + * + * @return GTLRAPIManagementQuery_ProjectsLocationsGetEntitlement + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + /** * Lists information about the supported locations for this service. * @@ -71,8 +101,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRAPIManagementQuery_ProjectsLocationsList : GTLRAPIManagementQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m index 916553a96..937f16544 100644 --- a/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubObjects.m @@ -122,11 +122,35 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierNotFound = @"SUPPLIER_NOT_FOUND"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierRecreated = @"SUPPLIER_RECREATED"; +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.sourceTypes +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpIlb = @"GCP_ILB"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpXlb = @"GCP_XLB"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.style +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Graphql = @"GRAPHQL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Grpc = @"GRPC"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Rest = @"REST"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_StyleUnspecified = @"STYLE_UNSPECIFIED"; + +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation.classification +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_ClassificationUnspecified = @"CLASSIFICATION_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Known = @"KNOWN"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Unknown = @"UNKNOWN"; + // GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus.currentExecutionState NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_CurrentExecutionStateUnspecified = @"CURRENT_EXECUTION_STATE_UNSPECIFIED"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_NotRunning = @"NOT_RUNNING"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_Running = @"RUNNING"; +// GTLRAPIhub_GoogleCloudApihubV1Header.dataType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Bool = @"BOOL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Float = @"FLOAT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Integer = @"INTEGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Uuid = @"UUID"; + // GTLRAPIhub_GoogleCloudApihubV1HttpOperation.method NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Delete = @"DELETE"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1HttpOperation_Method_Get = @"GET"; @@ -166,6 +190,14 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec30 = @"OPEN_API_SPEC_3_0"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31 = @"OPEN_API_SPEC_3_1"; +// GTLRAPIhub_GoogleCloudApihubV1PathParam.dataType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Bool = @"BOOL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Float = @"FLOAT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Integer = @"INTEGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Uuid = @"UUID"; + // GTLRAPIhub_GoogleCloudApihubV1Plugin.gatewayType NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApiDiscovery = @"API_DISCOVERY"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1Plugin_GatewayType_ApigeeEdgePrivateCloud = @"APIGEE_EDGE_PRIVATE_CLOUD"; @@ -214,6 +246,14 @@ NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_Error = @"ERROR"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAPIhub_GoogleCloudApihubV1QueryParam.dataType +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Bool = @"BOOL"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Float = @"FLOAT"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Integer = @"INTEGER"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_String = @"STRING"; +NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Uuid = @"UUID"; + // GTLRAPIhub_GoogleCloudApihubV1ResourceConfig.actionType NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; NSString * const kGTLRAPIhub_GoogleCloudApihubV1ResourceConfig_ActionType_SyncMetadata = @"SYNC_METADATA"; @@ -804,6 +844,47 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1DisablePluginRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation +@dynamic apiOperationCount, createTime, hostname, knownOperationsCount, + lastEventDetectedTime, name, origin, serverIps, sourceLocations, + sourceMetadata, sourceTypes, style, unknownOperationsCount, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"serverIps" : [NSString class], + @"sourceLocations" : [NSString class], + @"sourceTypes" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation +@dynamic classification, count, createTime, firstSeenTime, httpOperation, + lastSeenTime, matchResults, name, sourceMetadata, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"matchResults" : [GTLRAPIhub_GoogleCloudApihubV1MatchResult class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Documentation @@ -929,6 +1010,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1Header +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1Header +@dynamic count, dataType, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1HostingService @@ -959,6 +1050,100 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1HttpOperation @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails +@dynamic httpOperation, pathParams, queryParams, request, response; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pathParams" : [GTLRAPIhub_GoogleCloudApihubV1PathParam class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1QueryParam class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpRequest +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpRequest +@dynamic headers; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1Header class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpResponse +@dynamic headers, responseCodes; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers + ++ (Class)classForAdditionalProperties { + return [GTLRAPIhub_GoogleCloudApihubV1Header class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes + ++ (Class)classForAdditionalProperties { + return [NSNumber class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Issue @@ -1147,6 +1332,50 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse +@dynamic discoveredApiObservations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discoveredApiObservations" : [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"discoveredApiObservations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse +@dynamic discoveredApiOperations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discoveredApiOperations" : [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"discoveredApiOperations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1ListExternalApisResponse @@ -1321,6 +1550,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1LookupRuntimeProjectAttachmentResp @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1MatchResult +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1MatchResult +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1MultiIntValues @@ -1446,6 +1685,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Path @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1PathParam +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1PathParam +@dynamic dataType, position; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Plugin @@ -1563,6 +1812,16 @@ @implementation GTLRAPIhub_GoogleCloudApihubV1Point @end +// ---------------------------------------------------------------------------- +// +// GTLRAPIhub_GoogleCloudApihubV1QueryParam +// + +@implementation GTLRAPIhub_GoogleCloudApihubV1QueryParam +@dynamic count, dataType, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRAPIhub_GoogleCloudApihubV1Range diff --git a/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m index c1cd9cd53..7fabf4d09 100644 --- a/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m +++ b/Sources/GeneratedServices/APIhub/GTLRAPIhubQuery.m @@ -1078,6 +1078,82 @@ + (instancetype)queryWithObject:(GTLRAPIhub_GoogleCloudApihubV1Deployment *)obje @end +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/discoveredApiOperations"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.list"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.get"; + return query; +} + +@end + +@implementation GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/discoveredApiObservations"; + GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse class]; + query.loggingName = @"apihub.projects.locations.discoveredApiObservations.list"; + return query; +} + +@end + @implementation GTLRAPIhubQuery_ProjectsLocationsExternalApisCreate @dynamic externalApiId, parent; diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h index 953c2e4e1..b0b4c46cf 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubObjects.h @@ -47,6 +47,8 @@ @class GTLRAPIhub_GoogleCloudApihubV1Deployment; @class GTLRAPIhub_GoogleCloudApihubV1Deployment_Attributes; @class GTLRAPIhub_GoogleCloudApihubV1DeploymentMetadata; +@class GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation; +@class GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation; @class GTLRAPIhub_GoogleCloudApihubV1Documentation; @class GTLRAPIhub_GoogleCloudApihubV1Endpoint; @class GTLRAPIhub_GoogleCloudApihubV1EnumAttributeValues; @@ -54,12 +56,21 @@ @class GTLRAPIhub_GoogleCloudApihubV1ExternalApi; @class GTLRAPIhub_GoogleCloudApihubV1ExternalApi_Attributes; @class GTLRAPIhub_GoogleCloudApihubV1GoogleServiceAccountConfig; +@class GTLRAPIhub_GoogleCloudApihubV1Header; @class GTLRAPIhub_GoogleCloudApihubV1HostingService; @class GTLRAPIhub_GoogleCloudApihubV1HostProjectRegistration; @class GTLRAPIhub_GoogleCloudApihubV1HttpOperation; +@class GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails; +@class GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams; +@class GTLRAPIhub_GoogleCloudApihubV1HttpRequest; +@class GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers; +@class GTLRAPIhub_GoogleCloudApihubV1HttpResponse; +@class GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers; +@class GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes; @class GTLRAPIhub_GoogleCloudApihubV1Issue; @class GTLRAPIhub_GoogleCloudApihubV1LastExecution; @class GTLRAPIhub_GoogleCloudApihubV1LintResponse; +@class GTLRAPIhub_GoogleCloudApihubV1MatchResult; @class GTLRAPIhub_GoogleCloudApihubV1MultiIntValues; @class GTLRAPIhub_GoogleCloudApihubV1MultiSelectValues; @class GTLRAPIhub_GoogleCloudApihubV1MultiStringValues; @@ -68,6 +79,7 @@ @class GTLRAPIhub_GoogleCloudApihubV1OperationDetails; @class GTLRAPIhub_GoogleCloudApihubV1Owner; @class GTLRAPIhub_GoogleCloudApihubV1Path; +@class GTLRAPIhub_GoogleCloudApihubV1PathParam; @class GTLRAPIhub_GoogleCloudApihubV1Plugin; @class GTLRAPIhub_GoogleCloudApihubV1PluginActionConfig; @class GTLRAPIhub_GoogleCloudApihubV1PluginInstance; @@ -76,6 +88,7 @@ @class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionID; @class GTLRAPIhub_GoogleCloudApihubV1PluginInstanceActionSource; @class GTLRAPIhub_GoogleCloudApihubV1Point; +@class GTLRAPIhub_GoogleCloudApihubV1QueryParam; @class GTLRAPIhub_GoogleCloudApihubV1Range; @class GTLRAPIhub_GoogleCloudApihubV1ResourceConfig; @class GTLRAPIhub_GoogleCloudApihubV1RuntimeProjectAttachment; @@ -649,6 +662,78 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErro */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DependencyErrorDetail_Error_SupplierRecreated; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.sourceTypes + +/** + * GCP internal load balancer. + * + * Value: "GCP_ILB" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpIlb; +/** + * GCP external load balancer. + * + * Value: "GCP_XLB" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_GcpXlb; +/** + * Source type not specified. + * + * Value: "SOURCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_SourceTypes_SourceTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation.style + +/** + * Style is GraphQL API + * + * Value: "GRAPHQL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Graphql; +/** + * Style is Grpc API + * + * Value: "GRPC" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Grpc; +/** + * Style is Rest API + * + * Value: "REST" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Rest; +/** + * Unknown style + * + * Value: "STYLE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_StyleUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation.classification + +/** + * Operation is not classified as known or unknown. + * + * Value: "CLASSIFICATION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_ClassificationUnspecified; +/** + * Operation has a matched catalog operation. + * + * Value: "KNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Known; +/** + * Operation does not have a matched catalog operation. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Unknown; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1ExecutionStatus.currentExecutionState @@ -671,6 +756,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatu */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1ExecutionStatus_CurrentExecutionState_Running; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1Header.dataType + +/** + * Boolean data type + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Bool; +/** + * Unspecified data type + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_DataTypeUnspecified; +/** + * Float data type + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Float; +/** + * Integer data type + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Integer; +/** + * String data type + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_String; +/** + * UUID data type + * + * Value: "UUID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Uuid; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1HttpOperation.method @@ -857,6 +982,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDet */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1OpenApiSpecDetails_Format_OpenApiSpec31; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1PathParam.dataType + +/** + * Boolean data type + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Bool; +/** + * Unspecified data type + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_DataTypeUnspecified; +/** + * Float data type + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Float; +/** + * Integer data type + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Integer; +/** + * String data type + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_String; +/** + * UUID data type + * + * Value: "UUID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Uuid; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1Plugin.gatewayType @@ -1118,6 +1283,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstance */ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1PluginInstanceAction_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAPIhub_GoogleCloudApihubV1QueryParam.dataType + +/** + * Boolean data type + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Bool; +/** + * Unspecified data type + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_DataTypeUnspecified; +/** + * Float data type + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Float; +/** + * Integer data type + * + * Value: "INTEGER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Integer; +/** + * String data type + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_String; +/** + * UUID data type + * + * Value: "UUID" + */ +FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Uuid; + // ---------------------------------------------------------------------------- // GTLRAPIhub_GoogleCloudApihubV1ResourceConfig.actionType @@ -2681,7 +2886,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S * deployment. This maps to the following system defined attribute: * `projects/{project}/locations/{location}/attributes/system-management-url` * The number of values for this attribute will be based on the cardinality of - * the attribute. The same can be retrieved via GetAttribute API. + * the attribute. The same can be retrieved via GetAttribute API. The value of + * the attribute should be a valid URL. */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *managementUrl; @@ -2692,9 +2898,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @property(nonatomic, copy, nullable) NSString *name; /** - * Required. A uri that uniquely identfies the deployment within a particular - * gateway. For example, if the runtime resource is of type APIGEE_PROXY, then - * this field will be a combination of org, proxy name and environment. + * Required. The resource URI identifies the deployment within its gateway. For + * Apigee gateways, its recommended to use the format: + * organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with + * name `orders` is deployed in `staging` environment of `cymbal` organization, + * the resource URI would be: + * `organizations/cymbal/environments/staging/apis/orders`. */ @property(nonatomic, copy, nullable) NSString *resourceUri; @@ -2733,7 +2942,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S * attribute: * `projects/{project}/locations/{location}/attributes/system-source-uri` The * number of values for this attribute will be based on the cardinality of the - * attribute. The same can be retrieved via GetAttribute API. + * attribute. The same can be retrieved via GetAttribute API. The value of the + * attribute should be a valid URI, and in case of Cloud Storage URI, it should + * point to a Cloud Storage object, not a directory. */ @property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1AttributeValues *sourceUri; @@ -2809,6 +3020,165 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * Respresents an API Observation observed in one of the sources. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation : GTLRObject + +/** + * Optional. The number of observed API Operations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *apiOperationCount; + +/** Output only. Create time stamp of the observation in API Hub. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. The hostname of requests processed for this Observation. */ +@property(nonatomic, copy, nullable) NSString *hostname; + +/** + * Output only. The number of known API Operations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *knownOperationsCount; + +/** Optional. Last event detected time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastEventDetectedTime; + +/** + * Identifier. The name of the discovered API Observation. Format: + * `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. For an observation pushed from a gcp resource, this would be the + * gcp project id. + */ +@property(nonatomic, copy, nullable) NSString *origin; + +/** + * Optional. The IP address (IPv4 or IPv6) of the origin server that the + * request was sent to. This field can include port information. Examples: + * `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. + */ +@property(nonatomic, strong, nullable) NSArray *serverIps; + +/** Optional. The location of the observation source. */ +@property(nonatomic, strong, nullable) NSArray *sourceLocations; + +/** + * Output only. The metadata of the source from which the observation was + * collected. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1SourceMetadata *sourceMetadata; + +/** + * Optional. The type of the source from which the observation was collected. + */ +@property(nonatomic, strong, nullable) NSArray *sourceTypes; + +/** + * Optional. Style of ApiObservation + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Graphql + * Style is GraphQL API (Value: "GRAPHQL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Grpc + * Style is Grpc API (Value: "GRPC") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_Rest + * Style is Rest API (Value: "REST") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation_Style_StyleUnspecified + * Unknown style (Value: "STYLE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *style; + +/** + * Output only. The number of unknown API Operations. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unknownOperationsCount; + +/** Output only. Update time stamp of the observation in API Hub. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * DiscoveredApiOperation represents an API Operation observed in one of the + * sources. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation : GTLRObject + +/** + * Output only. The classification of the discovered API operation. + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_ClassificationUnspecified + * Operation is not classified as known or unknown. (Value: + * "CLASSIFICATION_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Known + * Operation has a matched catalog operation. (Value: "KNOWN") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation_Classification_Unknown + * Operation does not have a matched catalog operation. (Value: + * "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *classification; + +/** + * Optional. The number of occurrences of this API Operation. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Output only. Create time stamp of the discovered API operation in API Hub. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. First seen time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *firstSeenTime; + +/** Optional. An HTTP Operation. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails *httpOperation; + +/** Optional. Last seen time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastSeenTime; + +/** + * Output only. The list of matched results for the discovered API operation. + * This will be populated only if the classification is known. The current + * usecase is for a single match. Keeping it repeated to support multiple + * matches in future. + */ +@property(nonatomic, strong, nullable) NSArray *matchResults; + +/** + * Identifier. The name of the discovered API Operation. Format: + * `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The metadata of the source from which the api operation was + * collected. + */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1SourceMetadata *sourceMetadata; + +/** + * Output only. Update time stamp of the discovered API operation in API Hub. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Documentation details. */ @@ -2986,6 +3356,43 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * An aggregation of HTTP header occurrences. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1Header : GTLRObject + +/** + * The number of occurrences of this Header across transactions. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Data type of header + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Bool Boolean data + * type (Value: "BOOL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_DataTypeUnspecified + * Unspecified data type (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Float Float data + * type (Value: "FLOAT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Integer Integer + * data type (Value: "INTEGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_String String data + * type (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1Header_DataType_Uuid UUID data type + * (Value: "UUID") + */ +@property(nonatomic, copy, nullable) NSString *dataType; + +/** Header name. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The information related to the service implemented by the plugin developer, * used to invoke the plugin's functionality. @@ -3074,6 +3481,103 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * An HTTP-based API Operation, sometimes called a "REST" Operation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails : GTLRObject + +/** Required. An HTTP Operation. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpOperation *httpOperation; + +/** Optional. Path params of HttpOperation */ +@property(nonatomic, strong, nullable) NSArray *pathParams; + +/** Optional. Query params of HttpOperation */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams *queryParams; + +/** Optional. Request metadata. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpRequest *request; + +/** Optional. Response metadata. */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpResponse *response; + +@end + + +/** + * Optional. Query params of HttpOperation + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1QueryParam. 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 GTLRAPIhub_GoogleCloudApihubV1HttpOperationDetails_QueryParams : GTLRObject +@end + + +/** + * An aggregation of HTTP requests. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpRequest : GTLRObject + +/** Optional. Unordered map from header name to header metadata */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers *headers; + +@end + + +/** + * Optional. Unordered map from header name to header metadata + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1Header. 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 GTLRAPIhub_GoogleCloudApihubV1HttpRequest_Headers : GTLRObject +@end + + +/** + * An aggregation of HTTP responses. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpResponse : GTLRObject + +/** Optional. Unordered map from header name to header metadata */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers *headers; + +/** Optional. Map of status code to observed count */ +@property(nonatomic, strong, nullable) GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes *responseCodes; + +@end + + +/** + * Optional. Unordered map from header name to header metadata + * + * @note This class is documented as having more properties of + * GTLRAPIhub_GoogleCloudApihubV1Header. 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 GTLRAPIhub_GoogleCloudApihubV1HttpResponse_Headers : GTLRObject +@end + + +/** + * Optional. Map of status code to observed count + * + * @note This class is documented as having more properties of NSNumber (Uses + * NSNumber of longLongValue.). Use @c -additionalJSONKeys and @c + * -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1HttpResponse_ResponseCodes : GTLRObject +@end + + /** * Issue contains the details of a single issue found by the linter. */ @@ -3366,6 +3870,61 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * Message for response to listing DiscoveredApiObservations + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "discoveredApiObservations" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse : GTLRCollectionObject + +/** + * The DiscoveredApiObservation from the specified project and location. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *discoveredApiObservations; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Message for response to listing DiscoveredApiOperations + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "discoveredApiOperations" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse : GTLRCollectionObject + +/** + * The DiscoveredApiOperations from the specified project, location and + * DiscoveredApiObservation. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *discoveredApiOperations; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The ListExternalApis method's response. * @@ -3577,6 +4136,21 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * MatchResult represents the result of matching a discovered API operation + * with a catalog API operation. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1MatchResult : GTLRObject + +/** + * Output only. The name of the matched API Operation. Format: + * `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * The config variable value of data type multi int. */ @@ -3777,12 +4351,46 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * HTTP Path parameter. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1PathParam : GTLRObject + +/** + * Optional. Data type of path param + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Bool Boolean + * data type (Value: "BOOL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_DataTypeUnspecified + * Unspecified data type (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Float Float data + * type (Value: "FLOAT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Integer Integer + * data type (Value: "INTEGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_String String + * data type (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1PathParam_DataType_Uuid UUID data + * type (Value: "UUID") + */ +@property(nonatomic, copy, nullable) NSString *dataType; + +/** + * Optional. Segment location in the path, 1-indexed + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *position; + +@end + + /** * A plugin resource in the API Hub. */ @interface GTLRAPIhub_GoogleCloudApihubV1Plugin : GTLRObject -/** Optional. The configuration of actions supported by the plugin. */ +/** Required. The configuration of actions supported by the plugin. */ @property(nonatomic, strong, nullable) NSArray *actionsConfig; /** Optional. The configuration template for the plugin. */ @@ -4026,7 +4634,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S /** * Optional. The source project id of the plugin instance. This will be the id * of runtime project in case of gcp based plugins and org id in case of non - * gcp based plugins. This is a required field. + * gcp based plugins. This field will be a required field for Google provided + * on-ramp plugins. */ @property(nonatomic, copy, nullable) NSString *sourceProjectId; @@ -4231,6 +4840,44 @@ FOUNDATION_EXTERN NSString * const kGTLRAPIhub_GoogleCloudApihubV1SummaryEntry_S @end +/** + * An aggregation of HTTP query parameter occurrences. + */ +@interface GTLRAPIhub_GoogleCloudApihubV1QueryParam : GTLRObject + +/** + * Optional. The number of occurrences of this query parameter across + * transactions. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *count; + +/** + * Optional. Data type of path param + * + * Likely values: + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Bool Boolean + * data type (Value: "BOOL") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_DataTypeUnspecified + * Unspecified data type (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Float Float + * data type (Value: "FLOAT") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Integer Integer + * data type (Value: "INTEGER") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_String String + * data type (Value: "STRING") + * @arg @c kGTLRAPIhub_GoogleCloudApihubV1QueryParam_DataType_Uuid UUID data + * type (Value: "UUID") + */ +@property(nonatomic, copy, nullable) NSString *dataType; + +/** Required. Name of query param */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Object describing where in the file the issue was found. */ diff --git a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h index afaf5beab..e47dcab0c 100644 --- a/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h +++ b/Sources/GeneratedServices/APIhub/Public/GoogleAPIClientForREST/GTLRAPIhubQuery.h @@ -2313,6 +2313,9 @@ NS_ASSUME_NONNULL_BEGIN * operators: `>` and `<`. * `resource_uri` - A URI to the deployment resource. * Allowed comparison operators: `=`. * `api_versions` - The API versions * linked to this deployment. Allowed comparison operators: `:`. * + * `source_project` - The project/organization at source for the deployment. + * Allowed comparison operators: `=`. * `source_environment` - The environment + * at source for the deployment. Allowed comparison operators: `=`. * * `deployment_type.enum_values.values.id` - The allowed value id of the * deployment_type attribute associated with the Deployment. Allowed comparison * operators: `:`. * `deployment_type.enum_values.values.display_name` - The @@ -2471,6 +2474,177 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets a DiscoveredAPIOperation in a given project, location, ApiObservation + * and ApiOperation. + * + * Method: apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet : GTLRAPIhubQuery + +/** + * Required. The name of the DiscoveredApiOperation to retrieve. Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiOperation. + * + * Gets a DiscoveredAPIOperation in a given project, location, ApiObservation + * and ApiOperation. + * + * @param name Required. The name of the DiscoveredApiOperation to retrieve. + * Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all the DiscoveredAPIOperations in a given project, location and + * ApiObservation. + * + * Method: apihub.projects.locations.discoveredApiObservations.discoveredApiOperations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList : GTLRAPIhubQuery + +/** + * Optional. DiscoveredApiOperations will be returned. The maximum value is + * 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous + * `ListDiscoveredApiApiOperations` call. Provide this to retrieve the + * subsequent page. When paginating, all other parameters provided to + * `ListDiscoveredApiApiOperations` must match the call that provided the page + * token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of DiscoveredApiOperations. + * Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiOperationsResponse. + * + * Lists all the DiscoveredAPIOperations in a given project, location and + * ApiObservation. + * + * @param parent Required. The parent, which owns this collection of + * DiscoveredApiOperations. Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsDiscoveredApiOperationsList + * + * @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 a DiscoveredAPIObservation in a given project, location and + * ApiObservation. + * + * Method: apihub.projects.locations.discoveredApiObservations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet : GTLRAPIhubQuery + +/** + * Required. The name of the DiscoveredApiObservation to retrieve. Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAPIhub_GoogleCloudApihubV1DiscoveredApiObservation. + * + * Gets a DiscoveredAPIObservation in a given project, location and + * ApiObservation. + * + * @param name Required. The name of the DiscoveredApiObservation to retrieve. + * Format: + * projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all the DiscoveredAPIObservations in a given project and location. + * + * Method: apihub.projects.locations.discoveredApiObservations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAPIhubCloudPlatform + */ +@interface GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList : GTLRAPIhubQuery + +/** + * Optional. The maximum number of ApiObservations to return. The service may + * return fewer than this value. If unspecified, at most 10 ApiObservations + * will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListApiObservations` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListApiObservations` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent, which owns this collection of ApiObservations. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRAPIhub_GoogleCloudApihubV1ListDiscoveredApiObservationsResponse. + * + * Lists all the DiscoveredAPIObservations in a given project and location. + * + * @param parent Required. The parent, which owns this collection of + * ApiObservations. Format: projects/{project}/locations/{location} + * + * @return GTLRAPIhubQuery_ProjectsLocationsDiscoveredApiObservationsList + * + * @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 + /** * Create an External API resource in the API hub. * diff --git a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m index b184f9ba9..fdf6fc740 100644 --- a/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m +++ b/Sources/GeneratedServices/AccessApproval/GTLRAccessApprovalObjects.m @@ -58,6 +58,9 @@ NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; diff --git a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h index d5b2cebc6..64b2fa538 100644 --- a/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h +++ b/Sources/GeneratedServices/AccessApproval/Public/GoogleAPIClientForREST/GTLRAccessApprovalObjects.h @@ -291,6 +291,25 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -1005,6 +1024,14 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessApproval_SignatureInfo_GoogleKeyAl * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_KemXwing + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_MlKem1024 + * ML-KEM-1024 (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_MlKem768 + * ML-KEM-768 (FIPS 203) (Value: "ML_KEM_768") * @arg @c kGTLRAccessApproval_SignatureInfo_GoogleKeyAlgorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 diff --git a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h index 9f340c8a5..bd235c5e6 100644 --- a/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h +++ b/Sources/GeneratedServices/AccessContextManager/Public/GoogleAPIClientForREST/GTLRAccessContextManagerObjects.h @@ -1382,9 +1382,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAccessContextManager_SupportedService_Su @property(nonatomic, strong, nullable) NSArray *dryRunAccessLevels; /** - * Required. Immutable. Google Group id whose members are subject to this - * binding's restrictions. See "id" in the [G Suite Directory API's Groups - * resource] + * Optional. Immutable. Google Group id whose users are subject to this + * binding's restrictions. See "id" in the [Google Workspace Directory API's + * Group Resource] * (https://developers.google.com/admin-sdk/directory/v1/reference/groups#resource). * If a group's email address/alias is changed, this resource will continue to * point at the changed group. This field does not accept group email addresses diff --git a/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m b/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m index b62f2a144..4b26aa824 100644 --- a/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m +++ b/Sources/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.m @@ -401,6 +401,7 @@ NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_FatalVastError = @"FATAL_VAST_ERROR"; NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_InvalidImpression = @"INVALID_IMPRESSION"; NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_LostInMediation = @"LOST_IN_MEDIATION"; +NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_OverdeliveredImpression = @"OVERDELIVERED_IMPRESSION"; NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; // GTLRAdExchangeBuyerII_Note.creatorRole diff --git a/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h b/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h index e3fa001bb..204febc58 100644 --- a/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h +++ b/Sources/GeneratedServices/AdExchangeBuyerII/Public/GoogleAPIClientForREST/GTLRAdExchangeBuyerIIObjects.h @@ -2176,6 +2176,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidS * Value: "LOST_IN_MEDIATION" */ FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_LostInMediation; +/** + * The impression was not billed because it exceeded a guaranteed deal delivery + * goal. + * + * Value: "OVERDELIVERED_IMPRESSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_OverdeliveredImpression; /** * A placeholder for an undefined status. This value will never be returned in * responses. @@ -5560,6 +5567,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAdExchangeBuyerII_VideoTargeting_Targete * @arg @c kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_LostInMediation * The buyer was not billed because the ad was outplaced in the mediation * waterfall. (Value: "LOST_IN_MEDIATION") + * @arg @c kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_OverdeliveredImpression + * The impression was not billed because it exceeded a guaranteed deal + * delivery goal. (Value: "OVERDELIVERED_IMPRESSION") * @arg @c kGTLRAdExchangeBuyerII_NonBillableWinningBidStatusRow_Status_StatusUnspecified * A placeholder for an undefined status. This value will never be * returned in responses. (Value: "STATUS_UNSPECIFIED") diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m index da10ff188..6fd746548 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformObjects.m @@ -86,6 +86,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ImageSafety = @"IMAGE_SAFETY"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MalformedFunctionCall = @"MALFORMED_FUNCTION_CALL"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens = @"MAX_TOKENS"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ModelArmor = @"MODEL_ARMOR"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other = @"OTHER"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ProhibitedContent = @"PROHIBITED_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Recitation = @"RECITATION"; @@ -110,6 +111,17 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CorpusStatus_State_Initialized = @"INITIALIZED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CorpusStatus_State_Unknown = @"UNKNOWN"; +// GTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata.deploymentStage +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_AddingNodesToCluster = @"ADDING_NODES_TO_CLUSTER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_CreatingServingCluster = @"CREATING_SERVING_CLUSTER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_DeploymentStageUnspecified = @"DEPLOYMENT_STAGE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_DeploymentTerminated = @"DEPLOYMENT_TERMINATED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_FinishingUp = @"FINISHING_UP"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_GettingContainerImage = @"GETTING_CONTAINER_IMAGE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_PreparingModel = @"PREPARING_MODEL"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_StartingDeployment = @"STARTING_DEPLOYMENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_StartingModelServer = @"STARTING_MODEL_SERVER"; + // GTLRAiplatform_GoogleCloudAiplatformV1CustomJob.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CustomJob_State_JobStateCancelled = @"JOB_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CustomJob_State_JobStateCancelling = @"JOB_STATE_CANCELLING"; @@ -138,6 +150,21 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLabelingJob_State_JobStateUnspecified = @"JOB_STATE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLabelingJob_State_JobStateUpdating = @"JOB_STATE_UPDATING"; +// GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex.deploymentTier +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_DeploymentTierUnspecified = @"DEPLOYMENT_TIER_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_Storage = @"STORAGE"; + +// GTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata.deploymentStage +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_AddingNodesToCluster = @"ADDING_NODES_TO_CLUSTER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_CreatingServingCluster = @"CREATING_SERVING_CLUSTER"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_DeploymentStageUnspecified = @"DEPLOYMENT_STAGE_UNSPECIFIED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_DeploymentTerminated = @"DEPLOYMENT_TERMINATED"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_FinishingUp = @"FINISHING_UP"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_GettingContainerImage = @"GETTING_CONTAINER_IMAGE"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_PreparingModel = @"PREPARING_MODEL"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_StartingDeployment = @"STARTING_DEPLOYMENT"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_StartingModelServer = @"STARTING_MODEL_SERVER"; + // GTLRAiplatform_GoogleCloudAiplatformV1DynamicRetrievalConfig.mode NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DynamicRetrievalConfig_Mode_ModeDynamic = @"MODE_DYNAMIC"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DynamicRetrievalConfig_Mode_ModeUnspecified = @"MODE_UNSPECIFIED"; @@ -302,6 +329,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_BlockedReasonUnspecified = @"BLOCKED_REASON_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Blocklist = @"BLOCKLIST"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety = @"IMAGE_SAFETY"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ModelArmor = @"MODEL_ARMOR"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other = @"OTHER"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent = @"PROHIBITED_CONTENT"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Safety = @"SAFETY"; @@ -366,6 +394,7 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_AcceleratorTypeUnspecified = @"ACCELERATOR_TYPE_UNSPECIFIED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaA10080gb = @"NVIDIA_A100_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200 = @"NVIDIA_B200"; +NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaGb200 = @"NVIDIA_GB200"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb = @"NVIDIA_H100_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb = @"NVIDIA_H100_MEGA_80GB"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH200141gb = @"NVIDIA_H200_141GB"; @@ -965,10 +994,6 @@ NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_Tensor = @"TENSOR"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_ValueTypeUnspecified = @"VALUE_TYPE_UNSPECIFIED"; -// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse.environment -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser = @"ENVIRONMENT_BROWSER"; -NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified = @"ENVIRONMENT_UNSPECIFIED"; - // GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline.state NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateCancelled = @"PIPELINE_STATE_CANCELLED"; NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline_State_PipelineStateCancelling = @"PIPELINE_STATE_CANCELLING"; @@ -2934,7 +2959,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateDeploymentResourcePo // @implementation GTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata -@dynamic genericMetadata; +@dynamic deploymentStage, genericMetadata; @end @@ -3515,9 +3540,10 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeleteOperationMetadata @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex @dynamic automaticResources, createTime, dedicatedResources, - deployedIndexAuthConfig, deploymentGroup, displayName, - enableAccessLogging, identifier, index, indexSyncTime, - privateEndpoints, pscAutomationConfigs, reservedIpRanges; + deployedIndexAuthConfig, deploymentGroup, deploymentTier, displayName, + enableAccessLogging, enableDatapointUpsertLogging, identifier, index, + indexSyncTime, privateEndpoints, pscAutomationConfigs, + reservedIpRanges; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -3582,8 +3608,9 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployedModel @dynamic automaticResources, checkpointId, createTime, dedicatedResources, disableContainerLogging, disableExplanations, displayName, enableAccessLogging, explanationSpec, fasterDeploymentConfig, - identifier, model, modelVersionId, privateEndpoints, serviceAccount, - sharedResources, speculativeDecodingSpec, status, systemLabels; + gdcConnectedModel, identifier, model, modelVersionId, privateEndpoints, + serviceAccount, sharedResources, speculativeDecodingSpec, status, + systemLabels; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -3673,7 +3700,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeploymentResourcePool // @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata -@dynamic genericMetadata; +@dynamic deploymentStage, genericMetadata; @end @@ -3762,7 +3789,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig -@dynamic dedicatedEndpointEnabled, endpointDisplayName; +@dynamic dedicatedEndpointDisabled, dedicatedEndpointEnabled, + endpointDisplayName, endpointUserId; @end @@ -3773,7 +3801,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfi @implementation GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestModelConfig @dynamic acceptEula, containerSpec, huggingFaceAccessToken, - huggingFaceCacheEnabled, modelDisplayName; + huggingFaceCacheEnabled, modelDisplayName, modelUserId; @end @@ -3929,10 +3957,10 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1Endpoint @dynamic clientConnectionConfig, createTime, dedicatedEndpointDns, dedicatedEndpointEnabled, deployedModels, descriptionProperty, displayName, enablePrivateServiceConnect, encryptionSpec, ETag, - genAiAdvancedFeaturesConfig, labels, modelDeploymentMonitoringJob, - name, network, predictRequestResponseLoggingConfig, - privateServiceConnectConfig, satisfiesPzi, satisfiesPzs, trafficSplit, - updateTime; + gdcConfig, genAiAdvancedFeaturesConfig, labels, + modelDeploymentMonitoringJob, name, network, + predictRequestResponseLoggingConfig, privateServiceConnectConfig, + satisfiesPzi, satisfiesPzs, trafficSplit, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -3986,6 +4014,15 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1EnterpriseWebSearch +@dynamic excludeDomains; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"excludeDomains" : [NSString class] + }; + return map; +} + @end @@ -5319,6 +5356,80 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKeyComposit @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequest +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequest +@dynamic dataKeyAndFeatureValues; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataKeyAndFeatureValues" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues +@dynamic dataKey, features; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"features" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature +@dynamic name, value; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponse +@dynamic status, writeResponses; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"writeResponses" : [GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse +@dynamic dataKey, onlineStoreWriteTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource @@ -5835,6 +5946,21 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GcsSource @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GdcConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GdcConfig +@dynamic zoneProperty; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"zoneProperty" : @"zone" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig @@ -5861,8 +5987,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfi // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest -@dynamic cachedContent, contents, generationConfig, labels, safetySettings, - systemInstruction, toolConfig, tools; +@dynamic cachedContent, contents, generationConfig, labels, modelArmorConfig, + safetySettings, systemInstruction, toolConfig, tools; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6102,6 +6228,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GoogleDriveSourceResourceI @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GoogleMaps +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GoogleMaps +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1GoogleSearchRetrieval @@ -6158,7 +6293,56 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundednessSpec // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunk -@dynamic retrievedContext, web; +@dynamic maps, retrievedContext, web; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMaps +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMaps +@dynamic placeAnswerSources, placeId, text, title, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources +@dynamic flagContentUri, reviewSnippets; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"reviewSnippets" : [GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution +@dynamic displayName, photoUri, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet +@dynamic authorAttribution, flagContentUri, googleMapsUri, + relativePublishTimeDescription, review; @end @@ -6168,7 +6352,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunk // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkRetrievedContext -@dynamic ragChunk, text, title, uri; +@dynamic documentName, ragChunk, text, title, uri; @end @@ -6188,8 +6372,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkWeb // @implementation GTLRAiplatform_GoogleCloudAiplatformV1GroundingMetadata -@dynamic groundingChunks, groundingSupports, retrievalMetadata, - searchEntryPoint, webSearchQueries; +@dynamic googleMapsWidgetContextToken, groundingChunks, groundingSupports, + retrievalMetadata, searchEntryPoint, webSearchQueries; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6499,8 +6683,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint -@dynamic crowdingTag, datapointId, featureVector, numericRestricts, restricts, - sparseEmbedding; +@dynamic crowdingTag, datapointId, embeddingMetadata, featureVector, + numericRestricts, restricts, sparseEmbedding; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6514,6 +6698,20 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint_EmbeddingMetadata +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint_EmbeddingMetadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointCrowdingTag @@ -8379,6 +8577,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig +@dynamic promptTemplateName, responseTemplateName; +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ModelBaseModelSource @@ -10408,8 +10616,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToAction // @implementation GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences -@dynamic references, resourceDescription, resourceTitle, resourceUseCase, - supportsWorkbench, title; +@dynamic colabNotebookDisabled, references, resourceDescription, resourceTitle, + resourceUseCase, supportsWorkbench, title; @end @@ -11432,8 +11640,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReadTensorboardUsageRespon // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine -@dynamic createTime, descriptionProperty, displayName, ETag, name, spec, - updateTime; +@dynamic createTime, descriptionProperty, displayName, encryptionSpec, ETag, + name, spec, updateTime; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -11452,7 +11660,8 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngine // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec -@dynamic agentFramework, classMethods, deploymentSpec, packageSpec; +@dynamic agentFramework, classMethods, deploymentSpec, packageSpec, + serviceAccount; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -11484,7 +11693,8 @@ + (Class)classForAdditionalProperties { // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec -@dynamic env, secretEnv; +@dynamic containerConcurrency, env, maxInstances, minInstances, + pscInterfaceConfig, resourceLimits, secretEnv; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -11497,6 +11707,20 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploym @end +// ---------------------------------------------------------------------------- +// +// GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits +// + +@implementation GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec @@ -15758,7 +15982,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1TokensInfo // @implementation GTLRAiplatform_GoogleCloudAiplatformV1Tool -@dynamic codeExecution, computerUse, enterpriseWebSearch, functionDeclarations, +@dynamic codeExecution, enterpriseWebSearch, functionDeclarations, googleMaps, googleSearch, googleSearchRetrieval, retrieval, urlContext; + (NSDictionary *)arrayPropertyToClassMap { @@ -15855,16 +16079,6 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution @end -// ---------------------------------------------------------------------------- -// -// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse -// - -@implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse -@dynamic environment; -@end - - // ---------------------------------------------------------------------------- // // GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig @@ -15881,6 +16095,15 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig // @implementation GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch +@dynamic excludeDomains; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"excludeDomains" : [NSString class] + }; + return map; +} + @end @@ -17152,7 +17375,7 @@ @implementation GTLRAiplatform_GoogleCloudAiplatformV1VertexRagStoreRagResource // @implementation GTLRAiplatform_GoogleCloudAiplatformV1VideoMetadata -@dynamic endOffset, startOffset; +@dynamic endOffset, fps, startOffset; @end diff --git a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m index b2ec586b2..1ffdaa4dc 100644 --- a/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m +++ b/Sources/GeneratedServices/Aiplatform/GTLRAiplatformQuery.m @@ -2745,7 +2745,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRAiplatformQuery_ProjectsLocationsEndpointsList -@dynamic filter, orderBy, pageSize, pageToken, parent, readMask; +@dynamic filter, gdcZone, orderBy, pageSize, pageToken, parent, readMask; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; @@ -3751,6 +3751,33 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDirectWrite + +@dynamic featureView; + ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequest *)object + featureView:(NSString *)featureView { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"featureView" ]; + NSString *pathURITemplate = @"v1/{+featureView}:directWrite"; + GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDirectWrite *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.featureView = featureView; + query.expectedObjectClass = [GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponse class]; + query.loggingName = @"aiplatform.projects.locations.featureOnlineStores.featureViews.directWrite"; + return query; +} + +@end + @implementation GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncsGet @dynamic name; @@ -10345,7 +10372,7 @@ + (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1RagCorpus @implementation GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesDelete -@dynamic name; +@dynamic forceDelete, name; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h index 08b86f601..49cf208ce 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformObjects.h @@ -235,6 +235,9 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewBigQuerySource; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature; +@class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup; @class GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewIndexConfig; @@ -273,6 +276,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1FunctionResponse_Response; @class GTLRAiplatform_GoogleCloudAiplatformV1GcsDestination; @class GTLRAiplatform_GoogleCloudAiplatformV1GcsSource; +@class GTLRAiplatform_GoogleCloudAiplatformV1GdcConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels; @@ -288,12 +292,17 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1GenieSource; @class GTLRAiplatform_GoogleCloudAiplatformV1GoogleDriveSource; @class GTLRAiplatform_GoogleCloudAiplatformV1GoogleDriveSourceResourceId; +@class GTLRAiplatform_GoogleCloudAiplatformV1GoogleMaps; @class GTLRAiplatform_GoogleCloudAiplatformV1GoogleSearchRetrieval; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundednessInput; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundednessInstance; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundednessResult; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundednessSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunk; +@class GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMaps; +@class GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources; +@class GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution; +@class GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkRetrievedContext; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkWeb; @class GTLRAiplatform_GoogleCloudAiplatformV1GroundingMetadata; @@ -309,6 +318,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1Index; @class GTLRAiplatform_GoogleCloudAiplatformV1Index_Labels; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint; +@class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint_EmbeddingMetadata; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointCrowdingTag; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointNumericRestriction; @class GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapointRestriction; @@ -355,6 +365,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ModalityTokenCount; @class GTLRAiplatform_GoogleCloudAiplatformV1Model; @class GTLRAiplatform_GoogleCloudAiplatformV1Model_Labels; +@class GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelBaseModelSource; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelContainerSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ModelDataStats; @@ -567,6 +578,7 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpec_ClassMethods_Item; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec; +@class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits; @class GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ReservationAffinity; @class GTLRAiplatform_GoogleCloudAiplatformV1ResourcePool; @@ -799,7 +811,6 @@ @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidResults; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCallValidSpec; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution; -@class GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolConfig; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch; @class GTLRAiplatform_GoogleCloudAiplatformV1ToolNameMatchInput; @@ -1295,6 +1306,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candid * Value: "MAX_TOKENS" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens; +/** + * The model response was blocked by Model Armor. + * + * Value: "MODEL_ARMOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ModelArmor; /** * All other reasons that stopped the token generation. * @@ -1417,6 +1434,64 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Corpus */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CorpusStatus_State_Unknown; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata.deploymentStage + +/** + * The deployment is adding nodes to the serving cluster. + * + * Value: "ADDING_NODES_TO_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_AddingNodesToCluster; +/** + * The deployment is creating the underlying serving cluster. + * + * Value: "CREATING_SERVING_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_CreatingServingCluster; +/** + * Default value. This value is unused. + * + * Value: "DEPLOYMENT_STAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_DeploymentStageUnspecified; +/** + * The deployment has terminated. + * + * Value: "DEPLOYMENT_TERMINATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_DeploymentTerminated; +/** + * The deployment is performing finalization steps. + * + * Value: "FINISHING_UP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_FinishingUp; +/** + * The deployment is getting the container image for the model server. + * + * Value: "GETTING_CONTAINER_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_GettingContainerImage; +/** + * The deployment is preparing the model assets. + * + * Value: "PREPARING_MODEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_PreparingModel; +/** + * The deployment is initializing and setting up the environment. + * + * Value: "STARTING_DEPLOYMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_StartingDeployment; +/** + * The deployment is starting the model server. + * + * Value: "STARTING_MODEL_SERVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_StartingModelServer; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1CustomJob.state @@ -1573,6 +1648,80 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLa */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DataLabelingJob_State_JobStateUpdating; +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex.deploymentTier + +/** + * Default deployment tier. + * + * Value: "DEPLOYMENT_TIER_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_DeploymentTierUnspecified; +/** + * Optimized for costs. + * + * Value: "STORAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_Storage; + +// ---------------------------------------------------------------------------- +// GTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata.deploymentStage + +/** + * The deployment is adding nodes to the serving cluster. + * + * Value: "ADDING_NODES_TO_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_AddingNodesToCluster; +/** + * The deployment is creating the underlying serving cluster. + * + * Value: "CREATING_SERVING_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_CreatingServingCluster; +/** + * Default value. This value is unused. + * + * Value: "DEPLOYMENT_STAGE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_DeploymentStageUnspecified; +/** + * The deployment has terminated. + * + * Value: "DEPLOYMENT_TERMINATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_DeploymentTerminated; +/** + * The deployment is performing finalization steps. + * + * Value: "FINISHING_UP" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_FinishingUp; +/** + * The deployment is getting the container image for the model server. + * + * Value: "GETTING_CONTAINER_IMAGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_GettingContainerImage; +/** + * The deployment is preparing the model assets. + * + * Value: "PREPARING_MODEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_PreparingModel; +/** + * The deployment is initializing and setting up the environment. + * + * Value: "STARTING_DEPLOYMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_StartingDeployment; +/** + * The deployment is starting the model server. + * + * Value: "STARTING_MODEL_SERVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_StartingModelServer; + // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1DynamicRetrievalConfig.mode @@ -2411,6 +2560,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Genera * Value: "IMAGE_SAFETY" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety; +/** + * The user prompt was blocked by Model Armor. + * + * Value: "MODEL_ARMOR" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ModelArmor; /** * Candidates blocked due to other reason. * @@ -2728,6 +2883,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1Machin * Value: "NVIDIA_B200" */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200; +/** + * Nvidia GB200 GPU. + * + * Value: "NVIDIA_GB200" + */ +FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaGb200; /** * Nvidia H100 80Gb GPU. * @@ -5854,22 +6015,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSe */ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1TimeSeriesData_ValueType_ValueTypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse.environment - -/** - * Operates in a web browser. - * - * Value: "ENVIRONMENT_BROWSER" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser; -/** - * Defaults to browser. - * - * Value: "ENVIRONMENT_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified; - // ---------------------------------------------------------------------------- // GTLRAiplatform_GoogleCloudAiplatformV1TrainingPipeline.state @@ -7391,7 +7536,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * Required. The resource metric name. Supported metrics: * For Online * Prediction: * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * - * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + * `aiplatform.googleapis.com/prediction/online/cpu/utilization` * + * `aiplatform.googleapis.com/prediction/online/request_count` */ @property(nonatomic, copy, nullable) NSString *metricName; @@ -8651,6 +8797,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_MaxTokens * Token generation reached the configured maximum output tokens. (Value: * "MAX_TOKENS") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ModelArmor + * The model response was blocked by Model Armor. (Value: "MODEL_ARMOR") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_Other * All other reasons that stopped the token generation. (Value: "OTHER") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1Candidate_FinishReason_ProhibitedContent @@ -9668,6 +9816,40 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @interface GTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata : GTLRObject +/** + * Output only. The deployment stage of the model. Only populated if this + * CreateEndpoint request deploys a model at the same time. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_AddingNodesToCluster + * The deployment is adding nodes to the serving cluster. (Value: + * "ADDING_NODES_TO_CLUSTER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_CreatingServingCluster + * The deployment is creating the underlying serving cluster. (Value: + * "CREATING_SERVING_CLUSTER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_DeploymentStageUnspecified + * Default value. This value is unused. (Value: + * "DEPLOYMENT_STAGE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_DeploymentTerminated + * The deployment has terminated. (Value: "DEPLOYMENT_TERMINATED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_FinishingUp + * The deployment is performing finalization steps. (Value: + * "FINISHING_UP") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_GettingContainerImage + * The deployment is getting the container image for the model server. + * (Value: "GETTING_CONTAINER_IMAGE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_PreparingModel + * The deployment is preparing the model assets. (Value: + * "PREPARING_MODEL") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_StartingDeployment + * The deployment is initializing and setting up the environment. (Value: + * "STARTING_DEPLOYMENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1CreateEndpointOperationMetadata_DeploymentStage_StartingModelServer + * The deployment is starting the model server. (Value: + * "STARTING_MODEL_SERVER") + */ +@property(nonatomic, copy, nullable) NSString *deploymentStage; + /** The operation generic information. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; @@ -11137,6 +11319,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, copy, nullable) NSString *deploymentGroup; +/** + * Optional. The deployment tier that the index is deployed to. + * DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_DeploymentTierUnspecified + * Default deployment tier. (Value: "DEPLOYMENT_TIER_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployedIndex_DeploymentTier_Storage + * Optimized for costs. (Value: "STORAGE") + */ +@property(nonatomic, copy, nullable) NSString *deploymentTier; + /** * The display name of the DeployedIndex. If not provided upon creation, the * Index's display_name is used. @@ -11154,6 +11348,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, strong, nullable) NSNumber *enableAccessLogging; +/** + * Optional. If true, logs to Cloud Logging errors relating to datapoint + * upserts. Under normal operation conditions, these log entries should be very + * rare. However, if incompatible datapoint updates are being uploaded to an + * index, a high volume of log entries may be generated in a short period of + * time. Note that logs may incur a cost, especially if the deployed index + * receives a high volume of datapoint upserts. Estimate your costs before + * enabling this option. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableDatapointUpsertLogging; + /** * Required. The user specified ID of the DeployedIndex. The ID can be up to * 128 characters long and must start with a letter and only contain letters, @@ -11340,6 +11547,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet /** Configuration for faster model deployment. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FasterDeploymentConfig *fasterDeploymentConfig; +/** + * GDC pretrained / Gemini model name. The model name is a plain model name, + * e.g. gemini-1.5-flash-002. + */ +@property(nonatomic, copy, nullable) NSString *gdcConnectedModel; + /** * Immutable. The ID of the DeployedModel. If not provided upon deployment, * Vertex AI will generate a value for this ID. This value should be 1-10 @@ -11559,6 +11772,39 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @interface GTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata : GTLRObject +/** + * Output only. The deployment stage of the model. + * + * Likely values: + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_AddingNodesToCluster + * The deployment is adding nodes to the serving cluster. (Value: + * "ADDING_NODES_TO_CLUSTER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_CreatingServingCluster + * The deployment is creating the underlying serving cluster. (Value: + * "CREATING_SERVING_CLUSTER") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_DeploymentStageUnspecified + * Default value. This value is unused. (Value: + * "DEPLOYMENT_STAGE_UNSPECIFIED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_DeploymentTerminated + * The deployment has terminated. (Value: "DEPLOYMENT_TERMINATED") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_FinishingUp + * The deployment is performing finalization steps. (Value: + * "FINISHING_UP") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_GettingContainerImage + * The deployment is getting the container image for the model server. + * (Value: "GETTING_CONTAINER_IMAGE") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_PreparingModel + * The deployment is preparing the model assets. (Value: + * "PREPARING_MODEL") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_StartingDeployment + * The deployment is initializing and setting up the environment. (Value: + * "STARTING_DEPLOYMENT") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1DeployModelOperationMetadata_DeploymentStage_StartingModelServer + * The deployment is starting the model server. (Value: + * "STARTING_MODEL_SERVER") + */ +@property(nonatomic, copy, nullable) NSString *deploymentStage; + /** The operation generic information. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenericOperationMetadata *genericMetadata; @@ -11737,7 +11983,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @interface GTLRAiplatform_GoogleCloudAiplatformV1DeployRequestEndpointConfig : GTLRObject /** - * Optional. If true, the endpoint will be exposed through a dedicated DNS + * Optional. By default, if dedicated endpoint is enabled, the endpoint will be + * exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your + * request to the dedicated DNS will be isolated from other users' traffic and + * will have better performance and reliability. Note: Once you enabled + * dedicated endpoint, you won't be able to send request to the shared DNS + * {region}-aiplatform.googleapis.com. The limitations will be removed soon. If + * this field is set to true, the dedicated endpoint will be disabled and the + * deployed model will be exposed through the shared DNS + * {region}-aiplatform.googleapis.com. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dedicatedEndpointDisabled; + +/** + * Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the + * endpoint will be exposed through a dedicated DNS * [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be * isolated from other users' traffic and will have better performance and * reliability. Note: Once you enabled dedicated endpoint, you won't be able to @@ -11746,7 +12008,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *dedicatedEndpointEnabled; +@property(nonatomic, strong, nullable) NSNumber *dedicatedEndpointEnabled GTLR_DEPRECATED; /** * Optional. The user-specified display name of the endpoint. If not set, a @@ -11754,6 +12016,19 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, copy, nullable) NSString *endpointDisplayName; +/** + * Optional. Immutable. The ID to use for endpoint, which will become the final + * component of the endpoint resource name. If not provided, Vertex AI will + * generate a value for this ID. If the first character is a letter, this value + * may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last + * character must be a letter or number. If the first character is a number, + * this value may be up to 9 characters, and valid characters are `[0-9]` with + * no leading zeros. When using HTTP/JSON, this field is populated based on a + * query string argument, such as `?endpoint_id=12345`. This is the fallback + * for fields that are not included in either the URI or the body. + */ +@property(nonatomic, copy, nullable) NSString *endpointUserId; + @end @@ -11797,6 +12072,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, copy, nullable) NSString *modelDisplayName; +/** + * Optional. The ID to use for the uploaded Model, which will become the final + * component of the model resource name. When not provided, Vertex AI will + * generate a value for this ID. When Model Registry model is provided, this + * field will be ignored. This value may be up to 63 characters, and valid + * characters are `[a-z0-9_-]`. The first character cannot be a number or + * hyphen. + */ +@property(nonatomic, copy, nullable) NSString *modelUserId; + @end @@ -12105,6 +12390,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, copy, nullable) NSString *ETag; +/** + * Configures the Google Distributed Cloud (GDC) environment for online + * prediction. Only set this field when the Endpoint is to be deployed in a GDC + * environment. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GdcConfig *gdcConfig; + /** * Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is * serving GenAI models, advanced features like native RAG integration can be @@ -12220,6 +12512,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * compliance. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1EnterpriseWebSearch : GTLRObject + +/** + * Optional. List of domains to be excluded from the search results. The + * default limit is 2000 domains. + */ +@property(nonatomic, strong, nullable) NSArray *excludeDomains; + @end @@ -15753,6 +16052,93 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Request message for FeatureOnlineStoreService.FeatureViewDirectWrite. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequest : GTLRObject + +/** Required. The data keys and associated feature values. */ +@property(nonatomic, strong, nullable) NSArray *dataKeyAndFeatureValues; + +@end + + +/** + * A data key and associated feature values to write to the feature view. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValues : GTLRObject + +/** The data key. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey *dataKey; + +/** List of features to write. */ +@property(nonatomic, strong, nullable) NSArray *features; + +@end + + +/** + * Feature name & value pair. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature : GTLRObject + +/** Feature short name. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Feature value. A user provided timestamp may be set in the + * `FeatureValue.metadata.generate_time` field. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureValue *value; + +@end + + +/** + * Response message for FeatureOnlineStoreService.FeatureViewDirectWrite. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponse : GTLRObject + +/** + * Response status for the keys listed in + * FeatureViewDirectWriteResponse.write_responses. The error only applies to + * the listed data keys - the stream will remain open for further + * FeatureOnlineStoreService.FeatureViewDirectWriteRequest requests. Partial + * failures (e.g. if the first 10 keys of a request fail, but the rest succeed) + * from a single request may result in multiple responses - there will be one + * response for the successful request keys and one response for the failing + * request keys. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleRpcStatus *status; + +/** + * Details about write for each key. If status is not OK, + * WriteResponse.data_key will have the key with error, but + * WriteResponse.online_store_write_time will not be present. + */ +@property(nonatomic, strong, nullable) NSArray *writeResponses; + +@end + + +/** + * Details about the write for each key. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponseWriteResponse : GTLRObject + +/** What key is this write response associated with. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDataKey *dataKey; + +/** + * When the feature values were written to the online store. If + * FeatureViewDirectWriteResponse.status is not OK, this field is not + * populated. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *onlineStoreWriteTime; + +@end + + /** * A Feature Registry source for features that need to be synced to Online * Store. @@ -16751,6 +17137,22 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Google Distributed Cloud (GDC) config. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GdcConfig : GTLRObject + +/** + * GDC zone. A cluster will be designated for the Vertex AI workload in this + * zone. + * + * Remapped to 'zoneProperty' to avoid NSObject's 'zone'. + */ +@property(nonatomic, copy, nullable) NSString *zoneProperty; + +@end + + /** * Configuration for GenAiAdvancedFeatures. */ @@ -16812,6 +17214,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GenerateContentRequest_Labels *labels; +/** + * Optional. Settings for prompt and response sanitization using the Model + * Armor service. If supplied, safety_settings must not be supplied. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig *modelArmorConfig; + /** * Optional. Per request settings for blocking unsafe content. Enforced on * GenerateContentResponse.candidates. @@ -16908,6 +17316,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ImageSafety * Candidates blocked due to unsafe image generation content. (Value: * "IMAGE_SAFETY") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ModelArmor + * The user prompt was blocked by Model Armor. (Value: "MODEL_ARMOR") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_Other * Candidates blocked due to other reason. (Value: "OTHER") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback_BlockReason_ProhibitedContent @@ -17373,6 +17783,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Tool to retrieve public maps data for grounding, powered by Google. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GoogleMaps : GTLRObject +@end + + /** * Tool to retrieve public web data for grounding, powered by Google. */ @@ -17460,6 +17877,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunk : GTLRObject +/** Grounding chunk from Google Maps. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMaps *maps; + /** Grounding chunk from context retrieved by the retrieval tools. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkRetrievedContext *retrievedContext; @@ -17469,11 +17889,107 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Chunk from Google Maps. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMaps : GTLRObject + +/** + * Sources used to generate the place answer. This includes review snippets and + * photos that were used to generate the answer, as well as uris to flag + * content. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources *placeAnswerSources; + +/** + * This Place's resource name, in `places/{place_id}` format. Can be used to + * look up the Place. + */ +@property(nonatomic, copy, nullable) NSString *placeId; + +/** Text of the chunk. */ +@property(nonatomic, copy, nullable) NSString *text; + +/** Title of the chunk. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI reference of the chunk. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Sources used to generate the place answer. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources : GTLRObject + +/** A link where users can flag a problem with the generated answer. */ +@property(nonatomic, copy, nullable) NSString *flagContentUri; + +/** Snippets of reviews that are used to generate the answer. */ +@property(nonatomic, strong, nullable) NSArray *reviewSnippets; + +@end + + +/** + * Author attribution for a photo or review. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution : GTLRObject + +/** Name of the author of the Photo or Review. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Profile photo URI of the author of the Photo or Review. */ +@property(nonatomic, copy, nullable) NSString *photoUri; + +/** URI of the author of the Photo or Review. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Encapsulates a review snippet. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet : GTLRObject + +/** This review's author. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution *authorAttribution; + +/** A link where users can flag a problem with the review. */ +@property(nonatomic, copy, nullable) NSString *flagContentUri; + +/** A link to show the review on Google Maps. */ +@property(nonatomic, copy, nullable) NSString *googleMapsUri; + +/** + * A string of formatted recent time, expressing the review time relative to + * the current time in a form appropriate for the language and country. + */ +@property(nonatomic, copy, nullable) NSString *relativePublishTimeDescription; + +/** + * A reference representing this place review which may be used to look up this + * place review again. + */ +@property(nonatomic, copy, nullable) NSString *review; + +@end + + /** * Chunk from context retrieved by the retrieval tools. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingChunkRetrievedContext : GTLRObject +/** + * Output only. The full document name for the referenced Vertex AI Search + * document. + */ +@property(nonatomic, copy, nullable) NSString *documentName; + /** * Additional context for the RAG retrieval result. This is only populated when * using the RAG retrieval tool. @@ -17514,6 +18030,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet */ @interface GTLRAiplatform_GoogleCloudAiplatformV1GroundingMetadata : GTLRObject +/** + * Optional. Output only. Resource name of the Google Maps widget context token + * to be used with the PlacesContextElement widget to render contextual data. + * This is populated only for Google Maps grounding. + */ +@property(nonatomic, copy, nullable) NSString *googleMapsWidgetContextToken; + /** * List of supporting references retrieved from specified grounding source. */ @@ -18308,6 +18831,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet /** Required. Unique identifier of the datapoint. */ @property(nonatomic, copy, nullable) NSString *datapointId; +/** Optional. The key-value map of additional metadata for the datapoint. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1IndexDatapoint_EmbeddingMetadata *embeddingMetadata; + /** * Required. Feature embedding vector for dense index. An array of numbers with * the length of [NearestNeighborSearchConfig.dimensions]. @@ -18337,6 +18863,18 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Optional. The key-value map of additional metadata for the datapoint. + * + * @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_GoogleCloudAiplatformV1IndexDatapoint_EmbeddingMetadata : GTLRObject +@end + + /** * Crowding tag is a constraint on a neighbor list produced by nearest neighbor * search requiring that no more than some value k' of the k neighbors returned @@ -20403,6 +20941,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet * Nvidia A100 80GB GPU. (Value: "NVIDIA_A100_80GB") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaB200 * Nvidia B200 GPU. (Value: "NVIDIA_B200") + * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaGb200 + * Nvidia GB200 GPU. (Value: "NVIDIA_GB200") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH10080gb * Nvidia H100 80Gb GPU. (Value: "NVIDIA_H100_80GB") * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1MachineSpec_AcceleratorType_NvidiaH100Mega80gb @@ -21391,6 +21931,26 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatform_GoogleCloudAiplatformV1UrlMet @end +/** + * Configuration for Model Armor integrations of prompt and responses. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ModelArmorConfig : GTLRObject + +/** + * Optional. The name of the Model Armor template to use for prompt + * sanitization. + */ +@property(nonatomic, copy, nullable) NSString *promptTemplateName; + +/** + * Optional. The name of the Model Armor template to use for response + * sanitization. + */ +@property(nonatomic, copy, nullable) NSString *responseTemplateName; + +@end + + /** * User input field to specify the base model source. Currently it only * supports specifing the Model Garden models and Genie models. @@ -22827,9 +23387,9 @@ GTLR_DEPRECATED * Required. The DeployedModel to be mutated within the Endpoint. Only the * following fields can be mutated: * `min_replica_count` in either * DedicatedResources or AutomaticResources * `max_replica_count` in either - * DedicatedResources or AutomaticResources * autoscaling_metric_specs * - * `disable_container_logging` (v1 only) * `enable_container_logging` (v1beta1 - * only) + * DedicatedResources or AutomaticResources * `required_replica_count` in + * DedicatedResources * autoscaling_metric_specs * `disable_container_logging` + * (v1 only) * `enable_container_logging` (v1beta1 only) */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1DeployedModel *deployedModel; @@ -26610,6 +27170,14 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences : GTLRObject +/** + * Optional. For notebook resource. When set to true, the Colab Enterprise link + * will be disabled in the "open notebook" dialog in UI. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *colabNotebookDisabled; + /** Required. */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences_References *references; @@ -28332,6 +28900,13 @@ GTLR_DEPRECATED /** Required. The display name of the ReasoningEngine. */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Customer-managed encryption key spec for a ReasoningEngine. If set, this + * ReasoningEngine and all sub-resources of this ReasoningEngine will be + * secured by this key. + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1EncryptionSpec *encryptionSpec; + /** * Optional. Used to perform consistent read-modify-write updates. If not set, * a blind "overwrite" update happens. @@ -28384,6 +28959,15 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec *packageSpec; +/** + * Optional. The service account that the Reasoning Engine artifact runs as. It + * should have "roles/storage.objectViewer" for reading the user project's + * Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If + * not specified, the Vertex AI Reasoning Engine Service Agent in the project + * will be used. + */ +@property(nonatomic, copy, nullable) NSString *serviceAccount; + @end @@ -28404,6 +28988,14 @@ GTLR_DEPRECATED */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec : GTLRObject +/** + * Optional. Concurrency for each container and agent server. Recommended + * value: 2 * cpu + 1. Defaults to 9. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *containerConcurrency; + /** * Optional. Environment variables to be set with the Reasoning Engine * deployment. The environment variables can be updated through the @@ -28411,6 +29003,37 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSArray *env; +/** + * Optional. The maximum number of application instances that can be launched + * to handle increased traffic. Defaults to 100. Range: [1, 1000]. If VPC-SC or + * PSC-I is enabled, the acceptable range is [1, 100]. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxInstances; + +/** + * Optional. The minimum number of application instances that will be kept + * running at all times. Defaults to 1. Range: [0, 10]. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minInstances; + +/** Optional. Configuration for PSC-I. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1PscInterfaceConfig *pscInterfaceConfig; + +/** + * Optional. Resource limits for each container. Only 'cpu' and 'memory' keys + * are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * The only + * supported values for CPU are '1', '2', '4', '6' and '8'. For more + * information, go to https://cloud.google.com/run/docs/configuring/cpu. * The + * only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. * For + * required cpu on different memory values, go to + * https://cloud.google.com/run/docs/configuring/memory-limits + */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits *resourceLimits; + /** * Optional. Environment variables where the value is a secret in Cloud Secret * Manager. To use this feature, add 'Secret Manager Secret Accessor' role @@ -28422,6 +29045,24 @@ GTLR_DEPRECATED @end +/** + * Optional. Resource limits for each container. Only 'cpu' and 'memory' keys + * are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * The only + * supported values for CPU are '1', '2', '4', '6' and '8'. For more + * information, go to https://cloud.google.com/run/docs/configuring/cpu. * The + * only supported values for memory are '1Gi', '2Gi', ... '32 Gi'. * For + * required cpu on different memory values, go to + * https://cloud.google.com/run/docs/configuring/memory-limits + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRAiplatform_GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec_ResourceLimits : GTLRObject +@end + + /** * User provided package spec like pickled object and package requirements. */ @@ -37259,7 +37900,8 @@ GTLR_DEPRECATED /** * Optional. Multiplier for adjusting the default learning rate. Mutually - * exclusive with `learning_rate`. + * exclusive with `learning_rate`. This feature is only available for 1P + * models. * * Uses NSNumber of doubleValue. */ @@ -38264,13 +38906,6 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolCodeExecution *codeExecution; -/** - * Optional. Tool to support the model interacting directly with the computer. - * If enabled, it automatically populates computer-use specific Function - * Declarations. - */ -@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse *computerUse; - /** * Optional. Tool to support searching public web data, powered by Vertex AI * Search and Sec4 compliance. @@ -38283,10 +38918,13 @@ GTLR_DEPRECATED * subset of these functions by populating FunctionCall in the response. User * should provide a FunctionResponse for each function call in the next turn. * Based on the function responses, Model will generate the final response back - * to the user. Maximum 128 function declarations can be provided. + * to the user. Maximum 512 function declarations can be provided. */ @property(nonatomic, strong, nullable) NSArray *functionDeclarations; +/** Optional. GoogleMaps tool type. Tool to support Google Maps in Model. */ +@property(nonatomic, strong, nullable) GTLRAiplatform_GoogleCloudAiplatformV1GoogleMaps *googleMaps; + /** * Optional. GoogleSearch tool type. Tool to support Google Search in Model. * Powered by Google. @@ -38396,25 +39034,6 @@ GTLR_DEPRECATED @end -/** - * Tool to support computer use. - */ -@interface GTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse : GTLRObject - -/** - * Required. The environment being operated. - * - * Likely values: - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentBrowser - * Operates in a web browser. (Value: "ENVIRONMENT_BROWSER") - * @arg @c kGTLRAiplatform_GoogleCloudAiplatformV1ToolComputerUse_Environment_EnvironmentUnspecified - * Defaults to browser. (Value: "ENVIRONMENT_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *environment; - -@end - - /** * Tool config. This config is shared for all tools provided in the request. */ @@ -38434,6 +39053,13 @@ GTLR_DEPRECATED * Google. */ @interface GTLRAiplatform_GoogleCloudAiplatformV1ToolGoogleSearch : GTLRObject + +/** + * Optional. List of domains to be excluded from the search results. The + * default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. + */ +@property(nonatomic, strong, nullable) NSArray *excludeDomains; + @end @@ -40326,6 +40952,14 @@ GTLR_DEPRECATED /** Optional. The end offset of the video. */ @property(nonatomic, strong, nullable) GTLRDuration *endOffset; +/** + * Optional. The frame rate of the video sent to the model. If not specified, + * the default value will be 1.0. The fps range is (0.0, 24.0]. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fps; + /** Optional. The start offset of the video. */ @property(nonatomic, strong, nullable) GTLRDuration *startOffset; diff --git a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h index bfc528365..71c2d5627 100644 --- a/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h +++ b/Sources/GeneratedServices/Aiplatform/Public/GoogleAPIClientForREST/GTLRAiplatformQuery.h @@ -5028,6 +5028,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif */ @property(nonatomic, copy, nullable) NSString *filter; +/** + * Optional. Configures the Google Distributed Cloud (GDC) environment for + * online prediction. Only set this field when the Endpoint is to be deployed + * in a GDC environment. + */ +@property(nonatomic, copy, nullable) NSString *gdcZone; + /** * A comma-separated list of fields to order by, sorted in ascending order. Use * "desc" after a field name for descending. Supported fields: * `display_name` @@ -5078,9 +5085,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif /** * Updates an existing deployed model. Updatable fields include - * `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, - * `disable_container_logging` (v1 only), and `enable_container_logging` - * (v1beta1 only). + * `min_replica_count`, `max_replica_count`, `required_replica_count`, + * `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and + * `enable_container_logging` (v1beta1 only). * * Method: aiplatform.projects.locations.endpoints.mutateDeployedModel * @@ -5100,9 +5107,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif * Fetches a @c GTLRAiplatform_GoogleLongrunningOperation. * * Updates an existing deployed model. Updatable fields include - * `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, - * `disable_container_logging` (v1 only), and `enable_container_logging` - * (v1beta1 only). + * `min_replica_count`, `max_replica_count`, `required_replica_count`, + * `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and + * `enable_container_logging` (v1beta1 only). * * @param object The @c * GTLRAiplatform_GoogleCloudAiplatformV1MutateDeployedModelRequest to @@ -6840,6 +6847,45 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif @end +/** + * Bidirectional streaming RPC to directly write to feature values in a feature + * view. Requests may not have a one-to-one mapping to responses and responses + * may be returned out-of-order to reduce latency. + * + * Method: aiplatform.projects.locations.featureOnlineStores.featureViews.directWrite + * + * Authorization scope(s): + * @c kGTLRAuthScopeAiplatformCloudPlatform + */ +@interface GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDirectWrite : GTLRAiplatformQuery + +/** + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + */ +@property(nonatomic, copy, nullable) NSString *featureView; + +/** + * Fetches a @c + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteResponse. + * + * Bidirectional streaming RPC to directly write to feature values in a feature + * view. Requests may not have a one-to-one mapping to responses and responses + * may be returned out-of-order to reduce latency. + * + * @param object The @c + * GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequest to + * include in the query. + * @param featureView FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * @return GTLRAiplatformQuery_ProjectsLocationsFeatureOnlineStoresFeatureViewsDirectWrite + */ ++ (instancetype)queryWithObject:(GTLRAiplatform_GoogleCloudAiplatformV1FeatureViewDirectWriteRequest *)object + featureView:(NSString *)featureView; + +@end + /** * Gets details of a single FeatureViewSync. * @@ -19374,6 +19420,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAiplatformViewPublisherModelViewUnspecif */ @interface GTLRAiplatformQuery_ProjectsLocationsRagCorporaRagFilesDelete : GTLRAiplatformQuery +/** + * Optional. If set to true, any errors generated by external vector database + * during the deletion will be ignored. The default value is false. + */ +@property(nonatomic, assign) BOOL forceDelete; + /** * Required. The name of the RagFile resource to be deleted. Format: * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m index 833e5f60d..63dbd0d48 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubObjects.m @@ -66,6 +66,17 @@ NSString * const kGTLRAnalyticsHub_Listing_State_Active = @"ACTIVE"; NSString * const kGTLRAnalyticsHub_Listing_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAnalyticsHub_QueryTemplate.state +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Approved = @"APPROVED"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Deleted = @"DELETED"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Drafted = @"DRAFTED"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Pending = @"PENDING"; +NSString * const kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAnalyticsHub_Routine.routineType +NSString * const kGTLRAnalyticsHub_Routine_RoutineType_RoutineTypeUnspecified = @"ROUTINE_TYPE_UNSPECIFIED"; +NSString * const kGTLRAnalyticsHub_Routine_RoutineType_TableValuedFunction = @"TABLE_VALUED_FUNCTION"; + // GTLRAnalyticsHub_Subscription.resourceType NSString * const kGTLRAnalyticsHub_Subscription_ResourceType_BigqueryDataset = @"BIGQUERY_DATASET"; NSString * const kGTLRAnalyticsHub_Subscription_ResourceType_PubsubTopic = @"PUBSUB_TOPIC"; @@ -77,6 +88,15 @@ NSString * const kGTLRAnalyticsHub_Subscription_State_StateStale = @"STATE_STALE"; NSString * const kGTLRAnalyticsHub_Subscription_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_ApproveQueryTemplateRequest +// + +@implementation GTLRAnalyticsHub_ApproveQueryTemplateRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_AuditConfig @@ -530,6 +550,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_ListQueryTemplatesResponse +// + +@implementation GTLRAnalyticsHub_ListQueryTemplatesResponse +@dynamic nextPageToken, queryTemplates; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"queryTemplates" : [GTLRAnalyticsHub_QueryTemplate class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"queryTemplates"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_ListSharedResourceSubscriptionsResponse @@ -737,6 +779,22 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_QueryTemplate +// + +@implementation GTLRAnalyticsHub_QueryTemplate +@dynamic createTime, descriptionProperty, displayName, documentation, name, + primaryContact, proposer, routine, state, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_RefreshSubscriptionRequest @@ -805,6 +863,16 @@ @implementation GTLRAnalyticsHub_RevokeSubscriptionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_Routine +// + +@implementation GTLRAnalyticsHub_Routine +@dynamic definitionBody, routineType; +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_SelectedResource @@ -867,6 +935,15 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRAnalyticsHub_SubmitQueryTemplateRequest +// + +@implementation GTLRAnalyticsHub_SubmitQueryTemplateRequest +@end + + // ---------------------------------------------------------------------------- // // GTLRAnalyticsHub_SubscribeDataExchangeRequest diff --git a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m index 24e3d1c6d..cc4d88073 100644 --- a/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m +++ b/Sources/GeneratedServices/AnalyticsHub/GTLRAnalyticsHubQuery.m @@ -430,6 +430,171 @@ + (instancetype)queryWithObject:(GTLRAnalyticsHub_DataExchange *)object @end +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_ApproveQueryTemplateRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:approve"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.approve"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate + +@dynamic parent, queryTemplateId; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)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}/queryTemplates"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.create"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_Empty class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.delete"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.get"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/queryTemplates"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRAnalyticsHub_ListQueryTemplatesResponse class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.list"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)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}"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.patch"; + return query; +} + +@end + +@implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_SubmitQueryTemplateRequest *)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}:submit"; + GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRAnalyticsHub_QueryTemplate class]; + query.loggingName = @"analyticshub.projects.locations.dataExchanges.queryTemplates.submit"; + return query; +} + +@end + @implementation GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h index 17fb77e59..c5c6ace9e 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubObjects.h @@ -53,9 +53,11 @@ @class GTLRAnalyticsHub_PubsubWrapper; @class GTLRAnalyticsHub_PushConfig; @class GTLRAnalyticsHub_PushConfig_Attributes; +@class GTLRAnalyticsHub_QueryTemplate; @class GTLRAnalyticsHub_RestrictedExportConfig; @class GTLRAnalyticsHub_RestrictedExportPolicy; @class GTLRAnalyticsHub_RetryPolicy; +@class GTLRAnalyticsHub_Routine; @class GTLRAnalyticsHub_SelectedResource; @class GTLRAnalyticsHub_SharingEnvironmentConfig; @class GTLRAnalyticsHub_Status; @@ -253,6 +255,56 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_State_Active; */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Listing_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAnalyticsHub_QueryTemplate.state + +/** + * The QueryTemplate is in approved state. + * + * Value: "APPROVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Approved; +/** + * The QueryTemplate is in deleted state. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Deleted; +/** + * The QueryTemplate is in draft state. + * + * Value: "DRAFTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Drafted; +/** + * The QueryTemplate is in pending state. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_Pending; +/** + * Default value. This value is unused. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAnalyticsHub_Routine.routineType + +/** + * Default value. + * + * Value: "ROUTINE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Routine_RoutineType_RoutineTypeUnspecified; +/** + * Non-built-in persistent TVF. + * + * Value: "TABLE_VALUED_FUNCTION" + */ +FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Routine_RoutineType_TableValuedFunction; + // ---------------------------------------------------------------------------- // GTLRAnalyticsHub_Subscription.resourceType @@ -305,6 +357,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateSta */ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUnspecified; +/** + * Message for approving a QueryTemplate. + */ +@interface GTLRAnalyticsHub_ApproveQueryTemplateRequest : GTLRObject +@end + + /** * Specifies the audit configuration for a service. The configuration * determines which permission types are logged, and what identities, if any, @@ -1563,6 +1622,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Message for response to the list of QueryTemplates. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "queryTemplates" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAnalyticsHub_ListQueryTemplatesResponse : GTLRCollectionObject + +/** A token to request the next page of results. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of QueryTemplates. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *queryTemplates; + +@end + + /** * Message for response to the listing of shared resource subscriptions. * @@ -2014,6 +2097,80 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * A query template is a container for sharing table-valued functions defined + * by contributors in a data clean room. + */ +@interface GTLRAnalyticsHub_QueryTemplate : GTLRObject + +/** Output only. Timestamp when the QueryTemplate was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Short description of the QueryTemplate. The description must not + * contain Unicode non-characters and C0 and C1 control codes except tabs (HT), + * new lines (LF), carriage returns (CR), and page breaks (FF). Default value + * is an empty string. Max length: 2000 bytes. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. Human-readable display name of the QueryTemplate. The display name + * must contain only Unicode letters, numbers (0-9), underscores (_), dashes + * (-), spaces ( ), ampersands (&) and can't start or end with spaces. Default + * value is an empty string. Max length: 63 bytes. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Optional. Documentation describing the QueryTemplate. */ +@property(nonatomic, copy, nullable) NSString *documentation; + +/** + * Output only. The resource name of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Email or URL of the primary point of contact of the QueryTemplate. + * Max Length: 1000 bytes. + */ +@property(nonatomic, copy, nullable) NSString *primaryContact; + +/** + * Optional. Will be deprecated. Email or URL of the primary point of contact + * of the QueryTemplate. Max Length: 1000 bytes. + */ +@property(nonatomic, copy, nullable) NSString *proposer; + +/** Optional. The routine associated with the QueryTemplate. */ +@property(nonatomic, strong, nullable) GTLRAnalyticsHub_Routine *routine; + +/** + * Output only. The QueryTemplate lifecycle state. + * + * Likely values: + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Approved The QueryTemplate + * is in approved state. (Value: "APPROVED") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Deleted The QueryTemplate is + * in deleted state. (Value: "DELETED") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Drafted The QueryTemplate is + * in draft state. (Value: "DRAFTED") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_Pending The QueryTemplate is + * in pending state. (Value: "PENDING") + * @arg @c kGTLRAnalyticsHub_QueryTemplate_State_StateUnspecified Default + * value. This value is unused. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Timestamp when the QueryTemplate was last modified. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * Message for refreshing a subscription. */ @@ -2146,6 +2303,28 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Represents a bigquery routine. + */ +@interface GTLRAnalyticsHub_Routine : GTLRObject + +/** Optional. The definition body of the routine. */ +@property(nonatomic, copy, nullable) NSString *definitionBody; + +/** + * Required. The type of routine. + * + * Likely values: + * @arg @c kGTLRAnalyticsHub_Routine_RoutineType_RoutineTypeUnspecified + * Default value. (Value: "ROUTINE_TYPE_UNSPECIFIED") + * @arg @c kGTLRAnalyticsHub_Routine_RoutineType_TableValuedFunction + * Non-built-in persistent TVF. (Value: "TABLE_VALUED_FUNCTION") + */ +@property(nonatomic, copy, nullable) NSString *routineType; + +@end + + /** * Resource in this dataset that is selectively shared. */ @@ -2252,6 +2431,13 @@ FOUNDATION_EXTERN NSString * const kGTLRAnalyticsHub_Subscription_State_StateUns @end +/** + * Message for submitting a QueryTemplate. + */ +@interface GTLRAnalyticsHub_SubmitQueryTemplateRequest : GTLRObject +@end + + /** * Message for subscribing to a Data Exchange. */ diff --git a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h index 9b39ab736..f68464ec8 100644 --- a/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h +++ b/Sources/GeneratedServices/AnalyticsHub/Public/GoogleAPIClientForREST/GTLRAnalyticsHubQuery.h @@ -759,6 +759,264 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Approves a query template. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.approve + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove : GTLRAnalyticsHubQuery + +/** + * Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Approves a query template. + * + * @param object The @c GTLRAnalyticsHub_ApproveQueryTemplateRequest to include + * in the query. + * @param name Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesApprove + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_ApproveQueryTemplateRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a new QueryTemplate + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate : GTLRAnalyticsHubQuery + +/** + * Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The ID of the QueryTemplate to create. Must contain only Unicode + * letters, numbers (0-9), underscores (_). Max length: 100 bytes. + */ +@property(nonatomic, copy, nullable) NSString *queryTemplateId; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Creates a new QueryTemplate + * + * @param object The @c GTLRAnalyticsHub_QueryTemplate to include in the query. + * @param parent Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myQueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesCreate + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a query template. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete : GTLRAnalyticsHubQuery + +/** + * Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_Empty. + * + * Deletes a query template. + * + * @param name Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a QueryTemplate + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet : GTLRAnalyticsHubQuery + +/** + * Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Gets a QueryTemplate + * + * @param name Required. The parent resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all QueryTemplates in a given project and location. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList : GTLRAnalyticsHubQuery + +/** + * Optional. The maximum number of results to return in a single response page. + * Leverage the page tokens to iterate through the entire collection. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. Page token, returned by a previous call, to request the next page + * of results. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent resource path of the QueryTemplates. e.g. + * `projects/myproject/locations/us/dataExchanges/123`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRAnalyticsHub_ListQueryTemplatesResponse. + * + * Lists all QueryTemplates in a given project and location. + * + * @param parent Required. The parent resource path of the QueryTemplates. e.g. + * `projects/myproject/locations/us/dataExchanges/123`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesList + * + * @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 QueryTemplate + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch : GTLRAnalyticsHubQuery + +/** + * Output only. The resource name of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask specifies the fields to update in the query template + * resource. The fields specified in the `updateMask` are relative to the + * resource and are not a full request. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Updates an existing QueryTemplate + * + * @param object The @c GTLRAnalyticsHub_QueryTemplate to include in the query. + * @param name Output only. The resource name of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/456` + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesPatch + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_QueryTemplate *)object + name:(NSString *)name; + +@end + +/** + * Submits a query template for approval. + * + * Method: analyticshub.projects.locations.dataExchanges.queryTemplates.submit + * + * Authorization scope(s): + * @c kGTLRAuthScopeAnalyticsHubBigquery + * @c kGTLRAuthScopeAnalyticsHubCloudPlatform + */ +@interface GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit : GTLRAnalyticsHubQuery + +/** + * Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRAnalyticsHub_QueryTemplate. + * + * Submits a query template for approval. + * + * @param object The @c GTLRAnalyticsHub_SubmitQueryTemplateRequest to include + * in the query. + * @param name Required. The resource path of the QueryTemplate. e.g. + * `projects/myproject/locations/us/dataExchanges/123/queryTemplates/myqueryTemplate`. + * + * @return GTLRAnalyticsHubQuery_ProjectsLocationsDataExchangesQueryTemplatesSubmit + */ ++ (instancetype)queryWithObject:(GTLRAnalyticsHub_SubmitQueryTemplateRequest *)object + name:(NSString *)name; + +@end + /** * Sets the IAM policy. * diff --git a/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m b/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m index 16d6795ed..b6e358b2a 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m +++ b/Sources/GeneratedServices/AndroidEnterprise/GTLRAndroidEnterpriseObjects.m @@ -80,6 +80,11 @@ NSString * const kGTLRAndroidEnterprise_EnrollmentToken_EnrollmentTokenType_UserDevice = @"userDevice"; NSString * const kGTLRAndroidEnterprise_EnrollmentToken_EnrollmentTokenType_UserlessDevice = @"userlessDevice"; +// GTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions.authenticationRequirement +NSString * const kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_AuthenticationRequirementUnspecified = @"authenticationRequirementUnspecified"; +NSString * const kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_Optional = @"optional"; +NSString * const kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_Required = @"required"; + // GTLRAndroidEnterprise_Enterprise.enterpriseType NSString * const kGTLRAndroidEnterprise_Enterprise_EnterpriseType_EnterpriseTypeUnspecified = @"enterpriseTypeUnspecified"; NSString * const kGTLRAndroidEnterprise_Enterprise_EnterpriseType_ManagedGoogleDomain = @"managedGoogleDomain"; @@ -631,7 +636,17 @@ @implementation GTLRAndroidEnterprise_DeviceState // @implementation GTLRAndroidEnterprise_EnrollmentToken -@dynamic duration, enrollmentTokenType, token; +@dynamic duration, enrollmentTokenType, googleAuthenticationOptions, token; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions +// + +@implementation GTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions +@dynamic authenticationRequirement, requiredAccountEmail; @end diff --git a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h index affebad8e..eb21b0286 100644 --- a/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h +++ b/Sources/GeneratedServices/AndroidEnterprise/Public/GoogleAPIClientForREST/GTLRAndroidEnterpriseObjects.h @@ -35,6 +35,7 @@ @class GTLRAndroidEnterprise_Device; @class GTLRAndroidEnterprise_DeviceReport; @class GTLRAndroidEnterprise_DeviceReportUpdateEvent; +@class GTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions; @class GTLRAndroidEnterprise_Enterprise; @class GTLRAndroidEnterprise_EnterpriseAuthenticationAppLinkConfig; @class GTLRAndroidEnterprise_EnterpriseUpgradeEvent; @@ -348,6 +349,30 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_EnrollmentToken_Enroll */ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_EnrollmentToken_EnrollmentTokenType_UserlessDevice; +// ---------------------------------------------------------------------------- +// GTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions.authenticationRequirement + +/** + * The value is unused. + * + * Value: "authenticationRequirementUnspecified" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_AuthenticationRequirementUnspecified; +/** + * Google authentication is optional for the user. This means the user can + * choose to skip Google authentication during enrollment. + * + * Value: "optional" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_Optional; +/** + * Google authentication is required for the user. This means the user must + * authenticate with a Google account to proceed. + * + * Value: "required" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_Required; + // ---------------------------------------------------------------------------- // GTLRAndroidEnterprise_Enterprise.enterpriseType @@ -1760,6 +1785,12 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta */ @property(nonatomic, copy, nullable) NSString *enrollmentTokenType; +/** + * [Optional] Provides options related to Google authentication during the + * enrollment. + */ +@property(nonatomic, strong, nullable) GTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions *googleAuthenticationOptions; + /** * 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. @@ -1769,6 +1800,41 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidEnterprise_WebApp_DisplayMode_Sta @end +/** + * Options for Google authentication during the enrollment. + */ +@interface GTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions : GTLRObject + +/** + * [Optional] Specifies whether user should authenticate with Google during + * enrollment. This setting, if specified,`GoogleAuthenticationSettings` + * specified for the enterprise resource is ignored for devices enrolled with + * this token. + * + * Likely values: + * @arg @c kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_AuthenticationRequirementUnspecified + * The value is unused. (Value: "authenticationRequirementUnspecified") + * @arg @c kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_Optional + * Google authentication is optional for the user. This means the user + * can choose to skip Google authentication during enrollment. (Value: + * "optional") + * @arg @c kGTLRAndroidEnterprise_EnrollmentTokenGoogleAuthenticationOptions_AuthenticationRequirement_Required + * Google authentication is required for the user. This means the user + * must authenticate with a Google account to proceed. (Value: + * "required") + */ +@property(nonatomic, copy, nullable) NSString *authenticationRequirement; + +/** + * [Optional] Specifies the managed Google account that the user must use + * during enrollment.`AuthenticationRequirement` must be set to`REQUIRED` if + * this field is set. + */ +@property(nonatomic, copy, nullable) NSString *requiredAccountEmail; + +@end + + /** * An Enterprises resource represents the binding between an EMM and a specific * organization. That binding can be instantiated in one of two different ways diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index 75f678c53..4fcfe89dc 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -4545,13 +4545,23 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_LocationMode_Ba */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_LocationMode_HighAccuracy GTLR_DEPRECATED; /** - * Disable location setting on the device. + * Disable location setting on the device. Important: On Android 11 and above, + * work profiles on company-owned devices cannot directly enforce disabling of + * location services. When LOCATION_DISABLED is set, then a nonComplianceDetail + * with USER_ACTION is reported. Compliance can only be restored once the user + * manually turns off location services through the device's Settings + * application. * * Value: "LOCATION_DISABLED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_LocationMode_LocationDisabled; /** - * Enable location setting on the device. + * Enable location setting on the device. Important: On Android 11 and above, + * work profiles on company-owned devices cannot directly enforce enabling of + * location services. When LOCATION_ENFORCED is set, then a NonComplianceDetail + * with USER_ACTION is reported. Compliance can only be restored once the user + * manually turns on location services through the device's Settings + * application. * * Value: "LOCATION_ENFORCED" */ @@ -12154,9 +12164,19 @@ GTLR_DEPRECATED * GPS, networks, and other sensors. On Android 9 and above, this is * equivalent to LOCATION_ENFORCED. (Value: "HIGH_ACCURACY") * @arg @c kGTLRAndroidManagement_Policy_LocationMode_LocationDisabled - * Disable location setting on the device. (Value: "LOCATION_DISABLED") + * Disable location setting on the device. Important: On Android 11 and + * above, work profiles on company-owned devices cannot directly enforce + * disabling of location services. When LOCATION_DISABLED is set, then a + * nonComplianceDetail with USER_ACTION is reported. Compliance can only + * be restored once the user manually turns off location services through + * the device's Settings application. (Value: "LOCATION_DISABLED") * @arg @c kGTLRAndroidManagement_Policy_LocationMode_LocationEnforced Enable - * location setting on the device. (Value: "LOCATION_ENFORCED") + * location setting on the device. Important: On Android 11 and above, + * work profiles on company-owned devices cannot directly enforce + * enabling of location services. When LOCATION_ENFORCED is set, then a + * NonComplianceDetail with USER_ACTION is reported. Compliance can only + * be restored once the user manually turns on location services through + * the device's Settings application. (Value: "LOCATION_ENFORCED") * @arg @c kGTLRAndroidManagement_Policy_LocationMode_LocationModeUnspecified * Defaults to LOCATION_USER_CHOICE. (Value: "LOCATION_MODE_UNSPECIFIED") * @arg @c kGTLRAndroidManagement_Policy_LocationMode_LocationUserChoice diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index 0800584f2..7893ca5cb 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -358,8 +358,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern @interface GTLRAndroidManagementQuery_EnterprisesDevicesList : GTLRAndroidManagementQuery /** - * The requested page size. The actual page size may be fixed to a min or max - * value. + * The requested page size. If unspecified, at most 10 devices will be + * returned. The maximum value is 100; values above 100 will be coerced to 100. + * The limits can change over time. */ @property(nonatomic, assign) NSInteger pageSize; diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m index 49687f44a..4330a39fd 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherObjects.m @@ -29,6 +29,16 @@ NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; +// GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_ActivatePurchaseOptionRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_ActivateSubscriptionOfferRequest.latencyTolerance NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; NSString * const kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; @@ -64,6 +74,11 @@ NSString * const kGTLRAndroidPublisher_BasePlan_State_Inactive = @"INACTIVE"; NSString * const kGTLRAndroidPublisher_BasePlan_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRAndroidPublisher_CancelOneTimeProductOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_CancelSurveyResult.reason NSString * const kGTLRAndroidPublisher_CancelSurveyResult_Reason_CancelSurveyReasonCostRelated = @"CANCEL_SURVEY_REASON_COST_RELATED"; NSString * const kGTLRAndroidPublisher_CancelSurveyResult_Reason_CancelSurveyReasonFoundBetterApp = @"CANCEL_SURVEY_REASON_FOUND_BETTER_APP"; @@ -77,11 +92,36 @@ NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; +// GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_DeactivatePurchaseOptionRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest.latencyTolerance NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; +// GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_DeleteOneTimeProductRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_DeletePurchaseOptionRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_DeobfuscationFile.symbolType NSString * const kGTLRAndroidPublisher_DeobfuscationFile_SymbolType_DeobfuscationFileTypeUnspecified = @"deobfuscationFileTypeUnspecified"; NSString * const kGTLRAndroidPublisher_DeobfuscationFile_SymbolType_NativeCode = @"nativeCode"; @@ -177,6 +217,41 @@ NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleType_FeatureModule = @"FEATURE_MODULE"; NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleType_UnknownModuleType = @"UNKNOWN_MODULE_TYPE"; +// GTLRAndroidPublisher_OneTimeProductOffer.state +NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Active = @"ACTIVE"; +NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Draft = @"DRAFT"; +NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Inactive = @"INACTIVE"; +NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig.availability +NSString * const kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_AvailabilityUnspecified = @"AVAILABILITY_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_Available = @"AVAILABLE"; +NSString * const kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_NoLongerAvailable = @"NO_LONGER_AVAILABLE"; + +// GTLRAndroidPublisher_OneTimeProductPreOrderOffer.priceChangeBehavior +NSString * const kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorNewOrdersOnly = @"PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorTwoPointLowest = @"PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorUnspecified = @"PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED"; + +// GTLRAndroidPublisher_OneTimeProductPurchaseOption.state +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Active = @"ACTIVE"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Draft = @"DRAFT"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Inactive = @"INACTIVE"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_InactivePublished = @"INACTIVE_PUBLISHED"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig.availability +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_AvailabilityUnspecified = @"AVAILABILITY_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_Available = @"AVAILABLE"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_NoLongerAvailable = @"NO_LONGER_AVAILABLE"; + +// GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig.availability +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailabilityUnspecified = @"AVAILABILITY_UNSPECIFIED"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_Available = @"AVAILABLE"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableIfReleased = @"AVAILABLE_IF_RELEASED"; +NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_NoLongerAvailable = @"NO_LONGER_AVAILABLE"; + // GTLRAndroidPublisher_Order.state NSString * const kGTLRAndroidPublisher_Order_State_Canceled = @"CANCELED"; NSString * const kGTLRAndroidPublisher_Order_State_PartiallyRefunded = @"PARTIALLY_REFUNDED"; @@ -206,6 +281,11 @@ NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStatePending = @"ACKNOWLEDGEMENT_STATE_PENDING"; NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateUnspecified = @"ACKNOWLEDGEMENT_STATE_UNSPECIFIED"; +// GTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings.withdrawalRightType +NSString * const kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightDigitalContent = @"WITHDRAWAL_RIGHT_DIGITAL_CONTENT"; +NSString * const kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightService = @"WITHDRAWAL_RIGHT_SERVICE"; +NSString * const kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightTypeUnspecified = @"WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED"; + // GTLRAndroidPublisher_PurchaseStateContext.purchaseState NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Cancelled = @"CANCELLED"; NSString * const kGTLRAndroidPublisher_PurchaseStateContext_PurchaseState_Pending = @"PENDING"; @@ -227,6 +307,23 @@ NSString * const kGTLRAndroidPublisher_RegionalPriceMigrationConfig_PriceIncreaseType_PriceIncreaseTypeOptOut = @"PRICE_INCREASE_TYPE_OPT_OUT"; NSString * const kGTLRAndroidPublisher_RegionalPriceMigrationConfig_PriceIncreaseType_PriceIncreaseTypeUnspecified = @"PRICE_INCREASE_TYPE_UNSPECIFIED"; +// GTLRAndroidPublisher_RegionalTaxConfig.streamingTaxType +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioMultiChannel = @"STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioRental = @"STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioSales = @"STREAMING_TAX_TYPE_TELCO_AUDIO_SALES"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoMultiChannel = @"STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoRental = @"STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoSales = @"STREAMING_TAX_TYPE_TELCO_VIDEO_SALES"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeUnspecified = @"STREAMING_TAX_TYPE_UNSPECIFIED"; + +// GTLRAndroidPublisher_RegionalTaxConfig.taxTier +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierBooks1 = @"TAX_TIER_BOOKS_1"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierLiveOrBroadcast1 = @"TAX_TIER_LIVE_OR_BROADCAST_1"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierMusicOrAudio1 = @"TAX_TIER_MUSIC_OR_AUDIO_1"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierNews1 = @"TAX_TIER_NEWS_1"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierNews2 = @"TAX_TIER_NEWS_2"; +NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierUnspecified = @"TAX_TIER_UNSPECIFIED"; + // GTLRAndroidPublisher_RegionalTaxRateInfo.streamingTaxType NSString * const kGTLRAndroidPublisher_RegionalTaxRateInfo_StreamingTaxType_StreamingTaxTypeTelcoAudioMultiChannel = @"STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL"; NSString * const kGTLRAndroidPublisher_RegionalTaxRateInfo_StreamingTaxType_StreamingTaxTypeTelcoAudioRental = @"STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL"; @@ -335,6 +432,16 @@ NSString * const kGTLRAndroidPublisher_TrackRelease_Status_InProgress = @"inProgress"; NSString * const kGTLRAndroidPublisher_TrackRelease_Status_StatusUnspecified = @"statusUnspecified"; +// GTLRAndroidPublisher_UpdateOneTimeProductOfferRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + +// GTLRAndroidPublisher_UpdateOneTimeProductRequest.latencyTolerance +NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; +NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; +NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED"; + // GTLRAndroidPublisher_UpdateSubscriptionOfferRequest.latencyTolerance NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE"; NSString * const kGTLRAndroidPublisher_UpdateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant = @"PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"; @@ -426,6 +533,26 @@ @implementation GTLRAndroidPublisher_ActivateBasePlanRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest +// + +@implementation GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest +@dynamic latencyTolerance, offerId, packageName, productId, purchaseOptionId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ActivatePurchaseOptionRequest +// + +@implementation GTLRAndroidPublisher_ActivatePurchaseOptionRequest +@dynamic latencyTolerance, packageName, productId, purchaseOptionId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ActivateSubscriptionOfferRequest @@ -733,6 +860,114 @@ @implementation GTLRAndroidPublisher_BasePlan @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchDeleteOneTimeProductOffersRequest +// + +@implementation GTLRAndroidPublisher_BatchDeleteOneTimeProductOffersRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchDeleteOneTimeProductsRequest +// + +@implementation GTLRAndroidPublisher_BatchDeleteOneTimeProductsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_DeleteOneTimeProductRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchDeletePurchaseOptionsRequest +// + +@implementation GTLRAndroidPublisher_BatchDeletePurchaseOptionsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_DeletePurchaseOptionRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchGetOneTimeProductOffersRequest +// + +@implementation GTLRAndroidPublisher_BatchGetOneTimeProductOffersRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_GetOneTimeProductOfferRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchGetOneTimeProductOffersResponse +// + +@implementation GTLRAndroidPublisher_BatchGetOneTimeProductOffersResponse +@dynamic oneTimeProductOffers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProductOffers" : [GTLRAndroidPublisher_OneTimeProductOffer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchGetOneTimeProductsResponse +// + +@implementation GTLRAndroidPublisher_BatchGetOneTimeProductsResponse +@dynamic oneTimeProducts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProducts" : [GTLRAndroidPublisher_OneTimeProduct class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_BatchGetOrdersResponse @@ -877,6 +1112,150 @@ @implementation GTLRAndroidPublisher_BatchUpdateBasePlanStatesResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdateOneTimeProductOfferRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersResponse +@dynamic oneTimeProductOffers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProductOffers" : [GTLRAndroidPublisher_OneTimeProductOffer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdateOneTimeProductOfferStateRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesResponse +@dynamic oneTimeProductOffers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProductOffers" : [GTLRAndroidPublisher_OneTimeProductOffer class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateOneTimeProductsRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdateOneTimeProductsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdateOneTimeProductRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdateOneTimeProductsResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdateOneTimeProductsResponse +@dynamic oneTimeProducts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProducts" : [GTLRAndroidPublisher_OneTimeProduct class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesRequest +// + +@implementation GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRAndroidPublisher_UpdatePurchaseOptionStateRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesResponse +// + +@implementation GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesResponse +@dynamic oneTimeProducts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProducts" : [GTLRAndroidPublisher_OneTimeProduct class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_BatchUpdateSubscriptionOffersRequest @@ -1068,6 +1447,16 @@ @implementation GTLRAndroidPublisher_CancellationEvent @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_CancelOneTimeProductOfferRequest +// + +@implementation GTLRAndroidPublisher_CancelOneTimeProductOfferRequest +@dynamic latencyTolerance, offerId, packageName, productId, purchaseOptionId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_CancelSurveyResult @@ -1180,6 +1569,26 @@ @implementation GTLRAndroidPublisher_DeactivateBasePlanRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest +// + +@implementation GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest +@dynamic latencyTolerance, offerId, packageName, productId, purchaseOptionId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_DeactivatePurchaseOptionRequest +// + +@implementation GTLRAndroidPublisher_DeactivatePurchaseOptionRequest +@dynamic latencyTolerance, packageName, productId, purchaseOptionId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest @@ -1190,6 +1599,15 @@ @implementation GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_DeferredItemRemoval +// + +@implementation GTLRAndroidPublisher_DeferredItemRemoval +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_DeferredItemReplacement @@ -1200,6 +1618,36 @@ @implementation GTLRAndroidPublisher_DeferredItemReplacement @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest +// + +@implementation GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest +@dynamic latencyTolerance, offerId, packageName, productId, purchaseOptionId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_DeleteOneTimeProductRequest +// + +@implementation GTLRAndroidPublisher_DeleteOneTimeProductRequest +@dynamic latencyTolerance, packageName, productId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_DeletePurchaseOptionRequest +// + +@implementation GTLRAndroidPublisher_DeletePurchaseOptionRequest +@dynamic force, latencyTolerance, packageName, productId, purchaseOptionId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_DeobfuscationFile @@ -1622,6 +2070,16 @@ @implementation GTLRAndroidPublisher_GeneratedUniversalApk @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_GetOneTimeProductOfferRequest +// + +@implementation GTLRAndroidPublisher_GetOneTimeProductOfferRequest +@dynamic offerId, packageName, productId, purchaseOptionId; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_GetSubscriptionOfferRequest @@ -2038,6 +2496,50 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ListOneTimeProductOffersResponse +// + +@implementation GTLRAndroidPublisher_ListOneTimeProductOffersResponse +@dynamic nextPageToken, oneTimeProductOffers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProductOffers" : [GTLRAndroidPublisher_OneTimeProductOffer class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"oneTimeProductOffers"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_ListOneTimeProductsResponse +// + +@implementation GTLRAndroidPublisher_ListOneTimeProductsResponse +@dynamic nextPageToken, oneTimeProducts; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"oneTimeProducts" : [GTLRAndroidPublisher_OneTimeProduct class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"oneTimeProducts"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_ListSubscriptionOffersResponse @@ -2297,13 +2799,189 @@ @implementation GTLRAndroidPublisher_OneTimeExternalTransaction @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProduct +// + +@implementation GTLRAndroidPublisher_OneTimeProduct +@dynamic listings, offerTags, packageName, productId, purchaseOptions, + regionsVersion, restrictedPaymentCountries, taxAndComplianceSettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"listings" : [GTLRAndroidPublisher_OneTimeProductListing class], + @"offerTags" : [GTLRAndroidPublisher_OfferTag class], + @"purchaseOptions" : [GTLRAndroidPublisher_OneTimeProductPurchaseOption class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductBuyPurchaseOption +// + +@implementation GTLRAndroidPublisher_OneTimeProductBuyPurchaseOption +@dynamic legacyCompatible, multiQuantityEnabled; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductDiscountedOffer +// + +@implementation GTLRAndroidPublisher_OneTimeProductDiscountedOffer +@dynamic endTime, redemptionLimit, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductListing +// + +@implementation GTLRAndroidPublisher_OneTimeProductListing +@dynamic descriptionProperty, languageCode, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductOffer +// + +@implementation GTLRAndroidPublisher_OneTimeProductOffer +@dynamic discountedOffer, offerId, offerTags, packageName, preOrderOffer, + productId, purchaseOptionId, regionalPricingAndAvailabilityConfigs, + regionsVersion, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"offerTags" : [GTLRAndroidPublisher_OfferTag class], + @"regionalPricingAndAvailabilityConfigs" : [GTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductOfferNoPriceOverrideOptions +// + +@implementation GTLRAndroidPublisher_OneTimeProductOfferNoPriceOverrideOptions +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig +// + +@implementation GTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig +@dynamic absoluteDiscount, availability, noOverride, regionCode, + relativeDiscount; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductPreOrderOffer +// + +@implementation GTLRAndroidPublisher_OneTimeProductPreOrderOffer +@dynamic endTime, priceChangeBehavior, releaseTime, startTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductPurchaseOption +// + +@implementation GTLRAndroidPublisher_OneTimeProductPurchaseOption +@dynamic buyOption, newRegionsConfig, offerTags, purchaseOptionId, + regionalPricingAndAvailabilityConfigs, rentOption, state, + taxAndComplianceSettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"offerTags" : [GTLRAndroidPublisher_OfferTag class], + @"regionalPricingAndAvailabilityConfigs" : [GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig +// + +@implementation GTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig +@dynamic availability, eurPrice, usdPrice; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig +// + +@implementation GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig +@dynamic availability, price, regionCode; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductRentPurchaseOption +// + +@implementation GTLRAndroidPublisher_OneTimeProductRentPurchaseOption +@dynamic expirationPeriod, rentalPeriod; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_OneTimeProductTaxAndComplianceSettings +// + +@implementation GTLRAndroidPublisher_OneTimeProductTaxAndComplianceSettings +@dynamic isTokenizedDigitalAsset, regionalTaxConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"regionalTaxConfigs" : [GTLRAndroidPublisher_RegionalTaxConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_OneTimePurchaseDetails // @implementation GTLRAndroidPublisher_OneTimePurchaseDetails -@dynamic offerId, quantity; +@dynamic offerId, purchaseOptionId, quantity, rentalDetails; @end @@ -2608,6 +3286,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings +// + +@implementation GTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings +@dynamic withdrawalRightType; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_PurchaseStateContext @@ -2709,6 +3397,17 @@ @implementation GTLRAndroidPublisher_RegionalSubscriptionOfferPhaseFreePriceOver @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_RegionalTaxConfig +// + +@implementation GTLRAndroidPublisher_RegionalTaxConfig +@dynamic eligibleForStreamingServiceTaxRate, regionCode, streamingTaxType, + taxTier; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_RegionalTaxRateInfo @@ -2785,6 +3484,15 @@ @implementation GTLRAndroidPublisher_RemoteInAppUpdateDataPerBundle @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_RentalDetails +// + +@implementation GTLRAndroidPublisher_RentalDetails +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_RentOfferDetails @@ -3260,9 +3968,9 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRAndroidPublisher_SubscriptionPurchaseLineItem -@dynamic autoRenewingPlan, deferredItemReplacement, expiryTime, - latestSuccessfulOrderId, offerDetails, prepaidPlan, productId, - signupPromotion; +@dynamic autoRenewingPlan, deferredItemRemoval, deferredItemReplacement, + expiryTime, latestSuccessfulOrderId, offerDetails, prepaidPlan, + productId, signupPromotion; @end @@ -3668,6 +4376,49 @@ @implementation GTLRAndroidPublisher_UpdateBasePlanStateRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdateOneTimeProductOfferRequest +// + +@implementation GTLRAndroidPublisher_UpdateOneTimeProductOfferRequest +@dynamic allowMissing, latencyTolerance, oneTimeProductOffer, regionsVersion, + updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdateOneTimeProductOfferStateRequest +// + +@implementation GTLRAndroidPublisher_UpdateOneTimeProductOfferStateRequest +@dynamic activateOneTimeProductOfferRequest, cancelOneTimeProductOfferRequest, + deactivateOneTimeProductOfferRequest; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdateOneTimeProductRequest +// + +@implementation GTLRAndroidPublisher_UpdateOneTimeProductRequest +@dynamic allowMissing, latencyTolerance, oneTimeProduct, regionsVersion, + updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRAndroidPublisher_UpdatePurchaseOptionStateRequest +// + +@implementation GTLRAndroidPublisher_UpdatePurchaseOptionStateRequest +@dynamic activatePurchaseOptionRequest, deactivatePurchaseOptionRequest; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidPublisher_UpdateSubscriptionOfferRequest diff --git a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m index 7ebe3cfed..841410006 100644 --- a/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m +++ b/Sources/GeneratedServices/AndroidPublisher/GTLRAndroidPublisherQuery.m @@ -1813,6 +1813,507 @@ + (instancetype)queryWithObject:(GTLRAndroidPublisher_ConvertRegionPricesRequest @end +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchDelete + +@dynamic packageName; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchDeleteOneTimeProductsRequest *)object + packageName:(NSString *)packageName { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.batchDelete"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchGet + +@dynamic packageName, productIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"productIds" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithPackageName:(NSString *)packageName { + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchGetOneTimeProductsResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.batchGet"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchUpdate + +@dynamic packageName; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateOneTimeProductsRequest *)object + packageName:(NSString *)packageName { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdateOneTimeProductsResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.batchUpdate"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsDelete + +@dynamic latencyTolerance, packageName, productId; + ++ (instancetype)queryWithPackageName:(NSString *)packageName + productId:(NSString *)productId { + NSArray *pathParams = @[ + @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.packageName = packageName; + query.productId = productId; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.delete"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsGet + +@dynamic packageName, productId; + ++ (instancetype)queryWithPackageName:(NSString *)packageName + productId:(NSString *)productId { + NSArray *pathParams = @[ + @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.productId = productId; + query.expectedObjectClass = [GTLRAndroidPublisher_OneTimeProduct class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.get"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsList + +@dynamic packageName, pageSize, pageToken; + ++ (instancetype)queryWithPackageName:(NSString *)packageName { + NSArray *pathParams = @[ @"packageName" ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.expectedObjectClass = [GTLRAndroidPublisher_ListOneTimeProductsResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.list"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPatch + +@dynamic allowMissing, latencyTolerance, packageName, productId, + regionsVersionVersion, updateMask; + ++ (NSDictionary *)parameterNameMap { + return @{ @"regionsVersionVersion" : @"regionsVersion.version" }; +} + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_OneTimeProduct *)object + packageName:(NSString *)packageName + productId:(NSString *)productId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.expectedObjectClass = [GTLRAndroidPublisher_OneTimeProduct class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.patch"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchDelete + +@dynamic packageName, productId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchDeletePurchaseOptionsRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.batchDelete"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchUpdateStates + +@dynamic packageName, productId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchUpdateStates *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.batchUpdateStates"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersActivate + +@dynamic offerId, packageName, productId, purchaseOptionId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId + offerId:(NSString *)offerId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"offerId", @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersActivate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.offerId = offerId; + query.expectedObjectClass = [GTLRAndroidPublisher_OneTimeProductOffer class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.activate"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchDelete + +@dynamic packageName, productId, purchaseOptionId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchDeleteOneTimeProductOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchDelete"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchGet + +@dynamic packageName, productId, purchaseOptionId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchGetOneTimeProductOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchGetOneTimeProductOffersResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchGet"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdate + +@dynamic packageName, productId, purchaseOptionId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdate"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdateStates + +@dynamic packageName, productId, purchaseOptionId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdateStates *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.expectedObjectClass = [GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdateStates"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersCancel + +@dynamic offerId, packageName, productId, purchaseOptionId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_CancelOneTimeProductOfferRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId + offerId:(NSString *)offerId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"offerId", @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.offerId = offerId; + query.expectedObjectClass = [GTLRAndroidPublisher_OneTimeProductOffer class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.cancel"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersDeactivate + +@dynamic offerId, packageName, productId, purchaseOptionId; + ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId + offerId:(NSString *)offerId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"offerId", @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersDeactivate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.offerId = offerId; + query.expectedObjectClass = [GTLRAndroidPublisher_OneTimeProductOffer class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.deactivate"; + return query; +} + +@end + +@implementation GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersList + +@dynamic packageName, pageSize, pageToken, productId, purchaseOptionId; + ++ (instancetype)queryWithPackageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId { + NSArray *pathParams = @[ + @"packageName", @"productId", @"purchaseOptionId" + ]; + NSString *pathURITemplate = @"androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers"; + GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.packageName = packageName; + query.productId = productId; + query.purchaseOptionId = purchaseOptionId; + query.expectedObjectClass = [GTLRAndroidPublisher_ListOneTimeProductOffersResponse class]; + query.loggingName = @"androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.list"; + return query; +} + +@end + @implementation GTLRAndroidPublisherQuery_MonetizationSubscriptionsArchive @dynamic packageName, productId; diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h index 38d9d2605..e76c87e64 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherObjects.h @@ -20,6 +20,8 @@ @class GTLRAndroidPublisher_AbiTargeting; @class GTLRAndroidPublisher_AcquisitionTargetingRule; @class GTLRAndroidPublisher_ActivateBasePlanRequest; +@class GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest; +@class GTLRAndroidPublisher_ActivatePurchaseOptionRequest; @class GTLRAndroidPublisher_ActivateSubscriptionOfferRequest; @class GTLRAndroidPublisher_AllUsers; @class GTLRAndroidPublisher_AndroidSdks; @@ -40,6 +42,7 @@ @class GTLRAndroidPublisher_BuyerAddress; @class GTLRAndroidPublisher_CanceledStateContext; @class GTLRAndroidPublisher_CancellationEvent; +@class GTLRAndroidPublisher_CancelOneTimeProductOfferRequest; @class GTLRAndroidPublisher_CancelSurveyResult; @class GTLRAndroidPublisher_Comment; @class GTLRAndroidPublisher_ConvertedOtherRegionsPrice; @@ -47,8 +50,14 @@ @class GTLRAndroidPublisher_ConvertRegionPricesResponse_ConvertedRegionPrices; @class GTLRAndroidPublisher_CountryTargeting; @class GTLRAndroidPublisher_DeactivateBasePlanRequest; +@class GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest; +@class GTLRAndroidPublisher_DeactivatePurchaseOptionRequest; @class GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest; +@class GTLRAndroidPublisher_DeferredItemRemoval; @class GTLRAndroidPublisher_DeferredItemReplacement; +@class GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest; +@class GTLRAndroidPublisher_DeleteOneTimeProductRequest; +@class GTLRAndroidPublisher_DeletePurchaseOptionRequest; @class GTLRAndroidPublisher_DeobfuscationFile; @class GTLRAndroidPublisher_DeveloperComment; @class GTLRAndroidPublisher_DeveloperInitiatedCancellation; @@ -76,6 +85,7 @@ @class GTLRAndroidPublisher_GeneratedSplitApk; @class GTLRAndroidPublisher_GeneratedStandaloneApk; @class GTLRAndroidPublisher_GeneratedUniversalApk; +@class GTLRAndroidPublisher_GetOneTimeProductOfferRequest; @class GTLRAndroidPublisher_GetSubscriptionOfferRequest; @class GTLRAndroidPublisher_Grant; @class GTLRAndroidPublisher_Image; @@ -105,6 +115,19 @@ @class GTLRAndroidPublisher_OfferTag; @class GTLRAndroidPublisher_OneTimeCode; @class GTLRAndroidPublisher_OneTimeExternalTransaction; +@class GTLRAndroidPublisher_OneTimeProduct; +@class GTLRAndroidPublisher_OneTimeProductBuyPurchaseOption; +@class GTLRAndroidPublisher_OneTimeProductDiscountedOffer; +@class GTLRAndroidPublisher_OneTimeProductListing; +@class GTLRAndroidPublisher_OneTimeProductOffer; +@class GTLRAndroidPublisher_OneTimeProductOfferNoPriceOverrideOptions; +@class GTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig; +@class GTLRAndroidPublisher_OneTimeProductPreOrderOffer; +@class GTLRAndroidPublisher_OneTimeProductPurchaseOption; +@class GTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig; +@class GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig; +@class GTLRAndroidPublisher_OneTimeProductRentPurchaseOption; +@class GTLRAndroidPublisher_OneTimeProductTaxAndComplianceSettings; @class GTLRAndroidPublisher_OneTimePurchaseDetails; @class GTLRAndroidPublisher_Order; @class GTLRAndroidPublisher_OrderDetails; @@ -128,6 +151,7 @@ @class GTLRAndroidPublisher_ProcessedEvent; @class GTLRAndroidPublisher_ProductLineItem; @class GTLRAndroidPublisher_ProductOfferDetails; +@class GTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings; @class GTLRAndroidPublisher_PurchaseStateContext; @class GTLRAndroidPublisher_RecurringExternalTransaction; @class GTLRAndroidPublisher_RefundDetails; @@ -137,12 +161,14 @@ @class GTLRAndroidPublisher_RegionalSubscriptionOfferConfig; @class GTLRAndroidPublisher_RegionalSubscriptionOfferPhaseConfig; @class GTLRAndroidPublisher_RegionalSubscriptionOfferPhaseFreePriceOverride; +@class GTLRAndroidPublisher_RegionalTaxConfig; @class GTLRAndroidPublisher_RegionalTaxRateInfo; @class GTLRAndroidPublisher_Regions; @class GTLRAndroidPublisher_RegionsVersion; @class GTLRAndroidPublisher_RemoteInAppUpdate; @class GTLRAndroidPublisher_RemoteInAppUpdateData; @class GTLRAndroidPublisher_RemoteInAppUpdateDataPerBundle; +@class GTLRAndroidPublisher_RentalDetails; @class GTLRAndroidPublisher_RentOfferDetails; @class GTLRAndroidPublisher_ReplacementCancellation; @class GTLRAndroidPublisher_RestrictedPaymentCountries; @@ -194,6 +220,10 @@ @class GTLRAndroidPublisher_TrackRelease; @class GTLRAndroidPublisher_TrackTargetedCountry; @class GTLRAndroidPublisher_UpdateBasePlanStateRequest; +@class GTLRAndroidPublisher_UpdateOneTimeProductOfferRequest; +@class GTLRAndroidPublisher_UpdateOneTimeProductOfferStateRequest; +@class GTLRAndroidPublisher_UpdateOneTimeProductRequest; +@class GTLRAndroidPublisher_UpdatePurchaseOptionStateRequest; @class GTLRAndroidPublisher_UpdateSubscriptionOfferRequest; @class GTLRAndroidPublisher_UpdateSubscriptionOfferStateRequest; @class GTLRAndroidPublisher_UpdateSubscriptionRequest; @@ -292,6 +322,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ActivatePurchaseOptionRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_ActivateSubscriptionOfferRequest.latencyTolerance @@ -466,6 +548,32 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_BasePlan_State_Inactive */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_BasePlan_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_CancelOneTimeProductOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_CancelSurveyResult.reason @@ -532,6 +640,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateBasePlanReque */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateBasePlanRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_DeactivatePurchaseOptionRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest.latencyTolerance @@ -558,6 +718,84 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionO */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_DeleteOneTimeProductRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_DeletePurchaseOptionRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_DeobfuscationFile.symbolType @@ -1010,126 +1248,300 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleTy FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ModuleMetadata_ModuleType_UnknownModuleType; // ---------------------------------------------------------------------------- -// GTLRAndroidPublisher_Order.state +// GTLRAndroidPublisher_OneTimeProductOffer.state /** - * Order was canceled before being processed. + * The offer is available to users, as long as its conditions are met. * - * Value: "CANCELED" + * Value: "ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Canceled; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Active; /** - * Part of the order amount was refunded. + * This state is specific to pre-orders. The offer is cancelled and not + * available to users. All pending orders related to this offer were cancelled. * - * Value: "PARTIALLY_REFUNDED" + * Value: "CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_PartiallyRefunded; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Cancelled; /** - * Order has been created and is waiting to be processed. + * The offer is not and has never been available to users. * - * Value: "PENDING" + * Value: "DRAFT" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Pending; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Draft; /** - * Requested refund is waiting to be processed. + * This state is specific to discounted offers. The offer is no longer + * available to users. * - * Value: "PENDING_REFUND" + * Value: "INACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_PendingRefund; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_Inactive; /** - * Order has been successfully processed. + * Default value, should never be used. * - * Value: "PROCESSED" + * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Processed; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOffer_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig.availability + /** - * The full order amount was refunded. + * Unspecified availability. Must not be used. * - * Value: "REFUNDED" + * Value: "AVAILABILITY_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Refunded; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_AvailabilityUnspecified; /** - * State unspecified. This value is not used. + * The offer is available to users. * - * Value: "STATE_UNSPECIFIED" + * Value: "AVAILABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_Available; +/** + * The offer is no longer available to users. This value can only be used if + * the availability was previously set as AVAILABLE. + * + * Value: "NO_LONGER_AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_NoLongerAvailable; // ---------------------------------------------------------------------------- -// GTLRAndroidPublisher_PartialRefundEvent.state +// GTLRAndroidPublisher_OneTimeProductPreOrderOffer.priceChangeBehavior /** - * The partial refund has been created, but not yet processed. + * The buyer gets the same price as the one they pre-ordered, regardless of any + * price changes that may have happened after the pre-order. * - * Value: "PENDING" + * Value: "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_Pending; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorNewOrdersOnly; /** - * The partial refund was processed successfully. + * The buyer gets charged the minimum between the initial price at the time of + * pre-order and the final offer price on the release date. * - * Value: "PROCESSED_SUCCESSFULLY" + * Value: "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_ProcessedSuccessfully; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorTwoPointLowest; /** - * State unspecified. This value is not used. + * Unspecified price change behavior. Must not be used. * - * Value: "STATE_UNSPECIFIED" + * Value: "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorUnspecified; // ---------------------------------------------------------------------------- -// GTLRAndroidPublisher_PrepaidBasePlanType.timeExtension +// GTLRAndroidPublisher_OneTimeProductPurchaseOption.state /** - * Time extension is active. Users are allowed to top-up or extend their - * prepaid plan. + * The purchase option is available to users. * - * Value: "TIME_EXTENSION_ACTIVE" + * Value: "ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionActive; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Active; /** - * Time extension is inactive. Users cannot top-up or extend their prepaid - * plan. + * The purchase option is not and has never been available to users. * - * Value: "TIME_EXTENSION_INACTIVE" + * Value: "DRAFT" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionInactive; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Draft; /** - * Unspecified state. + * The purchase option is not available to users anymore. * - * Value: "TIME_EXTENSION_UNSPECIFIED" + * Value: "INACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Inactive; +/** + * The purchase option is not available for purchase anymore, but we continue + * to expose its offer via the Play Billing Library for backwards + * compatibility. Only automatically migrated purchase options can be in this + * state. + * + * Value: "INACTIVE_PUBLISHED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_InactivePublished; +/** + * Default value, should never be used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_StateUnspecified; // ---------------------------------------------------------------------------- -// GTLRAndroidPublisher_ProductOfferDetails.consumptionState +// GTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig.availability /** - * Consumed already. + * Unspecified availability. Must not be used. * - * Value: "CONSUMPTION_STATE_CONSUMED" + * Value: "AVAILABILITY_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateConsumed; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_AvailabilityUnspecified; /** - * Consumption state unspecified. This value should never be set. + * The config will be used for any new regions Play may launch in the future. * - * Value: "CONSUMPTION_STATE_UNSPECIFIED" + * Value: "AVAILABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_Available; /** - * Yet to be consumed. + * The config is not available anymore and will not be used for any new regions + * Play may launch in the future. This value can only be used if the + * availability was previously set as AVAILABLE. * - * Value: "CONSUMPTION_STATE_YET_TO_BE_CONSUMED" + * Value: "NO_LONGER_AVAILABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateYetToBeConsumed; +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_NoLongerAvailable; // ---------------------------------------------------------------------------- -// GTLRAndroidPublisher_ProductPurchaseV2.acknowledgementState +// GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig.availability /** - * The purchase is acknowledged. + * Unspecified availability. Must not be used. * - * Value: "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED" + * Value: "AVAILABILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailabilityUnspecified; +/** + * The purchase option is available to users. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_Available; +/** + * The purchase option is initially unavailable, but made available via a + * released pre-order offer. + * + * Value: "AVAILABLE_IF_RELEASED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableIfReleased; +/** + * The purchase option is no longer available to users. This value can only be + * used if the availability was previously set as AVAILABLE. + * + * Value: "NO_LONGER_AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_NoLongerAvailable; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_Order.state + +/** + * Order was canceled before being processed. + * + * Value: "CANCELED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Canceled; +/** + * Part of the order amount was refunded. + * + * Value: "PARTIALLY_REFUNDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_PartiallyRefunded; +/** + * Order has been created and is waiting to be processed. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Pending; +/** + * Requested refund is waiting to be processed. + * + * Value: "PENDING_REFUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_PendingRefund; +/** + * Order has been successfully processed. + * + * Value: "PROCESSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Processed; +/** + * The full order amount was refunded. + * + * Value: "REFUNDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_Refunded; +/** + * State unspecified. This value is not used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_Order_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_PartialRefundEvent.state + +/** + * The partial refund has been created, but not yet processed. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_Pending; +/** + * The partial refund was processed successfully. + * + * Value: "PROCESSED_SUCCESSFULLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_ProcessedSuccessfully; +/** + * State unspecified. This value is not used. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PartialRefundEvent_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_PrepaidBasePlanType.timeExtension + +/** + * Time extension is active. Users are allowed to top-up or extend their + * prepaid plan. + * + * Value: "TIME_EXTENSION_ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionActive; +/** + * Time extension is inactive. Users cannot top-up or extend their prepaid + * plan. + * + * Value: "TIME_EXTENSION_INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionInactive; +/** + * Unspecified state. + * + * Value: "TIME_EXTENSION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PrepaidBasePlanType_TimeExtension_TimeExtensionUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ProductOfferDetails.consumptionState + +/** + * Consumed already. + * + * Value: "CONSUMPTION_STATE_CONSUMED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateConsumed; +/** + * Consumption state unspecified. This value should never be set. + * + * Value: "CONSUMPTION_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateUnspecified; +/** + * Yet to be consumed. + * + * Value: "CONSUMPTION_STATE_YET_TO_BE_CONSUMED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductOfferDetails_ConsumptionState_ConsumptionStateYetToBeConsumed; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_ProductPurchaseV2.acknowledgementState + +/** + * The purchase is acknowledged. + * + * Value: "ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED" */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateAcknowledged; /** @@ -1145,6 +1557,16 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_Ackno */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_ProductPurchaseV2_AcknowledgementState_AcknowledgementStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings.withdrawalRightType + +/** Value: "WITHDRAWAL_RIGHT_DIGITAL_CONTENT" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightDigitalContent; +/** Value: "WITHDRAWAL_RIGHT_SERVICE" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightService; +/** Value: "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_PurchaseStateContext.purchaseState @@ -1247,6 +1669,74 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalPriceMigrationC */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalPriceMigrationConfig_PriceIncreaseType_PriceIncreaseTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_RegionalTaxConfig.streamingTaxType + +/** + * US-specific telecommunications tax tier for multi channel audio streaming + * like radio. + * + * Value: "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioMultiChannel; +/** + * US-specific telecommunications tax tier for audio streaming, rental / + * subscription. + * + * Value: "STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioRental; +/** + * US-specific telecommunications tax tier for audio streaming, sale / + * permanent download. + * + * Value: "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioSales; +/** + * US-specific telecommunications tax tier for video streaming of multi-channel + * programming. + * + * Value: "STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoMultiChannel; +/** + * US-specific telecommunications tax tier for video streaming, on demand, + * rentals / subscriptions / pay-per-view. + * + * Value: "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoRental; +/** + * US-specific telecommunications tax tier for video streaming of pre-recorded + * content like movies, tv shows. + * + * Value: "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoSales; +/** + * No telecommunications tax collected. + * + * Value: "STREAMING_TAX_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_RegionalTaxConfig.taxTier + +/** Value: "TAX_TIER_BOOKS_1" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierBooks1; +/** Value: "TAX_TIER_LIVE_OR_BROADCAST_1" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierLiveOrBroadcast1; +/** Value: "TAX_TIER_MUSIC_OR_AUDIO_1" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierMusicOrAudio1; +/** Value: "TAX_TIER_NEWS_1" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierNews1; +/** Value: "TAX_TIER_NEWS_2" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierNews2; +/** Value: "TAX_TIER_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_RegionalTaxRateInfo.streamingTaxType @@ -1761,6 +2251,58 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackRelease_Status_InP */ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_TrackRelease_Status_StatusUnspecified; +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_UpdateOneTimeProductOfferRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRAndroidPublisher_UpdateOneTimeProductRequest.latencyTolerance + +/** + * The update will propagate to clients within several minutes on average and + * up to a few hours in rare cases. Throughput is limited to 7,200 updates per + * app per hour. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive; +/** + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant; +/** + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * + * Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidPublisher_UpdateSubscriptionOfferRequest.latencyTolerance @@ -2064,55 +2606,139 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisher_User_DeveloperAccountPe /** - * Request message for ActivateSubscriptionOffer. + * Request message for ActivateOneTimeProductOffer. */ -@interface GTLRAndroidPublisher_ActivateSubscriptionOfferRequest : GTLRObject - -/** Required. The parent base plan (ID) of the offer to activate. */ -@property(nonatomic, copy, nullable) NSString *basePlanId; +@interface GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest : GTLRObject /** - * Optional. The latency tolerance for the propagation of this product update. - * Defaults to latency-sensitive. + * Optional. The latency tolerance for the propagation of this update. Defaults + * to latency-sensitive. * * Likely values: - * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * @arg @c kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive * The update will propagate to clients within several minutes on average * and up to a few hours in rare cases. Throughput is limited to 7,200 * updates per app per hour. (Value: * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") - * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * @arg @c kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant * The update will propagate to clients within 24 hours. Supports high * throughput of up to 720,000 updates per app per hour using batch * modification methods. (Value: * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") - * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * @arg @c kGTLRAndroidPublisher_ActivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *latencyTolerance; -/** Required. The unique offer ID of the offer to activate. */ +/** Required. The offer ID of the offer to activate. */ @property(nonatomic, copy, nullable) NSString *offerId; /** Required. The parent app (package name) of the offer to activate. */ @property(nonatomic, copy, nullable) NSString *packageName; -/** Required. The parent subscription (ID) of the offer to activate. */ +/** Required. The parent one-time product (ID) of the offer to activate. */ @property(nonatomic, copy, nullable) NSString *productId; +/** Required. The parent purchase option (ID) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + @end /** - * Request message for AddTargeting. + * Request message for UpdatePurchaseOptionState. */ -@interface GTLRAndroidPublisher_AddTargetingRequest : GTLRObject - -/** Specifies targeting updates such as regions, android sdk versions etc. */ -@property(nonatomic, strong, nullable) GTLRAndroidPublisher_TargetingUpdate *targetingUpdate; - -@end +@interface GTLRAndroidPublisher_ActivatePurchaseOptionRequest : GTLRObject + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_ActivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. The parent app (package name) of the purchase option to activate. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The parent one-time product (ID) of the purchase option to + * activate. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The purchase option ID of the purchase option to activate. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +@end + + +/** + * Request message for ActivateSubscriptionOffer. + */ +@interface GTLRAndroidPublisher_ActivateSubscriptionOfferRequest : GTLRObject + +/** Required. The parent base plan (ID) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_ActivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The unique offer ID of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent subscription (ID) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *productId; + +@end + + +/** + * Request message for AddTargeting. + */ +@interface GTLRAndroidPublisher_AddTargetingRequest : GTLRObject + +/** Specifies targeting updates such as regions, android sdk versions etc. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_TargetingUpdate *targetingUpdate; + +@end /** @@ -2694,6 +3320,89 @@ GTLR_DEPRECATED @end +/** + * Request message for BatchDeleteOneTimeProductOffers. + */ +@interface GTLRAndroidPublisher_BatchDeleteOneTimeProductOffersRequest : GTLRObject + +/** + * Required. A list of update requests of up to 100 elements. All requests must + * correspond to different offers. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Request message for BatchDeleteOneTimeProduct. + */ +@interface GTLRAndroidPublisher_BatchDeleteOneTimeProductsRequest : GTLRObject + +/** + * Required. A list of delete requests of up to 100 elements. All requests must + * delete different one-time products. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Request message for BatchDeletePurchaseOption. + */ +@interface GTLRAndroidPublisher_BatchDeletePurchaseOptionsRequest : GTLRObject + +/** + * Required. A list of delete requests of up to 100 elements. All requests must + * delete purchase options from different one-time products. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Request message for the BatchGetOneTimeProductOffers endpoint. + */ +@interface GTLRAndroidPublisher_BatchGetOneTimeProductOffersRequest : GTLRObject + +/** + * Required. A list of get requests of up to 100 elements. All requests must + * retrieve different offers. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for the BatchGetOneTimeProductOffers endpoint. + */ +@interface GTLRAndroidPublisher_BatchGetOneTimeProductOffersResponse : GTLRObject + +/** + * The list of updated one-time product offers, in the same order as the + * request. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProductOffers; + +@end + + +/** + * Response message for the BatchGetOneTimeProducts endpoint. + */ +@interface GTLRAndroidPublisher_BatchGetOneTimeProductsResponse : GTLRObject + +/** + * The list of requested one-time products, in the same order as the request. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProducts; + +@end + + /** * Response for the orders.batchGet API. */ @@ -2796,6 +3505,117 @@ GTLR_DEPRECATED @end +/** + * Request message for BatchUpdateOneTimeProductOffers. + */ +@interface GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersRequest : GTLRObject + +/** + * Required. A list of update requests of up to 100 elements. All requests must + * update different offers. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdateOneTimeProductOffers. + */ +@interface GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersResponse : GTLRObject + +/** + * The list of updated one-time product offers, in the same order as the + * request. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProductOffers; + +@end + + +/** + * Request message for BatchUpdateOneTimeProductOfferStates. + */ +@interface GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesRequest : GTLRObject + +/** + * Required. The update request list of up to 100 elements. All requests must + * update different offers. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdateOneTimeProductOfferStates. + */ +@interface GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesResponse : GTLRObject + +/** + * The updated one-time product offers list, in the same order as the request. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProductOffers; + +@end + + +/** + * Request message for BatchUpdateOneTimeProduct. + */ +@interface GTLRAndroidPublisher_BatchUpdateOneTimeProductsRequest : GTLRObject + +/** + * Required. A list of update requests of up to 100 elements. All requests must + * update different one-time products. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdateOneTimeProduct. + */ +@interface GTLRAndroidPublisher_BatchUpdateOneTimeProductsResponse : GTLRObject + +/** + * The list of updated one-time products list, in the same order as the + * request. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProducts; + +@end + + +/** + * Request message for BatchUpdatePurchaseOptionStates. + */ +@interface GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesRequest : GTLRObject + +/** + * Required. The update request list of up to 100 elements. All requests must + * update different purchase options. + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Response message for BatchUpdatePurchaseOptionStates. + */ +@interface GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesResponse : GTLRObject + +/** + * The list of updated one-time products. This list will match the requests one + * to one, in the same order. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProducts; + +@end + + /** * Request message for BatchUpdateSubscriptionOffers. */ @@ -2986,6 +3806,47 @@ GTLR_DEPRECATED @end +/** + * Request message for CancelOneTimeProductOffer. + */ +@interface GTLRAndroidPublisher_CancelOneTimeProductOfferRequest : GTLRObject + +/** + * Optional. The latency tolerance for the propagation of this update. Defaults + * to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_CancelOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The offer ID of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent one-time product (ID) of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The parent purchase option (ID) of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +@end + + /** * Result of the cancel survey when the subscription was canceled by the user. */ @@ -3196,35 +4057,120 @@ GTLR_DEPRECATED /** - * Request message for DeactivateSubscriptionOffer. + * Request message for DeactivateOneTimeProductOffer. */ -@interface GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest : GTLRObject - -/** Required. The parent base plan (ID) of the offer to deactivate. */ -@property(nonatomic, copy, nullable) NSString *basePlanId; +@interface GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest : GTLRObject /** - * Optional. The latency tolerance for the propagation of this product update. - * Defaults to latency-sensitive. + * Optional. The latency tolerance for the propagation of this update. Defaults + * to latency-sensitive. * * Likely values: - * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * @arg @c kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive * The update will propagate to clients within several minutes on average * and up to a few hours in rare cases. Throughput is limited to 7,200 * updates per app per hour. (Value: * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") - * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * @arg @c kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant * The update will propagate to clients within 24 hours. Supports high * throughput of up to 720,000 updates per app per hour using batch * modification methods. (Value: * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") - * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * @arg @c kGTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *latencyTolerance; -/** Required. The unique offer ID of the offer to deactivate. */ +/** Required. The offer ID of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent one-time product (ID) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The parent purchase option (ID) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +@end + + +/** + * Request message for UpdatePurchaseOptionState. + */ +@interface GTLRAndroidPublisher_DeactivatePurchaseOptionRequest : GTLRObject + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_DeactivatePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. The parent app (package name) of the purchase option to + * deactivate. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The parent one-time product (ID) of the purchase option to + * deactivate. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The purchase option ID of the purchase option to deactivate. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +@end + + +/** + * Request message for DeactivateSubscriptionOffer. + */ +@interface GTLRAndroidPublisher_DeactivateSubscriptionOfferRequest : GTLRObject + +/** Required. The parent base plan (ID) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_DeactivateSubscriptionOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The unique offer ID of the offer to deactivate. */ @property(nonatomic, copy, nullable) NSString *offerId; /** Required. The parent app (package name) of the offer to deactivate. */ @@ -3236,6 +4182,13 @@ GTLR_DEPRECATED @end +/** + * Information related to deferred item replacement. + */ +@interface GTLRAndroidPublisher_DeferredItemRemoval : GTLRObject +@end + + /** * Information related to deferred item replacement. */ @@ -3247,6 +4200,136 @@ GTLR_DEPRECATED @end +/** + * Request message for deleting an one-time product offer. + */ +@interface GTLRAndroidPublisher_DeleteOneTimeProductOfferRequest : GTLRObject + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_DeleteOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The unique offer ID of the offer to delete. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to delete. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent one-time product (ID) of the offer to delete. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The parent purchase option (ID) of the offer to delete. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +@end + + +/** + * Request message for deleting a one-time product. + */ +@interface GTLRAndroidPublisher_DeleteOneTimeProductRequest : GTLRObject + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_DeleteOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. The parent app (package name) of the one-time product to delete. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The one-time product ID of the one-time product to delete. */ +@property(nonatomic, copy, nullable) NSString *productId; + +@end + + +/** + * Request message for deleting a purchase option. + */ +@interface GTLRAndroidPublisher_DeletePurchaseOptionRequest : GTLRObject + +/** + * Optional. This field has no effect for purchase options with no offers under + * them. For purchase options with associated offers: * If `force` is set to + * false (default), an error will be returned. * If `force` is set to true, any + * associated offers under the purchase option will be deleted. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *force; + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_DeletePurchaseOptionRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. The parent app (package name) of the purchase option to delete. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The parent one-time product (ID) of the purchase option to delete. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The purchase option ID of the purchase option to delete. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +@end + + /** * Represents a deobfuscation file. */ @@ -4107,6 +5190,26 @@ GTLR_DEPRECATED @end +/** + * Request message for GetOneTimeProductOffers. + */ +@interface GTLRAndroidPublisher_GetOneTimeProductOfferRequest : GTLRObject + +/** Required. The unique offer ID of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent one-time product (ID) of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The parent purchase option (ID) of the offer to get. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +@end + + /** * Request message for GetSubscriptionOffer. */ @@ -4852,6 +5955,60 @@ GTLR_DEPRECATED @end +/** + * Response message for ListOneTimeProductOffers. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "oneTimeProductOffers" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRAndroidPublisher_ListOneTimeProductOffersResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The one_time_product offers from the specified request. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProductOffers; + +@end + + +/** + * Response message for ListOneTimeProducts. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "oneTimeProducts" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRAndroidPublisher_ListOneTimeProductsResponse : GTLRCollectionObject + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The one-time products from the specified app. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *oneTimeProducts; + +@end + + /** * Response message for ListSubscriptionOffers. * @@ -5167,82 +6324,565 @@ GTLR_DEPRECATED /** * Represents a list of ABIs. */ -@interface GTLRAndroidPublisher_MultiAbi : GTLRObject +@interface GTLRAndroidPublisher_MultiAbi : GTLRObject + +/** A list of targeted ABIs, as represented by the Android Platform */ +@property(nonatomic, strong, nullable) NSArray *abi; + +@end + + +/** + * Targeting based on multiple abis. + */ +@interface GTLRAndroidPublisher_MultiAbiTargeting : GTLRObject + +/** + * Targeting of other sibling directories that were in the Bundle. For main + * splits this is targeting of other main splits. + */ +@property(nonatomic, strong, nullable) NSArray *alternatives; + +/** Value of a multi abi. */ +@property(nonatomic, strong, nullable) NSArray *value; + +@end + + +/** + * Offer details information related to a purchase line item. + */ +@interface GTLRAndroidPublisher_OfferDetails : GTLRObject + +/** The base plan ID. Present for all base plan and offers. */ +@property(nonatomic, copy, nullable) NSString *basePlanId; + +/** The offer ID. Only present for discounted offers. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** + * The latest offer tags associated with the offer. It includes tags inherited + * from the base plan. + */ +@property(nonatomic, strong, nullable) NSArray *offerTags; + +@end + + +/** + * Represents a custom tag specified for a product offer. + */ +@interface GTLRAndroidPublisher_OfferTag : GTLRObject + +/** + * Must conform with RFC-1034. That is, this string can only contain lower-case + * letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters. + */ +@property(nonatomic, copy, nullable) NSString *tag; + +@end + + +/** + * A single use promotion code. + */ +@interface GTLRAndroidPublisher_OneTimeCode : GTLRObject +@end + + +/** + * Represents a one-time transaction. + */ +@interface GTLRAndroidPublisher_OneTimeExternalTransaction : GTLRObject + +/** + * Input only. Provided during the call to Create. Retrieved from the client + * when the alternative billing flow is launched. + */ +@property(nonatomic, copy, nullable) NSString *externalTransactionToken; + +@end + + +/** + * A single one-time product for an app. + */ +@interface GTLRAndroidPublisher_OneTimeProduct : GTLRObject + +/** + * Required. Set of localized title and description data. Must not have + * duplicate entries with the same language_code. + */ +@property(nonatomic, strong, nullable) NSArray *listings; + +/** + * Optional. List of up to 20 custom tags specified for this one-time product, + * and returned to the app through the billing library. Purchase options and + * offers for this product will also receive these tags in the billing library. + */ +@property(nonatomic, strong, nullable) NSArray *offerTags; + +/** Required. Immutable. Package name of the parent app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. Immutable. Unique product ID of the product. Unique within the + * parent app. Product IDs must start with a number or lowercase letter, and + * can contain numbers (0-9), lowercase letters (a-z), underscores (_), and + * periods (.). + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The set of purchase options for this one-time product. */ +@property(nonatomic, strong, nullable) NSArray *purchaseOptions; + +/** + * Output only. The version of the regions configuration that was used to + * generate the one-time product. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RegionsVersion *regionsVersion; + +/** + * Optional. Countries where the purchase of this one-time product is + * restricted to payment methods registered in the same country. If empty, no + * payment location restrictions are imposed. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RestrictedPaymentCountries *restrictedPaymentCountries; + +/** Details about taxes and legal compliance. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductTaxAndComplianceSettings *taxAndComplianceSettings; + +@end + + +/** + * A purchase option that can be bought. + */ +@interface GTLRAndroidPublisher_OneTimeProductBuyPurchaseOption : GTLRObject + +/** + * Optional. Whether this purchase option will be available in legacy PBL flows + * that do not support one-time products model. Up to one "buy" purchase option + * can be marked as backwards compatible. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *legacyCompatible; + +/** + * Optional. Whether this purchase option allows multi-quantity. Multi-quantity + * allows buyer to purchase more than one item in a single checkout. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *multiQuantityEnabled; + +@end + + +/** + * Configuration specific to discounted offers. + */ +@interface GTLRAndroidPublisher_OneTimeProductDiscountedOffer : GTLRObject + +/** Time when the offer will stop being available. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Optional. The number of times this offer can be redeemed. If unset or set to + * 0, allows for unlimited offer redemptions. Otherwise must be a number + * between 1 and 50 inclusive. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *redemptionLimit; + +/** Time when the offer will start being available. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * Regional store listing for a one-time product. + */ +@interface GTLRAndroidPublisher_OneTimeProductListing : GTLRObject + +/** + * Required. The description of this product in the language of this listing. + * The maximum length is 200 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. The language of this listing, as defined by BCP-47, e.g., "en-US". + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Required. The title of this product in the language of this listing. The + * maximum length is 55 characters. + */ +@property(nonatomic, copy, nullable) NSString *title; + +@end + + +/** + * A single offer for a one-time product. + */ +@interface GTLRAndroidPublisher_OneTimeProductOffer : GTLRObject + +/** A discounted offer. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductDiscountedOffer *discountedOffer; + +/** + * Required. Immutable. The ID of this product offer. Must be unique within the + * purchase option. It must start with a number or lower-case letter, and can + * only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The + * maximum length is 63 characters. + */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** + * Optional. List of up to 20 custom tags specified for this offer, and + * returned to the app through the billing library. + */ +@property(nonatomic, strong, nullable) NSArray *offerTags; + +/** + * Required. Immutable. The package name of the app the parent product belongs + * to. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** A pre-order offer. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductPreOrderOffer *preOrderOffer; + +/** + * Required. Immutable. The ID of the parent product this offer belongs to. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Required. Immutable. The ID of the purchase option to which this offer is an + * extension. + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Set of regional pricing and availability information for this offer. Must + * not have duplicate entries with the same region_code. + */ +@property(nonatomic, strong, nullable) NSArray *regionalPricingAndAvailabilityConfigs; + +/** + * Output only. The version of the regions configuration that was used to + * generate the one-time product offer. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RegionsVersion *regionsVersion; + +/** + * Output only. The current state of this offer. This field cannot be changed + * by updating the resource. Use the dedicated endpoints instead. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_OneTimeProductOffer_State_Active The offer + * is available to users, as long as its conditions are met. (Value: + * "ACTIVE") + * @arg @c kGTLRAndroidPublisher_OneTimeProductOffer_State_Cancelled This + * state is specific to pre-orders. The offer is cancelled and not + * available to users. All pending orders related to this offer were + * cancelled. (Value: "CANCELLED") + * @arg @c kGTLRAndroidPublisher_OneTimeProductOffer_State_Draft The offer is + * not and has never been available to users. (Value: "DRAFT") + * @arg @c kGTLRAndroidPublisher_OneTimeProductOffer_State_Inactive This + * state is specific to discounted offers. The offer is no longer + * available to users. (Value: "INACTIVE") + * @arg @c kGTLRAndroidPublisher_OneTimeProductOffer_State_StateUnspecified + * Default value, should never be used. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Options for one-time product offers without a regional price override. + */ +@interface GTLRAndroidPublisher_OneTimeProductOfferNoPriceOverrideOptions : GTLRObject +@end + + +/** + * Regional pricing and availability configuration for a one-time product + * offer. + */ +@interface GTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig : GTLRObject + +/** + * The absolute value of the discount that is subtracted from the purchase + * option price. It should be between 0 and the purchase option price. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *absoluteDiscount; + +/** + * Required. The availability for this region. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_AvailabilityUnspecified + * Unspecified availability. Must not be used. (Value: + * "AVAILABILITY_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_Available + * The offer is available to users. (Value: "AVAILABLE") + * @arg @c kGTLRAndroidPublisher_OneTimeProductOfferRegionalPricingAndAvailabilityConfig_Availability_NoLongerAvailable + * The offer is no longer available to users. This value can only be used + * if the availability was previously set as AVAILABLE. (Value: + * "NO_LONGER_AVAILABLE") + */ +@property(nonatomic, copy, nullable) NSString *availability; + +/** The price defined in the purchase option for this region will be used. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductOfferNoPriceOverrideOptions *noOverride; + +/** + * Required. Region code this configuration applies to, as defined by ISO + * 3166-2, e.g., "US". + */ +@property(nonatomic, copy, nullable) NSString *regionCode; + +/** + * The fraction of the purchase option price that the user pays for this offer. + * For example, if the purchase option price for this region is $12, then a 50% + * discount would correspond to a price of $6. The discount must be specified + * as a fraction strictly larger than 0 and strictly smaller than 1. The + * resulting price will be rounded to the nearest billable unit (e.g. cents for + * USD). The relative discount is considered invalid if the discounted price + * ends up being smaller than the minimum price allowed in this region. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *relativeDiscount; + +@end + + +/** + * Configuration specific to pre-order offers. + */ +@interface GTLRAndroidPublisher_OneTimeProductPreOrderOffer : GTLRObject + +/** Required. Time when the pre-order will stop being available. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Required. Immutable. Specifies how price changes affect pre-existing + * pre-orders. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorNewOrdersOnly + * The buyer gets the same price as the one they pre-ordered, regardless + * of any price changes that may have happened after the pre-order. + * (Value: "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorTwoPointLowest + * The buyer gets charged the minimum between the initial price at the + * time of pre-order and the final offer price on the release date. + * (Value: "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPreOrderOffer_PriceChangeBehavior_PreOrderPriceChangeBehaviorUnspecified + * Unspecified price change behavior. Must not be used. (Value: + * "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *priceChangeBehavior; + +/** + * Required. Time on which the product associated with the pre-order will be + * released and the pre-order orders fulfilled. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *releaseTime; + +/** Required. Time when the pre-order will start being available. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; + +@end + + +/** + * A single purchase option for a one-time product. + */ +@interface GTLRAndroidPublisher_OneTimeProductPurchaseOption : GTLRObject + +/** A purchase option that can be bought. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductBuyPurchaseOption *buyOption; + +/** + * Pricing information for any new locations Play may launch in the future. If + * omitted, the purchase option will not be automatically available in any new + * locations Play may launch in the future. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig *newRegionsConfig NS_RETURNS_NOT_RETAINED; + +/** + * Optional. List of up to 20 custom tags specified for this purchase option, + * and returned to the app through the billing library. Offers for this + * purchase option will also receive these tags in the billing library. + */ +@property(nonatomic, strong, nullable) NSArray *offerTags; + +/** + * Required. Immutable. The unique identifier of this purchase option. Must be + * unique within the one-time product. It must start with a number or + * lower-case letter, and can only contain lower-case letters (a-z), numbers + * (0-9), and hyphens (-). The maximum length is 63 characters. + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** Regional pricing and availability information for this purchase option. */ +@property(nonatomic, strong, nullable) NSArray *regionalPricingAndAvailabilityConfigs; + +/** A purchase option that can be rented. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductRentPurchaseOption *rentOption; + +/** + * Output only. The state of the purchase option, i.e., whether it's active. + * This field cannot be changed by updating the resource. Use the dedicated + * endpoints instead. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Active + * The purchase option is available to users. (Value: "ACTIVE") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Draft The + * purchase option is not and has never been available to users. (Value: + * "DRAFT") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_Inactive + * The purchase option is not available to users anymore. (Value: + * "INACTIVE") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_InactivePublished + * The purchase option is not available for purchase anymore, but we + * continue to expose its offer via the Play Billing Library for + * backwards compatibility. Only automatically migrated purchase options + * can be in this state. (Value: "INACTIVE_PUBLISHED") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOption_State_StateUnspecified + * Default value, should never be used. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; -/** A list of targeted ABIs, as represented by the Android Platform */ -@property(nonatomic, strong, nullable) NSArray *abi; +/** Optional. Details about taxes and legal compliance. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings *taxAndComplianceSettings; @end /** - * Targeting based on multiple abis. + * Pricing information for any new regions Play may launch in the future. */ -@interface GTLRAndroidPublisher_MultiAbiTargeting : GTLRObject +@interface GTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig : GTLRObject /** - * Targeting of other sibling directories that were in the Bundle. For main - * splits this is targeting of other main splits. - */ -@property(nonatomic, strong, nullable) NSArray *alternatives; + * Required. The regional availability for the new regions config. When set to + * AVAILABLE, the pricing information will be used for any new regions Play may + * launch in the future. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_AvailabilityUnspecified + * Unspecified availability. Must not be used. (Value: + * "AVAILABILITY_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_Available + * The config will be used for any new regions Play may launch in the + * future. (Value: "AVAILABLE") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionNewRegionsConfig_Availability_NoLongerAvailable + * The config is not available anymore and will not be used for any new + * regions Play may launch in the future. This value can only be used if + * the availability was previously set as AVAILABLE. (Value: + * "NO_LONGER_AVAILABLE") + */ +@property(nonatomic, copy, nullable) NSString *availability; + +/** Required. Price in EUR to use for any new regions Play may launch in. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *eurPrice; -/** Value of a multi abi. */ -@property(nonatomic, strong, nullable) NSArray *value; +/** Required. Price in USD to use for any new regions Play may launch in. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *usdPrice; @end /** - * Offer details information related to a purchase line item. + * Regional pricing and availability configuration for a purchase option. */ -@interface GTLRAndroidPublisher_OfferDetails : GTLRObject +@interface GTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig : GTLRObject -/** The base plan ID. Present for all base plan and offers. */ -@property(nonatomic, copy, nullable) NSString *basePlanId; +/** + * The availability of the purchase option. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailabilityUnspecified + * Unspecified availability. Must not be used. (Value: + * "AVAILABILITY_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_Available + * The purchase option is available to users. (Value: "AVAILABLE") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_AvailableIfReleased + * The purchase option is initially unavailable, but made available via a + * released pre-order offer. (Value: "AVAILABLE_IF_RELEASED") + * @arg @c kGTLRAndroidPublisher_OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig_Availability_NoLongerAvailable + * The purchase option is no longer available to users. This value can + * only be used if the availability was previously set as AVAILABLE. + * (Value: "NO_LONGER_AVAILABLE") + */ +@property(nonatomic, copy, nullable) NSString *availability; -/** The offer ID. Only present for discounted offers. */ -@property(nonatomic, copy, nullable) NSString *offerId; +/** + * The price of the purchase option in the specified region. Must be set in the + * currency that is linked to the specified region. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_Money *price; /** - * The latest offer tags associated with the offer. It includes tags inherited - * from the base plan. + * Required. Region code this configuration applies to, as defined by ISO + * 3166-2, e.g., "US". */ -@property(nonatomic, strong, nullable) NSArray *offerTags; +@property(nonatomic, copy, nullable) NSString *regionCode; @end /** - * Represents a custom tag specified for a product offer. + * A purchase option that can be rented. */ -@interface GTLRAndroidPublisher_OfferTag : GTLRObject +@interface GTLRAndroidPublisher_OneTimeProductRentPurchaseOption : GTLRObject /** - * Must conform with RFC-1034. That is, this string can only contain lower-case - * letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters. + * Optional. The amount of time the user has after starting consuming the + * entitlement before it is revoked. Specified in ISO 8601 format. */ -@property(nonatomic, copy, nullable) NSString *tag; - -@end - +@property(nonatomic, copy, nullable) NSString *expirationPeriod; /** - * A single use promotion code. + * Required. The amount of time a user has the entitlement for. Starts at + * purchase flow completion. Specified in ISO 8601 format. */ -@interface GTLRAndroidPublisher_OneTimeCode : GTLRObject +@property(nonatomic, copy, nullable) NSString *rentalPeriod; + @end /** - * Represents a one-time transaction. + * Details about taxation, Google Play policy and legal compliance for one-time + * products. */ -@interface GTLRAndroidPublisher_OneTimeExternalTransaction : GTLRObject +@interface GTLRAndroidPublisher_OneTimeProductTaxAndComplianceSettings : GTLRObject /** - * Input only. Provided during the call to Create. Retrieved from the client - * when the alternative billing flow is launched. + * Whether this one-time product is declared as a product representing a + * tokenized digital asset. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *externalTransactionToken; +@property(nonatomic, strong, nullable) NSNumber *isTokenizedDigitalAsset; + +/** Regional tax configuration. */ +@property(nonatomic, strong, nullable) NSArray *regionalTaxConfigs; @end @@ -5255,6 +6895,14 @@ GTLR_DEPRECATED /** The offer ID of the one-time purchase offer. */ @property(nonatomic, copy, nullable) NSString *offerId; +/** + * ID of the purchase option. This field is set for both purchase options and + * variant offers. For purchase options, this ID identifies the purchase option + * itself. For variant offers, this ID refers to the associated purchase + * option, and in conjunction with offer_id it identifies the variant offer. + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + /** * The number of items purchased (for multi-quantity item purchases). * @@ -5262,6 +6910,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *quantity; +/** The details of a rent purchase. Only set if it is a rent purchase. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RentalDetails *rentalDetails; + @end @@ -6013,6 +7664,32 @@ GTLR_DEPRECATED @end +/** + * Details about taxation, Google Play policy and legal compliance for one-time + * product purchase options. + */ +@interface GTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings : GTLRObject + +/** + * Optional. Digital content or service classification for products distributed + * to users in eligible regions. If unset, it defaults to + * `WITHDRAWAL_RIGHT_DIGITAL_CONTENT`. Refer to the [Help Center + * article](https://support.google.com/googleplay/android-developer/answer/10463498) + * for more information. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightDigitalContent + * Value "WITHDRAWAL_RIGHT_DIGITAL_CONTENT" + * @arg @c kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightService + * Value "WITHDRAWAL_RIGHT_SERVICE" + * @arg @c kGTLRAndroidPublisher_PurchaseOptionTaxAndComplianceSettings_WithdrawalRightType_WithdrawalRightTypeUnspecified + * Value "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *withdrawalRightType; + +@end + + /** * Context about the purchase state. */ @@ -6301,6 +7978,84 @@ GTLR_DEPRECATED @end +/** + * Details about taxation in a given geographical region. + */ +@interface GTLRAndroidPublisher_RegionalTaxConfig : GTLRObject + +/** + * You must tell us if your app contains streaming products to correctly charge + * US state and local sales tax. Field only supported in the United States. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *eligibleForStreamingServiceTaxRate; + +/** + * Required. Region code this configuration applies to, as defined by ISO + * 3166-2, e.g. "US". + */ +@property(nonatomic, copy, nullable) NSString *regionCode; + +/** + * To collect communications or amusement taxes in the United States, choose + * the appropriate tax category. [Learn + * more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax). + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioMultiChannel + * US-specific telecommunications tax tier for multi channel audio + * streaming like radio. (Value: + * "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL") + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioRental + * US-specific telecommunications tax tier for audio streaming, rental / + * subscription. (Value: "STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL") + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoAudioSales + * US-specific telecommunications tax tier for audio streaming, sale / + * permanent download. (Value: "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES") + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoMultiChannel + * US-specific telecommunications tax tier for video streaming of + * multi-channel programming. (Value: + * "STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL") + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoRental + * US-specific telecommunications tax tier for video streaming, on + * demand, rentals / subscriptions / pay-per-view. (Value: + * "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL") + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeTelcoVideoSales + * US-specific telecommunications tax tier for video streaming of + * pre-recorded content like movies, tv shows. (Value: + * "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES") + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_StreamingTaxType_StreamingTaxTypeUnspecified + * No telecommunications tax collected. (Value: + * "STREAMING_TAX_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *streamingTaxType; + +/** + * Tax tier to specify reduced tax rate. Developers who sell digital news, + * magazines, newspapers, books, or audiobooks in various regions may be + * eligible for reduced tax rates. [Learn + * more](https://support.google.com/googleplay/android-developer/answer/10463498). + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierBooks1 + * Value "TAX_TIER_BOOKS_1" + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierLiveOrBroadcast1 + * Value "TAX_TIER_LIVE_OR_BROADCAST_1" + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierMusicOrAudio1 + * Value "TAX_TIER_MUSIC_OR_AUDIO_1" + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierNews1 Value + * "TAX_TIER_NEWS_1" + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierNews2 Value + * "TAX_TIER_NEWS_2" + * @arg @c kGTLRAndroidPublisher_RegionalTaxConfig_TaxTier_TaxTierUnspecified + * Value "TAX_TIER_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *taxTier; + +@end + + /** * Specified details about taxation in a given geographical region. */ @@ -6467,6 +8222,13 @@ GTLR_DEPRECATED @end +/** + * Details of a rental purchase. + */ +@interface GTLRAndroidPublisher_RentalDetails : GTLRObject +@end + + /** * Offer details information related to a rental line item. */ @@ -7484,6 +9246,9 @@ GTLR_DEPRECATED /** The item is auto renewing. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_AutoRenewingPlan *autoRenewingPlan; +/** Information for deferred item removal. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeferredItemRemoval *deferredItemRemoval; + /** Information for deferred item replacement. */ @property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeferredItemReplacement *deferredItemReplacement; @@ -8286,6 +10051,160 @@ GTLR_DEPRECATED @end +/** + * Request message for UpdateOneTimeProductOffer. + */ +@interface GTLRAndroidPublisher_UpdateOneTimeProductOfferRequest : GTLRObject + +/** + * Optional. If set to true, and the offer with the given package_name, + * product_id, purchase_option_id and offer_id doesn't exist, an offer will be + * created. If a new offer is created, the update_mask is ignored. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMissing; + +/** + * Optional. The latency tolerance for the propagation of this offer update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_UpdateOneTimeProductOfferRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The one-time product offer to update. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProductOffer *oneTimeProductOffer; + +/** + * Required. The version of the available regions being used for the offer. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RegionsVersion *regionsVersion; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * Request message to update the state of a one-time product offer. + */ +@interface GTLRAndroidPublisher_UpdateOneTimeProductOfferStateRequest : GTLRObject + +/** + * Activates an offer. Once activated, the offer is available to users, as long + * as its conditions are met. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest *activateOneTimeProductOfferRequest; + +/** + * Cancels an offer. Once cancelled, the offer is not available to users. Any + * pending orders related to this offer will be cancelled. This state + * transition is specific to pre-orders. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_CancelOneTimeProductOfferRequest *cancelOneTimeProductOfferRequest; + +/** + * Deactivates an offer. Once deactivated, the offer is no longer available to + * users. This state transition is specific to discounted offers. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest *deactivateOneTimeProductOfferRequest; + +@end + + +/** + * Request message for UpdateOneTimeProduct. + */ +@interface GTLRAndroidPublisher_UpdateOneTimeProductRequest : GTLRObject + +/** + * Optional. If set to true, and the one-time product with the given + * package_name and product_id doesn't exist, the one-time product will be + * created. If a new one-time product is created, update_mask is ignored. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowMissing; + +/** + * Optional. The latency tolerance for the propagation of this product upsert. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + * @arg @c kGTLRAndroidPublisher_UpdateOneTimeProductRequest_LatencyTolerance_ProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. The one-time product to upsert. */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_OneTimeProduct *oneTimeProduct; + +/** + * Required. The version of the available regions being used for the one-time + * product. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_RegionsVersion *regionsVersion; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * Request message to update the state of a one-time product purchase option. + */ +@interface GTLRAndroidPublisher_UpdatePurchaseOptionStateRequest : GTLRObject + +/** + * Activates a purchase option. Once activated, the purchase option will be + * available. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_ActivatePurchaseOptionRequest *activatePurchaseOptionRequest; + +/** + * Deactivates a purchase option. Once deactivated, the purchase option will + * become unavailable. + */ +@property(nonatomic, strong, nullable) GTLRAndroidPublisher_DeactivatePurchaseOptionRequest *deactivatePurchaseOptionRequest; + +@end + + /** * Request message for UpdateSubscriptionOffer. */ diff --git a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h index 7d8f1556e..e6b9f2e57 100644 --- a/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h +++ b/Sources/GeneratedServices/AndroidPublisher/Public/GoogleAPIClientForREST/GTLRAndroidPublisherQuery.h @@ -3077,6 +3077,882 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidPublisherLatencyToleranceProductU @end +/** + * Deletes one or more one-time products. + * + * Method: androidpublisher.monetization.onetimeproducts.batchDelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchDelete : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the one-time products + * should be deleted. Must be equal to the package_name field on all the + * OneTimeProduct resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes one or more one-time products. + * + * @param object The @c GTLRAndroidPublisher_BatchDeleteOneTimeProductsRequest + * to include in the query. + * @param packageName Required. The parent app (package name) for which the + * one-time products should be deleted. Must be equal to the package_name + * field on all the OneTimeProduct resources. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchDelete + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchDeleteOneTimeProductsRequest *)object + packageName:(NSString *)packageName; + +@end + +/** + * Reads one or more one-time products. + * + * Method: androidpublisher.monetization.onetimeproducts.batchGet + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchGet : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the products should be + * retrieved. Must be equal to the package_name field on all requests. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. A list of up to 100 product IDs to retrieve. All IDs must be + * different. + */ +@property(nonatomic, strong, nullable) NSArray *productIds; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchGetOneTimeProductsResponse. + * + * Reads one or more one-time products. + * + * @param packageName Required. The parent app (package name) for which the + * products should be retrieved. Must be equal to the package_name field on + * all requests. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchGet + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName; + +@end + +/** + * Creates or updates one or more one-time products. + * + * Method: androidpublisher.monetization.onetimeproducts.batchUpdate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchUpdate : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the one-time products + * should be updated. Must be equal to the package_name field on all the + * OneTimeProduct resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchUpdateOneTimeProductsResponse. + * + * Creates or updates one or more one-time products. + * + * @param object The @c GTLRAndroidPublisher_BatchUpdateOneTimeProductsRequest + * to include in the query. + * @param packageName Required. The parent app (package name) for which the + * one-time products should be updated. Must be equal to the package_name + * field on all the OneTimeProduct resources. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsBatchUpdate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateOneTimeProductsRequest *)object + packageName:(NSString *)packageName; + +@end + +/** + * Deletes a one-time product. + * + * Method: androidpublisher.monetization.onetimeproducts.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsDelete : GTLRAndroidPublisherQuery + +/** + * Optional. The latency tolerance for the propagation of this product update. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** + * Required. The parent app (package name) of the one-time product to delete. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The one-time product ID of the one-time product to delete. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes a one-time product. + * + * @param packageName Required. The parent app (package name) of the one-time + * product to delete. + * @param productId Required. The one-time product ID of the one-time product + * to delete. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsDelete + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName + productId:(NSString *)productId; + +@end + +/** + * Reads a single one-time product. + * + * Method: androidpublisher.monetization.onetimeproducts.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsGet : GTLRAndroidPublisherQuery + +/** Required. The parent app (package name) of the product to retrieve. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The product ID of the product to retrieve. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Fetches a @c GTLRAndroidPublisher_OneTimeProduct. + * + * Reads a single one-time product. + * + * @param packageName Required. The parent app (package name) of the product to + * retrieve. + * @param productId Required. The product ID of the product to retrieve. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsGet + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName + productId:(NSString *)productId; + +@end + +/** + * Lists all one-time products under a given app. + * + * Method: androidpublisher.monetization.onetimeproducts.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsList : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the one-time product + * should be read. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Optional. The maximum number of one-time product to return. The service may + * return fewer than this value. If unspecified, at most 50 one-time products + * will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListOneTimeProducts` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListOneTimeProducts` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRAndroidPublisher_ListOneTimeProductsResponse. + * + * Lists all one-time products under a given app. + * + * @param packageName Required. The parent app (package name) for which the + * one-time product should be read. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName; + +@end + +/** + * Creates or updates a one-time product. + * + * Method: androidpublisher.monetization.onetimeproducts.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPatch : GTLRAndroidPublisherQuery + +/** + * Optional. If set to true, and the one-time product with the given + * package_name and product_id doesn't exist, the one-time product will be + * created. If a new one-time product is created, update_mask is ignored. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Optional. The latency tolerance for the propagation of this product upsert. + * Defaults to latency-sensitive. + * + * Likely values: + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceUnspecified + * Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE. + * (Value: "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencySensitive + * The update will propagate to clients within several minutes on average + * and up to a few hours in rare cases. Throughput is limited to 7,200 + * updates per app per hour. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE") + * @arg @c kGTLRAndroidPublisherLatencyToleranceProductUpdateLatencyToleranceLatencyTolerant + * The update will propagate to clients within 24 hours. Supports high + * throughput of up to 720,000 updates per app per hour using batch + * modification methods. (Value: + * "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT") + */ +@property(nonatomic, copy, nullable) NSString *latencyTolerance; + +/** Required. Immutable. Package name of the parent app. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. Immutable. Unique product ID of the product. Unique within the + * parent app. Product IDs must start with a number or lowercase letter, and + * can contain numbers (0-9), lowercase letters (a-z), underscores (_), and + * periods (.). + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Required. A string representing the version of available regions being used + * for the specified resource. Regional prices and latest supported version for + * the resource have to be specified according to the information published in + * [this + * article](https://support.google.com/googleplay/android-developer/answer/10532353). + * Each time the supported locations substantially change, the version will be + * incremented. Using this field will ensure that creating and updating the + * resource with an older region's version and set of regional prices and + * currencies will succeed even though a new version is available. + */ +@property(nonatomic, copy, nullable) NSString *regionsVersionVersion; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRAndroidPublisher_OneTimeProduct. + * + * Creates or updates a one-time product. + * + * @param object The @c GTLRAndroidPublisher_OneTimeProduct to include in the + * query. + * @param packageName Required. Immutable. Package name of the parent app. + * @param productId Required. Immutable. Unique product ID of the product. + * Unique within the parent app. Product IDs must start with a number or + * lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), + * underscores (_), and periods (.). + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPatch + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_OneTimeProduct *)object + packageName:(NSString *)packageName + productId:(NSString *)productId; + +@end + +/** + * Deletes purchase options across one or multiple one-time products. By + * default this operation will fail if there are any existing offers under the + * deleted purchase options. Use the force parameter to override the default + * behavior. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.batchDelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchDelete : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) of the purchase options to delete. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent one-time product, if all purchase + * options to delete belong to the same one-time product. If this batch delete + * spans multiple one-time products, set this field to "-". + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes purchase options across one or multiple one-time products. By + * default this operation will fail if there are any existing offers under the + * deleted purchase options. Use the force parameter to override the default + * behavior. + * + * @param object The @c GTLRAndroidPublisher_BatchDeletePurchaseOptionsRequest + * to include in the query. + * @param packageName Required. The parent app (package name) of the purchase + * options to delete. + * @param productId Required. The product ID of the parent one-time product, if + * all purchase options to delete belong to the same one-time product. If + * this batch delete spans multiple one-time products, set this field to "-". + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchDelete + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchDeletePurchaseOptionsRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId; + +@end + +/** + * Activates or deactivates purchase options across one or multiple one-time + * products. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.batchUpdateStates + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchUpdateStates : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) of the updated purchase options. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent one-time product, if all updated + * purchase options belong to the same one-time product. If this batch update + * spans multiple one-time products, set this field to "-". + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesResponse. + * + * Activates or deactivates purchase options across one or multiple one-time + * products. + * + * @param object The @c + * GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesRequest to include in + * the query. + * @param packageName Required. The parent app (package name) of the updated + * purchase options. + * @param productId Required. The product ID of the parent one-time product, if + * all updated purchase options belong to the same one-time product. If this + * batch update spans multiple one-time products, set this field to "-". + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsBatchUpdateStates + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdatePurchaseOptionStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId; + +@end + +/** + * Activates a one-time product offer. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.activate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersActivate : GTLRAndroidPublisherQuery + +/** Required. The offer ID of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent one-time product (ID) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The parent purchase option (ID) of the offer to activate. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Fetches a @c GTLRAndroidPublisher_OneTimeProductOffer. + * + * Activates a one-time product offer. + * + * @param object The @c GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest + * to include in the query. + * @param packageName Required. The parent app (package name) of the offer to + * activate. + * @param productId Required. The parent one-time product (ID) of the offer to + * activate. + * @param purchaseOptionId Required. The parent purchase option (ID) of the + * offer to activate. + * @param offerId Required. The offer ID of the offer to activate. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersActivate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_ActivateOneTimeProductOfferRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId + offerId:(NSString *)offerId; + +@end + +/** + * Deletes one or more one-time product offers. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchDelete + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchDelete : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) of the offers to delete. Must be + * equal to the package_name field on all the OneTimeProductOffer resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent one-time product, if all offers to + * delete belong to the same product. If this request spans multiple one-time + * products, set this field to "-". + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Required. The parent purchase option (ID) for which the offers should be + * deleted. May be specified as '-' to update offers from multiple purchase + * options. + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Upon successful completion, the callback's object and error parameters will + * be nil. This query does not fetch an object. + * + * Deletes one or more one-time product offers. + * + * @param object The @c + * GTLRAndroidPublisher_BatchDeleteOneTimeProductOffersRequest to include in + * the query. + * @param packageName Required. The parent app (package name) of the offers to + * delete. Must be equal to the package_name field on all the + * OneTimeProductOffer resources. + * @param productId Required. The product ID of the parent one-time product, if + * all offers to delete belong to the same product. If this request spans + * multiple one-time products, set this field to "-". + * @param purchaseOptionId Required. The parent purchase option (ID) for which + * the offers should be deleted. May be specified as '-' to update offers + * from multiple purchase options. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchDelete + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchDeleteOneTimeProductOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId; + +@end + +/** + * Reads one or more one-time product offers. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchGet + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchGet : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) of the updated offers. Must be equal + * to the package_name field on all the updated OneTimeProductOffer resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent one-time product, if all updated + * offers belong to the same product. If this request spans multiple one-time + * products, set this field to "-". + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Required. The parent purchase option (ID) for which the offers should be + * updated. May be specified as '-' to update offers from multiple purchase + * options. + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchGetOneTimeProductOffersResponse. + * + * Reads one or more one-time product offers. + * + * @param object The @c + * GTLRAndroidPublisher_BatchGetOneTimeProductOffersRequest to include in the + * query. + * @param packageName Required. The parent app (package name) of the updated + * offers. Must be equal to the package_name field on all the updated + * OneTimeProductOffer resources. + * @param productId Required. The product ID of the parent one-time product, if + * all updated offers belong to the same product. If this request spans + * multiple one-time products, set this field to "-". + * @param purchaseOptionId Required. The parent purchase option (ID) for which + * the offers should be updated. May be specified as '-' to update offers + * from multiple purchase options. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchGet + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchGetOneTimeProductOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId; + +@end + +/** + * Creates or updates one or more one-time product offers. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdate : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) of the updated offers. Must be equal + * to the package_name field on all the updated OneTimeProductOffer resources. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent one-time product, if all updated + * offers belong to the same product. If this request spans multiple one-time + * products, set this field to "-". + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Required. The parent purchase option (ID) for which the offers should be + * updated. May be specified as '-' to update offers from multiple purchase + * options. + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Fetches a @c GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersResponse. + * + * Creates or updates one or more one-time product offers. + * + * @param object The @c + * GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersRequest to include in + * the query. + * @param packageName Required. The parent app (package name) of the updated + * offers. Must be equal to the package_name field on all the updated + * OneTimeProductOffer resources. + * @param productId Required. The product ID of the parent one-time product, if + * all updated offers belong to the same product. If this request spans + * multiple one-time products, set this field to "-". + * @param purchaseOptionId Required. The parent purchase option (ID) for which + * the offers should be updated. May be specified as '-' to update offers + * from multiple purchase options. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateOneTimeProductOffersRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId; + +@end + +/** + * Updates a batch of one-time product offer states. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdateStates + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdateStates : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) of the updated one-time product + * offers. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Required. The product ID of the parent one-time product, if all updated + * offers belong to the same one-time product. If this batch update spans + * multiple one-time products, set this field to "-". + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Required. The purchase option ID of the parent purchase option, if all + * updated offers belong to the same purchase option. If this batch update + * spans multiple purchase options, set this field to "-". + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Fetches a @c + * GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesResponse. + * + * Updates a batch of one-time product offer states. + * + * @param object The @c + * GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesRequest to + * include in the query. + * @param packageName Required. The parent app (package name) of the updated + * one-time product offers. + * @param productId Required. The product ID of the parent one-time product, if + * all updated offers belong to the same one-time product. If this batch + * update spans multiple one-time products, set this field to "-". + * @param purchaseOptionId Required. The purchase option ID of the parent + * purchase option, if all updated offers belong to the same purchase option. + * If this batch update spans multiple purchase options, set this field to + * "-". + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersBatchUpdateStates + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_BatchUpdateOneTimeProductOfferStatesRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId; + +@end + +/** + * Cancels a one-time product offer. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersCancel : GTLRAndroidPublisherQuery + +/** Required. The offer ID of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent one-time product (ID) of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The parent purchase option (ID) of the offer to cancel. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Fetches a @c GTLRAndroidPublisher_OneTimeProductOffer. + * + * Cancels a one-time product offer. + * + * @param object The @c GTLRAndroidPublisher_CancelOneTimeProductOfferRequest + * to include in the query. + * @param packageName Required. The parent app (package name) of the offer to + * cancel. + * @param productId Required. The parent one-time product (ID) of the offer to + * cancel. + * @param purchaseOptionId Required. The parent purchase option (ID) of the + * offer to cancel. + * @param offerId Required. The offer ID of the offer to cancel. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersCancel + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_CancelOneTimeProductOfferRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId + offerId:(NSString *)offerId; + +@end + +/** + * Deactivates a one-time product offer. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.deactivate + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersDeactivate : GTLRAndroidPublisherQuery + +/** Required. The offer ID of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *offerId; + +/** Required. The parent app (package name) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** Required. The parent one-time product (ID) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** Required. The parent purchase option (ID) of the offer to deactivate. */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Fetches a @c GTLRAndroidPublisher_OneTimeProductOffer. + * + * Deactivates a one-time product offer. + * + * @param object The @c + * GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest to include in + * the query. + * @param packageName Required. The parent app (package name) of the offer to + * deactivate. + * @param productId Required. The parent one-time product (ID) of the offer to + * deactivate. + * @param purchaseOptionId Required. The parent purchase option (ID) of the + * offer to deactivate. + * @param offerId Required. The offer ID of the offer to deactivate. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersDeactivate + */ ++ (instancetype)queryWithObject:(GTLRAndroidPublisher_DeactivateOneTimeProductOfferRequest *)object + packageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId + offerId:(NSString *)offerId; + +@end + +/** + * Lists all offers under a given app, product, or purchase option. + * + * Method: androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeAndroidPublisher + */ +@interface GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersList : GTLRAndroidPublisherQuery + +/** + * Required. The parent app (package name) for which the offers should be read. + */ +@property(nonatomic, copy, nullable) NSString *packageName; + +/** + * Optional. The maximum number of offers to return. The service may return + * fewer than this value. If unspecified, at most 50 offers will be returned. + * The maximum value is 1000; values above 1000 will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListOneTimeProductsOffers` + * call. Provide this to retrieve the subsequent page. When paginating, + * product_id, package_name and purchase_option_id provided to + * `ListOneTimeProductsOffersRequest` must match the call that provided the + * page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent one-time product (ID) for which the offers should be + * read. May be specified as '-' to read all offers under an app. + */ +@property(nonatomic, copy, nullable) NSString *productId; + +/** + * Required. The parent purchase option (ID) for which the offers should be + * read. May be specified as '-' to read all offers under a one-time product or + * an app. Must be specified as '-' if product_id is specified as '-'. + */ +@property(nonatomic, copy, nullable) NSString *purchaseOptionId; + +/** + * Fetches a @c GTLRAndroidPublisher_ListOneTimeProductOffersResponse. + * + * Lists all offers under a given app, product, or purchase option. + * + * @param packageName Required. The parent app (package name) for which the + * offers should be read. + * @param productId Required. The parent one-time product (ID) for which the + * offers should be read. May be specified as '-' to read all offers under an + * app. + * @param purchaseOptionId Required. The parent purchase option (ID) for which + * the offers should be read. May be specified as '-' to read all offers + * under a one-time product or an app. Must be specified as '-' if product_id + * is specified as '-'. + * + * @return GTLRAndroidPublisherQuery_MonetizationOnetimeproductsPurchaseOptionsOffersList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithPackageName:(NSString *)packageName + productId:(NSString *)productId + purchaseOptionId:(NSString *)purchaseOptionId; + +@end + /** * Deprecated: subscription archiving is not supported. * diff --git a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h index cb5fa1684..53ec40b47 100644 --- a/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h +++ b/Sources/GeneratedServices/Apigee/Public/GoogleAPIClientForREST/GTLRApigeeQuery.h @@ -2845,8 +2845,8 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; /** * Optional. Count of apps a single page can have in the response. If - * unspecified, at most 100 apps will be returned. The maximum value is 100; - * values above 100 will be coerced to 100. "page_size" is supported from ver + * unspecified, at most 1000 apps will be returned. The maximum value is 1000; + * values above 1000 will be coerced to 1000. "page_size" is supported from ver * 1.10.0 and above. */ @property(nonatomic, assign) NSInteger pageSize; @@ -2863,7 +2863,11 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; */ @property(nonatomic, copy, nullable) NSString *parent; -/** Optional. Maximum number of app IDs to return. Defaults to 1000. */ +/** + * Optional. Maximum number of app IDs to return. Defaults to 1000, which is + * also the upper limit. To get more than 1000, use pagination with 'pageSize' + * and 'pageToken' parameters. + */ @property(nonatomic, assign) long long rows; /** Returns the list of apps starting from the specified app ID. */ @@ -5851,7 +5855,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; /** * Required. The name of the debug session transaction. Must be of the form: - * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{session}/data/{transaction}`. + * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debug_session}/data/{transaction}`. * If the API proxy resource has the `space` attribute set, IAM permissions are * checked differently . To learn more, read the [Apigee Spaces * Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview). @@ -5865,7 +5869,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; * * @param name Required. The name of the debug session transaction. Must be of * the form: - * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{session}/data/{transaction}`. + * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debug_session}/data/{transaction}`. * If the API proxy resource has the `space` attribute set, IAM permissions * are checked differently . To learn more, read the [Apigee Spaces * Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview). @@ -5929,7 +5933,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; /** * Required. The name of the debug session to retrieve. Must be of the form: - * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{session}`. + * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debug_session}`. * If the API proxy resource has the `space` attribute set, IAM permissions are * checked differently . To learn more, read the [Apigee Spaces * Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview). @@ -5943,7 +5947,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; * * @param name Required. The name of the debug session to retrieve. Must be of * the form: - * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{session}`. + * `organizations/{organization}/environments/{environment}/apis/{api}/revisions/{revision}/debugsessions/{debug_session}`. * If the API proxy resource has the `space` attribute set, IAM permissions * are checked differently . To learn more, read the [Apigee Spaces * Overview](https://cloud.google.com/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview). @@ -5966,13 +5970,14 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; @interface GTLRApigeeQuery_OrganizationsEnvironmentsApisRevisionsDebugsessionsList : GTLRApigeeQuery /** - * Maximum number of debug sessions to return. The page size defaults to 25. + * Optional. Maximum number of debug sessions to return. The page size defaults + * to 25. */ @property(nonatomic, assign) NSInteger pageSize; /** - * Page token, returned from a previous ListDebugSessions call, that you can - * use to retrieve the next page. + * Optional. Page token, returned from a previous ListDebugSessions call, that + * you can use to retrieve the next page. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -12843,7 +12848,7 @@ FOUNDATION_EXTERN NSString * const kGTLRApigeeViewIngressConfigViewUnspecified; /** * Optional. The list of fields to update. Valid fields to update are - * `profile`, `scope`, `include_all_resources`, `include`, and `exclude`. + * `include_all_resources` and `include`. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h index c22f9e513..c83aaff23 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineObjects.h @@ -1385,10 +1385,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti */ @property(nonatomic, copy, nullable) NSString *locationId; -/** - * Output only. Full path to the Application resource in the API. Example: - * apps/myapp.\@OutputOnly - */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -2205,7 +2201,11 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti /** * A single firewall rule that is evaluated against incoming traffic and - * provides an action to take on matched requests. + * provides an action to take on matched requests. A positive integer between + * 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with + * the lowest priority are evaluated first.A default rule at priority + * Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule + * matches. Only the action of this rule can be modified by the user. */ @interface GTLRAppengine_FirewallRule : GTLRObject @@ -2231,11 +2231,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengine_VpcAccessConnector_EgressSetti @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * A positive integer between 1, Int32.MaxValue-1 that defines the order of - * rule evaluation. Rules with the lowest priority are evaluated first.A - * default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic - * when no previous rule matches. Only the action of this rule can be modified - * by the user. + * priority * * Uses NSNumber of intValue. */ diff --git a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h index 0502850cf..f3309f843 100644 --- a/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h +++ b/Sources/GeneratedServices/Appengine/Public/GoogleAPIClientForREST/GTLRAppengineQuery.h @@ -154,8 +154,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -166,8 +166,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsAuthorizedCertificatesCreate */ @@ -187,7 +187,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to delete. Example: + * Part of `name`. Required. Name of the resource to delete. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -200,8 +200,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified SSL certificate. * - * @param appsId Part of `name`. Name of the resource to delete. Example: - * apps/myapp/authorizedCertificates/12345. + * @param appsId Part of `name`. Required. Name of the resource to delete. + * Example: apps/myapp/authorizedCertificates/12345. * @param authorizedCertificatesId Part of `name`. See documentation of * `appsId`. * @@ -225,7 +225,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -251,8 +251,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified SSL certificate. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/authorizedCertificates/12345. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/authorizedCertificates/12345. * @param authorizedCertificatesId Part of `name`. See documentation of * `appsId`. * @@ -276,8 +276,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -305,8 +305,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all SSL certificates the user is authorized to administer. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsAuthorizedCertificatesList * @@ -332,7 +332,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedCertificatesPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -358,8 +358,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/authorizedCertificates/12345. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/authorizedCertificates/12345. * @param authorizedCertificatesId Part of `name`. See documentation of * `appsId`. * @@ -384,8 +384,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsAuthorizedDomainsList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -400,8 +400,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all domains the user is authorized to administer. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsAuthorizedDomainsList * @@ -459,8 +459,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -492,8 +492,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. * * @param object The @c GTLRAppengine_DomainMapping to include in the query. - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsDomainMappingsCreate */ @@ -515,7 +515,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to delete. Example: + * Part of `name`. Required. Name of the resource to delete. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -530,8 +530,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * administer the associated domain in order to delete a DomainMapping * resource. * - * @param appsId Part of `name`. Name of the resource to delete. Example: - * apps/myapp/domainMappings/example.com. + * @param appsId Part of `name`. Required. Name of the resource to delete. + * Example: apps/myapp/domainMappings/example.com. * @param domainMappingsId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsDomainMappingsDelete @@ -554,7 +554,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -567,8 +567,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified domain mapping. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/domainMappings/example.com. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/domainMappings/example.com. * @param domainMappingsId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsDomainMappingsGet @@ -591,8 +591,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -607,8 +607,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists the domain mappings on an application. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsDomainMappingsList * @@ -634,7 +634,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsDomainMappingsPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -658,8 +658,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * order to update a DomainMapping resource. * * @param object The @c GTLRAppengine_DomainMapping to include in the query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/domainMappings/example.com. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/domainMappings/example.com. * @param domainMappingsId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsDomainMappingsPatch @@ -720,8 +720,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsFirewallIngressRulesCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Firewall collection in which to create - * a new rule. Example: apps/myapp/firewall/ingressRules. + * Part of `parent`. Required. Name of the parent Firewall collection in which + * to create a new rule. Example: apps/myapp/firewall/ingressRules. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -731,8 +731,9 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Creates a firewall rule for the application. * * @param object The @c GTLRAppengine_FirewallRule to include in the query. - * @param appsId Part of `parent`. Name of the parent Firewall collection in - * which to create a new rule. Example: apps/myapp/firewall/ingressRules. + * @param appsId Part of `parent`. Required. Name of the parent Firewall + * collection in which to create a new rule. Example: + * apps/myapp/firewall/ingressRules. * * @return GTLRAppengineQuery_AppsFirewallIngressRulesCreate */ @@ -919,7 +920,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsGet : GTLRAppengineQuery /** - * Part of `name`. Name of the Application resource to get. Example: + * Part of `name`. Required. Name of the Application resource to get. Example: * apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -944,8 +945,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets information about an application. * - * @param appsId Part of `name`. Name of the Application resource to get. - * Example: apps/myapp. + * @param appsId Part of `name`. Required. Name of the Application resource to + * get. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsGet */ @@ -1187,8 +1188,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the Application resource to update. Example: - * apps/myapp. + * Part of `name`. Required. Name of the Application resource to update. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1209,8 +1210,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * application. * * @param object The @c GTLRAppengine_Application to include in the query. - * @param appsId Part of `name`. Name of the Application resource to update. - * Example: apps/myapp. + * @param appsId Part of `name`. Required. Name of the Application resource to + * update. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsPatch */ @@ -1238,7 +1239,10 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; */ @interface GTLRAppengineQuery_AppsRepair : GTLRAppengineQuery -/** Part of `name`. Name of the application to repair. Example: apps/myapp */ +/** + * Part of `name`. Required. Name of the application to repair. Example: + * apps/myapp + */ @property(nonatomic, copy, nullable) NSString *appsId; /** @@ -1257,8 +1261,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_RepairApplicationRequest to include in * the query. - * @param appsId Part of `name`. Name of the application to repair. Example: - * apps/myapp + * @param appsId Part of `name`. Required. Name of the application to repair. + * Example: apps/myapp * * @return GTLRAppengineQuery_AppsRepair */ @@ -1278,7 +1282,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1291,8 +1295,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified service and all enclosed versions. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default. * @param servicesId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesDelete @@ -1315,7 +1319,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1328,8 +1332,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the current configuration of the specified service. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default. * @param servicesId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesGet @@ -1352,8 +1356,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1368,8 +1372,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all the services in the application. * - * @param appsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param appsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * * @return GTLRAppengineQuery_AppsServicesList * @@ -1392,7 +1396,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1430,8 +1434,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Updates the configuration of the specified service. * * @param object The @c GTLRAppengine_Service to include in the query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/services/default. * @param servicesId Part of `name`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesPatch @@ -1453,8 +1457,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsCreate : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent resource to create this version under. - * Example: apps/myapp/services/default. + * Part of `parent`. Required. Name of the parent resource to create this + * version under. Example: apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1467,8 +1471,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Deploys code and resource files to a new version. * * @param object The @c GTLRAppengine_Version to include in the query. - * @param appsId Part of `parent`. Name of the parent resource to create this - * version under. Example: apps/myapp/services/default. + * @param appsId Part of `parent`. Required. Name of the parent resource to + * create this version under. Example: apps/myapp/services/default. * @param servicesId Part of `parent`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesVersionsCreate @@ -1490,7 +1494,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1506,8 +1510,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes an existing Version resource. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @@ -1533,7 +1537,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1564,8 +1568,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Gets the specified Version resource. By default, only a BASIC_VIEW will be * returned. Specify the FULL_VIEW parameter to get the full resource. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @@ -1593,7 +1597,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesDebug : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1/instances/instance-1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1619,8 +1623,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_DebugInstanceRequest to include in the * query. - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1/instances/instance-1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @param instancesId Part of `name`. See documentation of `appsId`. @@ -1656,7 +1660,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesDelete : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1/instances/instance-1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1685,8 +1689,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) * method. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1/instances/instance-1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @param instancesId Part of `name`. See documentation of `appsId`. @@ -1713,7 +1717,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesGet : GTLRAppengineQuery /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1/instances/instance-1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1732,8 +1736,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets instance information. * - * @param appsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1/instances/instance-1. + * @param appsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1/instances/instance-1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @param instancesId Part of `name`. See documentation of `appsId`. @@ -1762,7 +1766,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsInstancesList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Version resource. Example: + * Part of `parent`. Required. Name of the parent Version resource. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1786,8 +1790,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * over time, see the Stackdriver Monitoring API * (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). * - * @param appsId Part of `parent`. Name of the parent Version resource. - * Example: apps/myapp/services/default/versions/v1. + * @param appsId Part of `parent`. Required. Name of the parent Version + * resource. Example: apps/myapp/services/default/versions/v1. * @param servicesId Part of `parent`. See documentation of `appsId`. * @param versionsId Part of `parent`. See documentation of `appsId`. * @@ -1816,7 +1820,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsList : GTLRAppengineQuery /** - * Part of `parent`. Name of the parent Service resource. Example: + * Part of `parent`. Required. Name of the parent Service resource. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1849,8 +1853,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists the versions of a service. * - * @param appsId Part of `parent`. Name of the parent Service resource. - * Example: apps/myapp/services/default. + * @param appsId Part of `parent`. Required. Name of the parent Service + * resource. Example: apps/myapp/services/default. * @param servicesId Part of `parent`. See documentation of `appsId`. * * @return GTLRAppengineQuery_AppsServicesVersionsList @@ -1906,7 +1910,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @interface GTLRAppengineQuery_AppsServicesVersionsPatch : GTLRAppengineQuery /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default/versions/1. */ @property(nonatomic, copy, nullable) NSString *appsId; @@ -1961,8 +1965,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) * * @param object The @c GTLRAppengine_Version to include in the query. - * @param appsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default/versions/1. + * @param appsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/services/default/versions/1. * @param servicesId Part of `name`. See documentation of `appsId`. * @param versionsId Part of `name`. See documentation of `appsId`. * @@ -1992,8 +1996,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2004,8 +2008,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2038,7 +2042,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource to delete. Example: + * Part of `name`. Required. Name of the resource to delete. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2048,8 +2052,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified SSL certificate. * - * @param projectsId Part of `name`. Name of the resource to delete. Example: - * apps/myapp/authorizedCertificates/12345. + * @param projectsId Part of `name`. Required. Name of the resource to delete. + * Example: apps/myapp/authorizedCertificates/12345. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param authorizedCertificatesId Part of `name`. See documentation of @@ -2086,7 +2090,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2109,8 +2113,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified SSL certificate. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/authorizedCertificates/12345. + * @param projectsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/authorizedCertificates/12345. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param authorizedCertificatesId Part of `name`. See documentation of @@ -2150,8 +2154,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2173,8 +2177,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all SSL certificates the user is authorized to administer. * - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2213,7 +2217,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/authorizedCertificates/12345. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2236,8 +2240,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * @param object The @c GTLRAppengine_AuthorizedCertificate to include in the * query. - * @param projectsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/authorizedCertificates/12345. + * @param projectsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/authorizedCertificates/12345. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param authorizedCertificatesId Part of `name`. See documentation of @@ -2278,8 +2282,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2288,8 +2292,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Lists all domains the user is authorized to administer. * - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2344,8 +2348,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *overrideStrategy; /** - * Part of `parent`. Name of the parent Application resource. Example: - * apps/myapp. + * Part of `parent`. Required. Name of the parent Application resource. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2357,8 +2361,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * authorized domains, see AuthorizedDomains.ListAuthorizedDomains. * * @param object The @c GTLRAppengine_DomainMapping to include in the query. - * @param projectsId Part of `parent`. Name of the parent Application resource. - * Example: apps/myapp. + * @param projectsId Part of `parent`. Required. Name of the parent Application + * resource. Example: apps/myapp. * @param locationsId Part of `parent`. See documentation of `projectsId`. * @param applicationsId Part of `parent`. See documentation of `projectsId`. * @@ -2393,7 +2397,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/domainMappings/example.com. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2403,8 +2407,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Gets the specified domain mapping. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/domainMappings/example.com. + * @param projectsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/domainMappings/example.com. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @param domainMappingsId Part of `name`. See documentation of `projectsId`. @@ -2439,8 +2443,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the Application resource to update. Example: - * apps/myapp. + * Part of `name`. Required. Name of the Application resource to update. + * Example: apps/myapp. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2461,8 +2465,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * application. * * @param object The @c GTLRAppengine_Application to include in the query. - * @param projectsId Part of `name`. Name of the Application resource to - * update. Example: apps/myapp. + * @param projectsId Part of `name`. Required. Name of the Application resource + * to update. Example: apps/myapp. * @param locationsId Part of `name`. See documentation of `projectsId`. * @param applicationsId Part of `name`. See documentation of `projectsId`. * @@ -2492,7 +2496,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2505,8 +2509,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes the specified service and all enclosed versions. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default. + * @param projectsId Part of `name`. Required. 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`. @@ -2554,7 +2558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, assign) BOOL migrateTraffic; /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2575,8 +2579,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * Updates the configuration of the specified service. * * @param object The @c GTLRAppengine_Service to include in the query. - * @param projectsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default. + * @param projectsId Part of `name`. Required. Name of the resource to update. + * 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`. @@ -2608,7 +2612,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource requested. Example: + * Part of `name`. Required. Name of the resource requested. Example: * apps/myapp/services/default/versions/v1. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2624,8 +2628,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * * Deletes an existing Version resource. * - * @param projectsId Part of `name`. Name of the resource requested. Example: - * apps/myapp/services/default/versions/v1. + * @param projectsId Part of `name`. Required. Name of the resource requested. + * Example: apps/myapp/services/default/versions/v1. * @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`. @@ -2689,7 +2693,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; @property(nonatomic, copy, nullable) NSString *locationsId; /** - * Part of `name`. Name of the resource to update. Example: + * Part of `name`. Required. Name of the resource to update. Example: * apps/myapp/services/default/versions/1. */ @property(nonatomic, copy, nullable) NSString *projectsId; @@ -2744,8 +2748,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAppengineViewFullCertificate; * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) * * @param object The @c GTLRAppengine_Version to include in the query. - * @param projectsId Part of `name`. Name of the resource to update. Example: - * apps/myapp/services/default/versions/1. + * @param projectsId Part of `name`. Required. Name of the resource to update. + * Example: apps/myapp/services/default/versions/1. * @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`. diff --git a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h index fb0a5e610..87bb89258 100644 --- a/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h +++ b/Sources/GeneratedServices/ArtifactRegistry/Public/GoogleAPIClientForREST/GTLRArtifactRegistryObjects.h @@ -1024,7 +1024,7 @@ FOUNDATION_EXTERN NSString * const kGTLRArtifactRegistry_YumArtifact_PackageType /** * Required. registry_location, project_id, repository_name and image id forms - * a unique image name:`projects//locations//repository//dockerImages/`. For + * a unique image name:`projects//locations//repositories//dockerImages/`. For * example, * "projects/test-project/locations/us-west4/repositories/test-repo/dockerImages/ * nginx\@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf", diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m index 0d9eb8b4f..ef4347929 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrObjects.m @@ -215,6 +215,11 @@ NSString * const kGTLRBackupdr_GuestOsFeature_Type_VirtioScsiMultiqueue = @"VIRTIO_SCSI_MULTIQUEUE"; NSString * const kGTLRBackupdr_GuestOsFeature_Type_Windows = @"WINDOWS"; +// GTLRBackupdr_LocationMetadata.unsupportedFeatures +NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ComputeInstance = @"COMPUTE_INSTANCE"; +NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_FeatureUnspecified = @"FEATURE_UNSPECIFIED"; +NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ManagementServer = @"MANAGEMENT_SERVER"; + // GTLRBackupdr_ManagementServer.state NSString * const kGTLRBackupdr_ManagementServer_State_Creating = @"CREATING"; NSString * const kGTLRBackupdr_ManagementServer_State_Deleting = @"DELETING"; @@ -580,8 +585,7 @@ @implementation GTLRBackupdr_BackupConfigDetails @implementation GTLRBackupdr_BackupConfigInfo @dynamic backupApplianceBackupConfig, gcpBackupConfig, lastBackupError, - lastBackupState, lastSuccessfulBackupConsistencyTime, - lastSuccessfulLogBackupConsistencyTime; + lastBackupState, lastSuccessfulBackupConsistencyTime; @end @@ -1058,8 +1062,10 @@ @implementation GTLRBackupdr_DataSourceReference // @implementation GTLRBackupdr_DiskBackupProperties -@dynamic architecture, descriptionProperty, guestOsFeature, licenses, region, - replicaZones, sizeGb, sourceDisk, type, zoneProperty; +@dynamic accessMode, architecture, descriptionProperty, + enableConfidentialCompute, guestOsFeature, labels, licenses, + physicalBlockSizeBytes, provisionedIops, provisionedThroughput, region, + replicaZones, sizeGb, sourceDisk, storagePool, type, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1081,6 +1087,20 @@ @implementation GTLRBackupdr_DiskBackupProperties @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_DiskBackupProperties_Labels +// + +@implementation GTLRBackupdr_DiskBackupProperties_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_DiskDataSourceProperties @@ -1274,6 +1294,26 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_FetchMsComplianceMetadataRequest +// + +@implementation GTLRBackupdr_FetchMsComplianceMetadataRequest +@dynamic projectId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_FetchMsComplianceMetadataResponse +// + +@implementation GTLRBackupdr_FetchMsComplianceMetadataResponse +@dynamic isAssuredWorkload; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_FetchUsableBackupVaultsResponse @@ -1700,6 +1740,24 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupdr_LocationMetadata +// + +@implementation GTLRBackupdr_LocationMetadata +@dynamic unsupportedFeatures; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"unsupportedFeatures" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupdr_ManagementServer diff --git a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m index 7578a1bcf..8c8dcf2e7 100644 --- a/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m +++ b/Sources/GeneratedServices/Backupdr/GTLRBackupdrQuery.m @@ -1026,6 +1026,33 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRBackupdrQuery_ProjectsLocationsManagementServersMsComplianceMetadata + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRBackupdr_FetchMsComplianceMetadataRequest *)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}:msComplianceMetadata"; + GTLRBackupdrQuery_ProjectsLocationsManagementServersMsComplianceMetadata *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRBackupdr_FetchMsComplianceMetadataResponse class]; + query.loggingName = @"backupdr.projects.locations.managementServers.msComplianceMetadata"; + return query; +} + +@end + @implementation GTLRBackupdrQuery_ProjectsLocationsManagementServersSetIamPolicy @dynamic resource; diff --git a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h index f467966c0..624ebc264 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrObjects.h @@ -60,6 +60,7 @@ @class GTLRBackupdr_DataSourceGcpResourceInfo; @class GTLRBackupdr_DataSourceReference; @class GTLRBackupdr_DiskBackupProperties; +@class GTLRBackupdr_DiskBackupProperties_Labels; @class GTLRBackupdr_DiskDataSourceProperties; @class GTLRBackupdr_DiskRestoreProperties; @class GTLRBackupdr_DiskRestoreProperties_Labels; @@ -1115,6 +1116,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_GuestOsFeature_Type_VirtioScsiM */ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_GuestOsFeature_Type_Windows; +// ---------------------------------------------------------------------------- +// GTLRBackupdr_LocationMetadata.unsupportedFeatures + +/** Value: "COMPUTE_INSTANCE" */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ComputeInstance; +/** Value: "FEATURE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_FeatureUnspecified; +/** Value: "MANAGEMENT_SERVER" */ +FOUNDATION_EXTERN NSString * const kGTLRBackupdr_LocationMetadata_UnsupportedFeatures_ManagementServer; + // ---------------------------------------------------------------------------- // GTLRBackupdr_ManagementServer.state @@ -2546,12 +2557,6 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) GTLRDateTime *lastSuccessfulBackupConsistencyTime; -/** - * Output only. If the last log backup were successful, this field has the - * consistency date. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *lastSuccessfulLogBackupConsistencyTime; - @end @@ -2616,10 +2621,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @interface GTLRBackupdr_BackupPlan : GTLRObject -/** - * Required. The backup rules for this `BackupPlan`. There must be at least one - * `BackupRule` message. - */ +/** Optional. The backup rules for this `BackupPlan`. */ @property(nonatomic, strong, nullable) NSArray *backupRules; /** @@ -2664,9 +2666,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @property(nonatomic, strong, nullable) GTLRBackupdr_BackupPlan_Labels *labels; /** - * Optional. Required for CloudSQL resource_type Configures how long logs will - * be stored. It is defined in “days”. This value should be greater than or - * equal to minimum enforced log retention duration of the backup vault. + * Optional. Applicable only for CloudSQL resource_type. Configures how long + * logs will be stored. It is defined in “days”. This value should be greater + * than or equal to minimum enforced log retention duration of the backup + * vault. * * Uses NSNumber of longLongValue. */ @@ -2678,7 +2681,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *name; -/** Required. */ +/** + * Required. The resource type to which the `BackupPlan` will be applied. + * Examples include, "compute.googleapis.com/Instance", + * "sqladmin.googleapis.com/Instance", "alloydb.googleapis.com/Cluster", + * "compute.googleapis.com/Disk". + */ @property(nonatomic, copy, nullable) NSString *resourceType; /** @@ -2788,7 +2796,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *resource; -/** Required. Immutable. */ +/** + * Required. Immutable. Resource type of workload on which backupplan is + * applied + */ @property(nonatomic, copy, nullable) NSString *resourceType; /** Output only. The config info related to backup rules. */ @@ -3191,7 +3202,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup - * properties. . + * properties. */ @interface GTLRBackupdr_CloudSqlInstanceBackupProperties : GTLRObject @@ -3225,7 +3236,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * CloudSqlInstanceDataSourceProperties represents the properties of a Cloud - * SQL resource that are stored in the DataSource. . + * SQL resource that are stored in the DataSource. */ @interface GTLRBackupdr_CloudSqlInstanceDataSourceProperties : GTLRObject @@ -3252,7 +3263,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * CloudSqlInstanceDataSourceReferenceProperties represents the properties of a - * Cloud SQL resource that are stored in the DataSourceReference. . + * Cloud SQL resource that are stored in the DataSourceReference. */ @interface GTLRBackupdr_CloudSqlInstanceDataSourceReferenceProperties : GTLRObject @@ -3501,7 +3512,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** * Optional. Array of disks associated with this instance. Persistent disks - * must be created before you can assign them. + * must be created before you can assign them. Source regional persistent disks + * will be restored with default replica zones if not specified. */ @property(nonatomic, strong, nullable) NSArray *disks; @@ -3566,7 +3578,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week * Optional. An array of network configurations for this instance. These * specify how interfaces are configured to interact with other network * services, such as connecting to the internet. Multiple interfaces are - * supported per instance. + * supported per instance. Required to restore in different project or region. */ @property(nonatomic, strong, nullable) NSArray *networkInterfaces; @@ -3609,7 +3621,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) GTLRBackupdr_AllocationAffinity *reservationAffinity; -/** Optional. Resource policies applied to this instance. */ +/** + * Optional. Resource policies applied to this instance. By default, no + * resource policies will be applied. + */ @property(nonatomic, strong, nullable) NSArray *resourcePolicies; /** Optional. Sets the scheduling options for this instance. */ @@ -4024,6 +4039,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @interface GTLRBackupdr_DiskBackupProperties : GTLRObject +/** The access mode of the source disk. */ +@property(nonatomic, copy, nullable) NSString *accessMode; + /** * The architecture of the source disk. Valid values are ARM64 or X86_64. * @@ -4045,9 +4063,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Indicates whether the source disk is using confidential compute mode. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfidentialCompute; + /** A list of guest OS features that are applicable to this backup. */ @property(nonatomic, strong, nullable) NSArray *guestOsFeature; +/** The labels of the source disk. */ +@property(nonatomic, strong, nullable) GTLRBackupdr_DiskBackupProperties_Labels *labels; + /** * A list of publicly available licenses that are applicable to this backup. * This is applicable if the original image had licenses attached, e.g. Windows @@ -4055,6 +4083,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) NSArray *licenses; +/** + * The physical block size of the source disk. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *physicalBlockSizeBytes; + +/** + * The number of IOPS provisioned for the source disk. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedIops; + +/** + * The number of throughput provisioned for the source disk. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedThroughput; + /** * Region and zone are mutually exclusive fields. The URL of the region of the * source disk. @@ -4074,6 +4123,9 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week /** The source disk used to create this backup. */ @property(nonatomic, copy, nullable) NSString *sourceDisk; +/** The storage pool of the source disk. */ +@property(nonatomic, copy, nullable) NSString *storagePool; + /** The URL of the type of the disk. */ @property(nonatomic, copy, nullable) NSString *type; @@ -4087,6 +4139,18 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * The labels of the source disk. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRBackupdr_DiskBackupProperties_Labels : GTLRObject +@end + + /** * DiskDataSourceProperties represents the properties of a Disk resource that * are stored in the DataSource. . @@ -4193,7 +4257,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, strong, nullable) NSArray *licenses; -/** Required. Name of the disk.. */ +/** Required. Name of the disk. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -4474,6 +4538,33 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * Request message for GetMsComplianceMetadata + */ +@interface GTLRBackupdr_FetchMsComplianceMetadataRequest : GTLRObject + +/** Required. The project id of the target project */ +@property(nonatomic, copy, nullable) NSString *projectId; + +@end + + +/** + * Response message for GetMsComplianceMetadata + */ +@interface GTLRBackupdr_FetchMsComplianceMetadataResponse : GTLRObject + +/** + * The ms compliance metadata of the target project, if the project is an + * assured workloads project, values will be true, otherwise false. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isAssuredWorkload; + +@end + + /** * Response message for fetching usable BackupVaults. * @@ -5185,6 +5276,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week @end +/** + * GTLRBackupdr_LocationMetadata + */ +@interface GTLRBackupdr_LocationMetadata : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *unsupportedFeatures; + +@end + + /** * ManagementServer describes a single BackupDR ManagementServer instance. */ @@ -6506,7 +6607,10 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdr_WeekDayOfMonth_WeekOfMonth_Week */ @property(nonatomic, copy, nullable) NSString *requestId; -/** Required. backup rule_id for which a backup needs to be triggered. */ +/** + * Optional. backup rule_id for which a backup needs to be triggered. If not + * specified, on-demand backup with custom retention will be triggered. + */ @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 154f0980c..f96dd0e84 100644 --- a/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h +++ b/Sources/GeneratedServices/Backupdr/Public/GoogleAPIClientForREST/GTLRBackupdrQuery.h @@ -339,7 +339,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end /** - * Update a BackupPlanAssociation + * Update a BackupPlanAssociation. * * Method: backupdr.projects.locations.backupPlanAssociations.patch * @@ -385,7 +385,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; /** * Fetches a @c GTLRBackupdr_Operation. * - * Update a BackupPlanAssociation + * Update a BackupPlanAssociation. * * @param object The @c GTLRBackupdr_BackupPlanAssociation to include in the * query. @@ -631,7 +631,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end /** - * Update a BackupPlan + * Update a BackupPlan. * * Method: backupdr.projects.locations.backupPlans.patch * @@ -677,7 +677,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; /** * Fetches a @c GTLRBackupdr_Operation. * - * Update a BackupPlan + * Update a BackupPlan. * * @param object The @c GTLRBackupdr_BackupPlan to include in the query. * @param name Output only. Identifier. The resource name of the `BackupPlan`. @@ -2241,6 +2241,43 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupdrViewBackupViewUnspecified; @end +/** + * Returns the Assured Workloads compliance metadata for a given project. + * + * Method: backupdr.projects.locations.managementServers.msComplianceMetadata + * + * Authorization scope(s): + * @c kGTLRAuthScopeBackupdrCloudPlatform + */ +@interface GTLRBackupdrQuery_ProjectsLocationsManagementServersMsComplianceMetadata : GTLRBackupdrQuery + +/** + * Required. The project and location to be used to check CSS metadata for + * target project information, in the format + * 'projects/{project_id}/locations/{location}'. In Cloud BackupDR, locations + * map to Google Cloud regions, for example **us-central1**. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRBackupdr_FetchMsComplianceMetadataResponse. + * + * Returns the Assured Workloads compliance metadata for a given project. + * + * @param object The @c GTLRBackupdr_FetchMsComplianceMetadataRequest to + * include in the query. + * @param parent Required. The project and location to be used to check CSS + * metadata for target project information, in the format + * 'projects/{project_id}/locations/{location}'. In Cloud BackupDR, locations + * map to Google Cloud regions, for example **us-central1**. + * + * @return GTLRBackupdrQuery_ProjectsLocationsManagementServersMsComplianceMetadata + */ ++ (instancetype)queryWithObject:(GTLRBackupdr_FetchMsComplianceMetadataRequest *)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 diff --git a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m index b27e8bd46..16590d8b1 100644 --- a/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m +++ b/Sources/GeneratedServices/BackupforGKE/GTLRBackupforGKEObjects.m @@ -190,7 +190,7 @@ @implementation GTLRBackupforGKE_Backup manual, name, permissiveMode, podCount, resourceCount, retainDays, retainExpireTime, satisfiesPzi, satisfiesPzs, selectedApplications, selectedNamespaceLabels, selectedNamespaces, sizeBytes, state, - stateReason, uid, updateTime, volumeCount; + stateReason, troubleshootingInfo, uid, updateTime, volumeCount; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1078,8 +1078,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRBackupforGKE_Restore @dynamic backup, cluster, completeTime, createTime, descriptionProperty, ETag, filter, labels, name, resourcesExcludedCount, resourcesFailedCount, - resourcesRestoredCount, restoreConfig, state, stateReason, uid, - updateTime, volumeDataRestorePolicyOverrides, volumesRestoredCount; + resourcesRestoredCount, restoreConfig, state, stateReason, + troubleshootingInfo, uid, updateTime, volumeDataRestorePolicyOverrides, + volumesRestoredCount; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1396,6 +1397,16 @@ @implementation GTLRBackupforGKE_TransformationRuleAction @end +// ---------------------------------------------------------------------------- +// +// GTLRBackupforGKE_TroubleshootingInfo +// + +@implementation GTLRBackupforGKE_TroubleshootingInfo +@dynamic stateReasonCode, stateReasonUri; +@end + + // ---------------------------------------------------------------------------- // // GTLRBackupforGKE_VolumeBackup diff --git a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h index f81940610..0a44338b9 100644 --- a/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h +++ b/Sources/GeneratedServices/BackupforGKE/Public/GoogleAPIClientForREST/GTLRBackupforGKEObjects.h @@ -73,6 +73,7 @@ @class GTLRBackupforGKE_TimeOfDay; @class GTLRBackupforGKE_TransformationRule; @class GTLRBackupforGKE_TransformationRuleAction; +@class GTLRBackupforGKE_TroubleshootingInfo; @class GTLRBackupforGKE_VolumeBackup; @class GTLRBackupforGKE_VolumeDataRestorePolicyBinding; @class GTLRBackupforGKE_VolumeDataRestorePolicyOverride; @@ -1075,6 +1076,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, copy, nullable) NSString *stateReason; +/** + * Output only. Information about the troubleshooting steps which will provide + * debugging information to the end users. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_TroubleshootingInfo *troubleshootingInfo; + /** * Output only. Server generated global unique identifier of * [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier) @@ -2991,6 +2998,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo */ @property(nonatomic, copy, nullable) NSString *stateReason; +/** + * Output only. Information about the troubleshooting steps which will provide + * debugging information to the end users. + */ +@property(nonatomic, strong, nullable) GTLRBackupforGKE_TroubleshootingInfo *troubleshootingInfo; + /** * Output only. Server generated global unique identifier of * [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format. @@ -3873,6 +3886,28 @@ FOUNDATION_EXTERN NSString * const kGTLRBackupforGKE_VolumeRestore_VolumeType_Vo @end +/** + * Stores information about troubleshooting doc for debugging a particular + * state of an operation (eg - backup/restore). This will be used by the end + * user to debug their operation failure scenario easily. + */ +@interface GTLRBackupforGKE_TroubleshootingInfo : GTLRObject + +/** + * Output only. Unique code for each backup/restore operation failure message + * which helps user identify the failure. + */ +@property(nonatomic, copy, nullable) NSString *stateReasonCode; + +/** + * Output only. URL for the troubleshooting doc which will help the user fix + * the failing backup/restore operation. + */ +@property(nonatomic, copy, nullable) NSString *stateReasonUri; + +@end + + /** * Represents the backup of a specific persistent volume as a component of a * Backup - both the record of the operation and a pointer to the underlying diff --git a/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpObjects.m b/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpObjects.m index ac96dde21..995e35c56 100644 --- a/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpObjects.m +++ b/Sources/GeneratedServices/BeyondCorp/GTLRBeyondCorpObjects.m @@ -703,11 +703,50 @@ @implementation GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecur // @implementation GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application -@dynamic createTime, displayName, endpointMatchers, name, updateTime; +@dynamic createTime, displayName, endpointMatchers, name, updateTime, upstreams; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"endpointMatchers" : [GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher class] + @"endpointMatchers" : [GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher class], + @"upstreams" : [GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream +// + +@implementation GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream +@dynamic egressPolicy, network; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork +// + +@implementation GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork +@dynamic name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy +// + +@implementation GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy +@dynamic regions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"regions" : [NSString class] }; return map; } @@ -813,7 +852,8 @@ + (NSString *)collectionItemsKey { // @implementation GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway -@dynamic createTime, displayName, externalIps, hubs, name, state, updateTime; +@dynamic createTime, delegatingServiceAccount, displayName, externalIps, hubs, + name, state, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h index e82a047cd..247c30b2a 100644 --- a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h +++ b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpObjects.h @@ -41,6 +41,9 @@ @class GTLRBeyondCorp_GoogleCloudBeyondcorpAppconnectorsV1ResourceInfo_Resource; @class GTLRBeyondCorp_GoogleCloudBeyondcorpConnectorsV1alphaContainerHealthDetails_ExtendedStatus; @class GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application; +@class GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream; +@class GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork; +@class GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy; @class GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EndpointMatcher; @class GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Hub; @class GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1InternetGateway; @@ -308,8 +311,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleCloudBeyondcorpSecurity */ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway_State_Deleting; /** - * SecurityGateway is down and may be restored in the future. This happens when - * CCFE sends ProjectState = OFF. + * SecurityGateway is down and may be restored in the future. * * Value: "DOWN" */ @@ -1731,7 +1733,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** - * A Beyondcorp Application resource information. + * The information about an application resource. */ @interface GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1Application : GTLRObject @@ -1739,20 +1741,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Optional. An arbitrary user-provided name for the Application resource. + * Optional. An arbitrary user-provided name for the application resource. * Cannot exceed 64 characters. */ @property(nonatomic, copy, nullable) NSString *displayName; /** * Required. Endpoint matchers associated with an application. A combination of - * hostname and ports as endpoint matcher is used to match the application. + * hostname and ports as endpoint matchers is used to match the application. * Match conditions for OR logic. An array of match conditions to allow for - * multiple matching criteria. The rule is considered a match if one the - * conditions are met. The conditions can be one of the following combination - * (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.abc.com"), - * ("xyz.abc.com") Hostname and Ports - ("abc.com" and "22"), ("abc.com" and - * "22,33") etc + * multiple matching criteria. The rule is considered a match if one of the + * conditions is met. The conditions can be one of the following combinations + * (Hostname), (Hostname & Ports) EXAMPLES: Hostname - ("*.example.com"), + * ("xyz.example.com") Hostname and Ports - ("example.com" and "22"), + * ("example.com" and "22,33") etc */ @property(nonatomic, strong, nullable) NSArray *endpointMatchers; @@ -1762,6 +1764,48 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** Output only. Timestamp when the resource was last modified. */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +/** Optional. Which upstream resources to forward traffic to. */ +@property(nonatomic, strong, nullable) NSArray *upstreams; + +@end + + +/** + * Which upstream resource to forward traffic to. + */ +@interface GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstream : GTLRObject + +/** Optional. Routing policy information. */ +@property(nonatomic, strong, nullable) GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy *egressPolicy; + +/** Network to forward traffic to. */ +@property(nonatomic, strong, nullable) GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork *network; + +@end + + +/** + * Network to forward traffic to. + */ +@interface GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1ApplicationUpstreamNetwork : GTLRObject + +/** + * Required. Network name is of the format: + * `projects/{project}/global/networks/{network} + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + +/** + * Routing policy information. + */ +@interface GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1EgressPolicy : GTLRObject + +/** Required. List of the regions where the application sends traffic. */ +@property(nonatomic, strong, nullable) NSArray *regions; + @end @@ -1868,13 +1912,19 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log /** - * Information about a BeyondCorp SecurityGateway resource. + * The information about a security gateway resource. */ @interface GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway : GTLRObject /** Output only. Timestamp when the resource was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. Service account used for operations that involve resources in + * consumer projects. + */ +@property(nonatomic, copy, nullable) NSString *delegatingServiceAccount; + /** * Optional. An arbitrary user-provided name for the SecurityGateway. Cannot * exceed 64 characters. @@ -1905,8 +1955,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBeyondCorp_GoogleIamV1AuditLogConfig_Log * @arg @c kGTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway_State_Deleting * SecurityGateway is being deleted. (Value: "DELETING") * @arg @c kGTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway_State_Down - * SecurityGateway is down and may be restored in the future. This - * happens when CCFE sends ProjectState = OFF. (Value: "DOWN") + * SecurityGateway is down and may be restored in the future. (Value: + * "DOWN") * @arg @c kGTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway_State_Error * SecurityGateway encountered an error and is in an indeterministic * state. (Value: "ERROR") diff --git a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h index 257fc606e..6a6316de8 100644 --- a/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h +++ b/Sources/GeneratedServices/BeyondCorp/Public/GoogleAPIClientForREST/GTLRBeyondCorpQuery.h @@ -1729,7 +1729,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Deletes a single Application. + * Deletes a single application. * * Method: beyondcorp.projects.locations.securityGateways.applications.delete * @@ -1765,7 +1765,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRBeyondCorp_GoogleLongrunningOperation. * - * Deletes a single Application. + * Deletes a single application. * * @param name Required. Name of the resource. * @@ -2057,7 +2057,7 @@ NS_ASSUME_NONNULL_BEGIN @end /** - * Creates a new SecurityGateway in a given project and location. + * Creates a new Security Gateway in a given project and location. * * Method: beyondcorp.projects.locations.securityGateways.create * @@ -2075,8 +2075,8 @@ NS_ASSUME_NONNULL_BEGIN /** * 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 request if it has already been completed. The server will guarantee - * that for at least 60 minutes since the first request. + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. */ @property(nonatomic, copy, nullable) NSString *requestId; @@ -2090,7 +2090,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c GTLRBeyondCorp_GoogleLongrunningOperation. * - * Creates a new SecurityGateway in a given project and location. + * Creates a new Security Gateway in a given project and location. * * @param object The @c * GTLRBeyondCorp_GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGateway to diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m index 96560a8ec..fef307603 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m +++ b/Sources/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.m @@ -115,8 +115,9 @@ @implementation GTLRBigQueryDataTransfer_DataSource @implementation GTLRBigQueryDataTransfer_DataSourceParameter @dynamic allowedValues, deprecated, descriptionProperty, displayName, fields, - immutable, maxValue, minValue, paramId, recurse, repeated, required, - type, validationDescription, validationHelpUrl, validationRegex; + immutable, maxListSize, maxValue, minValue, paramId, recurse, repeated, + required, type, validationDescription, validationHelpUrl, + validationRegex; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h index b7c9b86c5..afa949dc7 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferObjects.h @@ -492,6 +492,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_T */ @property(nonatomic, strong, nullable) NSNumber *immutable; +/** + * For list parameters, the max size of the list. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxListSize; + /** * For integer and double values specifies maximum allowed value. * diff --git a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h index bd403797b..9771bff72 100644 --- a/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h +++ b/Sources/GeneratedServices/BigQueryDataTransfer/Public/GoogleAPIClientForREST/GTLRBigQueryDataTransferQuery.h @@ -525,8 +525,8 @@ FOUNDATION_EXTERN NSString * const kGTLRBigQueryDataTransferStatesTransferStateU @interface GTLRBigQueryDataTransferQuery_ProjectsLocationsList : GTLRBigQueryDataTransferQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m index 73fcab1ec..5ef5336b1 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryObjects.m @@ -96,6 +96,12 @@ NSString * const kGTLRBigquery_BigLakeConfiguration_TableFormat_Iceberg = @"ICEBERG"; NSString * const kGTLRBigquery_BigLakeConfiguration_TableFormat_TableFormatUnspecified = @"TABLE_FORMAT_UNSPECIFIED"; +// GTLRBigquery_DataFormatOptions.timestampOutputFormat +NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Float64 = @"FLOAT64"; +NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Int64 = @"INT64"; +NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Iso8601String = @"ISO8601_STRING"; +NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_TimestampOutputFormatUnspecified = @"TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED"; + // GTLRBigquery_Dataset.defaultRoundingMode NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfAwayFromZero = @"ROUND_HALF_AWAY_FROM_ZERO"; NSString * const kGTLRBigquery_Dataset_DefaultRoundingMode_RoundHalfEven = @"ROUND_HALF_EVEN"; @@ -1246,7 +1252,7 @@ @implementation GTLRBigquery_CsvOptions // @implementation GTLRBigquery_DataFormatOptions -@dynamic useInt64Timestamp; +@dynamic timestampOutputFormat, useInt64Timestamp; @end @@ -1784,8 +1790,8 @@ @implementation GTLRBigquery_ExternalRuntimeOptions // @implementation GTLRBigquery_ExternalServiceCost -@dynamic bytesBilled, bytesProcessed, externalService, reservedSlotCount, - slotMs; +@dynamic billingMethod, bytesBilled, bytesProcessed, externalService, + reservedSlotCount, slotMs; @end @@ -2384,8 +2390,8 @@ @implementation GTLRBigquery_JobStatistics2 referencedRoutines, referencedTables, reservationUsage, schema, searchStatistics, sparkStatistics, statementType, timeline, totalBytesBilled, totalBytesProcessed, totalBytesProcessedAccuracy, - totalPartitionsProcessed, totalSlotMs, transferredBytes, - undeclaredQueryParameters, vectorSearchStatistics; + totalPartitionsProcessed, totalServicesSkuSlotMs, totalSlotMs, + transferredBytes, undeclaredQueryParameters, vectorSearchStatistics; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -3083,7 +3089,7 @@ @implementation GTLRBigquery_QueryParameter // @implementation GTLRBigquery_QueryParameterType -@dynamic arrayType, rangeElementType, structTypes, type; +@dynamic arrayType, rangeElementType, structTypes, timestampPrecision, type; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m b/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m index 6ea7f484a..9c1d39067 100644 --- a/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m +++ b/Sources/GeneratedServices/Bigquery/GTLRBigqueryQuery.m @@ -19,6 +19,12 @@ NSString * const kGTLRBigqueryDatasetViewFull = @"FULL"; NSString * const kGTLRBigqueryDatasetViewMetadata = @"METADATA"; +// formatOptionsTimestampOutputFormat +NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatFloat64 = @"FLOAT64"; +NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatInt64 = @"INT64"; +NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatIso8601String = @"ISO8601_STRING"; +NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatTimestampOutputFormatUnspecified = @"TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED"; + // projection NSString * const kGTLRBigqueryProjectionFull = @"full"; NSString * const kGTLRBigqueryProjectionMinimal = @"minimal"; @@ -304,11 +310,16 @@ + (instancetype)queryWithProjectId:(NSString *)projectId @implementation GTLRBigqueryQuery_JobsGetQueryResults -@dynamic formatOptionsUseInt64Timestamp, jobId, location, maxResults, pageToken, - projectId, startIndex, timeoutMs; +@dynamic formatOptionsTimestampOutputFormat, formatOptionsUseInt64Timestamp, + jobId, location, maxResults, pageToken, projectId, startIndex, + timeoutMs; + (NSDictionary *)parameterNameMap { - return @{ @"formatOptionsUseInt64Timestamp" : @"formatOptions.useInt64Timestamp" }; + NSDictionary *map = @{ + @"formatOptionsTimestampOutputFormat" : @"formatOptions.timestampOutputFormat", + @"formatOptionsUseInt64Timestamp" : @"formatOptions.useInt64Timestamp" + }; + return map; } + (instancetype)queryWithProjectId:(NSString *)projectId @@ -1038,11 +1049,16 @@ + (instancetype)queryWithObject:(GTLRBigquery_TableDataInsertAllRequest *)object @implementation GTLRBigqueryQuery_TabledataList -@dynamic datasetId, formatOptionsUseInt64Timestamp, maxResults, pageToken, - projectId, selectedFields, startIndex, tableId; +@dynamic datasetId, formatOptionsTimestampOutputFormat, + formatOptionsUseInt64Timestamp, maxResults, pageToken, projectId, + selectedFields, startIndex, tableId; + (NSDictionary *)parameterNameMap { - return @{ @"formatOptionsUseInt64Timestamp" : @"formatOptions.useInt64Timestamp" }; + NSDictionary *map = @{ + @"formatOptionsTimestampOutputFormat" : @"formatOptions.timestampOutputFormat", + @"formatOptionsUseInt64Timestamp" : @"formatOptions.useInt64Timestamp" + }; + return map; } + (instancetype)queryWithProjectId:(NSString *)projectId diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h index 54d9ef133..4b218bfd8 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryObjects.h @@ -655,6 +655,35 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_BigLakeConfiguration_TableForma */ FOUNDATION_EXTERN NSString * const kGTLRBigquery_BigLakeConfiguration_TableFormat_TableFormatUnspecified; +// ---------------------------------------------------------------------------- +// GTLRBigquery_DataFormatOptions.timestampOutputFormat + +/** + * Timestamp is output as float64 seconds since Unix epoch. + * + * Value: "FLOAT64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Float64; +/** + * Timestamp is output as int64 microseconds since Unix epoch. + * + * Value: "INT64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Int64; +/** + * Timestamp is output as ISO 8601 String + * ("YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ"). + * + * Value: "ISO8601_STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Iso8601String; +/** + * Corresponds to default API output behavior, which is FLOAT64. + * + * Value: "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_TimestampOutputFormatUnspecified; + // ---------------------------------------------------------------------------- // GTLRBigquery_Dataset.defaultRoundingMode @@ -5277,6 +5306,27 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_DataFormatOptions : GTLRObject +/** + * Optional. The API output format for a timestamp. This offers more explicit + * control over the timestamp output format as compared to the existing + * `use_int64_timestamp` option. + * + * Likely values: + * @arg @c kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Float64 + * Timestamp is output as float64 seconds since Unix epoch. (Value: + * "FLOAT64") + * @arg @c kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Int64 + * Timestamp is output as int64 microseconds since Unix epoch. (Value: + * "INT64") + * @arg @c kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_Iso8601String + * Timestamp is output as ISO 8601 String + * ("YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ"). (Value: "ISO8601_STRING") + * @arg @c kGTLRBigquery_DataFormatOptions_TimestampOutputFormat_TimestampOutputFormatUnspecified + * Corresponds to default API output behavior, which is FLOAT64. (Value: + * "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *timestampOutputFormat; + /** * Optional. Output timestamp as usec int64. Default is false. * @@ -6929,17 +6979,20 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @interface GTLRBigquery_ExternalRuntimeOptions : GTLRObject /** - * Optional. Amount of CPU provisioned for the container instance. If not - * specified, the default value is 0.33 vCPUs. + * Optional. Amount of CPU provisioned for a Python UDF container instance. For + * more information, see [Configure container limits for Python + * UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits) * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *containerCpu; /** - * Optional. Amount of memory provisioned for the container instance. Format: - * {number}{unit} where unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, - * 512Mi). If not specified, the default value is 512Mi. + * Optional. Amount of memory provisioned for a Python UDF container instance. + * Format: {number}{unit} where unit is one of "M", "G", "Mi" and "Gi" (e.g. + * 1G, 512Mi). If not specified, the default value is 512Mi. For more + * information, see [Configure container limits for Python + * UDFs](https://cloud.google.com/bigquery/docs/user-defined-functions-python#configure-container-limits) */ @property(nonatomic, copy, nullable) NSString *containerMemory; @@ -6959,7 +7012,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, copy, nullable) NSString *runtimeConnection; -/** Optional. Language runtime version (e.g. python-3.11). */ +/** Optional. Language runtime version. Example: `python-3.11`. */ @property(nonatomic, copy, nullable) NSString *runtimeVersion; @end @@ -6979,6 +7032,13 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_ExternalServiceCost : GTLRObject +/** + * The billing method used for the external job. This field is only used when + * billed on the services sku, set to "SERVICES_SKU". Otherwise, it is + * unspecified for backward compatibility. + */ +@property(nonatomic, copy, nullable) NSString *billingMethod; + /** * External service cost in terms of bigquery bytes billed. * @@ -9408,6 +9468,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSNumber *totalPartitionsProcessed; +/** + * Output only. Total slot-milliseconds for the job that run on external + * services and billed on the service SKU. This field is only populated for + * jobs that have external service costs, and is the total of the usage for + * costs whose billing method is "SERVICES_SKU". + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalServicesSkuSlotMs; + /** * Output only. Slot-milliseconds for the job. * @@ -10801,13 +10871,17 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @interface GTLRBigquery_PythonOptions : GTLRObject -/** Required. The entry point function in the user's Python code. */ +/** + * Required. The name of the function defined in Python code as the entry point + * when the Python UDF is invoked. + */ @property(nonatomic, copy, nullable) NSString *entryPoint; /** - * Optional. A list of package names along with versions to be installed. - * Follows requirements.txt syntax (e.g. numpy==2.0, permutation, - * urllib3<2.2.1) + * Optional. A list of Python package names along with versions to be + * installed. Example: ["pandas>=2.1", "google-cloud-translate==3.11"]. For + * more information, see [Use third-party + * packages](https://cloud.google.com/bigquery/docs/user-defined-functions-python#third-party-packages). */ @property(nonatomic, strong, nullable) NSArray *packages; @@ -10874,6 +10948,16 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa */ @property(nonatomic, strong, nullable) NSArray *structTypes; +/** + * Optional. Precision (maximum number of total digits in base 10) for seconds + * of TIMESTAMP type. Possible values include: * 6 (Default, for TIMESTAMP type + * with microsecond precision) * 12 (For TIMESTAMP type with picosecond + * precision) + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *timestampPrecision; + /** Required. The top level type of this field. */ @property(nonatomic, copy, nullable) NSString *type; @@ -11803,7 +11887,7 @@ FOUNDATION_EXTERN NSString * const kGTLRBigquery_VectorSearchStatistics_IndexUsa @property(nonatomic, strong, nullable) NSNumber *lastModifiedTime; /** - * Optional. Options for Python UDF. + * Optional. Options for the Python UDF. * [Preview](https://cloud.google.com/products/#product-launch-stages) */ @property(nonatomic, strong, nullable) GTLRBigquery_PythonOptions *pythonOptions; diff --git a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h index 0fc4029dc..ce9651c48 100644 --- a/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h +++ b/Sources/GeneratedServices/Bigquery/Public/GoogleAPIClientForREST/GTLRBigqueryQuery.h @@ -56,6 +56,35 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewFull; */ FOUNDATION_EXTERN NSString * const kGTLRBigqueryDatasetViewMetadata; +// ---------------------------------------------------------------------------- +// formatOptionsTimestampOutputFormat + +/** + * Timestamp is output as float64 seconds since Unix epoch. + * + * Value: "FLOAT64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatFloat64; +/** + * Timestamp is output as int64 microseconds since Unix epoch. + * + * Value: "INT64" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatInt64; +/** + * Timestamp is output as ISO 8601 String + * ("YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ"). + * + * Value: "ISO8601_STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatIso8601String; +/** + * Corresponds to default API output behavior, which is FLOAT64. + * + * Value: "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigqueryFormatOptionsTimestampOutputFormatTimestampOutputFormatUnspecified; + // ---------------------------------------------------------------------------- // projection @@ -731,6 +760,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified */ @interface GTLRBigqueryQuery_JobsGetQueryResults : GTLRBigqueryQuery +/** + * Optional. The API output format for a timestamp. This offers more explicit + * control over the timestamp output format as compared to the existing + * `use_int64_timestamp` option. + * + * Likely values: + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatTimestampOutputFormatUnspecified + * Corresponds to default API output behavior, which is FLOAT64. (Value: + * "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED") + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatFloat64 Timestamp + * is output as float64 seconds since Unix epoch. (Value: "FLOAT64") + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatInt64 Timestamp is + * output as int64 microseconds since Unix epoch. (Value: "INT64") + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatIso8601String + * Timestamp is output as ISO 8601 String + * ("YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ"). (Value: "ISO8601_STRING") + */ +@property(nonatomic, copy, nullable) NSString *formatOptionsTimestampOutputFormat; + /** Optional. Output timestamp as usec int64. Default is false. */ @property(nonatomic, assign) BOOL formatOptionsUseInt64Timestamp; @@ -1993,6 +2041,25 @@ FOUNDATION_EXTERN NSString * const kGTLRBigqueryViewTableMetadataViewUnspecified /** Required. Dataset id of the table to list. */ @property(nonatomic, copy, nullable) NSString *datasetId; +/** + * Optional. The API output format for a timestamp. This offers more explicit + * control over the timestamp output format as compared to the existing + * `use_int64_timestamp` option. + * + * Likely values: + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatTimestampOutputFormatUnspecified + * Corresponds to default API output behavior, which is FLOAT64. (Value: + * "TIMESTAMP_OUTPUT_FORMAT_UNSPECIFIED") + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatFloat64 Timestamp + * is output as float64 seconds since Unix epoch. (Value: "FLOAT64") + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatInt64 Timestamp is + * output as int64 microseconds since Unix epoch. (Value: "INT64") + * @arg @c kGTLRBigqueryFormatOptionsTimestampOutputFormatIso8601String + * Timestamp is output as ISO 8601 String + * ("YYYY-MM-DDTHH:MM:SS.FFFFFFFFFFFFZ"). (Value: "ISO8601_STRING") + */ +@property(nonatomic, copy, nullable) NSString *formatOptionsTimestampOutputFormat; + /** Optional. Output timestamp as usec int64. Default is false. */ @property(nonatomic, assign) BOOL formatOptionsUseInt64Timestamp; diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m index 525a66341..17de7c71a 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminObjects.m @@ -816,6 +816,16 @@ @implementation GTLRBigtableAdmin_GoogleBigtableAdminV2TypeDate @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_GoogleBigtableAdminV2TypeEnum +// + +@implementation GTLRBigtableAdmin_GoogleBigtableAdminV2TypeEnum +@dynamic enumName, schemaBundleId; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_GoogleBigtableAdminV2TypeFloat32 @@ -883,6 +893,16 @@ @implementation GTLRBigtableAdmin_GoogleBigtableAdminV2TypeMap @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_GoogleBigtableAdminV2TypeProto +// + +@implementation GTLRBigtableAdmin_GoogleBigtableAdminV2TypeProto +@dynamic messageName, schemaBundleId; +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_GoogleBigtableAdminV2TypeString @@ -1026,7 +1046,7 @@ @implementation GTLRBigtableAdmin_HotTablet @implementation GTLRBigtableAdmin_Instance @dynamic createTime, displayName, labels, name, satisfiesPzi, satisfiesPzs, - state, type; + state, tags, type; @end @@ -1044,6 +1064,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRBigtableAdmin_Instance_Tags +// + +@implementation GTLRBigtableAdmin_Instance_Tags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRBigtableAdmin_Intersection @@ -1827,8 +1861,9 @@ @implementation GTLRBigtableAdmin_TieredStorageRule // @implementation GTLRBigtableAdmin_Type -@dynamic aggregateType, arrayType, boolType, bytesType, dateType, float32Type, - float64Type, int64Type, mapType, stringType, structType, timestampType; +@dynamic aggregateType, arrayType, boolType, bytesType, dateType, enumType, + float32Type, float64Type, int64Type, mapType, protoType, stringType, + structType, timestampType; @end diff --git a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m index 8f3e82b1a..b489e2380 100644 --- a/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m +++ b/Sources/GeneratedServices/BigtableAdmin/GTLRBigtableAdminQuery.m @@ -20,6 +20,7 @@ NSString * const kGTLRBigtableAdminViewNameOnly = @"NAME_ONLY"; NSString * const kGTLRBigtableAdminViewReplicationView = @"REPLICATION_VIEW"; NSString * const kGTLRBigtableAdminViewResponseViewUnspecified = @"RESPONSE_VIEW_UNSPECIFIED"; +NSString * const kGTLRBigtableAdminViewSchemaBundleViewUnspecified = @"SCHEMA_BUNDLE_VIEW_UNSPECIFIED"; NSString * const kGTLRBigtableAdminViewSchemaView = @"SCHEMA_VIEW"; NSString * const kGTLRBigtableAdminViewStatsView = @"STATS_VIEW"; NSString * const kGTLRBigtableAdminViewViewUnspecified = @"VIEW_UNSPECIFIED"; @@ -1721,7 +1722,7 @@ + (instancetype)queryWithObject:(GTLRBigtableAdmin_GetIamPolicyRequest *)object @implementation GTLRBigtableAdminQuery_ProjectsInstancesTablesSchemaBundlesList -@dynamic pageSize, pageToken, parent; +@dynamic pageSize, pageToken, parent, view; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h index fe15cfecc..84b153b66 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminObjects.h @@ -59,6 +59,7 @@ @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeBytesEncoding; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeBytesEncodingRaw; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeDate; +@class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeEnum; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeFloat32; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeFloat64; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeInt64; @@ -66,6 +67,7 @@ @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeInt64EncodingOrderedCodeBytes; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeMap; +@class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeProto; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeString; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeStringEncoding; @class GTLRBigtableAdmin_GoogleBigtableAdminV2TypeStringEncodingUtf8Bytes; @@ -81,6 +83,7 @@ @class GTLRBigtableAdmin_HotTablet; @class GTLRBigtableAdmin_Instance; @class GTLRBigtableAdmin_Instance_Labels; +@class GTLRBigtableAdmin_Instance_Tags; @class GTLRBigtableAdmin_Intersection; @class GTLRBigtableAdmin_Location; @class GTLRBigtableAdmin_Location_Labels; @@ -2189,6 +2192,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @end +/** + * A protobuf enum type. Values of type `Enum` are stored in `Value.int_value`. + */ +@interface GTLRBigtableAdmin_GoogleBigtableAdminV2TypeEnum : GTLRObject + +/** + * The fully qualified name of the protobuf enum message, including package. In + * the format of "foo.bar.EnumMessage". + */ +@property(nonatomic, copy, nullable) NSString *enumName; + +/** The ID of the schema bundle that this enum is defined in. */ +@property(nonatomic, copy, nullable) NSString *schemaBundleId; + +@end + + /** * Float32 Values of type `Float32` are stored in `Value.float_value`. */ @@ -2273,6 +2293,24 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdmin_TableProgress_State_StateU @end +/** + * A protobuf message type. Values of type `Proto` are stored in + * `Value.bytes_value`. + */ +@interface GTLRBigtableAdmin_GoogleBigtableAdminV2TypeProto : GTLRObject + +/** + * The fully qualified name of the protobuf message, including package. In the + * format of "foo.bar.Message". + */ +@property(nonatomic, copy, nullable) NSString *messageName; + +/** The ID of the schema bundle that this proto is defined in. */ +@property(nonatomic, copy, nullable) NSString *schemaBundleId; + +@end + + /** * String Values of type `String` are stored in `Value.string_value`. */ @@ -2574,6 +2612,16 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Optional. Input only. Immutable. Tag keys/values directly bound to this + * resource. For example: "123/environment": "production", "123/costCenter": + * "marketing" Tags and Labels (above) are both used to bind metadata to + * resources, with different use-cases. See + * https://cloud.google.com/resource-manager/docs/tags/tags-overview for an + * in-depth overview on the difference between tags and labels. + */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_Instance_Tags *tags; + /** * The type of the instance. Defaults to `PRODUCTION`. * @@ -2614,6 +2662,23 @@ GTLR_DEPRECATED @end +/** + * Optional. Input only. Immutable. Tag keys/values directly bound to this + * resource. For example: "123/environment": "production", "123/costCenter": + * "marketing" Tags and Labels (above) are both used to bind metadata to + * resources, with different use-cases. See + * https://cloud.google.com/resource-manager/docs/tags/tags-overview for an + * in-depth overview on the difference between tags and 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 GTLRBigtableAdmin_Instance_Tags : GTLRObject +@end + + /** * A GcRule which deletes cells matching all of the given rules. */ @@ -4091,6 +4156,9 @@ GTLR_DEPRECATED /** Date */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeDate *dateType; +/** Enum */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeEnum *enumType; + /** Float32 */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeFloat32 *float32Type; @@ -4103,6 +4171,9 @@ GTLR_DEPRECATED /** Map */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeMap *mapType; +/** Proto */ +@property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeProto *protoType; + /** String */ @property(nonatomic, strong, nullable) GTLRBigtableAdmin_GoogleBigtableAdminV2TypeString *stringType; diff --git a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h index 4e2929961..3a72f3a20 100644 --- a/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h +++ b/Sources/GeneratedServices/BigtableAdmin/Public/GoogleAPIClientForREST/GTLRBigtableAdminQuery.h @@ -29,12 +29,7 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // view -/** - * Only populates the AuthorizedView's basic metadata. This includes: name, - * deletion_protection, etag. - * - * Value: "BASIC" - */ +/** Value: "BASIC" */ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewBasic; /** * Only populates `name` and fields related to the table's encryption state. @@ -62,6 +57,12 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewReplicationView; * Value: "RESPONSE_VIEW_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewResponseViewUnspecified; +/** + * Uses the default view for each method as documented in the request. + * + * Value: "SCHEMA_BUNDLE_VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewSchemaBundleViewUnspecified; /** * Only populates `name` and fields related to the table's schema. * @@ -3395,6 +3396,23 @@ FOUNDATION_EXTERN NSString * const kGTLRBigtableAdminViewViewUnspecified; */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. The resource_view to be applied to the returned SchemaBundles' + * fields. Defaults to NAME_ONLY. + * + * Likely values: + * @arg @c kGTLRBigtableAdminViewSchemaBundleViewUnspecified Uses the default + * view for each method as documented in the request. (Value: + * "SCHEMA_BUNDLE_VIEW_UNSPECIFIED") + * @arg @c kGTLRBigtableAdminViewNameOnly Only populates `name`. (Value: + * "NAME_ONLY") + * @arg @c kGTLRBigtableAdminViewBasic Only populates the SchemaBundle's + * basic metadata. This includes: name, etag, create_time, update_time. + * (Value: "BASIC") + * @arg @c kGTLRBigtableAdminViewFull Populates every field. (Value: "FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Fetches a @c GTLRBigtableAdmin_ListSchemaBundlesResponse. * diff --git a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m index 351f1c3eb..ae05378f5 100644 --- a/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m +++ b/Sources/GeneratedServices/CCAIPlatform/GTLRCCAIPlatformObjects.m @@ -145,7 +145,7 @@ @implementation GTLRCCAIPlatform_ContactCenter @dynamic adminUser, advancedReportingEnabled, ccaipManagedUsers, createTime, critical, customerDomainPrefix, displayName, early, instanceConfig, kmsKey, labels, name, normal, privateAccess, privateComponents, - samlParams, state, updateTime, uris, userEmail; + releaseVersion, samlParams, state, updateTime, uris, userEmail; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h index bf81d7109..720fd0913 100644 --- a/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h +++ b/Sources/GeneratedServices/CCAIPlatform/Public/GoogleAPIClientForREST/GTLRCCAIPlatformObjects.h @@ -701,6 +701,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCCAIPlatform_WeeklySchedule_Days_Wednesd /** Output only. TODO(b/283407860) Deprecate this field. */ @property(nonatomic, strong, nullable) NSArray *privateComponents; +/** Output only. UJET release version, unique for each new release. */ +@property(nonatomic, copy, nullable) NSString *releaseVersion; + /** Optional. Params that sets up Google as IdP. */ @property(nonatomic, strong, nullable) GTLRCCAIPlatform_SAMLParams *samlParams; diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m index 668c6c7da..451eada9b 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementObjects.m @@ -336,6 +336,8 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AppUninstalled = @"APP_UNINSTALLED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_AudioSevereUnderrun = @"AUDIO_SEVERE_UNDERRUN"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_ExternalDisplayConnected = @"EXTERNAL_DISPLAY_CONNECTED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_ExternalDisplayDisconnected = @"EXTERNAL_DISPLAY_DISCONNECTED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_NetworkHttpsLatencyChange = @"NETWORK_HTTPS_LATENCY_CHANGE"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_NetworkStateChange = @"NETWORK_STATE_CHANGE"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_OsCrash = @"OS_CRASH"; @@ -351,6 +353,8 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AppUninstalled = @"APP_UNINSTALLED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_AudioSevereUnderrun = @"AUDIO_SEVERE_UNDERRUN"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_EventTypeUnspecified = @"EVENT_TYPE_UNSPECIFIED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_ExternalDisplayConnected = @"EXTERNAL_DISPLAY_CONNECTED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_ExternalDisplayDisconnected = @"EXTERNAL_DISPLAY_DISCONNECTED"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_NetworkHttpsLatencyChange = @"NETWORK_HTTPS_LATENCY_CHANGE"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_NetworkStateChange = @"NETWORK_STATE_CHANGE"; NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_OsCrash = @"OS_CRASH"; @@ -434,6 +438,18 @@ NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile_IdentityProvider_GoogleIdentityProvider = @"GOOGLE_IDENTITY_PROVIDER"; NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile_IdentityProvider_IdentityProviderUnspecified = @"IDENTITY_PROVIDER_UNSPECIFIED"; +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.commandState +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_CommandStateUnspecified = @"COMMAND_STATE_UNSPECIFIED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_ExecutedByClient = @"EXECUTED_BY_CLIENT"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_Expired = @"EXPIRED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_Pending = @"PENDING"; + +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.resultType +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_CommandResultTypeUnspecified = @"COMMAND_RESULT_TYPE_UNSPECIFIED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Failure = @"FAILURE"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Ignored = @"IGNORED"; +NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Success = @"SUCCESS"; + // GTLRChromeManagement_GoogleChromeManagementVersionsV1DeviceInfo.deviceType NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1DeviceInfo_DeviceType_ChromeBrowser = @"CHROME_BROWSER"; NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1DeviceInfo_DeviceType_DeviceTypeUnspecified = @"DEVICE_TYPE_UNSPECIFIED"; @@ -624,8 +640,8 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1BrowserVersion @implementation GTLRChromeManagement_GoogleChromeManagementV1ChromeAppInfo @dynamic googleOwned, isCwsHosted, isExtensionPolicySupported, isKioskOnly, - isTheme, kioskEnabled, minUserCount, permissions, siteAccess, - supportEnabled, type; + isTheme, kioskEnabled, manifestVersion, minUserCount, permissions, + siteAccess, supportEnabled, type; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -983,8 +999,8 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1DiskInfo // @implementation GTLRChromeManagement_GoogleChromeManagementV1DisplayDevice -@dynamic displayHeightMm, displayName, displayWidthMm, internal, manufacturerId, - manufactureYear, modelId; +@dynamic displayHeightMm, displayName, displayWidthMm, edidVersion, internal, + manufacturerId, manufactureYear, modelId, serialNumber; @end @@ -994,8 +1010,8 @@ @implementation GTLRChromeManagement_GoogleChromeManagementV1DisplayDevice // @implementation GTLRChromeManagement_GoogleChromeManagementV1DisplayInfo -@dynamic deviceId, displayName, isInternal, refreshRate, resolutionHeight, - resolutionWidth; +@dynamic deviceId, displayName, edidVersion, isInternal, refreshRate, + resolutionHeight, resolutionWidth, serialNumber; @end @@ -1892,6 +1908,41 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrows @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand +@dynamic commandResult, commandState, commandType, issueTime, name, payload, + validDuration; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_Payload +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_Payload + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult +@dynamic clientExecutionTime, resultCode, resultType; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice @@ -1942,6 +1993,28 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1GenericProf @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse +@dynamic chromeBrowserProfileCommands, nextPageToken, totalSize; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"chromeBrowserProfileCommands" : [GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"chromeBrowserProfileCommands"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementVersionsV1ListChromeBrowserProfilesResponse @@ -1964,6 +2037,26 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest +@dynamic destinationOrgUnit; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse +@dynamic thirdPartyProfileUser; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingData @@ -2075,6 +2168,16 @@ @implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1SignDataRes @end +// ---------------------------------------------------------------------------- +// +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ThirdPartyProfileUser +// + +@implementation GTLRChromeManagement_GoogleChromeManagementVersionsV1ThirdPartyProfileUser +@dynamic name, orgUnitId; +@end + + // ---------------------------------------------------------------------------- // // GTLRChromeManagement_GoogleProtobufEmpty diff --git a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m index 73aaf6d20..fcc33e6b1 100644 --- a/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m +++ b/Sources/GeneratedServices/ChromeManagement/GTLRChromeManagementQuery.m @@ -147,6 +147,71 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRChromeManagementQuery_CustomersProfilesCommandsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand *)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}/commands"; + GTLRChromeManagementQuery_CustomersProfilesCommandsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand class]; + query.loggingName = @"chromemanagement.customers.profiles.commands.create"; + return query; +} + +@end + +@implementation GTLRChromeManagementQuery_CustomersProfilesCommandsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRChromeManagementQuery_CustomersProfilesCommandsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand class]; + query.loggingName = @"chromemanagement.customers.profiles.commands.get"; + return query; +} + +@end + +@implementation GTLRChromeManagementQuery_CustomersProfilesCommandsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/commands"; + GTLRChromeManagementQuery_CustomersProfilesCommandsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRChromeManagement_GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse class]; + query.loggingName = @"chromemanagement.customers.profiles.commands.list"; + return query; +} + +@end + @implementation GTLRChromeManagementQuery_CustomersProfilesDelete @dynamic name; @@ -573,3 +638,30 @@ + (instancetype)queryWithParent:(NSString *)parent { } @end + +@implementation GTLRChromeManagementQuery_CustomersThirdPartyProfileUsersMove + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest *)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}:move"; + GTLRChromeManagementQuery_CustomersThirdPartyProfileUsersMove *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse class]; + query.loggingName = @"chromemanagement.customers.thirdPartyProfileUsers.move"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h index c0619fcee..df9ec7ff8 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementObjects.h @@ -95,6 +95,9 @@ @class GTLRChromeManagement_GoogleChromeManagementVersionsV1AttestationCredential; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1CertificateProvisioningProcess; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_Payload; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsDevice; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeOsUserSession; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1DeviceInfo; @@ -105,6 +108,7 @@ @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataExtensionData; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataExtensionPolicyData; @class GTLRChromeManagement_GoogleChromeManagementVersionsV1ReportingDataPolicyData; +@class GTLRChromeManagement_GoogleChromeManagementVersionsV1ThirdPartyProfileUser; @class GTLRChromeManagement_GoogleRpcStatus; @class GTLRChromeManagement_GoogleRpcStatus_Details_Item; @class GTLRChromeManagement_GoogleTypeDate; @@ -1798,6 +1802,18 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * Value: "EVENT_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_EventTypeUnspecified; +/** + * Triggered when an external display is connected. + * + * Value: "EXTERNAL_DISPLAY_CONNECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_ExternalDisplayConnected; +/** + * Triggered when an external display is disconnected. + * + * Value: "EXTERNAL_DISPLAY_DISCONNECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_ExternalDisplayDisconnected; /** * Triggered when a new HTTPS latency problem was detected or the device has * recovered form an existing HTTPS latency problem. @@ -1883,6 +1899,18 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * Value: "EVENT_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_EventTypeUnspecified; +/** + * Triggered when an external display is connected. + * + * Value: "EXTERNAL_DISPLAY_CONNECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_ExternalDisplayConnected; +/** + * Triggered when an external display is disconnected. + * + * Value: "EXTERNAL_DISPLAY_DISCONNECTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEventNotificationFilter_EventTypes_ExternalDisplayDisconnected; /** * Triggered when a new HTTPS latency problem was detected or the device has * recovered form an existing HTTPS latency problem. @@ -2299,6 +2327,62 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfile_IdentityProvider_IdentityProviderUnspecified; +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand.commandState + +/** + * Represents an unspecified command state. + * + * Value: "COMMAND_STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_CommandStateUnspecified; +/** + * Represents a command that has been executed by the client. + * + * Value: "EXECUTED_BY_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_ExecutedByClient; +/** + * Represents a command that has expired. + * + * Value: "EXPIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_Expired; +/** + * Represents a command in a pending state. + * + * Value: "PENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_Pending; + +// ---------------------------------------------------------------------------- +// GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult.resultType + +/** + * Represents an unspecified command result. + * + * Value: "COMMAND_RESULT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_CommandResultTypeUnspecified; +/** + * Represents a failed command. + * + * Value: "FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Failure; +/** + * Represents a command with an ignored result. + * + * Value: "IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Ignored; +/** + * Represents a succeeded command. + * + * Value: "SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Success; + // ---------------------------------------------------------------------------- // GTLRChromeManagement_GoogleChromeManagementVersionsV1DeviceInfo.deviceType @@ -3067,6 +3151,13 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ @property(nonatomic, strong, nullable) NSNumber *kioskEnabled; +/** + * Output only. The version of this extension's manifest. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *manifestVersion; + /** * Output only. The minimum number of users using this app. * @@ -3866,6 +3957,9 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ @property(nonatomic, strong, nullable) NSNumber *displayWidthMm; +/** Output only. EDID version. */ +@property(nonatomic, copy, nullable) NSString *edidVersion; + /** * Output only. Is display internal or not. * @@ -3890,6 +3984,13 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ @property(nonatomic, strong, nullable) NSNumber *modelId; +/** + * Output only. Serial number. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *serialNumber; + @end @@ -3908,6 +4009,9 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV /** Output only. Display device name. */ @property(nonatomic, copy, nullable) NSString *displayName; +/** Output only. EDID version. */ +@property(nonatomic, copy, nullable) NSString *edidVersion; + /** * Output only. Indicates if display is internal or not. * @@ -3936,6 +4040,13 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV */ @property(nonatomic, strong, nullable) NSNumber *resolutionWidth; +/** + * Output only. Serial number. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *serialNumber; + @end @@ -5829,6 +5940,12 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV * seconds. (Value: "AUDIO_SEVERE_UNDERRUN") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_EventTypeUnspecified * Event type unknown. (Value: "EVENT_TYPE_UNSPECIFIED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_ExternalDisplayConnected + * Triggered when an external display is connected. (Value: + * "EXTERNAL_DISPLAY_CONNECTED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_ExternalDisplayDisconnected + * Triggered when an external display is disconnected. (Value: + * "EXTERNAL_DISPLAY_DISCONNECTED") * @arg @c kGTLRChromeManagement_GoogleChromeManagementV1TelemetryEvent_EventType_NetworkHttpsLatencyChange * Triggered when a new HTTPS latency problem was detected or the device * has recovered form an existing HTTPS latency problem. (Value: @@ -6756,6 +6873,106 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * A representation of a remote command for a Chrome browser profile. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand : GTLRObject + +/** Output only. Result of the remote command. */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult *commandResult; + +/** + * Output only. State of the remote command. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_CommandStateUnspecified + * Represents an unspecified command state. (Value: + * "COMMAND_STATE_UNSPECIFIED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_ExecutedByClient + * Represents a command that has been executed by the client. (Value: + * "EXECUTED_BY_CLIENT") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_Expired + * Represents a command that has expired. (Value: "EXPIRED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_CommandState_Pending + * Represents a command in a pending state. (Value: "PENDING") + */ +@property(nonatomic, copy, nullable) NSString *commandState; + +/** + * Required. Type of the remote command. The only supported command_type is + * "clearBrowsingData". + */ +@property(nonatomic, copy, nullable) NSString *commandType; + +/** Output only. Timestamp of the issurance of the remote command. */ +@property(nonatomic, strong, nullable) GTLRDateTime *issueTime; + +/** + * Identifier. Format: + * customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Payload of the remote command. The payload for "clearBrowsingData" + * command supports: - fields "clearCache" and "clearCookies" - values of + * boolean type. + */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_Payload *payload; + +/** Output only. Valid duration of the remote command. */ +@property(nonatomic, strong, nullable) GTLRDuration *validDuration; + +@end + + +/** + * Required. Payload of the remote command. The payload for "clearBrowsingData" + * command supports: - fields "clearCache" and "clearCookies" - values of + * boolean type. + * + * @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 GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand_Payload : GTLRObject +@end + + +/** + * Result of the execution of a command. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult : GTLRObject + +/** Output only. Timestamp of the client execution of the remote command. */ +@property(nonatomic, strong, nullable) GTLRDateTime *clientExecutionTime; + +/** + * Output only. Result code that indicates the type of error or success of the + * command. + */ +@property(nonatomic, copy, nullable) NSString *resultCode; + +/** + * Output only. Result type of the remote command. + * + * Likely values: + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_CommandResultTypeUnspecified + * Represents an unspecified command result. (Value: + * "COMMAND_RESULT_TYPE_UNSPECIFIED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Failure + * Represents a failed command. (Value: "FAILURE") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Ignored + * Represents a command with an ignored result. (Value: "IGNORED") + * @arg @c kGTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult_ResultType_Success + * Represents a succeeded command. (Value: "SUCCESS") + */ +@property(nonatomic, copy, nullable) NSString *resultType; + +@end + + /** * Describes the ChromeOS device that a `CertificateProvisioningProcess` * belongs to. @@ -6869,6 +7086,37 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * Response to ListChromeBrowserProfileCommands method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "chromeBrowserProfileCommands" property. If returned as the result + * of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse : GTLRCollectionObject + +/** + * The list of commands returned. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *chromeBrowserProfileCommands; + +/** The pagination token that can be used to list the next page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * Total size represents an estimated number of resources returned. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalSize; + +@end + + /** * Response to ListChromeBrowserProfiles method. * @@ -6901,6 +7149,31 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * Request to MoveThirdPartyProfileUser method. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest : GTLRObject + +/** + * Required. Destination organizational unit where the third party chrome + * profile user will be moved to. + */ +@property(nonatomic, copy, nullable) NSString *destinationOrgUnit; + +@end + + +/** + * Response for MoveThirdPartyProfileUser method. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse : GTLRObject + +/** Output only. The moved third party profile user. */ +@property(nonatomic, strong, nullable) GTLRChromeManagement_GoogleChromeManagementVersionsV1ThirdPartyProfileUser *thirdPartyProfileUser; + +@end + + /** * Reporting data of a Chrome browser profile. */ @@ -7145,6 +7418,24 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagement_GoogleChromeManagementV @end +/** + * A representation of non-Google (third party) user that is associated with a + * managed Chrome profile. + */ +@interface GTLRChromeManagement_GoogleChromeManagementVersionsV1ThirdPartyProfileUser : GTLRObject + +/** + * Identifier. Format: + * customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The ID of the organizational unit assigned to the user. */ +@property(nonatomic, copy, nullable) NSString *orgUnitId; + +@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 0922126cd..553cec224 100644 --- a/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementQuery.h +++ b/Sources/GeneratedServices/ChromeManagement/Public/GoogleAPIClientForREST/GTLRChromeManagementQuery.h @@ -351,6 +351,119 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagementAppTypeTheme; @end +/** + * Creates a Chrome browser profile remote command. + * + * Method: chromemanagement.customers.profiles.commands.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeChromeManagementChromeManagementProfiles + */ +@interface GTLRChromeManagementQuery_CustomersProfilesCommandsCreate : GTLRChromeManagementQuery + +/** + * Required. Format: customers/{customer_id}/profiles/{profile_permanent_id} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand. + * + * Creates a Chrome browser profile remote command. + * + * @param object The @c + * GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand + * to include in the query. + * @param parent Required. Format: + * customers/{customer_id}/profiles/{profile_permanent_id} + * + * @return GTLRChromeManagementQuery_CustomersProfilesCommandsCreate + */ ++ (instancetype)queryWithObject:(GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand *)object + parent:(NSString *)parent; + +@end + +/** + * Gets a Chrome browser profile remote command. + * + * Method: chromemanagement.customers.profiles.commands.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeChromeManagementChromeManagementProfiles + * @c kGTLRAuthScopeChromeManagementChromeManagementProfilesReadonly + */ +@interface GTLRChromeManagementQuery_CustomersProfilesCommandsGet : GTLRChromeManagementQuery + +/** + * Required. Format: + * customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRChromeManagement_GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand. + * + * Gets a Chrome browser profile remote command. + * + * @param name Required. Format: + * customers/{customer_id}/profiles/{profile_permanent_id}/commands/{command_id} + * + * @return GTLRChromeManagementQuery_CustomersProfilesCommandsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists remote commands of a Chrome browser profile. + * + * Method: chromemanagement.customers.profiles.commands.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeChromeManagementChromeManagementProfiles + * @c kGTLRAuthScopeChromeManagementChromeManagementProfilesReadonly + */ +@interface GTLRChromeManagementQuery_CustomersProfilesCommandsList : GTLRChromeManagementQuery + +/** + * Optional. The maximum number of commands to return. The default page size is + * 100 if page_size is unspecified, and the maximum page size allowed is 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. The page token used to retrieve a specific page of the listing + * request. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Format: customers/{customer_id}/profiles/{profile_permanent_id} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRChromeManagement_GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse. + * + * Lists remote commands of a Chrome browser profile. + * + * @param parent Required. Format: + * customers/{customer_id}/profiles/{profile_permanent_id} + * + * @return GTLRChromeManagementQuery_CustomersProfilesCommandsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Deletes the data collected from a Chrome browser profile. * @@ -1277,6 +1390,7 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagementAppTypeTheme; * https_latency_change_event - network_state_change_event - * wifi_signal_strength_event - vpn_connection_state_change_event - * app_install_event - app_uninstall_event - app_launch_event - os_crash_event + * - external_displays_event * * String format is a comma-separated list of fields. */ @@ -1511,6 +1625,43 @@ FOUNDATION_EXTERN NSString * const kGTLRChromeManagementAppTypeTheme; @end +/** + * Moves a third party chrome profile user to a destination OU. All profiles + * associated to that user will be moved to the destination OU. + * + * Method: chromemanagement.customers.thirdPartyProfileUsers.move + * + * Authorization scope(s): + * @c kGTLRAuthScopeChromeManagementChromeManagementProfiles + */ +@interface GTLRChromeManagementQuery_CustomersThirdPartyProfileUsersMove : GTLRChromeManagementQuery + +/** + * Required. Format: + * customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserResponse. + * + * Moves a third party chrome profile user to a destination OU. All profiles + * associated to that user will be moved to the destination OU. + * + * @param object The @c + * GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest + * to include in the query. + * @param name Required. Format: + * customers/{customer_id}/thirdPartyProfileUsers/{third_party_profile_user_id} + * + * @return GTLRChromeManagementQuery_CustomersThirdPartyProfileUsersMove + */ ++ (instancetype)queryWithObject:(GTLRChromeManagement_GoogleChromeManagementVersionsV1MoveThirdPartyProfileUserRequest *)object + name:(NSString *)name; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m b/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m index 3ef92646a..26ef36f8d 100644 --- a/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m +++ b/Sources/GeneratedServices/CivicInfo/GTLRCivicInfoObjects.m @@ -389,7 +389,15 @@ @implementation GTLRCivicInfo_SchemaV2Precinct // @implementation GTLRCivicInfo_SchemaV2SimpleAddressType -@dynamic city, line1, line2, line3, locationName, state, zip; +@dynamic addressLine, city, line1, line2, line3, locationName, state, zip; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"addressLine" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h b/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h index 184e77b24..440fa5a02 100644 --- a/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h +++ b/Sources/GeneratedServices/CivicInfo/Public/GoogleAPIClientForREST/GTLRCivicInfoObjects.h @@ -908,6 +908,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCivicInfo_SchemaV2ElectoralDistrict_Scop */ @interface GTLRCivicInfo_SchemaV2SimpleAddressType : GTLRObject +@property(nonatomic, strong, nullable) NSArray *addressLine; + /** The city or town for the address. */ @property(nonatomic, copy, nullable) NSString *city; diff --git a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h index 5e30fba99..dea6a793f 100644 --- a/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h +++ b/Sources/GeneratedServices/Classroom/Public/GoogleAPIClientForREST/GTLRClassroomQuery.h @@ -3699,8 +3699,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * permitted to create courses or for access errors. * `NOT_FOUND` if the * primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course * owner's account is disabled or for the following request errors: * - * UserCannotOwnCourse * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if - * an alias was specified in the `id` and already exists. + * UserCannotOwnCourse * UserGroupsMembershipLimitReached * + * CourseTitleCannotContainUrl * `ALREADY_EXISTS` if an alias was specified in + * the `id` and already exists. * * Method: classroom.courses.create * @@ -3720,8 +3721,9 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * permitted to create courses or for access errors. * `NOT_FOUND` if the * primary teacher is not a valid user. * `FAILED_PRECONDITION` if the course * owner's account is disabled or for the following request errors: * - * UserCannotOwnCourse * UserGroupsMembershipLimitReached * `ALREADY_EXISTS` if - * an alias was specified in the `id` and already exists. + * UserCannotOwnCourse * UserGroupsMembershipLimitReached * + * CourseTitleCannotContainUrl * `ALREADY_EXISTS` if an alias was specified in + * the `id` and already exists. * * @param object The @c GTLRClassroom_Course to include in the query. * @@ -3945,7 +3947,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields * are specified in the update mask or if no update mask is supplied. * * `FAILED_PRECONDITION` for the following request errors: * - * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner + * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner * + * CourseTitleCannotContainUrl * * Method: classroom.courses.patch * @@ -3985,7 +3988,8 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * course exists with the requested ID. * `INVALID_ARGUMENT` if invalid fields * are specified in the update mask or if no update mask is supplied. * * `FAILED_PRECONDITION` for the following request errors: * - * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner + * CourseNotModifiable * InactiveCourseOwner * IneligibleOwner * + * CourseTitleCannotContainUrl * * @param object The @c GTLRClassroom_Course to include in the query. * @param identifier Identifier of the course to update. This identifier can be @@ -5193,7 +5197,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `PERMISSION_DENIED` if the requesting user is not permitted to modify the * requested course or for access errors. * `NOT_FOUND` if no course exists * with the requested ID. * `FAILED_PRECONDITION` for the following request - * errors: * CourseNotModifiable + * errors: * CourseNotModifiable * CourseTitleCannotContainUrl * * Method: classroom.courses.update * @@ -5217,7 +5221,7 @@ FOUNDATION_EXTERN NSString * const kGTLRClassroomStatesTurnedIn; * `PERMISSION_DENIED` if the requesting user is not permitted to modify the * requested course or for access errors. * `NOT_FOUND` if no course exists * with the requested ID. * `FAILED_PRECONDITION` for the following request - * errors: * CourseNotModifiable + * errors: * CourseNotModifiable * CourseTitleCannotContainUrl * * @param object The @c GTLRClassroom_Course to include in the query. * @param identifier Identifier of the course to update. This identifier can be diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m index 2cc985a1b..04caa6535 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/GTLRCloudAlloyDBAdminObjects.m @@ -239,7 +239,17 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun_Status_StatusUnspecified = @"STATUS_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun_Status_Successful = @"SUCCESSFUL"; +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.signalType +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeDatabaseAuditingDisabled = @"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeExposedToPublicAccess = @"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeNoRootPassword = @"SIGNAL_TYPE_NO_ROOT_PASSWORD"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeUnencryptedConnections = @"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; + // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.feedType +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_BackupdrMetadata = @"BACKUPDR_METADATA"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ConfigBasedSignalData = @"CONFIG_BASED_SIGNAL_DATA"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_FeedtypeUnspecified = @"FEEDTYPE_UNSPECIFIED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ObservabilityData = @"OBSERVABILITY_DATA"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_RecommendationSignalData = @"RECOMMENDATION_SIGNAL_DATA"; @@ -309,6 +319,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingOnlyCriticalErrors = @"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingQueryStatistics = @"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting = @"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeManyIdleConnections = @"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMaxServerMemory = @"SIGNAL_TYPE_MAX_SERVER_MEMORY"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMemoryLimit = @"SIGNAL_TYPE_MEMORY_LIMIT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMinimalErrorLogging = @"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING"; @@ -325,6 +336,9 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOverprovisioned = @"SIGNAL_TYPE_OVERPROVISIONED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypePublicIpEnabled = @"SIGNAL_TYPE_PUBLIC_IP_ENABLED"; @@ -333,8 +347,10 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeQueryStatisticsLogged = @"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeQuotaLimit = @"SIGNAL_TYPE_QUOTA_LIMIT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload = @"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag = @"SIGNAL_TYPE_REPLICATION_LAG"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeResourceSuspended = @"SIGNAL_TYPE_RESOURCE_SUSPENDED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks = @"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSchemaNotOptimized = @"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked = @"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; @@ -473,6 +489,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingOnlyCriticalErrors = @"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingQueryStatistics = @"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting = @"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeManyIdleConnections = @"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMaxServerMemory = @"SIGNAL_TYPE_MAX_SERVER_MEMORY"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMemoryLimit = @"SIGNAL_TYPE_MEMORY_LIMIT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMinimalErrorLogging = @"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING"; @@ -489,6 +506,9 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotLoggingTemporaryFiles = @"SIGNAL_TYPE_NOT_LOGGING_TEMPORARY_FILES"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNotProtectedByAutomaticFailover = @"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy = @"SIGNAL_TYPE_NO_USER_PASSWORD_POLICY"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk = @"SIGNAL_TYPE_OUT_OF_DISK"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOverprovisioned = @"SIGNAL_TYPE_OVERPROVISIONED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypePublicIpEnabled = @"SIGNAL_TYPE_PUBLIC_IP_ENABLED"; @@ -497,8 +517,10 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeQueryStatisticsLogged = @"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeQuotaLimit = @"SIGNAL_TYPE_QUOTA_LIMIT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload = @"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag = @"SIGNAL_TYPE_REPLICATION_LAG"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeResourceSuspended = @"SIGNAL_TYPE_RESOURCE_SUSPENDED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks = @"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSchemaNotOptimized = @"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked = @"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; @@ -583,6 +605,7 @@ NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineCloudSpannerWithPostgresDialect = @"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineExadataOracle = @"ENGINE_EXADATA_ORACLE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithDatastoreMode = @"ENGINE_FIRESTORE_WITH_DATASTORE_MODE"; +NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithMongodbCompatibilityMode = @"ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithNativeMode = @"ENGINE_FIRESTORE_WITH_NATIVE_MODE"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineMemorystoreForRedis = @"ENGINE_MEMORYSTORE_FOR_REDIS"; NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineMemorystoreForRedisCluster = @"ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER"; @@ -1817,13 +1840,23 @@ @implementation GTLRCloudAlloyDBAdmin_StageInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StageSchedule +// + +@implementation GTLRCloudAlloyDBAdmin_StageSchedule +@dynamic actualEndTime, actualStartTime, estimatedEndTime, estimatedStartTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_StageStatus // @implementation GTLRCloudAlloyDBAdmin_StageStatus -@dynamic readPoolInstancesUpgrade, stage, state; +@dynamic readPoolInstancesUpgrade, schedule, stage, state; @end @@ -1892,6 +1925,27 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBacku @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration +@dynamic backupdrManaged; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata +@dynamic backupConfiguration, backupdrConfiguration, backupRun, + fullResourceName, lastRefreshTime, resourceId; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun @@ -1912,6 +1966,17 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCompl @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData +// + +@implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData +@dynamic fullResourceName, lastRefreshTime, resourceId, signalBoolValue, + signalType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCustomMetadataData @@ -1936,9 +2001,9 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCusto // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed -@dynamic feedTimestamp, feedType, observabilityMetricData, - recommendationSignalData, resourceHealthSignalData, resourceId, - resourceMetadata; +@dynamic backupdrMetadata, configBasedSignalData, feedTimestamp, feedType, + observabilityMetricData, recommendationSignalData, + resourceHealthSignalData, resourceId, resourceMetadata, skipIngestion; @end @@ -1996,12 +2061,12 @@ @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatab // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata -@dynamic availabilityConfiguration, backupConfiguration, backupRun, - creationTime, currentState, customMetadata, edition, entitlements, - expectedState, gcbdrConfiguration, identifier, instanceType, location, - machineConfiguration, primaryResourceId, primaryResourceLocation, - product, resourceContainer, resourceName, suspensionReason, tagsSet, - updationTime, userLabelSet; +@dynamic availabilityConfiguration, backupConfiguration, backupdrConfiguration, + backupRun, creationTime, currentState, customMetadata, edition, + entitlements, expectedState, gcbdrConfiguration, identifier, + instanceType, location, machineConfiguration, primaryResourceId, + primaryResourceLocation, product, resourceContainer, resourceName, + suspensionReason, tagsSet, updationTime, userLabelSet; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2168,7 +2233,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct -@dynamic engine, type, version; +@dynamic engine, minorVersion, type, version; @end diff --git a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h index 0e9318974..662d0c3f9 100644 --- a/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h +++ b/Sources/GeneratedServices/CloudAlloyDBAdmin/Public/GoogleAPIClientForREST/GTLRCloudAlloyDBAdminObjects.h @@ -86,14 +86,18 @@ @class GTLRCloudAlloyDBAdmin_SqlImportOptions; @class GTLRCloudAlloyDBAdmin_SslConfig; @class GTLRCloudAlloyDBAdmin_StageInfo; +@class GTLRCloudAlloyDBAdmin_StageSchedule; @class GTLRCloudAlloyDBAdmin_StageStatus; @class GTLRCloudAlloyDBAdmin_Stats; @class GTLRCloudAlloyDBAdmin_Status; @class GTLRCloudAlloyDBAdmin_Status_Details_Item; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainAvailabilityConfiguration; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupConfiguration; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCompliance; +@class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainCustomMetadataData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData; @class GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_AdditionalMetadata; @@ -1216,9 +1220,63 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun_Status_Successful; +// ---------------------------------------------------------------------------- +// GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData.signalType + +/** + * Represents database auditing is disabled. + * + * Value: "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeDatabaseAuditingDisabled; +/** + * Represents if a resource is exposed to public access. + * + * Value: "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeExposedToPublicAccess; +/** + * Represents if a database has a password configured for the root account or + * not. + * + * Value: "SIGNAL_TYPE_NO_ROOT_PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeNoRootPassword; +/** + * Outdated Minor Version + * + * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Represents if a resources requires all incoming connections to use SSL or + * not. + * + * Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeUnencryptedConnections; +/** + * Unspecified signal type. + * + * Value: "SIGNAL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed.feedType +/** + * Database resource metadata from BackupDR + * + * Value: "BACKUPDR_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_BackupdrMetadata; +/** + * Database config based signal data + * + * Value: "CONFIG_BASED_SIGNAL_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ConfigBasedSignalData; /** Value: "FEEDTYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_FeedtypeUnspecified; /** @@ -1629,6 +1687,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting; +/** + * High number of idle connections. + * + * Value: "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeManyIdleConnections; /** * Indicates that the instance's max server memory is configured higher than * the recommended value. @@ -1732,6 +1796,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient; +/** + * Outdated DB minor version. + * + * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Outdated version. + * + * Value: "SIGNAL_TYPE_OUTDATED_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion; /** * Represents out of disk. * @@ -1783,6 +1865,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload; +/** + * Replication delay. + * + * Value: "SIGNAL_TYPE_REPLICATION_LAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag; /** * Detects if a database instance/cluster is suspended. * @@ -1795,6 +1883,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks; +/** + * Schema not optimized. + * + * Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSchemaNotOptimized; /** * Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL * Server instance is not set to on. @@ -2580,6 +2674,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting; +/** + * High number of idle connections. + * + * Value: "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeManyIdleConnections; /** * Indicates that the instance's max server memory is configured higher than * the recommended value. @@ -2683,6 +2783,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient; +/** + * Outdated DB minor version. + * + * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Outdated version. + * + * Value: "SIGNAL_TYPE_OUTDATED_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion; /** * Represents out of disk. * @@ -2734,6 +2852,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload; +/** + * Replication delay. + * + * Value: "SIGNAL_TYPE_REPLICATION_LAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag; /** * Detects if a database instance/cluster is suspended. * @@ -2746,6 +2870,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks; +/** + * Schema not optimized. + * + * Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSchemaNotOptimized; /** * Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL * Server instance is not set to on. @@ -3210,6 +3340,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterP * Value: "ENGINE_FIRESTORE_WITH_DATASTORE_MODE" */ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithDatastoreMode; +/** + * Firestore with MongoDB compatibility mode. + * + * Value: "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithMongodbCompatibilityMode; /** * Firestore with native mode. * @@ -6656,6 +6792,32 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * Timing information for the stage execution. + */ +@interface GTLRCloudAlloyDBAdmin_StageSchedule : GTLRObject + +/** Actual end time of the stage. Set only if the stage has completed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *actualEndTime; + +/** Actual start time of the stage. Set only if the stage has started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *actualStartTime; + +/** + * When the stage is expected to end. Set only if the stage has not completed + * yet. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *estimatedEndTime; + +/** + * When the stage is expected to start. Set only if the stage has not started + * yet. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *estimatedStartTime; + +@end + + /** * Status of an upgrade stage. */ @@ -6664,6 +6826,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** Read pool instances upgrade metadata. */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_ReadPoolInstancesUpgradeStageStatus *readPoolInstancesUpgrade; +/** Output only. Timing information for the stage execution. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StageSchedule *schedule; + /** * Upgrade stage. * @@ -6883,6 +7048,49 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * BackupDRConfiguration to capture the backup and disaster recovery details of + * database resource. + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration : GTLRObject + +/** + * Indicates if the resource is managed by BackupDR. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *backupdrManaged; + +@end + + +/** + * BackupDRMetadata contains information about the backup and disaster recovery + * metadata of a database resource. + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata : GTLRObject + +/** Backup configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupConfiguration *backupConfiguration; + +/** BackupDR configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration *backupdrConfiguration; + +/** Latest backup run information for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun *backupRun; + +/** Required. Full resource name of this instance. */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** Required. Last time backup configuration was refreshed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRefreshTime; + +/** Required. Database resource id. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceId *resourceId; + +@end + + /** * A backup run. */ @@ -6934,6 +7142,55 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @end +/** + * Config based signal data. This is used to send signals to Condor which are + * based on the DB level configurations. These will be used to send signals for + * self managed databases. + */ +@interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData : GTLRObject + +/** Required. Full Resource name of the source resource. */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** Required. Last time signal was refreshed */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRefreshTime; + +/** Database resource id. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceId *resourceId; + +/** + * Signal data for boolean signals. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *signalBoolValue; + +/** + * Required. Signal type of the signal + * + * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeDatabaseAuditingDisabled + * Represents database auditing is disabled. (Value: + * "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeExposedToPublicAccess + * Represents if a resource is exposed to public access. (Value: + * "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeNoRootPassword + * Represents if a database has a password configured for the root + * account or not. (Value: "SIGNAL_TYPE_NO_ROOT_PASSWORD") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeOutdatedMinorVersion + * Outdated Minor Version (Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeUnencryptedConnections + * Represents if a resources requires all incoming connections to use SSL + * or not. (Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData_SignalType_SignalTypeUnspecified + * Unspecified signal type. (Value: "SIGNAL_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *signalType; + +@end + + /** * Any custom metadata associated with the resource. e.g. A spanner instance * can have multiple databases with its own unique metadata. Information for @@ -6952,10 +7209,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** * DatabaseResourceFeed is the top level proto to be used to ingest different - * database resource level events into Condor platform. Next ID: 8 + * database resource level events into Condor platform. Next ID: 11 */ @interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed : GTLRObject +/** BackupDR metadata is used to ingest metadata from BackupDR. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRMetadata *backupdrMetadata; + +/** + * Config based signal data is used to ingest signals that are generated based + * on the configuration of the database resource. + */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData *configBasedSignalData; + /** Required. Timestamp when feed is generated. */ @property(nonatomic, strong, nullable) GTLRDateTime *feedTimestamp; @@ -6963,6 +7229,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Required. Type feed to be ingested into condor * * Likely values: + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_BackupdrMetadata + * Database resource metadata from BackupDR (Value: "BACKUPDR_METADATA") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ConfigBasedSignalData + * Database config based signal data (Value: "CONFIG_BASED_SIGNAL_DATA") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_FeedtypeUnspecified * Value "FEEDTYPE_UNSPECIFIED" * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed_FeedType_ObservabilityData @@ -6991,6 +7261,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata *resourceMetadata; +/** + * Optional. If true, the feed won't be ingested by DB Center. This indicates + * that the feed is intentionally skipped. For example, BackupDR feeds are only + * needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). + * Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) + * can be skipped. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipIngestion; + @end @@ -7281,6 +7562,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if log_checkpoints database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: * "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeManyIdleConnections + * High number of idle connections. (Value: + * "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeMaxServerMemory * Indicates that the instance's max server memory is configured higher * than the recommended value. (Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY") @@ -7334,6 +7618,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy * Detects if a database instance has no user password policy set. * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion + * Outdated DB minor version. (Value: + * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion + * Outdated version. (Value: "SIGNAL_TYPE_OUTDATED_VERSION") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeOverprovisioned @@ -7359,12 +7650,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload * Indicates that the instance has read intensive workload. (Value: * "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag + * Replication delay. (Value: "SIGNAL_TYPE_REPLICATION_LAG") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeResourceSuspended * Detects if a database instance/cluster is suspended. (Value: * "SIGNAL_TYPE_RESOURCE_SUSPENDED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks * Represents not restricted to authorized networks. (Value: * "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSchemaNotOptimized + * Schema not optimized. (Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked * Represents if the 3625 (trace flag) database flag for a Cloud SQL for * SQL Server instance is not set to on. (Value: @@ -7562,7 +7857,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** - * Common model for database resource instance metadata. Next ID: 25 + * Common model for database resource instance metadata. Next ID: 26 */ @interface GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata : GTLRObject @@ -7572,6 +7867,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW /** Backup configuration for this instance */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupConfiguration *backupConfiguration; +/** Optional. BackupDR Configuration for the resource. */ +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupDRConfiguration *backupdrConfiguration; + /** Latest backup run information for this instance */ @property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainBackupRun *backupRun; @@ -7647,7 +7945,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW @property(nonatomic, copy, nullable) NSString *expectedState; /** GCBDR configuration for the resource. */ -@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration *gcbdrConfiguration; +@property(nonatomic, strong, nullable) GTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainGCBDRConfiguration *gcbdrConfiguration GTLR_DEPRECATED; /** * Required. Unique identifier for a Database resource @@ -7977,6 +8275,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * Represents if log_checkpoints database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: * "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeManyIdleConnections + * High number of idle connections. (Value: + * "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeMaxServerMemory * Indicates that the instance's max server memory is configured higher * than the recommended value. (Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY") @@ -8030,6 +8331,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy * Detects if a database instance has no user password policy set. * (Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion + * Outdated DB minor version. (Value: + * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion + * Outdated version. (Value: "SIGNAL_TYPE_OUTDATED_VERSION") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeOverprovisioned @@ -8055,12 +8363,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload * Indicates that the instance has read intensive workload. (Value: * "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag + * Replication delay. (Value: "SIGNAL_TYPE_REPLICATION_LAG") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeResourceSuspended * Detects if a database instance/cluster is suspended. (Value: * "SIGNAL_TYPE_RESOURCE_SUSPENDED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks * Represents not restricted to authorized networks. (Value: * "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSchemaNotOptimized + * Schema not optimized. (Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked * Represents if the 3625 (trace flag) database flag for a Cloud SQL for * SQL Server instance is not set to on. (Value: @@ -8538,6 +8850,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithDatastoreMode * Firestore with datastore mode. (Value: * "ENGINE_FIRESTORE_WITH_DATASTORE_MODE") + * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithMongodbCompatibilityMode + * Firestore with MongoDB compatibility mode. (Value: + * "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE") * @arg @c kGTLRCloudAlloyDBAdmin_StorageDatabasecenterProtoCommonProduct_Engine_EngineFirestoreWithNativeMode * Firestore with native mode. (Value: * "ENGINE_FIRESTORE_WITH_NATIVE_MODE") @@ -8580,6 +8895,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAlloyDBAdmin_WeeklySchedule_DaysOfW */ @property(nonatomic, copy, nullable) NSString *engine; +/** + * Minor version of the underlying database engine. Example values: For MySQL, + * it could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", + * "15.3" etc.. + */ +@property(nonatomic, copy, nullable) NSString *minorVersion; + /** * Type of specific database product. It could be CloudSQL, AlloyDB etc.. * diff --git a/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m b/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m index 28f83c6eb..20cb1b512 100644 --- a/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m +++ b/Sources/GeneratedServices/CloudAsset/GTLRCloudAssetObjects.m @@ -14,6 +14,10 @@ // ---------------------------------------------------------------------------- // Constants +// GTLRCloudAsset_AssetException.exceptionType +NSString * const kGTLRCloudAsset_AssetException_ExceptionType_ExceptionTypeUnspecified = @"EXCEPTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudAsset_AssetException_ExceptionType_Truncation = @"TRUNCATION"; + // GTLRCloudAsset_AuditLogConfig.logType NSString * const kGTLRCloudAsset_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; NSString * const kGTLRCloudAsset_AuditLogConfig_LogType_DataRead = @"DATA_READ"; @@ -345,13 +349,14 @@ @implementation GTLRCloudAsset_AnalyzerOrgPolicyConstraint // @implementation GTLRCloudAsset_Asset -@dynamic accessLevel, accessPolicy, ancestors, assetType, iamPolicy, name, - orgPolicy, osInventory, relatedAsset, relatedAssets, resource, - servicePerimeter, updateTime; +@dynamic accessLevel, accessPolicy, ancestors, assetExceptions, assetType, + iamPolicy, name, orgPolicy, osInventory, relatedAsset, relatedAssets, + resource, servicePerimeter, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"ancestors" : [NSString class], + @"assetExceptions" : [GTLRCloudAsset_AssetException class], @"orgPolicy" : [GTLRCloudAsset_GoogleCloudOrgpolicyV1Policy class] }; return map; @@ -370,6 +375,16 @@ @implementation GTLRCloudAsset_AssetEnrichment @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudAsset_AssetException +// + +@implementation GTLRCloudAsset_AssetException +@dynamic details, exceptionType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudAsset_AttachedResource diff --git a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h index 79cae5e4a..c3d6468b0 100644 --- a/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h +++ b/Sources/GeneratedServices/CloudAsset/Public/GoogleAPIClientForREST/GTLRCloudAssetObjects.h @@ -20,6 +20,7 @@ @class GTLRCloudAsset_AnalyzerOrgPolicyConstraint; @class GTLRCloudAsset_Asset; @class GTLRCloudAsset_AssetEnrichment; +@class GTLRCloudAsset_AssetException; @class GTLRCloudAsset_AttachedResource; @class GTLRCloudAsset_AuditConfig; @class GTLRCloudAsset_AuditLogConfig; @@ -158,6 +159,22 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRCloudAsset_AssetException.exceptionType + +/** + * exception_type is not applicable for the current asset. + * + * Value: "EXCEPTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_AssetException_ExceptionType_ExceptionTypeUnspecified; +/** + * The asset content is truncated. + * + * Value: "TRUNCATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_AssetException_ExceptionType_Truncation; + // ---------------------------------------------------------------------------- // GTLRCloudAsset_AuditLogConfig.logType @@ -1223,6 +1240,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState */ @property(nonatomic, strong, nullable) NSArray *ancestors; +/** The exceptions of a resource. */ +@property(nonatomic, strong, nullable) NSArray *assetExceptions; + /** * The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported * asset @@ -1310,6 +1330,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudAsset_TemporalAsset_PriorAssetState @end +/** + * An exception of an asset. + */ +@interface GTLRCloudAsset_AssetException : GTLRObject + +/** The details of the exception. */ +@property(nonatomic, copy, nullable) NSString *details; + +/** + * The type of exception. + * + * Likely values: + * @arg @c kGTLRCloudAsset_AssetException_ExceptionType_ExceptionTypeUnspecified + * exception_type is not applicable for the current asset. (Value: + * "EXCEPTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudAsset_AssetException_ExceptionType_Truncation The asset + * content is truncated. (Value: "TRUNCATION") + */ +@property(nonatomic, copy, nullable) NSString *exceptionType; + +@end + + /** * Attached resource representation, which is defined by the corresponding * service provider. It represents an attached resource's payload. diff --git a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m index 61911a888..bbe59d411 100644 --- a/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m +++ b/Sources/GeneratedServices/CloudBatch/GTLRCloudBatchObjects.m @@ -33,12 +33,14 @@ // GTLRCloudBatch_InstancePolicy.provisioningModel NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_Preemptible = @"PREEMPTIBLE"; NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_ProvisioningModelUnspecified = @"PROVISIONING_MODEL_UNSPECIFIED"; +NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_ReservationBound = @"RESERVATION_BOUND"; NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_Spot = @"SPOT"; NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_Standard = @"STANDARD"; // GTLRCloudBatch_InstanceStatus.provisioningModel NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_Preemptible = @"PREEMPTIBLE"; NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_ProvisioningModelUnspecified = @"PROVISIONING_MODEL_UNSPECIFIED"; +NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_ReservationBound = @"RESERVATION_BOUND"; NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_Spot = @"SPOT"; NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_Standard = @"STANDARD"; diff --git a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h index 8903b1f12..d88e9eade 100644 --- a/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h +++ b/Sources/GeneratedServices/CloudBatch/Public/GoogleAPIClientForREST/GTLRCloudBatchObjects.h @@ -197,6 +197,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningMo * Value: "PROVISIONING_MODEL_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_ProvisioningModelUnspecified; +/** + * Bound to the lifecycle of the reservation in which it is provisioned. + * + * Value: "RESERVATION_BOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstancePolicy_ProvisioningModel_ReservationBound; /** * SPOT VM. * @@ -228,6 +234,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningMo * Value: "PROVISIONING_MODEL_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_ProvisioningModelUnspecified; +/** + * Bound to the lifecycle of the reservation in which it is provisioned. + * + * Value: "RESERVATION_BOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_InstanceStatus_ProvisioningModel_ReservationBound; /** * SPOT VM. * @@ -1640,6 +1652,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; * supported. (Value: "PREEMPTIBLE") * @arg @c kGTLRCloudBatch_InstancePolicy_ProvisioningModel_ProvisioningModelUnspecified * Unspecified. (Value: "PROVISIONING_MODEL_UNSPECIFIED") + * @arg @c kGTLRCloudBatch_InstancePolicy_ProvisioningModel_ReservationBound + * Bound to the lifecycle of the reservation in which it is provisioned. + * (Value: "RESERVATION_BOUND") * @arg @c kGTLRCloudBatch_InstancePolicy_ProvisioningModel_Spot SPOT VM. * (Value: "SPOT") * @arg @c kGTLRCloudBatch_InstancePolicy_ProvisioningModel_Standard Standard @@ -1742,6 +1757,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBatch_TaskStatus_State_Unexecuted; * supported. (Value: "PREEMPTIBLE") * @arg @c kGTLRCloudBatch_InstanceStatus_ProvisioningModel_ProvisioningModelUnspecified * Unspecified. (Value: "PROVISIONING_MODEL_UNSPECIFIED") + * @arg @c kGTLRCloudBatch_InstanceStatus_ProvisioningModel_ReservationBound + * Bound to the lifecycle of the reservation in which it is provisioned. + * (Value: "RESERVATION_BOUND") * @arg @c kGTLRCloudBatch_InstanceStatus_ProvisioningModel_Spot SPOT VM. * (Value: "SPOT") * @arg @c kGTLRCloudBatch_InstanceStatus_ProvisioningModel_Standard Standard diff --git a/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m index 762ec3d4d..9b1d8f634 100644 --- a/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m +++ b/Sources/GeneratedServices/CloudBuild/GTLRCloudBuildObjects.m @@ -258,25 +258,6 @@ @implementation GTLRCloudBuild_CancelOperationRequest @end -// ---------------------------------------------------------------------------- -// -// GTLRCloudBuild_Capabilities -// - -@implementation GTLRCloudBuild_Capabilities -@dynamic add, drop; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"add" : [NSString class], - @"drop" : [NSString class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRCloudBuild_ChildStatusReference @@ -1144,8 +1125,8 @@ @implementation GTLRCloudBuild_Security // @implementation GTLRCloudBuild_SecurityContext -@dynamic allowPrivilegeEscalation, capabilities, privileged, runAsGroup, - runAsNonRoot, runAsUser; +@dynamic allowPrivilegeEscalation, privileged, runAsGroup, runAsNonRoot, + runAsUser; @end diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h index 21e63864c..02fbfba5d 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildObjects.h @@ -19,7 +19,6 @@ @class GTLRCloudBuild_Binding; @class GTLRCloudBuild_BitbucketCloudConfig; @class GTLRCloudBuild_BitbucketDataCenterConfig; -@class GTLRCloudBuild_Capabilities; @class GTLRCloudBuild_ChildStatusReference; @class GTLRCloudBuild_Connection; @class GTLRCloudBuild_Connection_Annotations; @@ -933,20 +932,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper @end -/** - * Capabilities adds and removes POSIX capabilities from running containers. - */ -@interface GTLRCloudBuild_Capabilities : GTLRObject - -/** Optional. Added capabilities +optional */ -@property(nonatomic, strong, nullable) NSArray *add; - -/** Optional. Removed capabilities +optional */ -@property(nonatomic, strong, nullable) NSArray *drop; - -@end - - /** * ChildStatusReference is used to point to the statuses of individual TaskRuns * and Runs within this PipelineRun. @@ -2738,9 +2723,6 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuild_WhenExpression_ExpressionOper */ @property(nonatomic, strong, nullable) NSNumber *allowPrivilegeEscalation; -/** Optional. Adds and removes POSIX capabilities from running containers. */ -@property(nonatomic, strong, nullable) GTLRCloudBuild_Capabilities *capabilities; - /** * Run container in privileged mode. * diff --git a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h index 525931de2..d170197b7 100644 --- a/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h +++ b/Sources/GeneratedServices/CloudBuild/Public/GoogleAPIClientForREST/GTLRCloudBuildQuery.h @@ -835,8 +835,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudBuildRefTypeTag; @interface GTLRCloudBuildQuery_ProjectsLocationsList : GTLRCloudBuildQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m index d640755e3..d80260624 100644 --- a/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m +++ b/Sources/GeneratedServices/CloudComposer/GTLRCloudComposerObjects.m @@ -72,6 +72,7 @@ NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_DatabaseFailover = @"DATABASE_FAILOVER"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Delete = @"DELETE"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_LoadSnapshot = @"LOAD_SNAPSHOT"; +NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Migrate = @"MIGRATE"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_SaveSnapshot = @"SAVE_SNAPSHOT"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_TypeUnspecified = @"TYPE_UNSPECIFIED"; NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Update = @"UPDATE"; diff --git a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h index 343194a2d..6eb25a1a3 100644 --- a/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h +++ b/Sources/GeneratedServices/CloudComposer/Public/GoogleAPIClientForREST/GTLRCloudComposerObjects.h @@ -366,6 +366,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_Operatio * Value: "LOAD_SNAPSHOT" */ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_LoadSnapshot; +/** + * Migrates resource to a new major version. + * + * Value: "MIGRATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_OperationMetadata_OperationType_Migrate; /** * Saves snapshot of the resource operation. * @@ -1876,6 +1882,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudComposer_TaskLogsRetentionConfig_St * resource deletion operation. (Value: "DELETE") * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_LoadSnapshot * Loads snapshot of the resource operation. (Value: "LOAD_SNAPSHOT") + * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_Migrate + * Migrates resource to a new major version. (Value: "MIGRATE") * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_SaveSnapshot * Saves snapshot of the resource operation. (Value: "SAVE_SNAPSHOT") * @arg @c kGTLRCloudComposer_OperationMetadata_OperationType_TypeUnspecified diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m index 13a3a4fa5..696c64f7f 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexObjects.m @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m index 1bc2994c5..516d46bbf 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexQuery.m @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs @@ -297,20 +297,20 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRCloudDataplexQuery_OrganizationsLocationsOperationsListOperations +@implementation GTLRCloudDataplexQuery_OrganizationsLocationsOperationsList @dynamic filter, name, pageSize, pageToken; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRCloudDataplexQuery_OrganizationsLocationsOperationsListOperations *query = + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRCloudDataplexQuery_OrganizationsLocationsOperationsList *query = [[self alloc] initWithPathURITemplate:pathURITemplate HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; query.expectedObjectClass = [GTLRCloudDataplex_GoogleLongrunningListOperationsResponse class]; - query.loggingName = @"dataplex.organizations.locations.operations.listOperations"; + query.loggingName = @"dataplex.organizations.locations.operations.list"; return query; } @@ -700,6 +700,160 @@ + (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1TestIamPermissions @end +@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1Policy class]; + query.loggingName = @"dataplex.projects.locations.dataProducts.dataAssets.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1SetIamPolicyRequest *)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"; + GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1Policy class]; + query.loggingName = @"dataplex.projects.locations.dataProducts.dataAssets.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1TestIamPermissionsRequest *)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"; + GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1TestIamPermissionsResponse class]; + query.loggingName = @"dataplex.projects.locations.dataProducts.dataAssets.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1Policy class]; + query.loggingName = @"dataplex.projects.locations.dataProducts.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1SetIamPolicyRequest *)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"; + GTLRCloudDataplexQuery_ProjectsLocationsDataProductsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1Policy class]; + query.loggingName = @"dataplex.projects.locations.dataProducts.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRCloudDataplexQuery_ProjectsLocationsDataProductsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1TestIamPermissionsRequest *)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"; + GTLRCloudDataplexQuery_ProjectsLocationsDataProductsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRCloudDataplex_GoogleIamV1TestIamPermissionsResponse class]; + query.loggingName = @"dataplex.projects.locations.dataProducts.testIamPermissions"; + return query; +} + +@end + @implementation GTLRCloudDataplexQuery_ProjectsLocationsDataScansCreate @dynamic dataScanId, parent, validateOnly; diff --git a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m index c5e33deac..a5b782b49 100644 --- a/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m +++ b/Sources/GeneratedServices/CloudDataplex/GTLRCloudDataplexService.m @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h index 6cf921d43..dcd3b985d 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplex.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h index 749a78a3e..ed28bf90a 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexObjects.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs @@ -1612,7 +1612,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Job_S // GTLRCloudDataplex_GoogleCloudDataplexV1Job.state /** - * The job was cancelled outside of Dataplex. + * The job was cancelled outside of Dataplex Universal Catalog. * * Value: "ABORTED" */ @@ -1664,8 +1664,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Job_S */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Job_Trigger_RunRequest; /** - * The job was triggered by Dataplex based on trigger spec from task - * definition. + * The job was triggered by Dataplex Universal Catalog based on trigger spec + * from task definition. * * Value: "TASK_CONFIG" */ @@ -1693,8 +1693,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1JobEv */ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1JobEvent_ExecutionTrigger_RunRequest; /** - * The job was triggered by Dataplex based on trigger spec from task - * definition. + * The job was triggered by Dataplex Universal Catalog based on trigger spec + * from task definition. * * Value: "TASK_CONFIG" */ @@ -1867,10 +1867,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Metad /** * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource is - * deleted when you run the metadata job. Use this mode to perform a full sync - * of the set of entries in the job scope.This sync mode is supported for - * entries. + * Dataplex Universal Catalog but isn't included in the metadata import file, + * the resource is deleted when you run the metadata job. Use this mode to + * perform a full sync of the set of entries in the job scope.This sync mode is + * supported for entries. * * Value: "FULL" */ @@ -1903,10 +1903,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleCloudDataplexV1Metad /** * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource is - * deleted when you run the metadata job. Use this mode to perform a full sync - * of the set of entries in the job scope.This sync mode is supported for - * entries. + * Dataplex Universal Catalog but isn't included in the metadata import file, + * the resource is deleted when you run the metadata job. Use this mode to + * perform a full sync of the set of entries in the job scope.This sync mode is + * supported for entries. * * Value: "FULL" */ @@ -3042,8 +3042,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplex_GoogleIamV1AuditLogConfig_ /** * Immutable. The IAM permission grantable on the EntryGroup to allow access to - * instantiate Aspects of Dataplex owned AspectTypes, only settable for - * Dataplex owned Types. + * instantiate Aspects of Dataplex Universal Catalog owned AspectTypes, only + * settable for Dataplex Universal Catalog owned Types. */ @property(nonatomic, copy, nullable) NSString *alternateUsePermission; @@ -4282,17 +4282,17 @@ GTLR_DEPRECATED /** Output only. The result of post scan actions. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultPostScanActionsResult *postScanActionsResult; -/** The profile information per field. */ +/** Output only. The profile information per field. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfile *profile; /** - * The count of rows scanned. + * Output only. The count of rows scanned. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *rowCount; -/** The data scanned for this result. */ +/** Output only. The data scanned for this result. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1ScannedData *scannedData; @end @@ -4341,7 +4341,10 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfile : GTLRObject -/** List of fields with structural and profile information for each field. */ +/** + * Output only. List of fields with structural and profile information for each + * field. + */ @property(nonatomic, strong, nullable) NSArray *fields; @end @@ -4353,23 +4356,23 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileField : GTLRObject /** - * The mode of the field. Possible values include: REQUIRED, if it is a - * required field. NULLABLE, if it is an optional field. REPEATED, if it is a - * repeated field. + * Output only. The mode of the field. Possible values include: REQUIRED, if it + * is a required field. NULLABLE, if it is an optional field. REPEATED, if it + * is a repeated field. */ @property(nonatomic, copy, nullable) NSString *mode; -/** The name of the field. */ +/** Output only. The name of the field. */ @property(nonatomic, copy, nullable) NSString *name; -/** Profile information for the corresponding field. */ +/** Output only. Profile information for the corresponding field. */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo *profile; /** - * The data type retrieved from the schema of the data source. For instance, - * for a BigQuery native table, it is the BigQuery Table Schema + * Output only. The data type retrieved from the schema of the data source. For + * instance, for a BigQuery native table, it is the BigQuery Table Schema * (https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#tablefieldschema). - * For a Dataplex Entity, it is the Entity Schema + * For a Dataplex Universal Catalog Entity, it is the Entity Schema * (https://cloud.google.com/dataplex/docs/reference/rpc/google.cloud.dataplex.v1#type_3). */ @property(nonatomic, copy, nullable) NSString *type; @@ -4383,9 +4386,9 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfo : GTLRObject /** - * Ratio of rows with distinct values against total scanned rows. Not available - * for complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, - * and JSON, as well as fields with REPEATABLE mode. + * Output only. Ratio of rows with distinct values against total scanned rows. + * Not available for complex non-groupable field type, including RECORD, ARRAY, + * GEOGRAPHY, and JSON, as well as fields with REPEATABLE mode. * * Uses NSNumber of doubleValue. */ @@ -4398,7 +4401,7 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo *integerProfile; /** - * Ratio of rows with null value against total scanned rows. + * Output only. Ratio of rows with null value against total scanned rows. * * Uses NSNumber of doubleValue. */ @@ -4408,11 +4411,11 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo *stringProfile; /** - * The list of top N non-null values, frequency and ratio with which they occur - * in the scanned data. N is 10 or equal to the number of distinct values in - * the field, whichever is smaller. Not available for complex non-groupable - * field type, including RECORD, ARRAY, GEOGRAPHY, and JSON, as well as fields - * with REPEATABLE mode. + * Output only. The list of top N non-null values, frequency and ratio with + * which they occur in the scanned data. N is 10 or equal to the number of + * distinct values in the field, whichever is smaller. Not available for + * complex non-groupable field type, including RECORD, ARRAY, GEOGRAPHY, and + * JSON, as well as fields with REPEATABLE mode. */ @property(nonatomic, strong, nullable) NSArray *topNValues; @@ -4425,34 +4428,37 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoDoubleFieldInfo : GTLRObject /** - * Average of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Average of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *average; /** - * Maximum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Maximum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *max; /** - * Minimum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Minimum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *min; /** - * A quartile divides the number of data points into four parts, or quarters, - * of more-or-less equal size. Three main quartiles used are: The first - * quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is - * also known as the lower or 25th empirical quartile, as 25% of the data is - * below this point. The second quartile (Q2) is the median of a data set. So, - * 50% of the data lies below this point. The third quartile (Q3) splits off - * the highest 25% of data from the lowest 75%. It is known as the upper or + * Output only. A quartile divides the number of data points into four parts, + * or quarters, of more-or-less equal size. Three main quartiles used are: The + * first quartile (Q1) splits off the lowest 25% of data from the highest 75%. + * It is also known as the lower or 25th empirical quartile, as 25% of the data + * is below this point. The second quartile (Q2) is the median of a data set. + * So, 50% of the data lies below this point. The third quartile (Q3) splits + * off the highest 25% of data from the lowest 75%. It is known as the upper or * 75th empirical quartile, as 75% of the data lies below this point. Here, the * quartiles is provided as an ordered list of quartile values for the scanned * data, occurring in order Q1, median, Q3. @@ -4462,8 +4468,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *quartiles; /** - * Standard deviation of non-null values in the scanned data. NaN, if the field - * has a NaN. + * Output only. Standard deviation of non-null values in the scanned data. NaN, + * if the field has a NaN. * * Uses NSNumber of doubleValue. */ @@ -4478,34 +4484,37 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoIntegerFieldInfo : GTLRObject /** - * Average of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Average of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *average; /** - * Maximum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Maximum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *max; /** - * Minimum of non-null values in the scanned data. NaN, if the field has a NaN. + * Output only. Minimum of non-null values in the scanned data. NaN, if the + * field has a NaN. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *min; /** - * A quartile divides the number of data points into four parts, or quarters, - * of more-or-less equal size. Three main quartiles used are: The first - * quartile (Q1) splits off the lowest 25% of data from the highest 75%. It is - * also known as the lower or 25th empirical quartile, as 25% of the data is - * below this point. The second quartile (Q2) is the median of a data set. So, - * 50% of the data lies below this point. The third quartile (Q3) splits off - * the highest 25% of data from the lowest 75%. It is known as the upper or + * Output only. A quartile divides the number of data points into four parts, + * or quarters, of more-or-less equal size. Three main quartiles used are: The + * first quartile (Q1) splits off the lowest 25% of data from the highest 75%. + * It is also known as the lower or 25th empirical quartile, as 25% of the data + * is below this point. The second quartile (Q2) is the median of a data set. + * So, 50% of the data lies below this point. The third quartile (Q3) splits + * off the highest 25% of data from the lowest 75%. It is known as the upper or * 75th empirical quartile, as 75% of the data lies below this point. Here, the * quartiles is provided as an ordered list of approximate quartile values for * the scanned data, occurring in order Q1, median, Q3. @@ -4515,8 +4524,8 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *quartiles; /** - * Standard deviation of non-null values in the scanned data. NaN, if the field - * has a NaN. + * Output only. Standard deviation of non-null values in the scanned data. NaN, + * if the field has a NaN. * * Uses NSNumber of doubleValue. */ @@ -4531,21 +4540,21 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoStringFieldInfo : GTLRObject /** - * Average length of non-null values in the scanned data. + * Output only. Average length of non-null values in the scanned data. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *averageLength; /** - * Maximum length of non-null values in the scanned data. + * Output only. Maximum length of non-null values in the scanned data. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maxLength; /** - * Minimum length of non-null values in the scanned data. + * Output only. Minimum length of non-null values in the scanned data. * * Uses NSNumber of longLongValue. */ @@ -4560,21 +4569,21 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataProfileResultProfileFieldProfileInfoTopNValue : GTLRObject /** - * Count of the corresponding value in the scanned data. + * Output only. Count of the corresponding value in the scanned data. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *count; /** - * Ratio of the corresponding value in the field against the total number of - * rows in the scanned data. + * Output only. Ratio of the corresponding value in the field against the total + * number of rows in the scanned data. * * Uses NSNumber of doubleValue. */ @property(nonatomic, strong, nullable) NSNumber *ratio; -/** String value of a top N non-null value. */ +/** Output only. String value of a top N non-null value. */ @property(nonatomic, copy, nullable) NSString *value; @end @@ -4603,9 +4612,8 @@ GTLR_DEPRECATED /** * Optional. A filter applied to all rows in a single DataScan job. The filter - * needs to be a valid SQL expression for a WHERE clause in GoogleSQL syntax - * (https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#where_clause).Example: - * col1 >= 0 AND col2 < 10 + * needs to be a valid SQL expression for a WHERE clause in BigQuery standard + * SQL syntax. Example: col1 >= 0 AND col2 < 10 */ @property(nonatomic, copy, nullable) NSString *rowFilter; @@ -4643,7 +4651,6 @@ GTLR_DEPRECATED /** * Optional. The BigQuery table to export DataProfileScan results to. Format: * //bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID - * or projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID */ @property(nonatomic, copy, nullable) NSString *resultsTable; @@ -4704,7 +4711,7 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityDimension : GTLRObject /** - * Optional. The dimension name a rule belongs to. Custom dimension name is + * Output only. The dimension name a rule belongs to. Custom dimension name is * supported with all uppercase letters and maximum length of 30 characters. */ @property(nonatomic, copy, nullable) NSString *name; @@ -4747,7 +4754,10 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualityResult : GTLRObject -/** Output only. The status of publishing the data scan to Catalog. */ +/** + * Output only. The status of publishing the data scan as Dataplex Universal + * Catalog metadata. + */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus *catalogPublishingStatus; /** @@ -5315,8 +5325,8 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataQualitySpec : GTLRObject /** - * Optional. If set, the latest DataScan job result will be published to - * Dataplex Catalog. + * Optional. If set, the latest DataScan job result will be published as + * Dataplex Universal Catalog metadata. * * Uses NSNumber of boolValue. */ @@ -5465,7 +5475,7 @@ GTLR_DEPRECATED * (https://cloud.google.com/dataplex/docs/data-profiling-overview). Data * discovery: scans data in Cloud Storage buckets to extract and then catalog * metadata. For more information, see Discover and catalog Cloud Storage data - * (https://cloud.google.com/bigquery/docs/automatic-discovery). LINT.IfChange + * (https://cloud.google.com/bigquery/docs/automatic-discovery). */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScan : GTLRObject @@ -5519,7 +5529,7 @@ GTLR_DEPRECATED * 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. + * refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *name; @@ -5582,7 +5592,8 @@ GTLR_DEPRECATED /** - * The status of publishing the data scan result to Catalog. + * The status of publishing the data scan result as Dataplex Universal Catalog + * metadata. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus : GTLRObject @@ -5608,7 +5619,10 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataScanEvent : GTLRObject -/** The status of publishing the data scan to Catalog. */ +/** + * The status of publishing the data scan as Dataplex Universal Catalog + * metadata. + */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1DataScanCatalogPublishingStatus *catalogPublishingStatus; /** The time when the data scan job was created. */ @@ -5987,7 +6001,7 @@ GTLR_DEPRECATED * 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. + * refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *name; @@ -6045,15 +6059,15 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1DataSource : GTLRObject /** - * Immutable. The Dataplex entity that represents the data source (e.g. - * BigQuery table) for DataScan, of the form: + * Immutable. The Dataplex Universal Catalog entity that represents the data + * source (e.g. BigQuery table) for DataScan, of the form: * projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}. */ @property(nonatomic, copy, nullable) NSString *entity; /** * Immutable. The service-qualified full resource name of the cloud resource - * for a DataScan job to scan against. The field could eitherbe: Cloud Storage + * for a DataScan job to scan against. The field could either be: Cloud Storage * bucket for DataDiscoveryScan Format: * //storage.googleapis.com/projects/PROJECT_ID/buckets/BUCKET_ID or BigQuery * table of type "TABLE" for DataProfileScan/DataQualityScan Format: @@ -6625,7 +6639,10 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRCloudDataplex_GoogleCloudDataplexV1Entry_Aspects *aspects; -/** Output only. The time when the entry was created in Dataplex. */ +/** + * Output only. The time when the entry was created in Dataplex Universal + * Catalog. + */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** @@ -6661,7 +6678,10 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *parentEntry; -/** Output only. The time when the entry was last updated in Dataplex. */ +/** + * Output only. The time when the entry was last updated in Dataplex Universal + * Catalog. + */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end @@ -6774,8 +6794,12 @@ GTLR_DEPRECATED /** * Required. Immutable. Relative resource name of the Entry Link Type used to - * create this Entry Link, of the form: - * `projects/{project_id_or_number}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}. + * create this Entry Link. For example: Entry link between synonym terms in a + * glossary: projects/dataplex-types/locations/global/entryLinkTypes/synonym + * Entry link between related terms in a glossary: + * projects/dataplex-types/locations/global/entryLinkTypes/related Entry link + * between glossary terms and data assets: + * projects/dataplex-types/locations/global/entryLinkTypes/definition */ @property(nonatomic, copy, nullable) NSString *entryLinkType; @@ -7052,8 +7076,8 @@ GTLR_DEPRECATED /** * Immutable. The IAM permission grantable on the Entry Group to allow access - * to instantiate Entries of Dataplex owned Entry Types, only settable for - * Dataplex owned Types. + * to instantiate Entries of Dataplex Universal Catalog owned Entry Types, only + * settable for Dataplex Universal Catalog owned Types. */ @property(nonatomic, copy, nullable) NSString *alternateUsePermission; @@ -7212,7 +7236,7 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1EnvironmentInfrastructureSpecOsImageRuntime : GTLRObject -/** Required. Dataplex Image version. */ +/** Required. Dataplex Universal Catalog Image version. */ @property(nonatomic, copy, nullable) NSString *imageVersion; /** @@ -7308,8 +7332,8 @@ GTLR_DEPRECATED @interface GTLRCloudDataplex_GoogleCloudDataplexV1GenerateDataQualityRulesResponse : GTLRObject /** - * The data quality rules that Dataplex generates based on the results of a - * data profiling scan. + * The data quality rules that Dataplex Universal Catalog generates based on + * the results of a data profiling scan. */ @property(nonatomic, strong, nullable) NSArray *rule; @@ -7318,8 +7342,9 @@ GTLR_DEPRECATED /** * A Glossary represents a collection of GlossaryCategories and GlossaryTerms - * defined by the user. Glossary is a top level resource and is the GCP parent - * resource of all the GlossaryCategories and GlossaryTerms within it. + * defined by the user. Glossary is a top level resource and is the Google + * Cloud parent resource of all the GlossaryCategories and GlossaryTerms within + * it. */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1Glossary : GTLRObject @@ -7642,7 +7667,8 @@ GTLR_DEPRECATED * {project_id_or_number}.{location_id}.{aspect_type_id}.In FULL entry sync * mode, if you leave this field empty, it is treated as specifying exactly * those aspects that are present within the specified entry. Dataplex - * implicitly adds the keys for all of the required aspects of an entry. + * Universal Catalog implicitly adds the keys for all of the required aspects + * of an entry. */ @property(nonatomic, strong, nullable) NSArray *aspectKeys; @@ -7658,14 +7684,15 @@ GTLR_DEPRECATED /** * The fields to update, in paths that are relative to the Entry resource. - * Separate each field with a comma.In FULL entry sync mode, Dataplex includes - * the paths of all of the fields for an entry that can be modified, including - * aspects. This means that Dataplex replaces the existing entry with the entry - * in the metadata import file. All modifiable fields are updated, regardless - * of the fields that are listed in the update mask, and regardless of whether - * a field is present in the entry object.The update_mask field is ignored when - * an entry is created or re-created.In an aspect-only metadata job (when entry - * sync mode is NONE), set this value to aspects.Dataplex also determines which + * Separate each field with a comma.In FULL entry sync mode, Dataplex Universal + * Catalog includes the paths of all of the fields for an entry that can be + * modified, including aspects. This means that Dataplex Universal Catalog + * replaces the existing entry with the entry in the metadata import file. All + * modifiable fields are updated, regardless of the fields that are listed in + * the update mask, and regardless of whether a field is present in the entry + * object.The update_mask field is ignored when an entry is created or + * re-created.In an aspect-only metadata job (when entry sync mode is NONE), + * set this value to aspects.Dataplex Universal Catalog also determines which * entries and aspects to modify by comparing the values and timestamps that * you provide in the metadata import file with the values and timestamps that * exist in your project. For more information, see Comparison logic @@ -7735,7 +7762,8 @@ GTLR_DEPRECATED * * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_State_Aborted The job - * was cancelled outside of Dataplex. (Value: "ABORTED") + * was cancelled outside of Dataplex Universal Catalog. (Value: + * "ABORTED") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_State_Cancelled The * job cancellation was successful. (Value: "CANCELLED") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_State_Cancelling The @@ -7759,8 +7787,8 @@ GTLR_DEPRECATED * job was triggered by the explicit call of Task API. (Value: * "RUN_REQUEST") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_Trigger_TaskConfig The - * job was triggered by Dataplex based on trigger spec from task - * definition. (Value: "TASK_CONFIG") + * job was triggered by Dataplex Universal Catalog based on trigger spec + * from task definition. (Value: "TASK_CONFIG") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1Job_Trigger_TriggerUnspecified * The trigger is unspecified. (Value: "TRIGGER_UNSPECIFIED") */ @@ -7804,8 +7832,8 @@ GTLR_DEPRECATED * The job was triggered by the explicit call of Task API. (Value: * "RUN_REQUEST") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1JobEvent_ExecutionTrigger_TaskConfig - * The job was triggered by Dataplex based on trigger spec from task - * definition. (Value: "TASK_CONFIG") + * The job was triggered by Dataplex Universal Catalog based on trigger + * spec from task definition. (Value: "TASK_CONFIG") */ @property(nonatomic, copy, nullable) NSString *executionTrigger; @@ -8835,10 +8863,10 @@ GTLR_DEPRECATED * Required. The root path of the Cloud Storage bucket to export the metadata * to, in the format gs://{bucket}/. You can optionally specify a custom prefix * after the bucket name, in the format gs://{bucket}/{prefix}/. The maximum - * length of the custom prefix is 128 characters. Dataplex constructs the - * object path for the exported files by using the bucket name and prefix that - * you provide, followed by a system-generated path.The bucket must be in the - * same VPC Service Controls perimeter as the job. + * length of the custom prefix is 128 characters. Dataplex Universal Catalog + * constructs the object path for the exported files by using the bucket name + * and prefix that you provide, followed by a system-generated path.The bucket + * must be in the same VPC Service Controls perimeter as the job. */ @property(nonatomic, copy, nullable) NSString *outputPath; @@ -8991,10 +9019,10 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_AspectSyncMode_Full * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource - * is deleted when you run the metadata job. Use this mode to perform a - * full sync of the set of entries in the job scope.This sync mode is - * supported for entries. (Value: "FULL") + * Dataplex Universal Catalog but isn't included in the metadata import + * file, the resource is deleted when you run the metadata job. Use this + * mode to perform a full sync of the set of entries in the job + * scope.This sync mode is supported for entries. (Value: "FULL") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_AspectSyncMode_Incremental * Only the resources that are explicitly included in the metadata import * file are modified. Use this mode to modify a subset of resources while @@ -9016,10 +9044,10 @@ GTLR_DEPRECATED * Likely values: * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_EntrySyncMode_Full * All resources in the job's scope are modified. If a resource exists in - * Dataplex but isn't included in the metadata import file, the resource - * is deleted when you run the metadata job. Use this mode to perform a - * full sync of the set of entries in the job scope.This sync mode is - * supported for entries. (Value: "FULL") + * Dataplex Universal Catalog but isn't included in the metadata import + * file, the resource is deleted when you run the metadata job. Use this + * mode to perform a full sync of the set of entries in the job + * scope.This sync mode is supported for entries. (Value: "FULL") * @arg @c kGTLRCloudDataplex_GoogleCloudDataplexV1MetadataJobImportJobSpec_EntrySyncMode_Incremental * Only the resources that are explicitly included in the metadata import * file are modified. Use this mode to modify a subset of resources while @@ -9422,16 +9450,16 @@ GTLR_DEPRECATED */ @interface GTLRCloudDataplex_GoogleCloudDataplexV1ScannedDataIncrementalField : GTLRObject -/** Value that marks the end of the range. */ +/** Output only. Value that marks the end of the range. */ @property(nonatomic, copy, nullable) NSString *end; /** - * The field that contains values which monotonically increases over time (e.g. - * a timestamp column). + * Output only. The field that contains values which monotonically increases + * over time (e.g. a timestamp column). */ @property(nonatomic, copy, nullable) NSString *field; -/** Value that marks the start of the range. */ +/** Output only. Value that marks the start of the range. */ @property(nonatomic, copy, nullable) NSString *start; @end @@ -9470,14 +9498,16 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *partitionStyle; /** - * Required. Set to true if user-managed or false if managed by Dataplex. The - * default is false (managed by Dataplex). Set to falseto enable Dataplex - * discovery to update the schema. including new data discovery, schema - * inference, and schema evolution. Users retain the ability to input and edit - * the schema. Dataplex treats schema input by the user as though produced by a - * previous Dataplex discovery operation, and it will evolve the schema and - * take action based on that treatment. Set to true to fully manage the entity - * schema. This setting guarantees that Dataplex will not change schema fields. + * Required. Set to true if user-managed or false if managed by Dataplex + * Universal Catalog. The default is false (managed by Dataplex Universal + * Catalog). Set to falseto enable Dataplex Universal Catalog discovery to + * update the schema. including new data discovery, schema inference, and + * schema evolution. Users retain the ability to input and edit the schema. + * Dataplex Universal Catalog treats schema input by the user as though + * produced by a previous Dataplex Universal Catalog discovery operation, and + * it will evolve the schema and take action based on that treatment. Set to + * true to fully manage the entity schema. This setting guarantees that + * Dataplex Universal Catalog will not change schema fields. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h index 180e91c4e..4fb49a09e 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexQuery.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs @@ -553,12 +553,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; * Lists operations that match the specified filter in the request. If the * server doesn't support this method, it returns UNIMPLEMENTED. * - * Method: dataplex.organizations.locations.operations.listOperations + * Method: dataplex.organizations.locations.operations.list * * Authorization scope(s): * @c kGTLRAuthScopeCloudDataplexCloudPlatform */ -@interface GTLRCloudDataplexQuery_OrganizationsLocationsOperationsListOperations : GTLRCloudDataplexQuery +@interface GTLRCloudDataplexQuery_OrganizationsLocationsOperationsList : GTLRCloudDataplexQuery /** The standard list filter. */ @property(nonatomic, copy, nullable) NSString *filter; @@ -580,7 +580,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudDataplexViewTables; * * @param name The name of the operation's parent resource. * - * @return GTLRCloudDataplexQuery_OrganizationsLocationsOperationsListOperations + * @return GTLRCloudDataplexQuery_OrganizationsLocationsOperationsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more @@ -1316,6 +1316,274 @@ GTLR_DEPRECATED @end +/** + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * Method: dataplex.projects.locations.dataProducts.dataAssets.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDataplexCloudPlatform + */ +@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy : GTLRCloudDataplexQuery + +/** + * Optional. The maximum policy version that will be used to format the + * policy.Valid values are 0, 1, and 3. Requests specifying an invalid value + * will be rejected.Requests for policies with any conditional role bindings + * must specify version 3. Policies with no conditional role bindings may + * specify any valid value or leave the field unset.The policy in the response + * might use the policy version that you specified, or it might use a lower + * policy version. For example, if you specify version 3, but the policy has no + * conditional role bindings, the response uses version 1.To learn which + * resources support conditions in their IAM policies, see the IAM + * documentation + * (https://cloud.google.com/iam/help/conditions/resource-policies). + */ +@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; + +/** + * REQUIRED: The resource for which the policy is being requested. See Resource + * names (https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRCloudDataplex_GoogleIamV1Policy. + * + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * @param resource REQUIRED: The resource for which the policy is being + * requested. See Resource names + * (https://cloud.google.com/apis/design/resource_names) for the appropriate + * value for this field. + * + * @return GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Sets the access control policy on the specified resource. Replaces any + * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and + * PERMISSION_DENIED errors. + * + * Method: dataplex.projects.locations.dataProducts.dataAssets.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDataplexCloudPlatform + */ +@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsSetIamPolicy : GTLRCloudDataplexQuery + +/** + * 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 GTLRCloudDataplex_GoogleIamV1Policy. + * + * 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 GTLRCloudDataplex_GoogleIamV1SetIamPolicyRequest 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 GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1SetIamPolicyRequest *)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: dataplex.projects.locations.dataProducts.dataAssets.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDataplexCloudPlatform + */ +@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsTestIamPermissions : GTLRCloudDataplexQuery + +/** + * 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 GTLRCloudDataplex_GoogleIamV1TestIamPermissionsResponse. + * + * 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 GTLRCloudDataplex_GoogleIamV1TestIamPermissionsRequest + * 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 GTLRCloudDataplexQuery_ProjectsLocationsDataProductsDataAssetsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1TestIamPermissionsRequest *)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: dataplex.projects.locations.dataProducts.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDataplexCloudPlatform + */ +@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy : GTLRCloudDataplexQuery + +/** + * Optional. The maximum policy version that will be used to format the + * policy.Valid values are 0, 1, and 3. Requests specifying an invalid value + * will be rejected.Requests for policies with any conditional role bindings + * must specify version 3. Policies with no conditional role bindings may + * specify any valid value or leave the field unset.The policy in the response + * might use the policy version that you specified, or it might use a lower + * policy version. For example, if you specify version 3, but the policy has no + * conditional role bindings, the response uses version 1.To learn which + * resources support conditions in their IAM policies, see the IAM + * documentation + * (https://cloud.google.com/iam/help/conditions/resource-policies). + */ +@property(nonatomic, assign) NSInteger optionsRequestedPolicyVersion; + +/** + * REQUIRED: The resource for which the policy is being requested. See Resource + * names (https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + */ +@property(nonatomic, copy, nullable) NSString *resource; + +/** + * Fetches a @c GTLRCloudDataplex_GoogleIamV1Policy. + * + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * @param resource REQUIRED: The resource for which the policy is being + * requested. See Resource names + * (https://cloud.google.com/apis/design/resource_names) for the appropriate + * value for this field. + * + * @return GTLRCloudDataplexQuery_ProjectsLocationsDataProductsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Sets the access control policy on the specified resource. Replaces any + * existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and + * PERMISSION_DENIED errors. + * + * Method: dataplex.projects.locations.dataProducts.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDataplexCloudPlatform + */ +@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsSetIamPolicy : GTLRCloudDataplexQuery + +/** + * 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 GTLRCloudDataplex_GoogleIamV1Policy. + * + * 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 GTLRCloudDataplex_GoogleIamV1SetIamPolicyRequest 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 GTLRCloudDataplexQuery_ProjectsLocationsDataProductsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1SetIamPolicyRequest *)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: dataplex.projects.locations.dataProducts.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudDataplexCloudPlatform + */ +@interface GTLRCloudDataplexQuery_ProjectsLocationsDataProductsTestIamPermissions : GTLRCloudDataplexQuery + +/** + * 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 GTLRCloudDataplex_GoogleIamV1TestIamPermissionsResponse. + * + * 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 GTLRCloudDataplex_GoogleIamV1TestIamPermissionsRequest + * 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 GTLRCloudDataplexQuery_ProjectsLocationsDataProductsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRCloudDataplex_GoogleIamV1TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Creates a DataScan resource. * @@ -1337,7 +1605,8 @@ GTLR_DEPRECATED /** * Required. The resource name of the parent location: * projects/{project}/locations/{location_id} where project refers to a - * project_id or project_number and location_id refers to a GCP region. + * project_id or project_number and location_id refers to a Google Cloud + * region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1356,7 +1625,8 @@ GTLR_DEPRECATED * include in the query. * @param parent Required. The resource name of the parent location: * projects/{project}/locations/{location_id} where project refers to a - * project_id or project_number and location_id refers to a GCP region. + * project_id or project_number and location_id refers to a Google Cloud + * region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansCreate */ @@ -1386,7 +1656,7 @@ GTLR_DEPRECATED * Required. The resource name of the dataScan: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where * project refers to a project_id or project_number and location_id refers to a - * GCP region. + * Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1398,7 +1668,7 @@ GTLR_DEPRECATED * @param name Required. The resource name of the dataScan: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where * project refers to a project_id or project_number and location_id refers to - * a GCP region. + * a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansDelete */ @@ -1463,7 +1733,7 @@ GTLR_DEPRECATED * Required. The resource name of the dataScan: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where * project refers to a project_id or project_number and location_id refers to a - * GCP region. + * Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1487,7 +1757,7 @@ GTLR_DEPRECATED * @param name Required. The resource name of the dataScan: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where * project refers to a project_id or project_number and location_id refers to - * a GCP region. + * a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansGet */ @@ -1602,7 +1872,7 @@ GTLR_DEPRECATED * Required. The resource name of the DataScanJob: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} * where project refers to a project_id or project_number and location_id - * refers to a GCP region. + * refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1626,7 +1896,7 @@ GTLR_DEPRECATED * @param name Required. The resource name of the DataScanJob: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} * where project refers to a project_id or project_number and location_id - * refers to a GCP region. + * refers to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansJobsGet */ @@ -1677,7 +1947,7 @@ GTLR_DEPRECATED * Required. The resource name of the parent environment: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where * project refers to a project_id or project_number and location_id refers to a - * GCP region. + * Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1690,7 +1960,7 @@ GTLR_DEPRECATED * @param parent Required. The resource name of the parent environment: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id} where * project refers to a project_id or project_number and location_id refers to - * a GCP region. + * a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansJobsList * @@ -1738,7 +2008,8 @@ GTLR_DEPRECATED /** * Required. The resource name of the parent location: * projects/{project}/locations/{location_id} where project refers to a - * project_id or project_number and location_id refers to a GCP region. + * project_id or project_number and location_id refers to a Google Cloud + * region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1749,7 +2020,8 @@ GTLR_DEPRECATED * * @param parent Required. The resource name of the parent location: * projects/{project}/locations/{location_id} where project refers to a - * project_id or project_number and location_id refers to a GCP region. + * project_id or project_number and location_id refers to a Google Cloud + * region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansList * @@ -1775,7 +2047,7 @@ GTLR_DEPRECATED * 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. + * refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1803,7 +2075,7 @@ GTLR_DEPRECATED * 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. + * a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansPatch */ @@ -1826,7 +2098,7 @@ GTLR_DEPRECATED * Required. The resource name of the DataScan: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where * project refers to a project_id or project_number and location_id refers to a - * GCP region.Only OnDemand data scans are allowed. + * Google Cloud region.Only OnDemand data scans are allowed. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1841,7 +2113,7 @@ GTLR_DEPRECATED * @param name Required. The resource name of the DataScan: * projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where * project refers to a project_id or project_number and location_id refers to - * a GCP region.Only OnDemand data scans are allowed. + * a Google Cloud region.Only OnDemand data scans are allowed. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataScansRun */ @@ -2484,7 +2756,7 @@ GTLR_DEPRECATED /** * Required. The resource name of the DataTaxonomy location, of the form: * projects/{project_number}/locations/{location_id} where location_id refers - * to a GCP region. + * to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2496,7 +2768,7 @@ GTLR_DEPRECATED * * @param parent Required. The resource name of the DataTaxonomy location, of * the form: projects/{project_number}/locations/{location_id} where - * location_id refers to a GCP region. + * location_id refers to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsDataTaxonomiesList * @@ -2656,7 +2928,7 @@ GTLR_DEPRECATED /** * Required. The resource name of the entryGroup, of the form: * projects/{project_number}/locations/{location_id} where location_id refers - * to a GCP region. + * to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2675,7 +2947,7 @@ GTLR_DEPRECATED * include in the query. * @param parent Required. The resource name of the entryGroup, of the form: * projects/{project_number}/locations/{location_id} where location_id refers - * to a GCP region. + * to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsEntryGroupsCreate */ @@ -3897,7 +4169,7 @@ GTLR_DEPRECATED * Required. The parent resource where this GlossaryCategory will be created. * Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * where locationId refers to a GCP region. + * where locationId refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -3911,7 +4183,7 @@ GTLR_DEPRECATED * @param parent Required. The parent resource where this GlossaryCategory will * be created. Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * where locationId refers to a GCP region. + * where locationId refers to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesCreate */ @@ -4083,7 +4355,7 @@ GTLR_DEPRECATED * Required. The parent, which has this collection of GlossaryCategories. * Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * Location is the GCP region. + * Location is the Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4096,7 +4368,7 @@ GTLR_DEPRECATED * @param parent Required. The parent, which has this collection of * GlossaryCategories. Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * Location is the GCP region. + * Location is the Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCategoriesList * @@ -4249,7 +4521,7 @@ GTLR_DEPRECATED /** * Required. The parent resource where this Glossary will be created. Format: * projects/{project_id_or_number}/locations/{location_id} where location_id - * refers to a GCP region. + * refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4268,7 +4540,7 @@ GTLR_DEPRECATED * include in the query. * @param parent Required. The parent resource where this Glossary will be * created. Format: projects/{project_id_or_number}/locations/{location_id} - * where location_id refers to a GCP region. + * where location_id refers to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesCreate */ @@ -4439,7 +4711,7 @@ GTLR_DEPRECATED /** * Required. The parent, which has this collection of Glossaries. Format: * projects/{project_id_or_number}/locations/{location_id} where location_id - * refers to a GCP region. + * refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4450,7 +4722,7 @@ GTLR_DEPRECATED * * @param parent Required. The parent, which has this collection of Glossaries. * Format: projects/{project_id_or_number}/locations/{location_id} where - * location_id refers to a GCP region. + * location_id refers to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesList * @@ -4563,7 +4835,7 @@ GTLR_DEPRECATED * Required. The parent resource where the GlossaryTerm will be created. * Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * where location_id refers to a GCP region. + * where location_id refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4580,7 +4852,7 @@ GTLR_DEPRECATED * @param parent Required. The parent resource where the GlossaryTerm will be * created. Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * where location_id refers to a GCP region. + * where location_id refers to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsCreate */ @@ -4747,7 +5019,7 @@ GTLR_DEPRECATED /** * Required. The parent, which has this collection of GlossaryTerms. Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * where location_id refers to a GCP region. + * where location_id refers to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -4760,7 +5032,7 @@ GTLR_DEPRECATED * @param parent Required. The parent, which has this collection of * GlossaryTerms. Format: * projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id} - * where location_id refers to a GCP region. + * where location_id refers to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsGlossariesTermsList * @@ -5858,7 +6130,7 @@ GTLR_DEPRECATED /** * Required. The resource name of the lake location, of the form: * projects/{project_number}/locations/{location_id} where location_id refers - * to a GCP region. + * to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -5877,7 +6149,7 @@ GTLR_DEPRECATED * in the query. * @param parent Required. The resource name of the lake location, of the form: * projects/{project_number}/locations/{location_id} where location_id refers - * to a GCP region. + * to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsLakesCreate */ @@ -6437,7 +6709,7 @@ GTLR_DEPRECATED /** * Required. The resource name of the lake location, of the form: * projects/{project_number}/locations/{location_id} where location_id refers - * to a GCP region. + * to a Google Cloud region. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -6448,7 +6720,7 @@ GTLR_DEPRECATED * * @param parent Required. The resource name of the lake location, of the form: * projects/{project_number}/locations/{location_id} where location_id refers - * to a GCP region. + * to a Google Cloud region. * * @return GTLRCloudDataplexQuery_ProjectsLocationsLakesList * @@ -8428,8 +8700,8 @@ GTLR_DEPRECATED @end /** - * Creates a metadata job. For example, use a metadata job to import Dataplex - * Catalog entries and aspects from a third-party system into Dataplex. + * Creates a metadata job. For example, use a metadata job to import metadata + * from a third-party system into Dataplex Universal Catalog. * * Method: dataplex.projects.locations.metadataJobs.create * @@ -8459,8 +8731,8 @@ GTLR_DEPRECATED /** * Fetches a @c GTLRCloudDataplex_GoogleLongrunningOperation. * - * Creates a metadata job. For example, use a metadata job to import Dataplex - * Catalog entries and aspects from a third-party system into Dataplex. + * Creates a metadata job. For example, use a metadata job to import metadata + * from a third-party system into Dataplex Universal Catalog. * * @param object The @c GTLRCloudDataplex_GoogleCloudDataplexV1MetadataJob to * include in the query. @@ -8753,7 +9025,7 @@ GTLR_DEPRECATED /** * Required. The query against which entries in scope should be matched. The - * query syntax is defined in Search syntax for Dataplex Catalog + * query syntax is defined in Search syntax for Dataplex Universal Catalog * (https://cloud.google.com/dataplex/docs/search-syntax). */ @property(nonatomic, copy, nullable) NSString *query; diff --git a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h index cec90d5b3..5203bcee9 100644 --- a/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h +++ b/Sources/GeneratedServices/CloudDataplex/Public/GoogleAPIClientForREST/GTLRCloudDataplexService.h @@ -4,7 +4,7 @@ // API: // Cloud Dataplex API (dataplex/v1) // Description: -// Dataplex API is used to manage the lifecycle of data lakes. +// A unified, intelligent governance solution for data and AI assets. // Documentation: // https://cloud.google.com/dataplex/docs @@ -39,7 +39,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeCloudDataplexCloudPlatform; /** * Service for executing Cloud Dataplex API queries. * - * Dataplex API is used to manage the lifecycle of data lakes. + * A unified, intelligent governance solution for data and AI assets. */ @interface GTLRCloudDataplexService : GTLRService diff --git a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m index 00496cb92..8a601d36b 100644 --- a/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m +++ b/Sources/GeneratedServices/CloudFilestore/GTLRCloudFilestoreObjects.m @@ -108,6 +108,7 @@ // GTLRCloudFilestore_ReplicaConfig.state NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creating = @"CREATING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed = @"FAILED"; +NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Promoting = @"PROMOTING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Ready = @"READY"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Removing = @"REMOVING"; NSString * const kGTLRCloudFilestore_ReplicaConfig_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -883,7 +884,7 @@ @implementation GTLRCloudFilestore_PromoteReplicaRequest // @implementation GTLRCloudFilestore_ReplicaConfig -@dynamic lastActiveSyncTime, peerInstance, state, stateReasons; +@dynamic lastActiveSyncTime, peerInstance, state, stateReasons, stateUpdateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h index b8003629b..d50628471 100644 --- a/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h +++ b/Sources/GeneratedServices/CloudFilestore/Public/GoogleAPIClientForREST/GTLRCloudFilestoreObjects.h @@ -558,6 +558,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Creat * Value: "FAILED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Failed; +/** + * The replica is being promoted. + * + * Value: "PROMOTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_ReplicaConfig_State_Promoting; /** * The replica is ready. * @@ -2509,6 +2515,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week * experiencing an issue and might be unusable. You can get further * details from the `stateReasons` field of the `ReplicaConfig` object. * (Value: "FAILED") + * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Promoting The replica is + * being promoted. (Value: "PROMOTING") * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Ready The replica is * ready. (Value: "READY") * @arg @c kGTLRCloudFilestore_ReplicaConfig_State_Removing The replica is @@ -2524,6 +2532,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudFilestore_UpdatePolicy_Channel_Week */ @property(nonatomic, strong, nullable) NSArray *stateReasons; +/** Output only. The time when the replica state was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *stateUpdateTime; + @end diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m index 77114f2e7..875041d2e 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareObjects.m @@ -846,16 +846,27 @@ @implementation GTLRCloudHealthcare_DicomFilterConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudHealthcare_DicomNotificationConfig +// + +@implementation GTLRCloudHealthcare_DicomNotificationConfig +@dynamic pubsubTopic; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudHealthcare_DicomStore // @implementation GTLRCloudHealthcare_DicomStore -@dynamic labels, name, notificationConfig, streamConfigs; +@dynamic labels, name, notificationConfig, notificationConfigs, streamConfigs; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"notificationConfigs" : [GTLRCloudHealthcare_DicomNotificationConfig class], @"streamConfigs" : [GTLRCloudHealthcare_GoogleCloudHealthcareV1DicomStreamConfig class] }; return map; diff --git a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m index 48cfbf689..974ddc6b5 100644 --- a/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m +++ b/Sources/GeneratedServices/CloudHealthcare/GTLRCloudHealthcareQuery.m @@ -1623,6 +1623,29 @@ + (instancetype)queryWithParent:(NSString *)parent @end +@implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataRetrieveBulkdata + +@dynamic dicomWebPath, parent; + ++ (instancetype)queryWithParent:(NSString *)parent + dicomWebPath:(NSString *)dicomWebPath { + NSArray *pathParams = @[ + @"dicomWebPath", @"parent" + ]; + NSString *pathURITemplate = @"v1/{+parent}/dicomWeb/{+dicomWebPath}"; + GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataRetrieveBulkdata *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.dicomWebPath = dicomWebPath; + query.expectedObjectClass = [GTLRCloudHealthcare_HttpBody class]; + query.loggingName = @"healthcare.projects.locations.datasets.dicomStores.studies.series.instances.bulkdata.retrieveBulkdata"; + return query; +} + +@end + @implementation GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesDelete @dynamic dicomWebPath, parent; diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h index 0623a7da5..9ca26af80 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareObjects.h @@ -46,6 +46,7 @@ @class GTLRCloudHealthcare_DeidentifyConfig; @class GTLRCloudHealthcare_DicomConfig; @class GTLRCloudHealthcare_DicomFilterConfig; +@class GTLRCloudHealthcare_DicomNotificationConfig; @class GTLRCloudHealthcare_DicomStore; @class GTLRCloudHealthcare_DicomStore_Labels; @class GTLRCloudHealthcare_EncryptionSpec; @@ -181,8 +182,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_AccessDeterminationLogCo * 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. + * used for enforcement * Policy type (`PATIENT` or `ADMIN`) Due to the limited + * space for logging, this mode is the same as `MINIMUM` for methods that + * return multiple resources (such as FHIR Search). * * Value: "VERBOSE" */ @@ -1204,8 +1206,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; * 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") + * (`PATIENT` or `ADMIN`) Due to the limited space for logging, this mode + * is the same as `MINIMUM` for methods that return multiple resources + * (such as FHIR Search). (Value: "VERBOSE") */ @property(nonatomic, copy, nullable) NSString *logLevel; @@ -2748,6 +2751,49 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; @end +/** + * Contains the configuration for DICOM notifications. + */ +@interface GTLRCloudHealthcare_DicomNotificationConfig : GTLRObject + +/** + * Required. The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that + * notifications of changes are published on. Supplied by the client. The + * notification is a `PubsubMessage` with the following fields: * + * `PubsubMessage.Data` contains the resource name. * `PubsubMessage.MessageId` + * is the ID of this notification. It is guaranteed to be unique within the + * topic. * `PubsubMessage.PublishTime` is the time when the message was + * published. * `PubsubMessage.Attributes` contains the following attributes: * + * `action`: The name of the endpoint that generated the notification. Possible + * values are `StoreInstances`, `SetBlobSettings`, `ImportDicomData`, etc. * + * `lastUpdatedTime`: The latest timestamp when the DICOM instance was updated. + * * `storeName`: The resource name of the DICOM store, of the form + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. + * * `studyInstanceUID`: The study UID of the DICOM instance that was changed. + * * `seriesInstanceUID`: The series UID of the DICOM instance that was + * changed. * `sopInstanceUID`: The instance UID of the DICOM instance that was + * changed. * `versionId`: The version ID of the DICOM instance that was + * changed. * `modality`: The modality tag of the DICOM instance that was + * changed. * `previousStorageClass`: The storage class where the DICOM + * instance was previously stored if the storage class was changed. * + * `storageClass`: The storage class where the DICOM instance is currently + * stored. Note that notifications are only sent if the topic is non-empty. + * [Topic names](https://cloud.google.com/pubsub/docs/overview#names) must be + * scoped to a project. The Cloud Healthcare API service account, + * service-\@gcp-sa-healthcare.iam.gserviceaccount.com, must have the + * `pubsub.topics.publish` permission (which is typically included in + * `roles/pubsub.publisher` role) on the given Pub/Sub topic. Not having + * adequate permissions causes the calls that send notifications to fail + * (https://cloud.google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). + * If a notification can't be published to Pub/Sub, errors are logged to Cloud + * Logging. For more information, see [Viewing error logs in Cloud + * Logging](https://cloud.google.com/healthcare-api/docs/how-tos/logging). + */ +@property(nonatomic, copy, nullable) NSString *pubsubTopic; + +@end + + /** * Represents a DICOM store. */ @@ -2777,6 +2823,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcare_Type_Primitive_Varies; */ @property(nonatomic, strong, nullable) GTLRCloudHealthcare_NotificationConfig *notificationConfig; +/** + * Optional. Specifies where and whether to send notifications upon changes to + * a DICOM store. + */ +@property(nonatomic, strong, nullable) NSArray *notificationConfigs; + /** * Optional. A list of streaming configs used to configure the destination of * streaming exports for every DICOM instance insertion in this DICOM store. diff --git a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h index 78c3427dc..7ecc5657b 100644 --- a/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h +++ b/Sources/GeneratedServices/CloudHealthcare/Public/GoogleAPIClientForREST/GTLRCloudHealthcareQuery.h @@ -2860,7 +2860,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * RetrieveStudyMetadata returns instance associated with the given study - * presented as metadata with the bulk data removed. See [RetrieveTransaction] + * presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveStudyMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -2892,7 +2892,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * RetrieveStudyMetadata returns instance associated with the given study - * presented as metadata with the bulk data removed. See [RetrieveTransaction] + * presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveStudyMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3133,6 +3133,62 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; @end +/** + * Returns uncompressed, unencoded bytes representing the referenced bulkdata + * tag from an instance. See [Retrieve + * Transaction](http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). + * For details on the implementation of RetrieveBulkdata, see [Bulkdata + * resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) + * in the Cloud Healthcare API conformance statement. For samples that show how + * to call RetrieveBulkdata, see [Retrieve + * bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata). + * + * Method: healthcare.projects.locations.datasets.dicomStores.studies.series.instances.bulkdata.retrieveBulkdata + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudHealthcareCloudHealthcare + * @c kGTLRAuthScopeCloudHealthcareCloudPlatform + */ +@interface GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataRetrieveBulkdata : GTLRCloudHealthcareQuery + +/** + * Required. The path for the `RetrieveBulkdata` DICOMweb request. For example, + * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}`. + */ +@property(nonatomic, copy, nullable) NSString *dicomWebPath; + +/** + * Required. The name of the DICOM store that is being accessed. For example, + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRCloudHealthcare_HttpBody. + * + * Returns uncompressed, unencoded bytes representing the referenced bulkdata + * tag from an instance. See [Retrieve + * Transaction](http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). + * For details on the implementation of RetrieveBulkdata, see [Bulkdata + * resources](https://cloud.google.com/healthcare/docs/dicom#bulkdata-resources) + * in the Cloud Healthcare API conformance statement. For samples that show how + * to call RetrieveBulkdata, see [Retrieve + * bulkdata](https://cloud.google.com/healthcare/docs/how-tos/dicomweb#retrieve-bulkdata). + * + * @param parent Required. The name of the DICOM store that is being accessed. + * For example, + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. + * @param dicomWebPath Required. The path for the `RetrieveBulkdata` DICOMweb + * request. For example, + * `studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}`. + * + * @return GTLRCloudHealthcareQuery_ProjectsLocationsDatasetsDicomStoresStudiesSeriesInstancesBulkdataRetrieveBulkdata + */ ++ (instancetype)queryWithParent:(NSString *)parent + dicomWebPath:(NSString *)dicomWebPath; + +@end + /** * DeleteInstance deletes an instance associated with the given study, series, * and SOP Instance UID. Delete requests are equivalent to the GET requests @@ -3370,8 +3426,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * RetrieveInstanceMetadata returns instance associated with the given study, - * series, and SOP Instance UID presented as metadata with the bulk data - * removed. See [RetrieveTransaction] + * series, and SOP Instance UID presented as metadata. See + * [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveInstanceMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3404,8 +3460,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * RetrieveInstanceMetadata returns instance associated with the given study, - * series, and SOP Instance UID presented as metadata with the bulk data - * removed. See [RetrieveTransaction] + * series, and SOP Instance UID presented as metadata. See + * [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveInstanceMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3494,8 +3550,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; /** * RetrieveSeriesMetadata returns instance associated with the given study and - * series, presented as metadata with the bulk data removed. See - * [RetrieveTransaction] + * series, presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveSeriesMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -3527,8 +3582,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * Fetches a @c GTLRCloudHealthcare_HttpBody. * * RetrieveSeriesMetadata returns instance associated with the given study and - * series, presented as metadata with the bulk data removed. See - * [RetrieveTransaction] + * series, presented as metadata. See [RetrieveTransaction] * (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). * For details on the implementation of RetrieveSeriesMetadata, see [Metadata * resources](https://cloud.google.com/healthcare/docs/dicom#metadata_resources) @@ -6050,9 +6104,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * by the FHIR store contain a JSON-encoded `OperationOutcome` resource * describing the reason for the error. If the request cannot be mapped to a * valid API method on a FHIR store, a generic GCP error might be returned - * instead. In R5, the conditional update interaction If-None-Match is - * supported, including the wildcard behaviour. For samples that show how to - * call `update`, see [Updating a FHIR + * instead. The conditional update interaction If-None-Match is supported, + * including the wildcard behaviour, as defined by the R5 spec. This + * functionality is supported in R4 and R5. For samples that show how to call + * `update`, see [Updating a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource). * * Method: healthcare.projects.locations.datasets.fhirStores.fhir.update @@ -6088,9 +6143,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudHealthcareViewSchematizedOnly; * by the FHIR store contain a JSON-encoded `OperationOutcome` resource * describing the reason for the error. If the request cannot be mapped to a * valid API method on a FHIR store, a generic GCP error might be returned - * instead. In R5, the conditional update interaction If-None-Match is - * supported, including the wildcard behaviour. For samples that show how to - * call `update`, see [Updating a FHIR + * instead. The conditional update interaction If-None-Match is supported, + * including the wildcard behaviour, as defined by the R5 spec. This + * functionality is supported in R4 and R5. For samples that show how to call + * `update`, see [Updating a FHIR * resource](https://cloud.google.com/healthcare/docs/how-tos/fhir-resources#updating_a_fhir_resource). * * @param object The @c GTLRCloudHealthcare_HttpBody to include in the query. diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m index ef6f05a6b..ea5fac8fb 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityObjects.m @@ -138,6 +138,7 @@ // GTLRCloudIdentity_InboundSsoAssignment.ssoMode NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_DomainWideSamlIfEnabled = @"DOMAIN_WIDE_SAML_IF_ENABLED"; +NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_OidcSso = @"OIDC_SSO"; NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SamlSso = @"SAML_SSO"; NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SsoModeUnspecified = @"SSO_MODE_UNSPECIFIED"; NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SsoOff = @"SSO_OFF"; @@ -243,6 +244,16 @@ @implementation GTLRCloudIdentity_CreateGroupMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_CreateInboundOidcSsoProfileOperationMetadata +// + +@implementation GTLRCloudIdentity_CreateInboundOidcSsoProfileOperationMetadata +@dynamic state; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_CreateInboundSamlSsoProfileOperationMetadata @@ -289,6 +300,15 @@ @implementation GTLRCloudIdentity_DeleteIdpCredentialOperationMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_DeleteInboundOidcSsoProfileOperationMetadata +// + +@implementation GTLRCloudIdentity_DeleteInboundOidcSsoProfileOperationMetadata +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_DeleteInboundSamlSsoProfileOperationMetadata @@ -1003,6 +1023,16 @@ @implementation GTLRCloudIdentity_IdpCredential @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_InboundOidcSsoProfile +// + +@implementation GTLRCloudIdentity_InboundOidcSsoProfile +@dynamic customer, displayName, idpConfig, name, rpConfig; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_InboundSamlSsoProfile @@ -1019,8 +1049,8 @@ @implementation GTLRCloudIdentity_InboundSamlSsoProfile // @implementation GTLRCloudIdentity_InboundSsoAssignment -@dynamic customer, name, rank, samlSsoInfo, signInBehavior, ssoMode, - targetGroup, targetOrgUnit; +@dynamic customer, name, oidcSsoInfo, rank, samlSsoInfo, signInBehavior, + ssoMode, targetGroup, targetOrgUnit; @end @@ -1078,6 +1108,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse +// + +@implementation GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse +@dynamic inboundOidcSsoProfiles, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"inboundOidcSsoProfiles" : [GTLRCloudIdentity_InboundOidcSsoProfile class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"inboundOidcSsoProfiles"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_ListInboundSamlSsoProfilesResponse @@ -1361,6 +1413,44 @@ @implementation GTLRCloudIdentity_ModifyMembershipRolesResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_OidcIdpConfig +// + +@implementation GTLRCloudIdentity_OidcIdpConfig +@dynamic changePasswordUri, issuerUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_OidcRpConfig +// + +@implementation GTLRCloudIdentity_OidcRpConfig +@dynamic clientId, clientSecret, redirectUris; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"redirectUris" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_OidcSsoInfo +// + +@implementation GTLRCloudIdentity_OidcSsoInfo +@dynamic inboundOidcSsoProfile; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_Operation @@ -1671,6 +1761,16 @@ @implementation GTLRCloudIdentity_UpdateGroupMetadata @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudIdentity_UpdateInboundOidcSsoProfileOperationMetadata +// + +@implementation GTLRCloudIdentity_UpdateInboundOidcSsoProfileOperationMetadata +@dynamic state; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudIdentity_UpdateInboundSamlSsoProfileOperationMetadata diff --git a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m index 3f4a1d400..4a8537f23 100644 --- a/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m +++ b/Sources/GeneratedServices/CloudIdentity/GTLRCloudIdentityQuery.m @@ -955,6 +955,110 @@ + (instancetype)queryWithObject:(GTLRCloudIdentity_SecuritySettings *)object @end +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate + ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1/inboundOidcSsoProfiles"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRCloudIdentity_Operation class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.create"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudIdentity_Operation class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.delete"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRCloudIdentity_InboundOidcSsoProfile class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.get"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesList + +@dynamic filter, pageSize, pageToken; + ++ (instancetype)query { + NSString *pathURITemplate = @"v1/inboundOidcSsoProfiles"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:nil]; + query.expectedObjectClass = [GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.list"; + return query; +} + +@end + +@implementation GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)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}"; + GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudIdentity_Operation class]; + query.loggingName = @"cloudidentity.inboundOidcSsoProfiles.patch"; + return query; +} + +@end + @implementation GTLRCloudIdentityQuery_InboundSamlSsoProfilesCreate + (instancetype)queryWithObject:(GTLRCloudIdentity_InboundSamlSsoProfile *)object { diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h index bc1b17e5d..93d66338e 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityObjects.h @@ -37,6 +37,7 @@ @class GTLRCloudIdentity_GroupRelation; @class GTLRCloudIdentity_GroupRelation_Labels; @class GTLRCloudIdentity_IdpCredential; +@class GTLRCloudIdentity_InboundOidcSsoProfile; @class GTLRCloudIdentity_InboundSamlSsoProfile; @class GTLRCloudIdentity_InboundSsoAssignment; @class GTLRCloudIdentity_MemberRelation; @@ -47,6 +48,9 @@ @class GTLRCloudIdentity_MembershipRelation_Labels; @class GTLRCloudIdentity_MembershipRole; @class GTLRCloudIdentity_MembershipRoleRestrictionEvaluation; +@class GTLRCloudIdentity_OidcIdpConfig; +@class GTLRCloudIdentity_OidcRpConfig; +@class GTLRCloudIdentity_OidcSsoInfo; @class GTLRCloudIdentity_Operation_Metadata; @class GTLRCloudIdentity_Operation_Response; @class GTLRCloudIdentity_Policy; @@ -674,6 +678,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_GroupRelation_RelationType * Value: "DOMAIN_WIDE_SAML_IF_ENABLED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_DomainWideSamlIfEnabled; +/** + * Use an external OIDC Identity Provider for SSO for the targeted users. + * + * Value: "OIDC_SSO" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_OidcSso; /** * Use an external SAML Identity Provider for SSO for the targeted users. * @@ -1019,6 +1029,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * LRO response metadata for + * InboundOidcSsoProfilesService.CreateInboundOidcSsoProfile. + */ +@interface GTLRCloudIdentity_CreateInboundOidcSsoProfileOperationMetadata : GTLRObject + +/** + * State of this Operation Will be "awaiting-multi-party-approval" when the + * operation is deferred due to the target customer having enabled [Multi-party + * approval for sensitive + * actions](https://support.google.com/a/answer/13790448). + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * LRO response metadata for * InboundSamlSsoProfilesService.CreateInboundSamlSsoProfile. @@ -1065,6 +1092,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * LRO response metadata for + * InboundOidcSsoProfilesService.DeleteInboundOidcSsoProfile. + */ +@interface GTLRCloudIdentity_DeleteInboundOidcSsoProfileOperationMetadata : GTLRObject +@end + + /** * LRO response metadata for * InboundSamlSsoProfilesService.DeleteInboundSamlSsoProfile. @@ -2683,6 +2718,38 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * An [OIDC](https://openid.net/developers/how-connect-works/) federation + * between a Google enterprise customer and an OIDC identity provider. + */ +@interface GTLRCloudIdentity_InboundOidcSsoProfile : GTLRObject + +/** Immutable. The customer. For example: `customers/C0123abc`. */ +@property(nonatomic, copy, nullable) NSString *customer; + +/** Human-readable name of the OIDC SSO profile. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** OIDC identity provider configuration. */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_OidcIdpConfig *idpConfig; + +/** + * Output only. [Resource + * name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO + * profile. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * OIDC relying party (RP) configuration for this OIDC SSO profile. These are + * the RP details provided by Google that should be configured on the + * corresponding identity provider. + */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_OidcRpConfig *rpConfig; + +@end + + /** * A [SAML 2.0](https://www.oasis-open.org/standards#samlv2.0) federation * between a Google enterprise customer and a SAML identity provider. @@ -2730,6 +2797,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State */ @property(nonatomic, copy, nullable) NSString *name; +/** + * OpenID Connect SSO details. Must be set if and only if `sso_mode` is set to + * `OIDC_SSO`. + */ +@property(nonatomic, strong, nullable) GTLRCloudIdentity_OidcSsoInfo *oidcSsoInfo; + /** * Must be zero (which is the default value so it can be omitted) for * assignments with `target_org_unit` set and must be greater-than-or-equal-to @@ -2763,6 +2836,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State * domain-wide SAML is removed. Google may disallow this mode at that * point and existing assignments with this mode may be automatically * changed to `SSO_OFF`. (Value: "DOMAIN_WIDE_SAML_IF_ENABLED") + * @arg @c kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_OidcSso Use an + * external OIDC Identity Provider for SSO for the targeted users. + * (Value: "OIDC_SSO") * @arg @c kGTLRCloudIdentity_InboundSsoAssignment_SsoMode_SamlSso Use an * external SAML Identity Provider for SSO for the targeted users. * (Value: "SAML_SSO") @@ -2851,6 +2927,34 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * Response of the InboundOidcSsoProfilesService.ListInboundOidcSsoProfiles + * method. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "inboundOidcSsoProfiles" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse : GTLRCollectionObject + +/** + * List of InboundOidcSsoProfiles. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *inboundOidcSsoProfiles; + +/** + * A token, which can be sent as `page_token` to retrieve the next page. If + * this field is omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response of the InboundSamlSsoProfilesService.ListInboundSamlSsoProfiles * method. @@ -3329,6 +3433,62 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * OIDC IDP (identity provider) configuration. + */ +@interface GTLRCloudIdentity_OidcIdpConfig : GTLRObject + +/** + * The **Change Password URL** of the identity provider. Users will be sent to + * this URL when changing their passwords at `myaccount.google.com`. This takes + * precedence over the change password URL configured at customer-level. Must + * use `HTTPS`. + */ +@property(nonatomic, copy, nullable) NSString *changePasswordUri; + +/** + * Required. The Issuer identifier for the IdP. Must be a URL. The discovery + * URL will be derived from this as described in Section 4 of [the OIDC + * specification](https://openid.net/specs/openid-connect-discovery-1_0.html). + */ +@property(nonatomic, copy, nullable) NSString *issuerUri; + +@end + + +/** + * OIDC RP (relying party) configuration. + */ +@interface GTLRCloudIdentity_OidcRpConfig : GTLRObject + +/** OAuth2 client ID for OIDC. */ +@property(nonatomic, copy, nullable) NSString *clientId; + +/** Input only. OAuth2 client secret for OIDC. */ +@property(nonatomic, copy, nullable) NSString *clientSecret; + +/** + * Output only. The URL(s) that this client may use in authentication requests. + */ +@property(nonatomic, strong, nullable) NSArray *redirectUris; + +@end + + +/** + * Details that are applicable when `sso_mode` is set to `OIDC_SSO`. + */ +@interface GTLRCloudIdentity_OidcSsoInfo : GTLRObject + +/** + * Required. Name of the `InboundOidcSsoProfile` to use. Must be of the form + * `inboundOidcSsoProfiles/{inbound_oidc_sso_profile}`. + */ +@property(nonatomic, copy, nullable) NSString *inboundOidcSsoProfile; + +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. @@ -3873,6 +4033,23 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentity_UserInvitation_State_State @end +/** + * LRO response metadata for + * InboundOidcSsoProfilesService.UpdateInboundOidcSsoProfile. + */ +@interface GTLRCloudIdentity_UpdateInboundOidcSsoProfileOperationMetadata : GTLRObject + +/** + * State of this Operation Will be "awaiting-multi-party-approval" when the + * operation is deferred due to the target customer having enabled [Multi-party + * approval for sensitive + * actions](https://support.google.com/a/answer/13790448). + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * LRO response metadata for * InboundSamlSsoProfilesService.UpdateInboundSamlSsoProfile. diff --git a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h index 312268abd..b91b9c8fb 100644 --- a/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h +++ b/Sources/GeneratedServices/CloudIdentity/Public/GoogleAPIClientForREST/GTLRCloudIdentityQuery.h @@ -2279,6 +2279,216 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudIdentityViewViewUnspecified; @end +/** + * Creates an InboundOidcSsoProfile for a customer. When the target customer + * has enabled [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * Method: cloudidentity.inboundOidcSsoProfiles.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate : GTLRCloudIdentityQuery + +/** + * Fetches a @c GTLRCloudIdentity_Operation. + * + * Creates an InboundOidcSsoProfile for a customer. When the target customer + * has enabled [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * @param object The @c GTLRCloudIdentity_InboundOidcSsoProfile to include in + * the query. + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesCreate + */ ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)object; + +@end + +/** + * Deletes an InboundOidcSsoProfile. + * + * Method: cloudidentity.inboundOidcSsoProfiles.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete : GTLRCloudIdentityQuery + +/** + * Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to delete. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudIdentity_Operation. + * + * Deletes an InboundOidcSsoProfile. + * + * @param name Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to delete. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an InboundOidcSsoProfile. + * + * Method: cloudidentity.inboundOidcSsoProfiles.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundssoReadonly + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet : GTLRCloudIdentityQuery + +/** + * Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to get. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudIdentity_InboundOidcSsoProfile. + * + * Gets an InboundOidcSsoProfile. + * + * @param name Required. The [resource + * name](https://cloud.google.com/apis/design/resource_names) of the + * InboundOidcSsoProfile to get. Format: + * `inboundOidcSsoProfiles/{sso_profile_id}` + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists InboundOidcSsoProfile objects for a Google enterprise customer. + * + * Method: cloudidentity.inboundOidcSsoProfiles.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundssoReadonly + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesList : GTLRCloudIdentityQuery + +/** + * A [Common Expression Language](https://github.com/google/cel-spec) + * expression to filter the results. The only supported filter is filtering by + * customer. For example: `customer=="customers/C0123abc"`. Omitting the filter + * or specifying a filter of `customer=="customers/my_customer"` will return + * the profiles for the customer that the caller (authenticated user) belongs + * to. Specifying a filter of `customer==""` will return the global shared OIDC + * profiles. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * The maximum number of InboundOidcSsoProfiles to return. The service may + * return fewer than this value. If omitted (or defaulted to zero) the server + * will use a sensible default. This default may change over time. The maximum + * allowed value is 100. Requests with page_size greater than that will be + * silently interpreted as having this maximum value. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A page token, received from a previous `ListInboundOidcSsoProfiles` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListInboundOidcSsoProfiles` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRCloudIdentity_ListInboundOidcSsoProfilesResponse. + * + * Lists InboundOidcSsoProfile objects for a Google enterprise customer. + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesList + * + * @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 InboundOidcSsoProfile. When the target customer has enabled + * [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * Method: cloudidentity.inboundOidcSsoProfiles.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudIdentityCloudIdentityInboundsso + * @c kGTLRAuthScopeCloudIdentityCloudPlatform + */ +@interface GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch : GTLRCloudIdentityQuery + +/** + * Output only. [Resource + * name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO + * profile. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The list of fields to be updated. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRCloudIdentity_Operation. + * + * Updates an InboundOidcSsoProfile. When the target customer has enabled + * [Multi-party approval for sensitive + * actions](https://support.google.com/a/answer/13790448), the `Operation` in + * the response will have `"done": false`, it will not have a response, and the + * metadata will have `"state": "awaiting-multi-party-approval"`. + * + * @param object The @c GTLRCloudIdentity_InboundOidcSsoProfile to include in + * the query. + * @param name Output only. [Resource + * name](https://cloud.google.com/apis/design/resource_names) of the OIDC SSO + * profile. + * + * @return GTLRCloudIdentityQuery_InboundOidcSsoProfilesPatch + */ ++ (instancetype)queryWithObject:(GTLRCloudIdentity_InboundOidcSsoProfile *)object + name:(NSString *)name; + +@end + /** * Creates an InboundSamlSsoProfile for a customer. When the target customer * has enabled [Multi-party approval for sensitive diff --git a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m index 0dda1cc16..3af5326a1 100644 --- a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m +++ b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSObjects.m @@ -45,6 +45,7 @@ NSString * const kGTLRCloudKMS_CryptoKey_Purpose_AsymmetricSign = @"ASYMMETRIC_SIGN"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_CryptoKeyPurposeUnspecified = @"CRYPTO_KEY_PURPOSE_UNSPECIFIED"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_EncryptDecrypt = @"ENCRYPT_DECRYPT"; +NSString * const kGTLRCloudKMS_CryptoKey_Purpose_KeyEncapsulation = @"KEY_ENCAPSULATION"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_Mac = @"MAC"; NSString * const kGTLRCloudKMS_CryptoKey_Purpose_RawEncryptDecrypt = @"RAW_ENCRYPT_DECRYPT"; @@ -67,6 +68,9 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -128,6 +132,9 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -157,6 +164,13 @@ NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_ProtectionLevel_ProtectionLevelUnspecified = @"PROTECTION_LEVEL_UNSPECIFIED"; NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_ProtectionLevel_Software = @"SOFTWARE"; +// GTLRCloudKMS_DecapsulateResponse.protectionLevel +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_External = @"EXTERNAL"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ExternalVpc = @"EXTERNAL_VPC"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Hsm = @"HSM"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ProtectionLevelUnspecified = @"PROTECTION_LEVEL_UNSPECIFIED"; +NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Software = @"SOFTWARE"; + // GTLRCloudKMS_DecryptResponse.protectionLevel NSString * const kGTLRCloudKMS_DecryptResponse_ProtectionLevel_External = @"EXTERNAL"; NSString * const kGTLRCloudKMS_DecryptResponse_ProtectionLevel_ExternalVpc = @"EXTERNAL_VPC"; @@ -202,6 +216,9 @@ NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -298,6 +315,9 @@ NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRCloudKMS_PublicKey_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRCloudKMS_PublicKey_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -328,9 +348,11 @@ NSString * const kGTLRCloudKMS_PublicKey_ProtectionLevel_Software = @"SOFTWARE"; // GTLRCloudKMS_PublicKey.publicKeyFormat +NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Der = @"DER"; NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_NistPqc = @"NIST_PQC"; NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Pem = @"PEM"; NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_PublicKeyFormatUnspecified = @"PUBLIC_KEY_FORMAT_UNSPECIFIED"; +NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_XwingRawBytes = @"XWING_RAW_BYTES"; // GTLRCloudKMS_RawDecryptResponse.protectionLevel NSString * const kGTLRCloudKMS_RawDecryptResponse_ProtectionLevel_External = @"EXTERNAL"; @@ -554,6 +576,27 @@ @implementation GTLRCloudKMS_CryptoKeyVersionTemplate @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_DecapsulateRequest +// + +@implementation GTLRCloudKMS_DecapsulateRequest +@dynamic ciphertext, ciphertextCrc32c; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudKMS_DecapsulateResponse +// + +@implementation GTLRCloudKMS_DecapsulateResponse +@dynamic name, protectionLevel, sharedSecret, sharedSecretCrc32c, + verifiedCiphertextCrc32c; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudKMS_DecryptRequest diff --git a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m index 558466b48..9eec470b0 100644 --- a/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m +++ b/Sources/GeneratedServices/CloudKMS/GTLRCloudKMSQuery.m @@ -15,9 +15,11 @@ // Constants // publicKeyFormat +NSString * const kGTLRCloudKMSPublicKeyFormatDer = @"DER"; NSString * const kGTLRCloudKMSPublicKeyFormatNistPqc = @"NIST_PQC"; NSString * const kGTLRCloudKMSPublicKeyFormatPem = @"PEM"; NSString * const kGTLRCloudKMSPublicKeyFormatPublicKeyFormatUnspecified = @"PUBLIC_KEY_FORMAT_UNSPECIFIED"; +NSString * const kGTLRCloudKMSPublicKeyFormatXwingRawBytes = @"XWING_RAW_BYTES"; // versionView NSString * const kGTLRCloudKMSVersionViewCryptoKeyVersionViewUnspecified = @"CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED"; @@ -724,6 +726,33 @@ + (instancetype)queryWithObject:(GTLRCloudKMS_CryptoKeyVersion *)object @end +@implementation GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRCloudKMS_DecapsulateRequest *)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}:decapsulate"; + GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRCloudKMS_DecapsulateResponse class]; + query.loggingName = @"cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.decapsulate"; + return query; +} + +@end + @implementation GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDestroy @dynamic name; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h index 81000d75b..327b303f0 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSObjects.h @@ -212,6 +212,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKey_Purpose_CryptoKeyPurp * Value: "ENCRYPT_DECRYPT" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKey_Purpose_EncryptDecrypt; +/** + * CryptoKeys with this purpose may be used with GetPublicKey and Decapsulate. + * + * Value: "KEY_ENCAPSULATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKey_Purpose_KeyEncapsulation; /** * CryptoKeys with this purpose may be used with MacSign. * @@ -344,6 +350,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_Hmac * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -713,6 +738,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algori * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -877,6 +921,40 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_Protec */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_CryptoKeyVersionTemplate_ProtectionLevel_Software; +// ---------------------------------------------------------------------------- +// GTLRCloudKMS_DecapsulateResponse.protectionLevel + +/** + * Crypto operations are performed by an external key manager. + * + * Value: "EXTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_External; +/** + * Crypto operations are performed in an EKM-over-VPC backend. + * + * Value: "EXTERNAL_VPC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ExternalVpc; +/** + * Crypto operations are performed in a Hardware Security Module. + * + * Value: "HSM" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Hsm; +/** + * Not specified. + * + * Value: "PROTECTION_LEVEL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ProtectionLevelUnspecified; +/** + * Crypto operations are performed in software. + * + * Value: "SOFTWARE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Software; + // ---------------------------------------------------------------------------- // GTLRCloudKMS_DecryptResponse.protectionLevel @@ -1132,6 +1210,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_A * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -1698,6 +1795,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha384; * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -1865,6 +1981,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_ProtectionLevel_Softw // ---------------------------------------------------------------------------- // GTLRCloudKMS_PublicKey.publicKeyFormat +/** + * The returned public key will be encoded in DER format (the PrivateKeyInfo + * structure from RFC 5208). + * + * Value: "DER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Der; /** * This is supported only for PQC algorithms. The key material is returned in * the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). @@ -1891,6 +2014,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_Pem; * Value: "PUBLIC_KEY_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_PublicKeyFormatUnspecified; +/** + * The returned public key is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * + * Value: "XWING_RAW_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_PublicKey_PublicKeyFormat_XwingRawBytes; // ---------------------------------------------------------------------------- // GTLRCloudKMS_RawDecryptResponse.protectionLevel @@ -2617,6 +2747,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_EncryptDecrypt CryptoKeys with * this purpose may be used with Encrypt and Decrypt. (Value: * "ENCRYPT_DECRYPT") + * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_KeyEncapsulation CryptoKeys with + * this purpose may be used with GetPublicKey and Decapsulate. (Value: + * "KEY_ENCAPSULATION") * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_Mac CryptoKeys with this purpose * may be used with MacSign. (Value: "MAC") * @arg @c kGTLRCloudKMS_CryptoKey_Purpose_RawEncryptDecrypt CryptoKeys with @@ -2722,6 +2855,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_HmacSha512 HMAC-SHA512 * signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_KemXwing X-Wing hybrid + * KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem1024 ML-KEM-1024 + * (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_MlKem768 ML-KEM-768 (FIPS + * 203) (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -3013,6 +3154,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_KemXwing X-Wing + * hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem1024 + * ML-KEM-1024 (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_MlKem768 + * ML-KEM-768 (FIPS 203) (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -3104,6 +3253,114 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe @end +/** + * Request message for KeyManagementService.Decapsulate. + */ +@interface GTLRCloudKMS_DecapsulateRequest : GTLRObject + +/** + * Required. The ciphertext produced from encapsulation with the named + * CryptoKeyVersion public key(s). + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *ciphertext; + +/** + * Optional. A CRC32C checksum of the DecapsulateRequest.ciphertext. If + * specified, KeyManagementService will verify the integrity of the received + * DecapsulateRequest.ciphertext using this checksum. KeyManagementService will + * report an error if the checksum verification fails. If you receive a + * checksum error, your client should verify that + * CRC32C(DecapsulateRequest.ciphertext) is equal to + * DecapsulateRequest.ciphertext_crc32c, and if so, perform a limited number of + * retries. A persistent mismatch may indicate an issue in your computation of + * the CRC32C checksum. Note: This field is defined as int64 for reasons of + * compatibility across different languages. However, it is a non-negative + * integer, which will never exceed 2^32-1, and can be safely downconverted to + * uint32 in languages that support this type. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ciphertextCrc32c; + +@end + + +/** + * Response message for KeyManagementService.Decapsulate. + */ +@interface GTLRCloudKMS_DecapsulateResponse : GTLRObject + +/** + * The resource name of the CryptoKeyVersion used for decapsulation. Check this + * field to verify that the intended resource was used for decapsulation. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The ProtectionLevel of the CryptoKeyVersion used in decapsulation. + * + * Likely values: + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_External Crypto + * operations are performed by an external key manager. (Value: + * "EXTERNAL") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ExternalVpc + * Crypto operations are performed in an EKM-over-VPC backend. (Value: + * "EXTERNAL_VPC") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Hsm Crypto + * operations are performed in a Hardware Security Module. (Value: "HSM") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_ProtectionLevelUnspecified + * Not specified. (Value: "PROTECTION_LEVEL_UNSPECIFIED") + * @arg @c kGTLRCloudKMS_DecapsulateResponse_ProtectionLevel_Software Crypto + * operations are performed in software. (Value: "SOFTWARE") + */ +@property(nonatomic, copy, nullable) NSString *protectionLevel; + +/** + * The decapsulated shared_secret originally encapsulated with the matching + * public key. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sharedSecret; + +/** + * Integrity verification field. A CRC32C checksum of the returned + * DecapsulateResponse.shared_secret. An integrity check of + * DecapsulateResponse.shared_secret can be performed by computing the CRC32C + * checksum of DecapsulateResponse.shared_secret and comparing your results to + * this field. Discard the response in case of non-matching checksum values, + * and perform a limited number of retries. A persistent mismatch may indicate + * an issue in your computation of the CRC32C checksum. Note: receiving this + * response message indicates that KeyManagementService is able to successfully + * decrypt the ciphertext. Note: This field is defined as int64 for reasons of + * compatibility across different languages. However, it is a non-negative + * integer, which will never exceed 2^32-1, and can be safely downconverted to + * uint32 in languages that support this type. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sharedSecretCrc32c; + +/** + * Integrity verification field. A flag indicating whether + * DecapsulateRequest.ciphertext_crc32c was received by KeyManagementService + * and used for the integrity verification of the ciphertext. A false value of + * this field indicates either that DecapsulateRequest.ciphertext_crc32c was + * left unset or that it was not delivered to KeyManagementService. If you've + * set DecapsulateRequest.ciphertext_crc32c but this field is still false, + * discard the response and perform a limited number of retries. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *verifiedCiphertextCrc32c; + +@end + + /** * Request message for KeyManagementService.Decrypt. */ @@ -3707,6 +3964,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_KemXwing + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem1024 + * ML-KEM-1024 (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_MlKem768 + * ML-KEM-768 (FIPS 203) (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_ImportCryptoKeyVersionRequest_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -4906,6 +5171,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_HmacSha512 HMAC-SHA512 signing * with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_KemXwing X-Wing hybrid KEM + * combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_MlKem1024 ML-KEM-1024 (FIPS 203) + * (Value: "ML_KEM_1024") + * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_MlKem768 ML-KEM-768 (FIPS 203) + * (Value: "ML_KEM_768") * @arg @c kGTLRCloudKMS_PublicKey_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -5030,6 +5303,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * field. * * Likely values: + * @arg @c kGTLRCloudKMS_PublicKey_PublicKeyFormat_Der The returned public + * key will be encoded in DER format (the PrivateKeyInfo structure from + * RFC 5208). (Value: "DER") * @arg @c kGTLRCloudKMS_PublicKey_PublicKeyFormat_NistPqc This is supported * only for PQC algorithms. The key material is returned in the format * defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). @@ -5047,6 +5323,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMS_RawEncryptResponse_ProtectionLe * format is PEM, and the field pem will be populated. Otherwise, the * public key will be exported through the public_key field in the * requested format. (Value: "PUBLIC_KEY_FORMAT_UNSPECIFIED") + * @arg @c kGTLRCloudKMS_PublicKey_PublicKeyFormat_XwingRawBytes The returned + * public key is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * (Value: "XWING_RAW_BYTES") */ @property(nonatomic, copy, nullable) NSString *publicKeyFormat; diff --git a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h index 3ee717477..c874666a5 100644 --- a/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h +++ b/Sources/GeneratedServices/CloudKMS/Public/GoogleAPIClientForREST/GTLRCloudKMSQuery.h @@ -30,6 +30,13 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // publicKeyFormat +/** + * The returned public key will be encoded in DER format (the PrivateKeyInfo + * structure from RFC 5208). + * + * Value: "DER" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatDer; /** * This is supported only for PQC algorithms. The key material is returned in * the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205). @@ -56,6 +63,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatPem; * Value: "PUBLIC_KEY_FORMAT_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatPublicKeyFormatUnspecified; +/** + * The returned public key is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * + * Value: "XWING_RAW_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudKMSPublicKeyFormatXwingRawBytes; // ---------------------------------------------------------------------------- // versionView @@ -1252,6 +1266,44 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; @end +/** + * Decapsulates data that was encapsulated with a public key retrieved from + * GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose + * KEY_ENCAPSULATION. + * + * Method: cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.decapsulate + * + * Authorization scope(s): + * @c kGTLRAuthScopeCloudKMS + * @c kGTLRAuthScopeCloudKMSCloudPlatform + */ +@interface GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate : GTLRCloudKMSQuery + +/** + * Required. The resource name of the CryptoKeyVersion to use for + * decapsulation. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRCloudKMS_DecapsulateResponse. + * + * Decapsulates data that was encapsulated with a public key retrieved from + * GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose + * KEY_ENCAPSULATION. + * + * @param object The @c GTLRCloudKMS_DecapsulateRequest to include in the + * query. + * @param name Required. The resource name of the CryptoKeyVersion to use for + * decapsulation. + * + * @return GTLRCloudKMSQuery_ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsDecapsulate + */ ++ (instancetype)queryWithObject:(GTLRCloudKMS_DecapsulateRequest *)object + name:(NSString *)name; + +@end + /** * Schedule a CryptoKeyVersion for destruction. Upon calling this method, * CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and destroy_time @@ -1355,9 +1407,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudKMSViewFull; * [Textual Encoding of Subject Public Key Info] * (https://tools.ietf.org/html/rfc7468#section-13) for more information. * (Value: "PEM") + * @arg @c kGTLRCloudKMSPublicKeyFormatDer The returned public key will be + * encoded in DER format (the PrivateKeyInfo structure from RFC 5208). + * (Value: "DER") * @arg @c kGTLRCloudKMSPublicKeyFormatNistPqc This is supported only for PQC * algorithms. The key material is returned in the format defined by NIST * PQC standards (FIPS 203, FIPS 204, and FIPS 205). (Value: "NIST_PQC") + * @arg @c kGTLRCloudKMSPublicKeyFormatXwingRawBytes The returned public key + * is in raw bytes format defined in its standard + * https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem. + * (Value: "XWING_RAW_BYTES") */ @property(nonatomic, copy, nullable) NSString *publicKeyFormat; diff --git a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m index 198f595bd..7f094c6f8 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m +++ b/Sources/GeneratedServices/CloudLocationFinder/GTLRCloudLocationFinderObjects.m @@ -12,6 +12,7 @@ // Constants // GTLRCloudLocationFinder_CloudLocation.cloudLocationType +NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeGdccZone = @"CLOUD_LOCATION_TYPE_GDCC_ZONE"; NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegion = @"CLOUD_LOCATION_TYPE_REGION"; NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegionExtension = @"CLOUD_LOCATION_TYPE_REGION_EXTENSION"; NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeUnspecified = @"CLOUD_LOCATION_TYPE_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h index 4a7f09648..f1806cc0e 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderObjects.h @@ -30,6 +30,12 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // GTLRCloudLocationFinder_CloudLocation.cloudLocationType +/** + * CloudLocation type for Google Distributed Cloud Connected Zone. + * + * Value: "CLOUD_LOCATION_TYPE_GDCC_ZONE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeGdccZone; /** * CloudLocation type for region. * @@ -111,6 +117,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudLocationFinder_CloudLocation_CloudP * Optional. The type of the cloud location. * * Likely values: + * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeGdccZone + * CloudLocation type for Google Distributed Cloud Connected Zone. + * (Value: "CLOUD_LOCATION_TYPE_GDCC_ZONE") * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegion * CloudLocation type for region. (Value: "CLOUD_LOCATION_TYPE_REGION") * @arg @c kGTLRCloudLocationFinder_CloudLocation_CloudLocationType_CloudLocationTypeRegionExtension diff --git a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h index dcd0170b3..35ffa85d4 100644 --- a/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h +++ b/Sources/GeneratedServices/CloudLocationFinder/Public/GoogleAPIClientForREST/GTLRCloudLocationFinderQuery.h @@ -216,8 +216,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudLocationFinderQuery_ProjectsLocationsList : GTLRCloudLocationFinderQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h index 62d018da7..cf7855528 100644 --- a/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h +++ b/Sources/GeneratedServices/CloudObservability/Public/GoogleAPIClientForREST/GTLRCloudObservabilityQuery.h @@ -68,8 +68,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRCloudObservabilityQuery_ProjectsLocationsList : GTLRCloudObservabilityQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m index a6c291098..e0c16276f 100644 --- a/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m +++ b/Sources/GeneratedServices/CloudRedis/GTLRCloudRedisObjects.m @@ -95,6 +95,14 @@ NSString * const kGTLRCloudRedis_ClusterWeeklyMaintenanceWindow_Day_Tuesday = @"TUESDAY"; NSString * const kGTLRCloudRedis_ClusterWeeklyMaintenanceWindow_Day_Wednesday = @"WEDNESDAY"; +// GTLRCloudRedis_ConfigBasedSignalData.signalType +NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeDatabaseAuditingDisabled = @"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED"; +NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeExposedToPublicAccess = @"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS"; +NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeNoRootPassword = @"SIGNAL_TYPE_NO_ROOT_PASSWORD"; +NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeUnencryptedConnections = @"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"; +NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeUnspecified = @"SIGNAL_TYPE_UNSPECIFIED"; + // GTLRCloudRedis_CrossClusterReplicationConfig.clusterRole NSString * const kGTLRCloudRedis_CrossClusterReplicationConfig_ClusterRole_ClusterRoleUnspecified = @"CLUSTER_ROLE_UNSPECIFIED"; NSString * const kGTLRCloudRedis_CrossClusterReplicationConfig_ClusterRole_None = @"NONE"; @@ -102,6 +110,8 @@ NSString * const kGTLRCloudRedis_CrossClusterReplicationConfig_ClusterRole_Secondary = @"SECONDARY"; // GTLRCloudRedis_DatabaseResourceFeed.feedType +NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_BackupdrMetadata = @"BACKUPDR_METADATA"; +NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ConfigBasedSignalData = @"CONFIG_BASED_SIGNAL_DATA"; NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_FeedtypeUnspecified = @"FEEDTYPE_UNSPECIFIED"; NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ObservabilityData = @"OBSERVABILITY_DATA"; NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_RecommendationSignalData = @"RECOMMENDATION_SIGNAL_DATA"; @@ -171,6 +181,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingOnlyCriticalErrors = @"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeLoggingQueryStatistics = @"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting = @"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeManyIdleConnections = @"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeMaxServerMemory = @"SIGNAL_TYPE_MAX_SERVER_MEMORY"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeMemoryLimit = @"SIGNAL_TYPE_MEMORY_LIMIT"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeMinimalErrorLogging = @"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING"; @@ -187,6 +198,9 @@ 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_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; 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"; @@ -195,8 +209,10 @@ NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeQueryStatisticsLogged = @"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeQuotaLimit = @"SIGNAL_TYPE_QUOTA_LIMIT"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload = @"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag = @"SIGNAL_TYPE_REPLICATION_LAG"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeResourceSuspended = @"SIGNAL_TYPE_RESOURCE_SUSPENDED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks = @"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS"; +NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSchemaNotOptimized = @"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked = @"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; @@ -335,6 +351,7 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingOnlyCriticalErrors = @"SIGNAL_TYPE_LOGGING_ONLY_CRITICAL_ERRORS"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeLoggingQueryStatistics = @"SIGNAL_TYPE_LOGGING_QUERY_STATISTICS"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting = @"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeManyIdleConnections = @"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeMaxServerMemory = @"SIGNAL_TYPE_MAX_SERVER_MEMORY"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeMemoryLimit = @"SIGNAL_TYPE_MEMORY_LIMIT"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeMinimalErrorLogging = @"SIGNAL_TYPE_MINIMAL_ERROR_LOGGING"; @@ -351,6 +368,9 @@ 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_SignalTypeOutdatedClient = @"SIGNAL_TYPE_OUTDATED_CLIENT"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion = @"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion = @"SIGNAL_TYPE_OUTDATED_VERSION"; 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"; @@ -359,8 +379,10 @@ NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeQueryStatisticsLogged = @"SIGNAL_TYPE_QUERY_STATISTICS_LOGGED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeQuotaLimit = @"SIGNAL_TYPE_QUOTA_LIMIT"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload = @"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag = @"SIGNAL_TYPE_REPLICATION_LAG"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeResourceSuspended = @"SIGNAL_TYPE_RESOURCE_SUSPENDED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks = @"SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS"; +NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSchemaNotOptimized = @"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked = @"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerAuthenticationNotRequired = @"SIGNAL_TYPE_SERVER_AUTHENTICATION_NOT_REQUIRED"; NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeServerCertificateNearExpiry = @"SIGNAL_TYPE_SERVER_CERTIFICATE_NEAR_EXPIRY"; @@ -506,6 +528,7 @@ NSString * const kGTLRCloudRedis_Product_Engine_EngineCloudSpannerWithPostgresDialect = @"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT"; NSString * const kGTLRCloudRedis_Product_Engine_EngineExadataOracle = @"ENGINE_EXADATA_ORACLE"; NSString * const kGTLRCloudRedis_Product_Engine_EngineFirestoreWithDatastoreMode = @"ENGINE_FIRESTORE_WITH_DATASTORE_MODE"; +NSString * const kGTLRCloudRedis_Product_Engine_EngineFirestoreWithMongodbCompatibilityMode = @"ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE"; NSString * const kGTLRCloudRedis_Product_Engine_EngineFirestoreWithNativeMode = @"ENGINE_FIRESTORE_WITH_NATIVE_MODE"; NSString * const kGTLRCloudRedis_Product_Engine_EngineMemorystoreForRedis = @"ENGINE_MEMORYSTORE_FOR_REDIS"; NSString * const kGTLRCloudRedis_Product_Engine_EngineMemorystoreForRedisCluster = @"ENGINE_MEMORYSTORE_FOR_REDIS_CLUSTER"; @@ -699,6 +722,27 @@ @implementation GTLRCloudRedis_BackupConfiguration @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_BackupDRConfiguration +// + +@implementation GTLRCloudRedis_BackupDRConfiguration +@dynamic backupdrManaged; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_BackupDRMetadata +// + +@implementation GTLRCloudRedis_BackupDRMetadata +@dynamic backupConfiguration, backupdrConfiguration, backupRun, + fullResourceName, lastRefreshTime, resourceId; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_BackupFile @@ -760,9 +804,9 @@ @implementation GTLRCloudRedis_Cluster gcsSource, kmsKey, maintenancePolicy, maintenanceSchedule, managedBackupSource, name, nodeType, ondemandMaintenance, persistenceConfig, preciseSizeGb, pscConfigs, pscConnections, - pscServiceAttachments, redisConfigs, replicaCount, shardCount, - simulateMaintenanceEvent, sizeGb, state, stateInfo, - transitEncryptionMode, uid, zoneDistributionConfig; + pscServiceAttachments, redisConfigs, replicaCount, satisfiesPzi, + satisfiesPzs, shardCount, simulateMaintenanceEvent, sizeGb, state, + stateInfo, transitEncryptionMode, uid, zoneDistributionConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -868,6 +912,17 @@ @implementation GTLRCloudRedis_Compliance @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRedis_ConfigBasedSignalData +// + +@implementation GTLRCloudRedis_ConfigBasedSignalData +@dynamic fullResourceName, lastRefreshTime, resourceId, signalBoolValue, + signalType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRedis_ConnectionDetail @@ -920,9 +975,9 @@ @implementation GTLRCloudRedis_CustomMetadataData // @implementation GTLRCloudRedis_DatabaseResourceFeed -@dynamic feedTimestamp, feedType, observabilityMetricData, - recommendationSignalData, resourceHealthSignalData, resourceId, - resourceMetadata; +@dynamic backupdrMetadata, configBasedSignalData, feedTimestamp, feedType, + observabilityMetricData, recommendationSignalData, + resourceHealthSignalData, resourceId, resourceMetadata, skipIngestion; @end @@ -980,12 +1035,12 @@ @implementation GTLRCloudRedis_DatabaseResourceId // @implementation GTLRCloudRedis_DatabaseResourceMetadata -@dynamic availabilityConfiguration, backupConfiguration, backupRun, - creationTime, currentState, customMetadata, edition, entitlements, - expectedState, gcbdrConfiguration, identifier, instanceType, location, - machineConfiguration, primaryResourceId, primaryResourceLocation, - product, resourceContainer, resourceName, suspensionReason, tagsSet, - updationTime, userLabelSet; +@dynamic availabilityConfiguration, backupConfiguration, backupdrConfiguration, + backupRun, creationTime, currentState, customMetadata, edition, + entitlements, expectedState, gcbdrConfiguration, identifier, + instanceType, location, machineConfiguration, primaryResourceId, + primaryResourceLocation, product, resourceContainer, resourceName, + suspensionReason, tagsSet, updationTime, userLabelSet; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -1694,7 +1749,7 @@ @implementation GTLRCloudRedis_PersistenceConfig // @implementation GTLRCloudRedis_Product -@dynamic engine, type, version; +@dynamic engine, minorVersion, type, version; @end diff --git a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h index 91389f8a3..13da251bc 100644 --- a/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h +++ b/Sources/GeneratedServices/CloudRedis/Public/GoogleAPIClientForREST/GTLRCloudRedisObjects.h @@ -20,6 +20,8 @@ @class GTLRCloudRedis_Backup; @class GTLRCloudRedis_BackupCollection; @class GTLRCloudRedis_BackupConfiguration; +@class GTLRCloudRedis_BackupDRConfiguration; +@class GTLRCloudRedis_BackupDRMetadata; @class GTLRCloudRedis_BackupFile; @class GTLRCloudRedis_BackupRun; @class GTLRCloudRedis_CertChain; @@ -31,6 +33,7 @@ @class GTLRCloudRedis_ClusterPersistenceConfig; @class GTLRCloudRedis_ClusterWeeklyMaintenanceWindow; @class GTLRCloudRedis_Compliance; +@class GTLRCloudRedis_ConfigBasedSignalData; @class GTLRCloudRedis_ConnectionDetail; @class GTLRCloudRedis_CrossClusterReplicationConfig; @class GTLRCloudRedis_CustomMetadataData; @@ -489,6 +492,48 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ClusterWeeklyMaintenanceWindo */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ClusterWeeklyMaintenanceWindow_Day_Wednesday; +// ---------------------------------------------------------------------------- +// GTLRCloudRedis_ConfigBasedSignalData.signalType + +/** + * Represents database auditing is disabled. + * + * Value: "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeDatabaseAuditingDisabled; +/** + * Represents if a resource is exposed to public access. + * + * Value: "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeExposedToPublicAccess; +/** + * Represents if a database has a password configured for the root account or + * not. + * + * Value: "SIGNAL_TYPE_NO_ROOT_PASSWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeNoRootPassword; +/** + * Outdated Minor Version + * + * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Represents if a resources requires all incoming connections to use SSL or + * not. + * + * Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeUnencryptedConnections; +/** + * Unspecified signal type. + * + * Value: "SIGNAL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCloudRedis_CrossClusterReplicationConfig.clusterRole @@ -522,6 +567,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_CrossClusterReplicationConfig // ---------------------------------------------------------------------------- // GTLRCloudRedis_DatabaseResourceFeed.feedType +/** + * Database resource metadata from BackupDR + * + * Value: "BACKUPDR_METADATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_BackupdrMetadata; +/** + * Database config based signal data + * + * Value: "CONFIG_BASED_SIGNAL_DATA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ConfigBasedSignalData; /** Value: "FEEDTYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceFeed_FeedType_FeedtypeUnspecified; /** @@ -932,6 +989,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting; +/** + * High number of idle connections. + * + * Value: "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeManyIdleConnections; /** * Indicates that the instance's max server memory is configured higher than * the recommended value. @@ -1035,6 +1098,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedClient; +/** + * Outdated DB minor version. + * + * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Outdated version. + * + * Value: "SIGNAL_TYPE_OUTDATED_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion; /** * Represents out of disk. * @@ -1086,6 +1167,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload; +/** + * Replication delay. + * + * Value: "SIGNAL_TYPE_REPLICATION_LAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag; /** * Detects if a database instance/cluster is suspended. * @@ -1098,6 +1185,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalD * Value: "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks; +/** + * Schema not optimized. + * + * Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSchemaNotOptimized; /** * Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL * Server instance is not set to on. @@ -1883,6 +1976,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeLogsNotOptimizedForTroubleshooting; +/** + * High number of idle connections. + * + * Value: "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeManyIdleConnections; /** * Indicates that the instance's max server memory is configured higher than * the recommended value. @@ -1986,6 +2085,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_NO_USER_PASSWORD_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeNoUserPasswordPolicy; +/** + * Outdated client. + * + * Value: "SIGNAL_TYPE_OUTDATED_CLIENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedClient; +/** + * Outdated DB minor version. + * + * Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion; +/** + * Outdated version. + * + * Value: "SIGNAL_TYPE_OUTDATED_VERSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion; /** * Represents out of disk. * @@ -2037,6 +2154,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload; +/** + * Replication delay. + * + * Value: "SIGNAL_TYPE_REPLICATION_LAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag; /** * Detects if a database instance/cluster is suspended. * @@ -2049,6 +2172,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendatio * Value: "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks; +/** + * Schema not optimized. + * + * Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSchemaNotOptimized; /** * Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL * Server instance is not set to on. @@ -2808,6 +2937,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Engine_EngineExadataO * Value: "ENGINE_FIRESTORE_WITH_DATASTORE_MODE" */ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Engine_EngineFirestoreWithDatastoreMode; +/** + * Firestore with MongoDB compatibility mode. + * + * Value: "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_Product_Engine_EngineFirestoreWithMongodbCompatibilityMode; /** * Firestore with native mode. * @@ -3671,6 +3806,49 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * BackupDRConfiguration to capture the backup and disaster recovery details of + * database resource. + */ +@interface GTLRCloudRedis_BackupDRConfiguration : GTLRObject + +/** + * Indicates if the resource is managed by BackupDR. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *backupdrManaged; + +@end + + +/** + * BackupDRMetadata contains information about the backup and disaster recovery + * metadata of a database resource. + */ +@interface GTLRCloudRedis_BackupDRMetadata : GTLRObject + +/** Backup configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupConfiguration *backupConfiguration; + +/** BackupDR configuration for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupDRConfiguration *backupdrConfiguration; + +/** Latest backup run information for this instance. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupRun *backupRun; + +/** Required. Full resource name of this instance. */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** Required. Last time backup configuration was refreshed. */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRefreshTime; + +/** Required. Database resource id. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceId *resourceId; + +@end + + /** * Backup is consisted of multiple backup files. */ @@ -3924,6 +4102,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, strong, nullable) NSNumber *replicaCount; +/** + * 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; + /** * Optional. Number of shards for the Redis cluster. * @@ -4112,7 +4304,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @interface GTLRCloudRedis_ClusterWeeklyMaintenanceWindow : GTLRObject /** - * Allows to define schedule that runs specified day of the week. + * Optional. Allows to define schedule that runs specified day of the week. * * Likely values: * @arg @c kGTLRCloudRedis_ClusterWeeklyMaintenanceWindow_Day_DayOfWeekUnspecified @@ -4134,7 +4326,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, copy, nullable) NSString *day; -/** Start time of the window in UTC. */ +/** Optional. Start time of the window in UTC. */ @property(nonatomic, strong, nullable) GTLRCloudRedis_TimeOfDay *startTime; @end @@ -4158,6 +4350,55 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @end +/** + * Config based signal data. This is used to send signals to Condor which are + * based on the DB level configurations. These will be used to send signals for + * self managed databases. + */ +@interface GTLRCloudRedis_ConfigBasedSignalData : GTLRObject + +/** Required. Full Resource name of the source resource. */ +@property(nonatomic, copy, nullable) NSString *fullResourceName; + +/** Required. Last time signal was refreshed */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastRefreshTime; + +/** Database resource id. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceId *resourceId; + +/** + * Signal data for boolean signals. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *signalBoolValue; + +/** + * Required. Signal type of the signal + * + * Likely values: + * @arg @c kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeDatabaseAuditingDisabled + * Represents database auditing is disabled. (Value: + * "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED") + * @arg @c kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeExposedToPublicAccess + * Represents if a resource is exposed to public access. (Value: + * "SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS") + * @arg @c kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeNoRootPassword + * Represents if a database has a password configured for the root + * account or not. (Value: "SIGNAL_TYPE_NO_ROOT_PASSWORD") + * @arg @c kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeOutdatedMinorVersion + * Outdated Minor Version (Value: "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeUnencryptedConnections + * Represents if a resources requires all incoming connections to use SSL + * or not. (Value: "SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS") + * @arg @c kGTLRCloudRedis_ConfigBasedSignalData_SignalType_SignalTypeUnspecified + * Unspecified signal type. (Value: "SIGNAL_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *signalType; + +@end + + /** * Detailed information of each PSC connection. */ @@ -4184,7 +4425,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @interface GTLRCloudRedis_CrossClusterReplicationConfig : GTLRObject /** - * The role of the cluster in cross cluster replication. + * Output only. The role of the cluster in cross cluster replication. * * Likely values: * @arg @c kGTLRCloudRedis_CrossClusterReplicationConfig_ClusterRole_ClusterRoleUnspecified @@ -4255,10 +4496,19 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** * DatabaseResourceFeed is the top level proto to be used to ingest different - * database resource level events into Condor platform. Next ID: 8 + * database resource level events into Condor platform. Next ID: 11 */ @interface GTLRCloudRedis_DatabaseResourceFeed : GTLRObject +/** BackupDR metadata is used to ingest metadata from BackupDR. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupDRMetadata *backupdrMetadata; + +/** + * Config based signal data is used to ingest signals that are generated based + * on the configuration of the database resource. + */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_ConfigBasedSignalData *configBasedSignalData; + /** Required. Timestamp when feed is generated. */ @property(nonatomic, strong, nullable) GTLRDateTime *feedTimestamp; @@ -4266,6 +4516,10 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * Required. Type feed to be ingested into condor * * Likely values: + * @arg @c kGTLRCloudRedis_DatabaseResourceFeed_FeedType_BackupdrMetadata + * Database resource metadata from BackupDR (Value: "BACKUPDR_METADATA") + * @arg @c kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ConfigBasedSignalData + * Database config based signal data (Value: "CONFIG_BASED_SIGNAL_DATA") * @arg @c kGTLRCloudRedis_DatabaseResourceFeed_FeedType_FeedtypeUnspecified * Value "FEEDTYPE_UNSPECIFIED" * @arg @c kGTLRCloudRedis_DatabaseResourceFeed_FeedType_ObservabilityData @@ -4294,6 +4548,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @property(nonatomic, strong, nullable) GTLRCloudRedis_DatabaseResourceMetadata *resourceMetadata; +/** + * Optional. If true, the feed won't be ingested by DB Center. This indicates + * that the feed is intentionally skipped. For example, BackupDR feeds are only + * needed for resources integrated with DB Center (e.g., CloudSQL, AlloyDB). + * Feeds for non-integrated resources (e.g., Compute Engine, Persistent Disk) + * can be skipped. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipIngestion; + @end @@ -4584,6 +4849,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * Represents if log_checkpoints database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: * "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeManyIdleConnections + * High number of idle connections. (Value: + * "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeMaxServerMemory * Indicates that the instance's max server memory is configured higher * than the recommended value. (Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY") @@ -4637,6 +4905,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @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_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedMinorVersion + * Outdated DB minor version. (Value: + * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutdatedVersion + * Outdated version. (Value: "SIGNAL_TYPE_OUTDATED_VERSION") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeOverprovisioned @@ -4662,12 +4937,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReadIntensiveWorkload * Indicates that the instance has read intensive workload. (Value: * "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeReplicationLag + * Replication delay. (Value: "SIGNAL_TYPE_REPLICATION_LAG") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeResourceSuspended * Detects if a database instance/cluster is suspended. (Value: * "SIGNAL_TYPE_RESOURCE_SUSPENDED") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks * Represents not restricted to authorized networks. (Value: * "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS") + * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSchemaNotOptimized + * Schema not optimized. (Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED") * @arg @c kGTLRCloudRedis_DatabaseResourceHealthSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked * Represents if the 3625 (trace flag) database flag for a Cloud SQL for * SQL Server instance is not set to on. (Value: @@ -4864,7 +5143,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** - * Common model for database resource instance metadata. Next ID: 25 + * Common model for database resource instance metadata. Next ID: 26 */ @interface GTLRCloudRedis_DatabaseResourceMetadata : GTLRObject @@ -4874,6 +5153,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z /** Backup configuration for this instance */ @property(nonatomic, strong, nullable) GTLRCloudRedis_BackupConfiguration *backupConfiguration; +/** Optional. BackupDR Configuration for the resource. */ +@property(nonatomic, strong, nullable) GTLRCloudRedis_BackupDRConfiguration *backupdrConfiguration; + /** Latest backup run information for this instance */ @property(nonatomic, strong, nullable) GTLRCloudRedis_BackupRun *backupRun; @@ -4949,7 +5231,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @property(nonatomic, copy, nullable) NSString *expectedState; /** GCBDR configuration for the resource. */ -@property(nonatomic, strong, nullable) GTLRCloudRedis_GCBDRConfiguration *gcbdrConfiguration; +@property(nonatomic, strong, nullable) GTLRCloudRedis_GCBDRConfiguration *gcbdrConfiguration GTLR_DEPRECATED; /** * Required. Unique identifier for a Database resource @@ -5279,6 +5561,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * Represents if log_checkpoints database flag for a Cloud SQL for * PostgreSQL instance is not set to on. (Value: * "SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeManyIdleConnections + * High number of idle connections. (Value: + * "SIGNAL_TYPE_MANY_IDLE_CONNECTIONS") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeMaxServerMemory * Indicates that the instance's max server memory is configured higher * than the recommended value. (Value: "SIGNAL_TYPE_MAX_SERVER_MEMORY") @@ -5332,6 +5617,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @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_SignalTypeOutdatedClient + * Outdated client. (Value: "SIGNAL_TYPE_OUTDATED_CLIENT") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedMinorVersion + * Outdated DB minor version. (Value: + * "SIGNAL_TYPE_OUTDATED_MINOR_VERSION") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutdatedVersion + * Outdated version. (Value: "SIGNAL_TYPE_OUTDATED_VERSION") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOutOfDisk * Represents out of disk. (Value: "SIGNAL_TYPE_OUT_OF_DISK") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeOverprovisioned @@ -5357,12 +5649,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReadIntensiveWorkload * Indicates that the instance has read intensive workload. (Value: * "SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeReplicationLag + * Replication delay. (Value: "SIGNAL_TYPE_REPLICATION_LAG") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeResourceSuspended * Detects if a database instance/cluster is suspended. (Value: * "SIGNAL_TYPE_RESOURCE_SUSPENDED") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeRestrictAuthorizedNetworks * Represents not restricted to authorized networks. (Value: * "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS") + * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSchemaNotOptimized + * Schema not optimized. (Value: "SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED") * @arg @c kGTLRCloudRedis_DatabaseResourceRecommendationSignalData_SignalType_SignalTypeSensitiveTraceInfoNotMasked * Represents if the 3625 (trace flag) database flag for a Cloud SQL for * SQL Server instance is not set to on. (Value: @@ -7014,6 +7310,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z * @arg @c kGTLRCloudRedis_Product_Engine_EngineFirestoreWithDatastoreMode * Firestore with datastore mode. (Value: * "ENGINE_FIRESTORE_WITH_DATASTORE_MODE") + * @arg @c kGTLRCloudRedis_Product_Engine_EngineFirestoreWithMongodbCompatibilityMode + * Firestore with MongoDB compatibility mode. (Value: + * "ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE") * @arg @c kGTLRCloudRedis_Product_Engine_EngineFirestoreWithNativeMode * Firestore with native mode. (Value: * "ENGINE_FIRESTORE_WITH_NATIVE_MODE") @@ -7047,6 +7346,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z */ @property(nonatomic, copy, nullable) NSString *engine; +/** + * Minor version of the underlying database engine. Example values: For MySQL, + * it could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", + * "15.3" etc.. + */ +@property(nonatomic, copy, nullable) NSString *minorVersion; + /** * Type of specific database product. It could be CloudSQL, AlloyDB etc.. * @@ -7382,7 +7688,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRedis_ZoneDistributionConfig_Mode_Z @interface GTLRCloudRedis_RemoteCluster : GTLRObject /** - * The full resource path of the remote cluster in the format: + * Output only. The full resource path of the remote cluster in the format: * projects//locations//clusters/ */ @property(nonatomic, copy, nullable) NSString *cluster; diff --git a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m index 7c9f3c575..9862f1480 100644 --- a/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m +++ b/Sources/GeneratedServices/CloudRetail/GTLRCloudRetailObjects.m @@ -2535,6 +2535,25 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2OutputResult @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudRetail_GoogleCloudRetailV2PanelInfo +// + +@implementation GTLRCloudRetail_GoogleCloudRetailV2PanelInfo +@dynamic attributionToken, displayName, panelId, panelPosition, productDetails, + totalPanels; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"productDetails" : [GTLRCloudRetail_GoogleCloudRetailV2ProductDetail class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudRetail_GoogleCloudRetailV2PauseModelRequest @@ -3837,13 +3856,15 @@ @implementation GTLRCloudRetail_GoogleCloudRetailV2UpdateGenerativeQuestionConfi @implementation GTLRCloudRetail_GoogleCloudRetailV2UserEvent @dynamic attributes, attributionToken, cartId, completionDetail, entity, eventTime, eventType, experimentIds, filter, offset, orderBy, - pageCategories, pageViewId, productDetails, purchaseTransaction, - referrerUri, searchQuery, sessionId, uri, userInfo, visitorId; + pageCategories, pageViewId, panels, productDetails, + purchaseTransaction, referrerUri, searchQuery, sessionId, uri, + userInfo, visitorId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"experimentIds" : [NSString class], @"pageCategories" : [NSString class], + @"panels" : [GTLRCloudRetail_GoogleCloudRetailV2PanelInfo class], @"productDetails" : [GTLRCloudRetail_GoogleCloudRetailV2ProductDetail class] }; return map; diff --git a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h index 79224cc75..96c1276fb 100644 --- a/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h +++ b/Sources/GeneratedServices/CloudRetail/Public/GoogleAPIClientForREST/GTLRCloudRetailObjects.h @@ -97,6 +97,7 @@ @class GTLRCloudRetail_GoogleCloudRetailV2OutputConfigBigQueryDestination; @class GTLRCloudRetail_GoogleCloudRetailV2OutputConfigGcsDestination; @class GTLRCloudRetail_GoogleCloudRetailV2OutputResult; +@class GTLRCloudRetail_GoogleCloudRetailV2PanelInfo; @class GTLRCloudRetail_GoogleCloudRetailV2PinControlMetadata; @class GTLRCloudRetail_GoogleCloudRetailV2PinControlMetadata_AllMatchedPins; @class GTLRCloudRetail_GoogleCloudRetailV2PinControlMetadata_DroppedPins; @@ -5704,6 +5705,42 @@ GTLR_DEPRECATED @end +/** + * Detailed panel information associated with a user event. + */ +@interface GTLRCloudRetail_GoogleCloudRetailV2PanelInfo : GTLRObject + +/** Optional. The attribution token of the panel. */ +@property(nonatomic, copy, nullable) NSString *attributionToken; + +/** Optional. The display name of the panel. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Required. The panel ID. */ +@property(nonatomic, copy, nullable) NSString *panelId; + +/** + * Optional. The ordered position of the panel, if shown to the user with other + * panels. If set, then total_panels must also be set. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *panelPosition; + +/** Optional. The product details associated with the panel. */ +@property(nonatomic, strong, nullable) NSArray *productDetails; + +/** + * Optional. The total number of panels, including this one, shown to the user. + * Must be set if panel_position is set. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalPanels; + +@end + + /** * Request for pausing training of a model. */ @@ -7693,7 +7730,7 @@ GTLR_DEPRECATED /** * Optional. The user attributes that could be used for personalization of * search results. * Populate at most 100 key-value pairs per query. * Only - * supports string keys and repeated string values. * Duplcate keys are not + * supports string keys and repeated string values. * Duplicate keys are not * allowed within a single query. Example: user_attributes: [ { key: "pets" * value { values: "dog" values: "cat" } }, { key: "state" value { values: "CA" * } } ] @@ -7776,7 +7813,7 @@ GTLR_DEPRECATED /** * Optional. The user attributes that could be used for personalization of * search results. * Populate at most 100 key-value pairs per query. * Only - * supports string keys and repeated string values. * Duplcate keys are not + * supports string keys and repeated string values. * Duplicate keys are not * allowed within a single query. Example: user_attributes: [ { key: "pets" * value { values: "dog" values: "cat" } }, { key: "state" value { values: "CA" * } } ] @@ -9155,6 +9192,12 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *pageViewId; +/** + * Optional. List of panels associated with this event. Used for panel-level + * impression data. + */ +@property(nonatomic, strong, nullable) NSArray *panels; + /** * The main product details related to the event. This field is optional except * for the following event types: * `add-to-cart` * `detail-page-view` * diff --git a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m index cdc294ea9..a1cf3f844 100644 --- a/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m +++ b/Sources/GeneratedServices/CloudRun/GTLRCloudRunObjects.m @@ -1358,8 +1358,8 @@ @implementation GTLRCloudRun_GoogleCloudRunV2StorageSource // @implementation GTLRCloudRun_GoogleCloudRunV2SubmitBuildRequest -@dynamic buildpackBuild, dockerBuild, imageUri, serviceAccount, storageSource, - tags, workerPool; +@dynamic buildpackBuild, dockerBuild, imageUri, machineType, serviceAccount, + storageSource, tags, workerPool; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1455,8 +1455,9 @@ @implementation GTLRCloudRun_GoogleCloudRunV2TaskAttemptResult // @implementation GTLRCloudRun_GoogleCloudRunV2TaskTemplate -@dynamic containers, encryptionKey, executionEnvironment, maxRetries, - nodeSelector, serviceAccount, timeout, volumes, vpcAccess; +@dynamic containers, encryptionKey, executionEnvironment, + gpuZonalRedundancyDisabled, maxRetries, nodeSelector, serviceAccount, + timeout, volumes, vpcAccess; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1525,7 +1526,7 @@ @implementation GTLRCloudRun_GoogleCloudRunV2Volume // @implementation GTLRCloudRun_GoogleCloudRunV2VolumeMount -@dynamic mountPath, name; +@dynamic mountPath, name, subPath; @end @@ -1617,8 +1618,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRCloudRun_GoogleCloudRunV2WorkerPoolRevisionTemplate @dynamic annotations, containers, encryptionKey, encryptionKeyRevocationAction, - encryptionKeyShutdownDuration, labels, nodeSelector, revision, - serviceAccount, serviceMesh, volumes, vpcAccess; + encryptionKeyShutdownDuration, gpuZonalRedundancyDisabled, labels, + nodeSelector, revision, serviceAccount, serviceMesh, volumes, + vpcAccess; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h index fb6fbce1d..b1bbaa3bf 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunObjects.h @@ -3107,8 +3107,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; /** - * Output only. A system-generated fingerprint for this version of the - * resource. May be used to detect modification conflict during updates. + * Optional. A system-generated fingerprint for this version of the resource. + * May be used to detect modification conflict during updates. */ @property(nonatomic, copy, nullable) NSString *ETag; @@ -4423,8 +4423,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Output only. A system-generated fingerprint for this version of the - * resource. May be used to detect modification conflict during updates. + * Optional. A system-generated fingerprint for this version of the resource. + * May be used to detect modification conflict during updates. */ @property(nonatomic, copy, nullable) NSString *ETag; @@ -4827,6 +4827,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** Required. Artifact Registry URI to store the built image. */ @property(nonatomic, copy, nullable) NSString *imageUri; +/** + * Optional. The machine type from default pool to use for the build. If left + * blank, cloudbuild will use a sensible default. Currently only E2_HIGHCPU_8 + * is supported. If worker_pool is set, this field will be ignored. + */ +@property(nonatomic, copy, nullable) NSString *machineType; + /** * Optional. The service account to use for the build. If not set, the default * Cloud Build service account for the project will be used. @@ -5188,6 +5195,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, copy, nullable) NSString *executionEnvironment; +/** + * Optional. True if GPU zonal redundancy is disabled on this task template. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *gpuZonalRedundancyDisabled; + /** * Number of retries allowed per Task, before marking this Task failed. * Defaults to 3. @@ -5412,6 +5426,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy /** Required. This must match the Name of a Volume. */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Optional. Path within the volume from which the container's volume should be + * mounted. Defaults to "" (volume's root). + */ +@property(nonatomic, copy, nullable) NSString *subPath; + @end @@ -5523,8 +5543,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Output only. A system-generated fingerprint for this version of the - * resource. May be used to detect modification conflict during updates. + * Optional. A system-generated fingerprint for this version of the resource. + * May be used to detect modification conflict during updates. */ @property(nonatomic, copy, nullable) NSString *ETag; @@ -5584,7 +5604,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy @property(nonatomic, copy, nullable) NSString *latestCreatedRevision; /** - * Output only. Name of the latest revision that is serving traffic. See + * Output only. Name of the latest revision that is serving workloads. See * comments in `reconciling` for additional information on reconciliation * process in Cloud Run. */ @@ -5647,12 +5667,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy * The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, * this field is ignored, and instead composed from * CreateWorkerPoolRequest.parent and CreateWorkerPoolRequest.worker_id. - * Format: projects/{project}/locations/{location}/workerPools/{worker_id} + * Format: `projects/{project}/locations/{location}/workerPools/{worker_id}` */ @property(nonatomic, copy, nullable) NSString *name; /** - * Output only. The generation of this WorkerPool currently serving traffic. + * Output only. The generation of this WorkerPool currently serving workloads. * See comments in `reconciling` for additional information on reconciliation * process in Cloud Run. Please note that unlike v1, this is an int64 value. As * with most Google APIs, its JSON representation will be a `string` instead of @@ -5668,19 +5688,20 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy * created, or an existing one is updated, Cloud Run will asynchronously * perform all necessary steps to bring the WorkerPool to the desired serving * state. This process is called reconciliation. While reconciliation is in - * process, `observed_generation`, `latest_ready_revison`, `traffic_statuses`, - * and `uri` will have transient values that might mismatch the intended state: - * Once reconciliation is over (and this field is false), there are two - * possible outcomes: reconciliation succeeded and the serving state matches - * the WorkerPool, or there was an error, and reconciliation failed. This state - * can be found in `terminal_condition.state`. If reconciliation succeeded, the - * following fields will match: `traffic` and `traffic_statuses`, + * process, `observed_generation`, `latest_ready_revison`, + * `instance_split_statuses`, and `uri` will have transient values that might + * mismatch the intended state: Once reconciliation is over (and this field is + * false), there are two possible outcomes: reconciliation succeeded and the + * serving state matches the WorkerPool, or there was an error, and + * reconciliation failed. This state can be found in + * `terminal_condition.state`. If reconciliation succeeded, the following + * fields will match: `instance_splits` and `instance_split_statuses`, * `observed_generation` and `generation`, `latest_ready_revision` and - * `latest_created_revision`. If reconciliation failed, `traffic_statuses`, - * `observed_generation`, and `latest_ready_revision` will have the state of - * the last serving revision, or empty for newly created WorkerPools. - * Additional information on the failure can be found in `terminal_condition` - * and `conditions`. + * `latest_created_revision`. If reconciliation failed, + * `instance_split_statuses`, `observed_generation`, and + * `latest_ready_revision` will have the state of the last serving revision, or + * empty for newly created WorkerPools. Additional information on the failure + * can be found in `terminal_condition` and `conditions`. * * Uses NSNumber of boolValue. */ @@ -5815,6 +5836,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudRun_GoogleIamV1AuditLogConfig_LogTy */ @property(nonatomic, strong, nullable) GTLRDuration *encryptionKeyShutdownDuration; +/** + * Optional. True if GPU zonal redundancy is disabled on this worker pool. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *gpuZonalRedundancyDisabled; + /** * Optional. Unstructured key value map that can be used to organize and * categorize objects. User-provided labels are shared with Google's billing diff --git a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h index 0624b7968..7950a7d15 100644 --- a/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h +++ b/Sources/GeneratedServices/CloudRun/Public/GoogleAPIClientForREST/GTLRCloudRunQuery.h @@ -1594,8 +1594,9 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The location and project in which this worker pool should be - * created. Format: projects/{project}/locations/{location}, where {project} - * can be project id or number. Only lowercase characters, digits, and hyphens. + * created. Format: `projects/{project}/locations/{location}`, where + * `{project}` can be project id or number. Only lowercase characters, digits, + * and hyphens. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1608,7 +1609,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The unique identifier for the WorkerPool. It must begin with * letter, and cannot end with hyphen; must contain fewer than 50 characters. - * The name of the worker pool becomes {parent}/workerPools/{worker_pool_id}. + * The name of the worker pool becomes `{parent}/workerPools/{worker_pool_id}`. */ @property(nonatomic, copy, nullable) NSString *workerPoolId; @@ -1620,9 +1621,9 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRCloudRun_GoogleCloudRunV2WorkerPool to include in * the query. * @param parent Required. The location and project in which this worker pool - * should be created. Format: projects/{project}/locations/{location}, where - * {project} can be project id or number. Only lowercase characters, digits, - * and hyphens. + * should be created. Format: `projects/{project}/locations/{location}`, + * where `{project}` can be project id or number. Only lowercase characters, + * digits, and hyphens. * * @return GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsCreate */ @@ -1649,8 +1650,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The full name of the WorkerPool. Format: - * projects/{project}/locations/{location}/workerPools/{worker_pool}, where - * {project} can be project id or number. + * `projects/{project}/locations/{location}/workerPools/{worker_pool}`, where + * `{project}` can be project id or number. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1666,8 +1667,8 @@ NS_ASSUME_NONNULL_BEGIN * Deletes a WorkerPool. * * @param name Required. The full name of the WorkerPool. Format: - * projects/{project}/locations/{location}/workerPools/{worker_pool}, where - * {project} can be project id or number. + * `projects/{project}/locations/{location}/workerPools/{worker_pool}`, where + * `{project}` can be project id or number. * * @return GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsDelete */ @@ -1687,8 +1688,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The full name of the WorkerPool. Format: - * projects/{project}/locations/{location}/workerPools/{worker_pool}, where - * {project} can be project id or number. + * `projects/{project}/locations/{location}/workerPools/{worker_pool}`, where + * `{project}` can be project id or number. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1698,8 +1699,8 @@ NS_ASSUME_NONNULL_BEGIN * Gets information about a WorkerPool. * * @param name Required. The full name of the WorkerPool. Format: - * projects/{project}/locations/{location}/workerPools/{worker_pool}, where - * {project} can be project id or number. + * `projects/{project}/locations/{location}/workerPools/{worker_pool}`, where + * `{project}` can be project id or number. * * @return GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsGet */ @@ -1778,8 +1779,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. The location and project to list resources on. Location must be a * valid Google Cloud region, and cannot be the "-" wildcard. Format: - * projects/{project}/locations/{location}, where {project} can be project id - * or number. + * `projects/{project}/locations/{location}`, where `{project}` can be project + * id or number. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -1795,8 +1796,8 @@ NS_ASSUME_NONNULL_BEGIN * * @param parent Required. The location and project to list resources on. * Location must be a valid Google Cloud region, and cannot be the "-" - * wildcard. Format: projects/{project}/locations/{location}, where {project} - * can be project id or number. + * wildcard. Format: `projects/{project}/locations/{location}`, where + * `{project}` can be project id or number. * * @return GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsList * @@ -1839,7 +1840,7 @@ NS_ASSUME_NONNULL_BEGIN * The fully qualified name of this WorkerPool. In CreateWorkerPoolRequest, * this field is ignored, and instead composed from * CreateWorkerPoolRequest.parent and CreateWorkerPoolRequest.worker_id. - * Format: projects/{project}/locations/{location}/workerPools/{worker_id} + * Format: `projects/{project}/locations/{location}/workerPools/{worker_id}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -1866,7 +1867,7 @@ NS_ASSUME_NONNULL_BEGIN * @param name The fully qualified name of this WorkerPool. In * CreateWorkerPoolRequest, this field is ignored, and instead composed from * CreateWorkerPoolRequest.parent and CreateWorkerPoolRequest.worker_id. - * Format: projects/{project}/locations/{location}/workerPools/{worker_id} + * Format: `projects/{project}/locations/{location}/workerPools/{worker_id}` * * @return GTLRCloudRunQuery_ProjectsLocationsWorkerPoolsPatch */ diff --git a/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h b/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h index c42685951..77da65bb6 100644 --- a/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h +++ b/Sources/GeneratedServices/CloudVideoIntelligence/Public/GoogleAPIClientForREST/GTLRCloudVideoIntelligenceObjects.h @@ -1081,7 +1081,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudVideoIntelligence_GoogleCloudVideoi @property(nonatomic, copy, nullable) NSString *name; /** - * The 2D point of the detected landmark using the normalized image coordindate + * The 2D point of the detected landmark using the normalized image coordinate * system. The normalized coordinates have the range from 0 to 1. */ @property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2NormalizedVertex *point; @@ -1399,7 +1399,7 @@ GTLR_DEPRECATED * horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated * 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the * vertex order will still be (0, 1, 2, 3). Note that values can be less than - * 0, or greater than 1 due to trignometric calculations for location of the + * 0, or greater than 1 due to trigonometric calculations for location of the * box. */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1beta2NormalizedBoundingPoly : GTLRObject @@ -1942,7 +1942,7 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *name; /** - * The 2D point of the detected landmark using the normalized image coordindate + * The 2D point of the detected landmark using the normalized image coordinate * system. The normalized coordinates have the range from 0 to 1. */ @property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1NormalizedVertex *point; @@ -2366,7 +2366,7 @@ GTLR_DEPRECATED * horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated * 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the * vertex order will still be (0, 1, 2, 3). Note that values can be less than - * 0, or greater than 1 due to trignometric calculations for location of the + * 0, or greater than 1 due to trigonometric calculations for location of the * box. */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1NormalizedBoundingPoly : GTLRObject @@ -2547,7 +2547,7 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *name; /** - * The 2D point of the detected landmark using the normalized image coordindate + * The 2D point of the detected landmark using the normalized image coordinate * system. The normalized coordinates have the range from 0 to 1. */ @property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1NormalizedVertex *point; @@ -2865,7 +2865,7 @@ GTLR_DEPRECATED * horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated * 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the * vertex order will still be (0, 1, 2, 3). Note that values can be less than - * 0, or greater than 1 due to trignometric calculations for location of the + * 0, or greater than 1 due to trigonometric calculations for location of the * box. */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingPoly : GTLRObject @@ -3434,7 +3434,7 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *name; /** - * The 2D point of the detected landmark using the normalized image coordindate + * The 2D point of the detected landmark using the normalized image coordinate * system. The normalized coordinates have the range from 0 to 1. */ @property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1NormalizedVertex *point; @@ -3752,7 +3752,7 @@ GTLR_DEPRECATED * horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated * 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the * vertex order will still be (0, 1, 2, 3). Note that values can be less than - * 0, or greater than 1 due to trignometric calculations for location of the + * 0, or greater than 1 due to trigonometric calculations for location of the * box. */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingPoly : GTLRObject @@ -4380,7 +4380,7 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *name; /** - * The 2D point of the detected landmark using the normalized image coordindate + * The 2D point of the detected landmark using the normalized image coordinate * system. The normalized coordinates have the range from 0 to 1. */ @property(nonatomic, strong, nullable) GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1NormalizedVertex *point; @@ -4698,7 +4698,7 @@ GTLR_DEPRECATED * horizontal it might look like: 0----1 | | 3----2 When it's clockwise rotated * 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the * vertex order will still be (0, 1, 2, 3). Note that values can be less than - * 0, or greater than 1 due to trignometric calculations for location of the + * 0, or greater than 1 due to trigonometric calculations for location of the * box. */ @interface GTLRCloudVideoIntelligence_GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingPoly : GTLRObject diff --git a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m index 704f41e28..6fcb2523a 100644 --- a/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m +++ b/Sources/GeneratedServices/Cloudchannel/GTLRCloudchannelObjects.m @@ -166,6 +166,14 @@ NSString * const kGTLRCloudchannel_GoogleCloudChannelV1CustomerEvent_EventType_PrimaryDomainVerified = @"PRIMARY_DOMAIN_VERIFIED"; NSString * const kGTLRCloudchannel_GoogleCloudChannelV1CustomerEvent_EventType_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent.discountType +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DealCode = @"DEAL_CODE"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DiscountTypeUnspecified = @"DISCOUNT_TYPE_UNSPECIFIED"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_PromotionalDiscount = @"PROMOTIONAL_DISCOUNT"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_RegionalDiscount = @"REGIONAL_DISCOUNT"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_ResellerMargin = @"RESELLER_MARGIN"; +NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_SalesDiscount = @"SALES_DISCOUNT"; + // GTLRCloudchannel_GoogleCloudChannelV1EduData.instituteSize NSString * const kGTLRCloudchannel_GoogleCloudChannelV1EduData_InstituteSize_InstituteSizeUnspecified = @"INSTITUTE_SIZE_UNSPECIFIED"; NSString * const kGTLRCloudchannel_GoogleCloudChannelV1EduData_InstituteSize_Size10001OrMore = @"SIZE_10001_OR_MORE"; @@ -933,6 +941,16 @@ @implementation GTLRCloudchannel_GoogleCloudChannelV1DateRange @end +// ---------------------------------------------------------------------------- +// +// GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent +// + +@implementation GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent +@dynamic discountAbsolute, discountPercentage, discountType; +@end + + // ---------------------------------------------------------------------------- // // GTLRCloudchannel_GoogleCloudChannelV1EduData @@ -1561,7 +1579,16 @@ @implementation GTLRCloudchannel_GoogleCloudChannelV1Plan // @implementation GTLRCloudchannel_GoogleCloudChannelV1Price -@dynamic basePrice, discount, effectivePrice, externalPriceUri; +@dynamic basePrice, discount, discountComponents, effectivePrice, + externalPriceUri, pricePeriod; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"discountComponents" : [GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h index b5096d0ef..8752858d0 100644 --- a/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h +++ b/Sources/GeneratedServices/Cloudchannel/Public/GoogleAPIClientForREST/GTLRCloudchannelObjects.h @@ -55,6 +55,7 @@ @class GTLRCloudchannel_GoogleCloudChannelV1CustomerEvent; @class GTLRCloudchannel_GoogleCloudChannelV1CustomerRepricingConfig; @class GTLRCloudchannel_GoogleCloudChannelV1DateRange; +@class GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent; @class GTLRCloudchannel_GoogleCloudChannelV1EduData; @class GTLRCloudchannel_GoogleCloudChannelV1Entitlement; @class GTLRCloudchannel_GoogleCloudChannelV1EntitlementChange; @@ -877,6 +878,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1Custome */ FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1CustomerEvent_EventType_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent.discountType + +/** + * Deal code discount. + * + * Value: "DEAL_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DealCode; +/** + * Not used. + * + * Value: "DISCOUNT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DiscountTypeUnspecified; +/** + * Promotional discount. + * + * Value: "PROMOTIONAL_DISCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_PromotionalDiscount; +/** + * Regional discount. + * + * Value: "REGIONAL_DISCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_RegionalDiscount; +/** + * Reseller margin. + * + * Value: "RESELLER_MARGIN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_ResellerMargin; +/** + * Sales-provided discount. + * + * Value: "SALES_DISCOUNT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_SalesDiscount; + // ---------------------------------------------------------------------------- // GTLRCloudchannel_GoogleCloudChannelV1EduData.instituteSize @@ -3459,6 +3500,44 @@ GTLR_DEPRECATED @end +/** + * Represents a single component of the total discount applicable on a Price. + */ +@interface GTLRCloudchannel_GoogleCloudChannelV1DiscountComponent : GTLRObject + +/** Fixed value discount. */ +@property(nonatomic, strong, nullable) GTLRCloudchannel_GoogleTypeMoney *discountAbsolute; + +/** + * Discount percentage, represented as decimal. For example, a 20% discount + * will be represented as 0.2. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *discountPercentage; + +/** + * Type of the discount. + * + * Likely values: + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DealCode + * Deal code discount. (Value: "DEAL_CODE") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_DiscountTypeUnspecified + * Not used. (Value: "DISCOUNT_TYPE_UNSPECIFIED") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_PromotionalDiscount + * Promotional discount. (Value: "PROMOTIONAL_DISCOUNT") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_RegionalDiscount + * Regional discount. (Value: "REGIONAL_DISCOUNT") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_ResellerMargin + * Reseller margin. (Value: "RESELLER_MARGIN") + * @arg @c kGTLRCloudchannel_GoogleCloudChannelV1DiscountComponent_DiscountType_SalesDiscount + * Sales-provided discount. (Value: "SALES_DISCOUNT") + */ +@property(nonatomic, copy, nullable) NSString *discountType; + +@end + + /** * Required Edu Attributes */ @@ -4819,12 +4898,24 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *discount; +/** + * Breakdown of the discount into its components. This will be empty if there + * is no discount present. + */ +@property(nonatomic, strong, nullable) NSArray *discountComponents; + /** Effective Price after applying the discounts. */ @property(nonatomic, strong, nullable) GTLRCloudchannel_GoogleTypeMoney *effectivePrice; /** Link to external price list, such as link to Google Voice rate card. */ @property(nonatomic, copy, nullable) NSString *externalPriceUri; +/** + * The time period with respect to which base and effective prices are defined. + * Example: 1 month, 6 months, 1 year, etc. + */ +@property(nonatomic, strong, nullable) GTLRCloudchannel_GoogleCloudChannelV1Period *pricePeriod; + @end diff --git a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m index 399399362..6e845247c 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeObjects.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeObjects.m @@ -269,6 +269,11 @@ NSString * const kGTLRCompute_AllocationReservationSharingPolicy_ServiceShareType_DisallowAll = @"DISALLOW_ALL"; NSString * const kGTLRCompute_AllocationReservationSharingPolicy_ServiceShareType_ServiceShareTypeUnspecified = @"SERVICE_SHARE_TYPE_UNSPECIFIED"; +// GTLRCompute_AllocationResourceStatusHealthInfo.healthStatus +NSString * const kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_Degraded = @"DEGRADED"; +NSString * const kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_HealthStatusUnspecified = @"HEALTH_STATUS_UNSPECIFIED"; +NSString * const kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_Healthy = @"HEALTHY"; + // GTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.interface NSString * const kGTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_Interface_Nvme = @"NVME"; NSString * const kGTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_Interface_Scsi = @"SCSI"; @@ -532,6 +537,7 @@ NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_Random = @"RANDOM"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_RingHash = @"RING_HASH"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_RoundRobin = @"ROUND_ROBIN"; +NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedGcpRendezvous = @"WEIGHTED_GCP_RENDEZVOUS"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedMaglev = @"WEIGHTED_MAGLEV"; NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedRoundRobin = @"WEIGHTED_ROUND_ROBIN"; @@ -678,6 +684,7 @@ NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_Random = @"RANDOM"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RingHash = @"RING_HASH"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RoundRobin = @"ROUND_ROBIN"; +NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedGcpRendezvous = @"WEIGHTED_GCP_RENDEZVOUS"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedMaglev = @"WEIGHTED_MAGLEV"; NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedRoundRobin = @"WEIGHTED_ROUND_ROBIN"; @@ -2591,6 +2598,14 @@ NSString * const kGTLRCompute_Interconnect_State_Active = @"ACTIVE"; NSString * const kGTLRCompute_Interconnect_State_Unprovisioned = @"UNPROVISIONED"; +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage.trafficClass +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc1 = @"TC1"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc2 = @"TC2"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc3 = @"TC3"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc4 = @"TC4"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc5 = @"TC5"; +NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc6 = @"TC6"; + // GTLRCompute_InterconnectAttachment.bandwidth NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100g = @"BPS_100G"; NSString * const kGTLRCompute_InterconnectAttachment_Bandwidth_Bps100m = @"BPS_100M"; @@ -3717,6 +3732,32 @@ NSString * const kGTLRCompute_NetworkPeering_State_Active = @"ACTIVE"; NSString * const kGTLRCompute_NetworkPeering_State_Inactive = @"INACTIVE"; +// GTLRCompute_NetworkPeering.updateStrategy +NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Consensus = @"CONSENSUS"; +NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Independent = @"INDEPENDENT"; +NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Unspecified = @"UNSPECIFIED"; + +// GTLRCompute_NetworkPeeringConnectionStatus.updateStrategy +NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Consensus = @"CONSENSUS"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Independent = @"INDEPENDENT"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Unspecified = @"UNSPECIFIED"; + +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.deleteStatus +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteAcknowledged = @"DELETE_ACKNOWLEDGED"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteStatusUnspecified = @"DELETE_STATUS_UNSPECIFIED"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_LocalDeleteRequested = @"LOCAL_DELETE_REQUESTED"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_PeerDeleteRequested = @"PEER_DELETE_REQUESTED"; + +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.updateStatus +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_InSync = @"IN_SYNC"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingLocalAcknowledment = @"PENDING_LOCAL_ACKNOWLEDMENT"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingPeerAcknowledgement = @"PENDING_PEER_ACKNOWLEDGEMENT"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_UpdateStatusUnspecified = @"UPDATE_STATUS_UNSPECIFIED"; + +// GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration.stackType +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Ipv6 = @"IPV4_IPV6"; +NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Only = @"IPV4_ONLY"; + // GTLRCompute_NetworkPerformanceConfig.totalEgressBandwidthTier NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEgressBandwidthTier_Default = @"DEFAULT"; NSString * const kGTLRCompute_NetworkPerformanceConfig_TotalEgressBandwidthTier_Tier1 = @"TIER_1"; @@ -5209,6 +5250,11 @@ NSString * const kGTLRCompute_Reservation_DeploymentType_Dense = @"DENSE"; NSString * const kGTLRCompute_Reservation_DeploymentType_DeploymentTypeUnspecified = @"DEPLOYMENT_TYPE_UNSPECIFIED"; +// GTLRCompute_Reservation.schedulingType +NSString * const kGTLRCompute_Reservation_SchedulingType_Grouped = @"GROUPED"; +NSString * const kGTLRCompute_Reservation_SchedulingType_GroupMaintenanceTypeUnspecified = @"GROUP_MAINTENANCE_TYPE_UNSPECIFIED"; +NSString * const kGTLRCompute_Reservation_SchedulingType_Independent = @"INDEPENDENT"; + // GTLRCompute_Reservation.status NSString * const kGTLRCompute_Reservation_Status_Creating = @"CREATING"; NSString * const kGTLRCompute_Reservation_Status_Deleting = @"DELETING"; @@ -5216,6 +5262,11 @@ NSString * const kGTLRCompute_Reservation_Status_Ready = @"READY"; NSString * const kGTLRCompute_Reservation_Status_Updating = @"UPDATING"; +// GTLRCompute_ReservationAdvancedDeploymentControl.reservationOperationalMode +NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_AllCapacity = @"ALL_CAPACITY"; +NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_HighlyAvailableCapacity = @"HIGHLY_AVAILABLE_CAPACITY"; +NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_ReservationOperationalModeUnspecified = @"RESERVATION_OPERATIONAL_MODE_UNSPECIFIED"; + // GTLRCompute_ReservationAffinity.consumeReservationType NSString * const kGTLRCompute_ReservationAffinity_ConsumeReservationType_AnyReservation = @"ANY_RESERVATION"; NSString * const kGTLRCompute_ReservationAffinity_ConsumeReservationType_NoReservation = @"NO_RESERVATION"; @@ -5259,6 +5310,11 @@ NSString * const kGTLRCompute_ReservationBlock_Status_Invalid = @"INVALID"; NSString * const kGTLRCompute_ReservationBlock_Status_Ready = @"READY"; +// GTLRCompute_ReservationBlockHealthInfo.healthStatus +NSString * const kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_Degraded = @"DEGRADED"; +NSString * const kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_HealthStatusUnspecified = @"HEALTH_STATUS_UNSPECIFIED"; +NSString * const kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_Healthy = @"HEALTHY"; + // GTLRCompute_ReservationBlocksListResponse_Warning.code NSString * const kGTLRCompute_ReservationBlocksListResponse_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; NSString * const kGTLRCompute_ReservationBlocksListResponse_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; @@ -5370,6 +5426,11 @@ NSString * const kGTLRCompute_ReservationSubBlock_Status_Invalid = @"INVALID"; NSString * const kGTLRCompute_ReservationSubBlock_Status_Ready = @"READY"; +// GTLRCompute_ReservationSubBlockHealthInfo.healthStatus +NSString * const kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_Degraded = @"DEGRADED"; +NSString * const kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_HealthStatusUnspecified = @"HEALTH_STATUS_UNSPECIFIED"; +NSString * const kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_Healthy = @"HEALTHY"; + // GTLRCompute_ReservationSubBlocksListResponse_Warning.code NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_CleanupFailed = @"CLEANUP_FAILED"; NSString * const kGTLRCompute_ReservationSubBlocksListResponse_Warning_Code_DeprecatedResourceUsed = @"DEPRECATED_RESOURCE_USED"; @@ -7603,12 +7664,29 @@ NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_None = @"NONE"; NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_ProxyV1 = @"PROXY_V1"; +// GTLRCompute_UpcomingMaintenance.maintenanceReasons +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureDisk = @"FAILURE_DISK"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpu = @"FAILURE_GPU"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuTemperature = @"FAILURE_GPU_TEMPERATURE"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuXid = @"FAILURE_GPU_XID"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureInfra = @"FAILURE_INFRA"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureInterface = @"FAILURE_INTERFACE"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureMemory = @"FAILURE_MEMORY"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureNetwork = @"FAILURE_NETWORK"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureNvlink = @"FAILURE_NVLINK"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureRedundantHardwareFault = @"FAILURE_REDUNDANT_HARDWARE_FAULT"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_InfrastructureRelocation = @"INFRASTRUCTURE_RELOCATION"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_MaintenanceReasonUnknown = @"MAINTENANCE_REASON_UNKNOWN"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_PlannedNetworkUpdate = @"PLANNED_NETWORK_UPDATE"; +NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_PlannedUpdate = @"PLANNED_UPDATE"; + // GTLRCompute_UpcomingMaintenance.maintenanceStatus NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Ongoing = @"ONGOING"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Pending = @"PENDING"; NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceStatus_Unknown = @"UNKNOWN"; // GTLRCompute_UpcomingMaintenance.type +NSString * const kGTLRCompute_UpcomingMaintenance_Type_Multiple = @"MULTIPLE"; NSString * const kGTLRCompute_UpcomingMaintenance_Type_Scheduled = @"SCHEDULED"; NSString * const kGTLRCompute_UpcomingMaintenance_Type_UnknownType = @"UNKNOWN_TYPE"; NSString * const kGTLRCompute_UpcomingMaintenance_Type_Unscheduled = @"UNSCHEDULED"; @@ -8566,7 +8644,18 @@ @implementation GTLRCompute_AllocationReservationSharingPolicy // @implementation GTLRCompute_AllocationResourceStatus -@dynamic reservationBlockCount, reservationMaintenance, specificSkuAllocation; +@dynamic healthInfo, reservationBlockCount, reservationMaintenance, + specificSkuAllocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_AllocationResourceStatusHealthInfo +// + +@implementation GTLRCompute_AllocationResourceStatusHealthInfo +@dynamic degradedBlockCount, healthStatus, healthyBlockCount; @end @@ -9098,8 +9187,8 @@ @implementation GTLRCompute_Backend @implementation GTLRCompute_BackendBucket @dynamic bucketName, cdnPolicy, compressionMode, creationTimestamp, customResponseHeaders, descriptionProperty, edgeSecurityPolicy, - enableCdn, identifier, kind, loadBalancingScheme, name, selfLink, - usedBy; + enableCdn, identifier, kind, loadBalancingScheme, name, params, + selfLink, usedBy; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -9232,6 +9321,30 @@ @implementation GTLRCompute_BackendBucketList_Warning_Data_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendBucketParams +// + +@implementation GTLRCompute_BackendBucketParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendBucketParams_ResourceManagerTags +// + +@implementation GTLRCompute_BackendBucketParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_BackendBucketUsedBy @@ -9267,10 +9380,10 @@ @implementation GTLRCompute_BackendService haPolicy, healthChecks, iap, identifier, ipAddressSelectionPolicy, kind, loadBalancingScheme, localityLbPolicies, localityLbPolicy, logConfig, maxStreamDuration, metadatas, name, network, - outlierDetection, port, portName, protocol, region, securityPolicy, - securitySettings, selfLink, serviceBindings, serviceLbPolicy, - sessionAffinity, strongSessionAffinityCookie, subsetting, timeoutSec, - tlsSettings, usedBy; + outlierDetection, params, port, portName, protocol, region, + securityPolicy, securitySettings, selfLink, serviceBindings, + serviceLbPolicy, sessionAffinity, strongSessionAffinityCookie, + subsetting, timeoutSec, tlsSettings, usedBy; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -9681,6 +9794,30 @@ @implementation GTLRCompute_BackendServiceLogConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendServiceParams +// + +@implementation GTLRCompute_BackendServiceParams +@dynamic resourceManagerTags; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_BackendServiceParams_ResourceManagerTags +// + +@implementation GTLRCompute_BackendServiceParams_ResourceManagerTags + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_BackendServiceReference @@ -15304,8 +15441,9 @@ @implementation GTLRCompute_Int64RangeMatch // @implementation GTLRCompute_Interconnect -@dynamic adminEnabled, availableFeatures, circuitInfos, creationTimestamp, - customerName, descriptionProperty, expectedOutages, googleIpAddress, +@dynamic aaiEnabled, adminEnabled, applicationAwareInterconnect, + availableFeatures, circuitInfos, creationTimestamp, customerName, + descriptionProperty, expectedOutages, googleIpAddress, googleReferenceId, identifier, interconnectAttachments, interconnectGroups, interconnectType, kind, labelFingerprint, labels, linkType, location, macsec, macsecEnabled, name, nocContactEmail, @@ -15349,6 +15487,62 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnect +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnect +@dynamic bandwidthPercentagePolicy, profileDescription, shapeAveragePercentages, + strictPriorityPolicy; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"shapeAveragePercentages" : [GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage +@dynamic percentage, trafficClass; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy +@dynamic bandwidthPercentages; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bandwidthPercentages" : [GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy +// + +@implementation GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_InterconnectAttachment @@ -18327,10 +18521,42 @@ + (Class)classForAdditionalProperties { // @implementation GTLRCompute_NetworkPeering -@dynamic autoCreateRoutes, exchangeSubnetRoutes, exportCustomRoutes, - exportSubnetRoutesWithPublicIp, importCustomRoutes, +@dynamic autoCreateRoutes, connectionStatus, exchangeSubnetRoutes, + exportCustomRoutes, exportSubnetRoutesWithPublicIp, importCustomRoutes, importSubnetRoutesWithPublicIp, name, network, peerMtu, stackType, - state, stateDetails; + state, stateDetails, updateStrategy; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkPeeringConnectionStatus +// + +@implementation GTLRCompute_NetworkPeeringConnectionStatus +@dynamic consensusState, trafficConfiguration, updateStrategy; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState +// + +@implementation GTLRCompute_NetworkPeeringConnectionStatusConsensusState +@dynamic deleteStatus, updateStatus; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration +// + +@implementation GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration +@dynamic exportCustomRoutesToPeer, exportSubnetRoutesWithPublicIpToPeer, + importCustomRoutesFromPeer, importSubnetRoutesWithPublicIpFromPeer, + stackType; @end @@ -18531,6 +18757,16 @@ @implementation GTLRCompute_NetworksRemovePeeringRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_NetworksRequestRemovePeeringRequest +// + +@implementation GTLRCompute_NetworksRequestRemovePeeringRequest +@dynamic name; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_NetworksUpdatePeeringRequest @@ -21501,12 +21737,12 @@ @implementation GTLRCompute_RequestMirrorPolicy // @implementation GTLRCompute_Reservation -@dynamic aggregateReservation, commitment, creationTimestamp, - deleteAfterDuration, deleteAtTime, deploymentType, descriptionProperty, - enableEmergentMaintenance, identifier, kind, linkedCommitments, name, - reservationSharingPolicy, resourcePolicies, resourceStatus, - satisfiesPzs, selfLink, shareSettings, specificReservation, - specificReservationRequired, status, zoneProperty; +@dynamic advancedDeploymentControl, aggregateReservation, commitment, + creationTimestamp, deleteAfterDuration, deleteAtTime, deploymentType, + descriptionProperty, enableEmergentMaintenance, identifier, kind, + linkedCommitments, name, reservationSharingPolicy, resourcePolicies, + resourceStatus, satisfiesPzs, schedulingType, selfLink, shareSettings, + specificReservation, specificReservationRequired, status, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -21541,6 +21777,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationAdvancedDeploymentControl +// + +@implementation GTLRCompute_ReservationAdvancedDeploymentControl +@dynamic reservationOperationalMode; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ReservationAffinity @@ -21630,10 +21876,10 @@ @implementation GTLRCompute_ReservationAggregatedList_Warning_Data_Item // @implementation GTLRCompute_ReservationBlock -@dynamic count, creationTimestamp, identifier, inUseCount, kind, name, - physicalTopology, reservationMaintenance, reservationSubBlockCount, - reservationSubBlockInUseCount, selfLink, selfLinkWithId, status, - zoneProperty; +@dynamic count, creationTimestamp, healthInfo, identifier, inUseCount, kind, + name, physicalTopology, reservationMaintenance, + reservationSubBlockCount, reservationSubBlockInUseCount, selfLink, + selfLinkWithId, status, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -21646,13 +21892,51 @@ @implementation GTLRCompute_ReservationBlock @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationBlockHealthInfo +// + +@implementation GTLRCompute_ReservationBlockHealthInfo +@dynamic degradedSubBlockCount, healthStatus, healthySubBlockCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ReservationBlockPhysicalTopology // @implementation GTLRCompute_ReservationBlockPhysicalTopology -@dynamic block, cluster; +@dynamic block, cluster, instances; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRCompute_ReservationBlockPhysicalTopologyInstance class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationBlockPhysicalTopologyInstance +// + +@implementation GTLRCompute_ReservationBlockPhysicalTopologyInstance +@dynamic instanceId, physicalHostTopology, projectId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology +// + +@implementation GTLRCompute_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology +@dynamic host, subBlock; @end @@ -21848,8 +22132,8 @@ @implementation GTLRCompute_ReservationsScopedList_Warning_Data_Item // @implementation GTLRCompute_ReservationSubBlock -@dynamic count, creationTimestamp, identifier, inUseCount, kind, name, - physicalTopology, reservationSubBlockMaintenance, selfLink, +@dynamic count, creationTimestamp, healthInfo, identifier, inUseCount, kind, + name, physicalTopology, reservationSubBlockMaintenance, selfLink, selfLinkWithId, status, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { @@ -21863,6 +22147,17 @@ @implementation GTLRCompute_ReservationSubBlock @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ReservationSubBlockHealthInfo +// + +@implementation GTLRCompute_ReservationSubBlockHealthInfo +@dynamic degradedHostCount, degradedInfraCount, healthStatus, healthyHostCount, + healthyInfraCount; +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ReservationSubBlockPhysicalTopology @@ -22329,7 +22624,21 @@ @implementation GTLRCompute_ResourcePolicyWorkloadPolicy // @implementation GTLRCompute_ResourceStatus -@dynamic physicalHost, physicalHostTopology, scheduling, upcomingMaintenance; +@dynamic effectiveInstanceMetadata, physicalHost, physicalHostTopology, + scheduling, upcomingMaintenance; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ResourceStatusEffectiveInstanceMetadata +// + +@implementation GTLRCompute_ResourceStatusEffectiveInstanceMetadata +@dynamic blockProjectSshKeysMetadataValue, enableGuestAttributesMetadataValue, + enableOsconfigMetadataValue, enableOsInventoryMetadataValue, + enableOsloginMetadataValue, serialPortEnableMetadataValue, + serialPortLoggingEnableMetadataValue, vmDnsSettingMetadataValue; @end @@ -23967,10 +24276,10 @@ @implementation GTLRCompute_ServiceAccount @implementation GTLRCompute_ServiceAttachment @dynamic connectedEndpoints, connectionPreference, consumerAcceptLists, consumerRejectLists, creationTimestamp, descriptionProperty, - domainNames, enableProxyProtocol, fingerprint, identifier, kind, name, - natSubnets, producerForwardingRule, propagatedConnectionLimit, - pscServiceAttachmentId, reconcileConnections, region, selfLink, - targetService; + domainNames, enableProxyProtocol, fingerprint, identifier, kind, + metadata, name, natSubnets, producerForwardingRule, + propagatedConnectionLimit, pscServiceAttachmentId, + reconcileConnections, region, selfLink, targetService; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -23994,6 +24303,20 @@ @implementation GTLRCompute_ServiceAttachment @end +// ---------------------------------------------------------------------------- +// +// GTLRCompute_ServiceAttachment_Metadata +// + +@implementation GTLRCompute_ServiceAttachment_Metadata + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRCompute_ServiceAttachmentAggregatedList @@ -27469,8 +27792,17 @@ @implementation GTLRCompute_Uint128 // @implementation GTLRCompute_UpcomingMaintenance -@dynamic canReschedule, latestWindowStartTime, maintenanceStatus, type, - windowEndTime, windowStartTime; +@dynamic canReschedule, latestWindowStartTime, maintenanceOnShutdown, + maintenanceReasons, maintenanceStatus, type, windowEndTime, + windowStartTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"maintenanceReasons" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m index adf629d7c..9e61b0da9 100644 --- a/Sources/GeneratedServices/Compute/GTLRComputeQuery.m +++ b/Sources/GeneratedServices/Compute/GTLRComputeQuery.m @@ -39,6 +39,11 @@ NSString * const kGTLRComputeRouteTypeLearned = @"LEARNED"; NSString * const kGTLRComputeRouteTypeUnspecifiedRouteType = @"UNSPECIFIED_ROUTE_TYPE"; +// view +NSString * const kGTLRComputeViewBasic = @"BASIC"; +NSString * const kGTLRComputeViewBlockViewUnspecified = @"BLOCK_VIEW_UNSPECIFIED"; +NSString * const kGTLRComputeViewFull = @"FULL"; + // ---------------------------------------------------------------------------- // Query Classes // @@ -10990,6 +10995,37 @@ + (instancetype)queryWithObject:(GTLRCompute_NetworksRemovePeeringRequest *)obje @end +@implementation GTLRComputeQuery_NetworksRequestRemovePeering + +@dynamic network, project, requestId; + ++ (instancetype)queryWithObject:(GTLRCompute_NetworksRequestRemovePeeringRequest *)object + project:(NSString *)project + network:(NSString *)network { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"network", @"project" + ]; + NSString *pathURITemplate = @"projects/{project}/global/networks/{network}/requestRemovePeering"; + GTLRComputeQuery_NetworksRequestRemovePeering *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.network = network; + query.expectedObjectClass = [GTLRCompute_Operation class]; + query.loggingName = @"compute.networks.requestRemovePeering"; + return query; +} + +@end + @implementation GTLRComputeQuery_NetworksSwitchToCustomMode @dynamic network, project, requestId; @@ -17616,7 +17652,7 @@ + (instancetype)queryWithProject:(NSString *)project @implementation GTLRComputeQuery_ReservationBlocksGet -@dynamic project, reservation, reservationBlock, zoneProperty; +@dynamic project, reservation, reservationBlock, view, zoneProperty; + (NSDictionary *)parameterNameMap { return @{ @"zoneProperty" : @"zone" }; @@ -20629,7 +20665,8 @@ + (instancetype)queryWithProject:(NSString *)project @implementation GTLRComputeQuery_SubnetworksListUsable -@dynamic filter, maxResults, orderBy, pageToken, project, returnPartialSuccess; +@dynamic filter, maxResults, orderBy, pageToken, project, returnPartialSuccess, + serviceProject; + (instancetype)queryWithProject:(NSString *)project { NSArray *pathParams = @[ @"project" ]; diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h index f4ee6718a..cf43c5b75 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeObjects.h @@ -42,6 +42,7 @@ @class GTLRCompute_AllocationAggregateReservationReservedResourceInfoAccelerator; @class GTLRCompute_AllocationReservationSharingPolicy; @class GTLRCompute_AllocationResourceStatus; +@class GTLRCompute_AllocationResourceStatusHealthInfo; @class GTLRCompute_AllocationResourceStatusSpecificSKUAllocation; @class GTLRCompute_AllocationResourceStatusSpecificSKUAllocation_Utilizations; @class GTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk; @@ -80,6 +81,8 @@ @class GTLRCompute_BackendBucketCdnPolicyNegativeCachingPolicy; @class GTLRCompute_BackendBucketList_Warning; @class GTLRCompute_BackendBucketList_Warning_Data_Item; +@class GTLRCompute_BackendBucketParams; +@class GTLRCompute_BackendBucketParams_ResourceManagerTags; @class GTLRCompute_BackendBucketUsedBy; @class GTLRCompute_BackendCustomMetric; @class GTLRCompute_BackendService; @@ -107,6 +110,8 @@ @class GTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy; @class GTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy; @class GTLRCompute_BackendServiceLogConfig; +@class GTLRCompute_BackendServiceParams; +@class GTLRCompute_BackendServiceParams_ResourceManagerTags; @class GTLRCompute_BackendServiceReference; @class GTLRCompute_BackendServicesScopedList; @class GTLRCompute_BackendServicesScopedList_Warning; @@ -384,6 +389,10 @@ @class GTLRCompute_Int64RangeMatch; @class GTLRCompute_Interconnect; @class GTLRCompute_Interconnect_Labels; +@class GTLRCompute_InterconnectApplicationAwareInterconnect; +@class GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage; +@class GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy; +@class GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy; @class GTLRCompute_InterconnectAttachment; @class GTLRCompute_InterconnectAttachment_Labels; @class GTLRCompute_InterconnectAttachmentAggregatedList_Items; @@ -542,6 +551,9 @@ @class GTLRCompute_NetworkParams; @class GTLRCompute_NetworkParams_ResourceManagerTags; @class GTLRCompute_NetworkPeering; +@class GTLRCompute_NetworkPeeringConnectionStatus; +@class GTLRCompute_NetworkPeeringConnectionStatusConsensusState; +@class GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration; @class GTLRCompute_NetworkPerformanceConfig; @class GTLRCompute_NetworkProfile; @class GTLRCompute_NetworkProfileLocation; @@ -673,12 +685,16 @@ @class GTLRCompute_RequestMirrorPolicy; @class GTLRCompute_Reservation; @class GTLRCompute_Reservation_ResourcePolicies; +@class GTLRCompute_ReservationAdvancedDeploymentControl; @class GTLRCompute_ReservationAffinity; @class GTLRCompute_ReservationAggregatedList_Items; @class GTLRCompute_ReservationAggregatedList_Warning; @class GTLRCompute_ReservationAggregatedList_Warning_Data_Item; @class GTLRCompute_ReservationBlock; +@class GTLRCompute_ReservationBlockHealthInfo; @class GTLRCompute_ReservationBlockPhysicalTopology; +@class GTLRCompute_ReservationBlockPhysicalTopologyInstance; +@class GTLRCompute_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology; @class GTLRCompute_ReservationBlocksListResponse_Warning; @class GTLRCompute_ReservationBlocksListResponse_Warning_Data_Item; @class GTLRCompute_ReservationList_Warning; @@ -687,6 +703,7 @@ @class GTLRCompute_ReservationsScopedList_Warning; @class GTLRCompute_ReservationsScopedList_Warning_Data_Item; @class GTLRCompute_ReservationSubBlock; +@class GTLRCompute_ReservationSubBlockHealthInfo; @class GTLRCompute_ReservationSubBlockPhysicalTopology; @class GTLRCompute_ReservationSubBlocksListResponse_Warning; @class GTLRCompute_ReservationSubBlocksListResponse_Warning_Data_Item; @@ -717,6 +734,7 @@ @class GTLRCompute_ResourcePolicyWeeklyCycleDayOfWeek; @class GTLRCompute_ResourcePolicyWorkloadPolicy; @class GTLRCompute_ResourceStatus; +@class GTLRCompute_ResourceStatusEffectiveInstanceMetadata; @class GTLRCompute_ResourceStatusPhysicalHostTopology; @class GTLRCompute_ResourceStatusScheduling; @class GTLRCompute_Route; @@ -805,6 +823,7 @@ @class GTLRCompute_ServerBinding; @class GTLRCompute_ServiceAccount; @class GTLRCompute_ServiceAttachment; +@class GTLRCompute_ServiceAttachment_Metadata; @class GTLRCompute_ServiceAttachmentAggregatedList_Items; @class GTLRCompute_ServiceAttachmentAggregatedList_Warning; @class GTLRCompute_ServiceAttachmentAggregatedList_Warning_Data_Item; @@ -2457,6 +2476,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationReservationSharingPoli /** Value: "SERVICE_SHARE_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationReservationSharingPolicy_ServiceShareType_ServiceShareTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCompute_AllocationResourceStatusHealthInfo.healthStatus + +/** + * The reservation is degraded. + * + * Value: "DEGRADED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_Degraded; +/** + * The health status of the reservation is unspecified. + * + * Value: "HEALTH_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_HealthStatusUnspecified; +/** + * The reservation is healthy. + * + * Value: "HEALTHY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_Healthy; + // ---------------------------------------------------------------------------- // GTLRCompute_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.interface @@ -3842,8 +3883,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_ * This algorithm implements consistent hashing to backends. Maglev can be used * as a drop in replacement for the ring hash load balancer. Maglev is not as * stable as ring hash but has faster table lookup build times and host - * selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 + * selection times. For more information about Maglev, see Maglev: A Fast and + * Reliable Software Network Load Balancer. * * Value: "MAGLEV" */ @@ -3878,6 +3919,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_ * Value: "ROUND_ROBIN" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_RoundRobin; +/** + * Per-instance weighted Load Balancing via health check reported weights. In + * internal passthrough network load balancing, it is weighted rendezvous + * hashing. This option is only supported in internal passthrough network load + * balancing. + * + * Value: "WEIGHTED_GCP_RENDEZVOUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_WeightedGcpRendezvous; /** * Per-instance weighted Load Balancing via health check reported weights. If * set, the Backend Service must configure a non legacy HTTP-based Health @@ -3896,8 +3946,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendService_LocalityLbPolicy_ * Per-endpoint weighted round-robin Load Balancing using weights computed from * Backend reported Custom Metrics. If set, the Backend Service responses are * expected to contain non-standard HTTP response header field - * X-Endpoint-Load-Metrics. The reported metrics to use for computing the - * weights are specified via the backends[].customMetrics fields. + * Endpoint-Load-Metrics. The reported metrics to use for computing the weights + * are specified via the customMetrics fields. * * Value: "WEIGHTED_ROUND_ROBIN" */ @@ -4675,8 +4725,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalanc * This algorithm implements consistent hashing to backends. Maglev can be used * as a drop in replacement for the ring hash load balancer. Maglev is not as * stable as ring hash but has faster table lookup build times and host - * selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 + * selection times. For more information about Maglev, see Maglev: A Fast and + * Reliable Software Network Load Balancer. * * Value: "MAGLEV" */ @@ -4711,6 +4761,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalanc * Value: "ROUND_ROBIN" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RoundRobin; +/** + * Per-instance weighted Load Balancing via health check reported weights. In + * internal passthrough network load balancing, it is weighted rendezvous + * hashing. This option is only supported in internal passthrough network load + * balancing. + * + * Value: "WEIGHTED_GCP_RENDEZVOUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedGcpRendezvous; /** * Per-instance weighted Load Balancing via health check reported weights. If * set, the Backend Service must configure a non legacy HTTP-based Health @@ -4729,8 +4788,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_BackendServiceLocalityLoadBalanc * Per-endpoint weighted round-robin Load Balancing using weights computed from * Backend reported Custom Metrics. If set, the Backend Service responses are * expected to contain non-standard HTTP response header field - * X-Endpoint-Load-Metrics. The reported metrics to use for computing the - * weights are specified via the backends[].customMetrics fields. + * Endpoint-Load-Metrics. The reported metrics to use for computing the weights + * are specified via the customMetrics fields. * * Value: "WEIGHTED_ROUND_ROBIN" */ @@ -15131,6 +15190,46 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Interconnect_State_Active; */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Interconnect_State_Unprovisioned; +// ---------------------------------------------------------------------------- +// GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage.trafficClass + +/** + * Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx. + * + * Value: "TC1" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc1; +/** + * Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx. + * + * Value: "TC2" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc2; +/** + * Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx. + * + * Value: "TC3" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc3; +/** + * Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx. + * + * Value: "TC4" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc4; +/** + * Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx. + * + * Value: "TC5" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc5; +/** + * Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx. + * + * Value: "TC6" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc6; + // ---------------------------------------------------------------------------- // GTLRCompute_InterconnectAttachment.bandwidth @@ -21187,6 +21286,132 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_State_Active; */ FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_State_Inactive; +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeering.updateStrategy + +/** + * Updates are reflected in the local peering but aren't applied to the peering + * connection until a complementary change is made to the matching peering. To + * delete a peering with the consensus update strategy, both the peerings must + * request the deletion of the peering before the peering can be deleted. + * + * Value: "CONSENSUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Consensus; +/** + * In this mode, changes to the peering configuration can be unilaterally + * altered by changing either side of the peering. This is the default value if + * the field is unspecified. + * + * Value: "INDEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Independent; +/** + * Peerings with update strategy UNSPECIFIED are created with update strategy + * INDEPENDENT. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeering_UpdateStrategy_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatus.updateStrategy + +/** + * Updates are reflected in the local peering but aren't applied to the peering + * connection until a complementary change is made to the matching peering. To + * delete a peering with the consensus update strategy, both the peerings must + * request the deletion of the peering before the peering can be deleted. + * + * Value: "CONSENSUS" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Consensus; +/** + * In this mode, changes to the peering configuration can be unilaterally + * altered by changing either side of the peering. This is the default value if + * the field is unspecified. + * + * Value: "INDEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Independent; +/** + * Peerings with update strategy UNSPECIFIED are created with update strategy + * INDEPENDENT. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.deleteStatus + +/** + * Both network admins have agreed this consensus peering connection can be + * deleted. + * + * Value: "DELETE_ACKNOWLEDGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteAcknowledged; +/** Value: "DELETE_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteStatusUnspecified; +/** + * Network admin has requested deletion of this peering connection. + * + * Value: "LOCAL_DELETE_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_LocalDeleteRequested; +/** + * The peer network admin has requested deletion of this peering connection. + * + * Value: "PEER_DELETE_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_PeerDeleteRequested; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatusConsensusState.updateStatus + +/** + * No pending configuration update proposals to the peering connection. + * + * Value: "IN_SYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_InSync; +/** + * The peer network admin has made an updatePeering call. The change is + * awaiting acknowledgment from this peering's network admin. + * + * Value: "PENDING_LOCAL_ACKNOWLEDMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingLocalAcknowledment; +/** + * The local network admin has made an updatePeering call. The change is + * awaiting acknowledgment from the peer network admin. + * + * Value: "PENDING_PEER_ACKNOWLEDGEMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingPeerAcknowledgement; +/** Value: "UPDATE_STATUS_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_UpdateStatusUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration.stackType + +/** + * This Peering will allow IPv4 traffic and routes to be exchanged. + * Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes + * will be exchanged as well. + * + * Value: "IPV4_IPV6" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Ipv6; +/** + * This Peering will only allow IPv4 traffic and routes to be exchanged, even + * if the matching peering is IPV4_IPV6. + * + * Value: "IPV4_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Only; + // ---------------------------------------------------------------------------- // GTLRCompute_NetworkPerformanceConfig.totalEgressBandwidthTier @@ -28635,6 +28860,29 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_DeploymentType_Dense /** Value: "DEPLOYMENT_TYPE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_DeploymentType_DeploymentTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRCompute_Reservation.schedulingType + +/** + * Maintenance on all reserved instances in the reservation is synchronized. + * + * Value: "GROUPED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_SchedulingType_Grouped; +/** + * Unknown maintenance type. + * + * Value: "GROUP_MAINTENANCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_SchedulingType_GroupMaintenanceTypeUnspecified; +/** + * Maintenance is not synchronized for this reservation. Instead, each instance + * has its own maintenance window. + * + * Value: "INDEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_SchedulingType_Independent; + // ---------------------------------------------------------------------------- // GTLRCompute_Reservation.status @@ -28666,6 +28914,25 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_Status_Ready; */ FOUNDATION_EXTERN NSString * const kGTLRCompute_Reservation_Status_Updating; +// ---------------------------------------------------------------------------- +// GTLRCompute_ReservationAdvancedDeploymentControl.reservationOperationalMode + +/** + * Google Cloud does not manage the failure of machines, but provides + * additional capacity, which is not guaranteed to be available. + * + * Value: "ALL_CAPACITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_AllCapacity; +/** + * Google Cloud manages the failure of machines to provide high availability. + * + * Value: "HIGHLY_AVAILABLE_CAPACITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_HighlyAvailableCapacity; +/** Value: "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED" */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_ReservationOperationalModeUnspecified; + // ---------------------------------------------------------------------------- // GTLRCompute_ReservationAffinity.consumeReservationType @@ -28905,6 +29172,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationBlock_Status_Invalid; */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationBlock_Status_Ready; +// ---------------------------------------------------------------------------- +// GTLRCompute_ReservationBlockHealthInfo.healthStatus + +/** + * The reservation block is degraded. + * + * Value: "DEGRADED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_Degraded; +/** + * The health status of the reservation block is unspecified. + * + * Value: "HEALTH_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_HealthStatusUnspecified; +/** + * The reservation block is healthy. + * + * Value: "HEALTHY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_Healthy; + // ---------------------------------------------------------------------------- // GTLRCompute_ReservationBlocksListResponse_Warning.code @@ -29561,6 +29850,28 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlock_Status_Inval */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlock_Status_Ready; +// ---------------------------------------------------------------------------- +// GTLRCompute_ReservationSubBlockHealthInfo.healthStatus + +/** + * The reservation subBlock is degraded. + * + * Value: "DEGRADED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_Degraded; +/** + * The health status of the reservation subBlock is unspecified. + * + * Value: "HEALTH_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_HealthStatusUnspecified; +/** + * The reservation subBlock is healthy. + * + * Value: "HEALTHY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_Healthy; + // ---------------------------------------------------------------------------- // GTLRCompute_ReservationSubBlocksListResponse_Warning.code @@ -30429,13 +30740,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Max // GTLRCompute_ResourcePolicyWorkloadPolicy.type /** - * VMs will be provisioned in such a way which provides high availability. + * MIG spreads out the instances as much as possible for high availability. * * Value: "HIGH_AVAILABILITY" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighAvailability; /** - * VMs will be provisioned in such a way which provides high throughput. + * MIG provisions instances as close to each other as possible for high + * throughput. * * Value: "HIGH_THROUGHPUT" */ @@ -41911,6 +42223,94 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_None; /** Value: "PROXY_V1" */ FOUNDATION_EXTERN NSString * const kGTLRCompute_TCPHealthCheck_ProxyHeader_ProxyV1; +// ---------------------------------------------------------------------------- +// GTLRCompute_UpcomingMaintenance.maintenanceReasons + +/** + * Maintenance due to disk errors. + * + * Value: "FAILURE_DISK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureDisk; +/** + * Maintenance due to GPU errors. + * + * Value: "FAILURE_GPU" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpu; +/** + * Maintenance due to high GPU temperature. + * + * Value: "FAILURE_GPU_TEMPERATURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuTemperature; +/** + * Maintenance due to GPU xid failure. + * + * Value: "FAILURE_GPU_XID" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureGpuXid; +/** + * Maintenance due to infrastructure errors. + * + * Value: "FAILURE_INFRA" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureInfra; +/** + * Maintenance due to interface errors. + * + * Value: "FAILURE_INTERFACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureInterface; +/** + * Maintenance due to memory errors. + * + * Value: "FAILURE_MEMORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureMemory; +/** + * Maintenance due to network errors. + * + * Value: "FAILURE_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureNetwork; +/** + * Maintenance due to NVLink failure. + * + * Value: "FAILURE_NVLINK" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureNvlink; +/** + * Maintenance due to redundant hardware fault. + * + * Value: "FAILURE_REDUNDANT_HARDWARE_FAULT" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_FailureRedundantHardwareFault; +/** + * Maintenance due to infrastructure relocation. + * + * Value: "INFRASTRUCTURE_RELOCATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_InfrastructureRelocation; +/** + * Unknown maintenance reason. Do not use this value. + * + * Value: "MAINTENANCE_REASON_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_MaintenanceReasonUnknown; +/** + * Maintenance due to planned network update. + * + * Value: "PLANNED_NETWORK_UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_PlannedNetworkUpdate; +/** + * Maintenance due to planned update to the instance. + * + * Value: "PLANNED_UPDATE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceReasons_PlannedUpdate; + // ---------------------------------------------------------------------------- // GTLRCompute_UpcomingMaintenance.maintenanceStatus @@ -41936,6 +42336,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_MaintenanceS // ---------------------------------------------------------------------------- // GTLRCompute_UpcomingMaintenance.type +/** + * Multiple maintenance types in one window. This is only intended to be used + * for groups. + * + * Value: "MULTIPLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRCompute_UpcomingMaintenance_Type_Multiple; /** * Scheduled maintenance (e.g. maintenance after uptime guarantee is complete). * @@ -46450,6 +46857,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_AllocationResourceStatus : GTLRObject +/** [Output only] Health information for the reservation. */ +@property(nonatomic, strong, nullable) GTLRCompute_AllocationResourceStatusHealthInfo *healthInfo; + /** * The number of reservation blocks associated with this reservation. * @@ -46466,6 +46876,42 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Health information for the reservation. + */ +@interface GTLRCompute_AllocationResourceStatusHealthInfo : GTLRObject + +/** + * The number of reservation blocks that are degraded. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *degradedBlockCount; + +/** + * The health status of the reservation. + * + * Likely values: + * @arg @c kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_Degraded + * The reservation is degraded. (Value: "DEGRADED") + * @arg @c kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_HealthStatusUnspecified + * The health status of the reservation is unspecified. (Value: + * "HEALTH_STATUS_UNSPECIFIED") + * @arg @c kGTLRCompute_AllocationResourceStatusHealthInfo_HealthStatus_Healthy + * The reservation is healthy. (Value: "HEALTHY") + */ +@property(nonatomic, copy, nullable) NSString *healthStatus; + +/** + * The number of reservation blocks that are healthy. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *healthyBlockCount; + +@end + + /** * Contains Properties set for the reservation. */ @@ -48495,6 +48941,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *name; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendBucketParams *params; + /** [Output Only] Server-defined URL for the resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; @@ -48921,6 +49373,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional Backend Bucket parameters. + */ +@interface GTLRCompute_BackendBucketParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendBucketParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_BackendBucketParams_ResourceManagerTags : GTLRObject +@end + + /** * GTLRCompute_BackendBucketUsedBy */ @@ -48958,12 +49449,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Name of a custom utilization signal. The name must be 1-64 characters long * and match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means - * the first character must be a lowercase letter, and all following characters - * must be a dash, period, underscore, lowercase letter, or digit, except the - * last character, which cannot be a dash, period, or underscore. For usage - * guidelines, see Custom Metrics balancing mode. This field can only be used - * for a global or regional backend service with the loadBalancingScheme set to - * EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. + * that the first character must be a lowercase letter, and all following + * characters must be a dash, period, underscore, lowercase letter, or digit, + * except the last character, which cannot be a dash, period, or underscore. + * For usage guidelines, see Custom Metrics balancing mode. This field can only + * be used for a global or regional backend service with the + * loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED + * INTERNAL_SELF_MANAGED. */ @property(nonatomic, copy, nullable) NSString *name; @@ -49309,19 +49801,24 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * connection was redirected to the load balancer. - MAGLEV: used as a drop in * replacement for the ring hash load balancer. Maglev is not as stable as ring * hash but has faster table lookup build times and host selection times. For - * more information about Maglev, see https://ai.google/research/pubs/pub44824 - * This field is applicable to either: - A regional backend service with the - * service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and load_balancing_scheme - * set to INTERNAL_MANAGED. - A global backend service with the - * load_balancing_scheme set to INTERNAL_SELF_MANAGED, INTERNAL_MANAGED, or - * EXTERNAL_MANAGED. If sessionAffinity is not configured—that is, if session - * affinity remains at the default value of NONE—then the default value for - * localityLbPolicy is ROUND_ROBIN. If session affinity is set to a value other - * than NONE, then the default value for localityLbPolicy is MAGLEV. Only - * ROUND_ROBIN and RING_HASH are supported when the backend service is - * referenced by a URL map that is bound to target gRPC proxy that has - * validateForProxyless field set to true. localityLbPolicy cannot be specified - * with haPolicy. + * more information about Maglev, see Maglev: A Fast and Reliable Software + * Network Load Balancer. - WEIGHTED_ROUND_ROBIN: Per-endpoint Weighted Round + * Robin Load Balancing using weights computed from Backend reported Custom + * Metrics. If set, the Backend Service responses are expected to contain + * non-standard HTTP response header field Endpoint-Load-Metrics. The reported + * metrics to use for computing the weights are specified via the customMetrics + * field. This field is applicable to either: - A regional backend service with + * the service_protocol set to HTTP, HTTPS, HTTP2 or H2C, and + * load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service + * with the load_balancing_scheme set to INTERNAL_SELF_MANAGED, + * INTERNAL_MANAGED, or EXTERNAL_MANAGED. If sessionAffinity is not + * configured—that is, if session affinity remains at the default value of + * NONE—then the default value for localityLbPolicy is ROUND_ROBIN. If session + * affinity is set to a value other than NONE, then the default value for + * localityLbPolicy is MAGLEV. Only ROUND_ROBIN and RING_HASH are supported + * when the backend service is referenced by a URL map that is bound to target + * gRPC proxy that has validateForProxyless field set to true. localityLbPolicy + * cannot be specified with haPolicy. * * Likely values: * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_InvalidLbPolicy Value @@ -49333,8 +49830,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * implements consistent hashing to backends. Maglev can be used as a * drop in replacement for the ring hash load balancer. Maglev is not as * stable as ring hash but has faster table lookup build times and host - * selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 (Value: "MAGLEV") + * selection times. For more information about Maglev, see Maglev: A Fast + * and Reliable Software Network Load Balancer. (Value: "MAGLEV") * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_OriginalDestination * Backend host is selected based on the client connection metadata, * i.e., connections are opened to the same address as the destination @@ -49350,6 +49847,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_RoundRobin This is a * simple policy in which each healthy backend is selected in round robin * order. This is the default. (Value: "ROUND_ROBIN") + * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_WeightedGcpRendezvous + * Per-instance weighted Load Balancing via health check reported + * weights. In internal passthrough network load balancing, it is + * weighted rendezvous hashing. This option is only supported in internal + * passthrough network load balancing. (Value: "WEIGHTED_GCP_RENDEZVOUS") * @arg @c kGTLRCompute_BackendService_LocalityLbPolicy_WeightedMaglev * Per-instance weighted Load Balancing via health check reported * weights. If set, the Backend Service must configure a non legacy @@ -49365,9 +49867,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Per-endpoint weighted round-robin Load Balancing using weights * computed from Backend reported Custom Metrics. If set, the Backend * Service responses are expected to contain non-standard HTTP response - * header field X-Endpoint-Load-Metrics. The reported metrics to use for - * computing the weights are specified via the backends[].customMetrics - * fields. (Value: "WEIGHTED_ROUND_ROBIN") + * header field Endpoint-Load-Metrics. The reported metrics to use for + * computing the weights are specified via the customMetrics fields. + * (Value: "WEIGHTED_ROUND_ROBIN") */ @property(nonatomic, copy, nullable) NSString *localityLbPolicy; @@ -49445,6 +49947,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) GTLRCompute_OutlierDetection *outlierDetection; +/** + * Input only. [Input Only] Additional params passed with the request, but not + * persisted as part of resource payload. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendServiceParams *params; + /** * Deprecated in favor of portName. The TCP port to connect on the backend. The * default value is 80. For internal passthrough Network Load Balancers and @@ -49526,7 +50034,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * URL to networkservices.ServiceLbPolicy resource. Can only be set if load - * balancing scheme is EXTERNAL, EXTERNAL_MANAGED, INTERNAL_MANAGED or + * balancing scheme is EXTERNAL_MANAGED, INTERNAL_MANAGED or * INTERNAL_SELF_MANAGED and the scope is global. */ @property(nonatomic, copy, nullable) NSString *serviceLbPolicy; @@ -50126,12 +50634,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** * Name of a custom utilization signal. The name must be 1-64 characters long * and match the regular expression [a-z]([-_.a-z0-9]*[a-z0-9])? which means - * the first character must be a lowercase letter, and all following characters - * must be a dash, period, underscore, lowercase letter, or digit, except the - * last character, which cannot be a dash, period, or underscore. For usage - * guidelines, see Custom Metrics balancing mode. This field can only be used - * for a global or regional backend service with the loadBalancingScheme set to - * EXTERNAL_MANAGED, INTERNAL_MANAGED INTERNAL_SELF_MANAGED. + * that the first character must be a lowercase letter, and all following + * characters must be a dash, period, underscore, lowercase letter, or digit, + * except the last character, which cannot be a dash, period, or underscore. + * For usage guidelines, see Custom Metrics balancing mode. This field can only + * be used for a global or regional backend service with the + * loadBalancingScheme set to EXTERNAL_MANAGED, INTERNAL_MANAGED + * INTERNAL_SELF_MANAGED. */ @property(nonatomic, copy, nullable) NSString *name; @@ -50833,7 +51342,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * be used as a drop in replacement for the ring hash load balancer. * Maglev is not as stable as ring hash but has faster table lookup build * times and host selection times. For more information about Maglev, see - * https://ai.google/research/pubs/pub44824 (Value: "MAGLEV") + * Maglev: A Fast and Reliable Software Network Load Balancer. (Value: + * "MAGLEV") * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_OriginalDestination * Backend host is selected based on the client connection metadata, * i.e., connections are opened to the same address as the destination @@ -50849,6 +51359,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_RoundRobin * This is a simple policy in which each healthy backend is selected in * round robin order. This is the default. (Value: "ROUND_ROBIN") + * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedGcpRendezvous + * Per-instance weighted Load Balancing via health check reported + * weights. In internal passthrough network load balancing, it is + * weighted rendezvous hashing. This option is only supported in internal + * passthrough network load balancing. (Value: "WEIGHTED_GCP_RENDEZVOUS") * @arg @c kGTLRCompute_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_Name_WeightedMaglev * Per-instance weighted Load Balancing via health check reported * weights. If set, the Backend Service must configure a non legacy @@ -50864,9 +51379,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Per-endpoint weighted round-robin Load Balancing using weights * computed from Backend reported Custom Metrics. If set, the Backend * Service responses are expected to contain non-standard HTTP response - * header field X-Endpoint-Load-Metrics. The reported metrics to use for - * computing the weights are specified via the backends[].customMetrics - * fields. (Value: "WEIGHTED_ROUND_ROBIN") + * header field Endpoint-Load-Metrics. The reported metrics to use for + * computing the weights are specified via the customMetrics fields. + * (Value: "WEIGHTED_ROUND_ROBIN") */ @property(nonatomic, copy, nullable) NSString *name; @@ -50925,6 +51440,45 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Additional Backend Service parameters. + */ +@interface GTLRCompute_BackendServiceParams : GTLRObject + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + */ +@property(nonatomic, strong, nullable) GTLRCompute_BackendServiceParams_ResourceManagerTags *resourceManagerTags; + +@end + + +/** + * Tag keys/values directly bound to this resource. Tag keys and values have + * the same definition as resource manager tags. The field is allowed for + * INSERT only. The keys/values to set on the resource should be specified in + * either ID { : } or Namespaced format { : }. For example the following are + * valid inputs: * {"tagKeys/333" : "tagValues/444", "tagKeys/123" : + * "tagValues/456"} * {"123/environment" : "production", "345/abc" : "xyz"} + * Note: * Invalid combinations of ID & namespaced format is not supported. For + * instance: {"123/environment" : "tagValues/444"} is invalid. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_BackendServiceParams_ResourceManagerTags : GTLRObject +@end + + /** * GTLRCompute_BackendServiceReference */ @@ -68697,6 +69251,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_Interconnect : GTLRObject +/** + * Enable or disable the application awareness feature on this Cloud + * Interconnect. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *aaiEnabled; + /** * Administrative status of the interconnect. When this is set to true, the * Interconnect is functional and can carry traffic. When set to false, no @@ -68707,6 +69269,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *adminEnabled; +/** + * Configuration information for application awareness on this Cloud + * Interconnect. + */ +@property(nonatomic, strong, nullable) GTLRCompute_InterconnectApplicationAwareInterconnect *applicationAwareInterconnect; + /** * [Output only] List of features available for this Interconnect connection, * which can take one of the following values: - IF_MACSEC If present then the @@ -68985,6 +69553,94 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Configuration information for application awareness on this Cloud + * Interconnect. + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnect : GTLRObject + +@property(nonatomic, strong, nullable) GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy *bandwidthPercentagePolicy; + +/** + * Description for the application awareness profile on this Cloud + * Interconnect. + */ +@property(nonatomic, copy, nullable) NSString *profileDescription; + +/** + * Optional field to specify a list of shape average percentages to be applied + * in conjunction with StrictPriorityPolicy or BandwidthPercentagePolicy. + */ +@property(nonatomic, strong, nullable) NSArray *shapeAveragePercentages; + +@property(nonatomic, strong, nullable) GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy *strictPriorityPolicy; + +@end + + +/** + * Specify bandwidth percentages [1-100] for various traffic classes in + * BandwidthPercentagePolicy. The sum of all percentages must equal 100. All + * traffic classes must have a percentage value specified. + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage : GTLRObject + +/** + * Bandwidth percentage for a specific traffic class. + * + * Uses NSNumber of unsignedIntValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentage; + +/** + * TrafficClass whose bandwidth percentage is being specified. + * + * Likely values: + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc1 + * Traffic Class 1, corresponding to DSCP ranges (0-7) 000xxx. (Value: + * "TC1") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc2 + * Traffic Class 2, corresponding to DSCP ranges (8-15) 001xxx. (Value: + * "TC2") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc3 + * Traffic Class 3, corresponding to DSCP ranges (16-23) 010xxx. (Value: + * "TC3") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc4 + * Traffic Class 4, corresponding to DSCP ranges (24-31) 011xxx. (Value: + * "TC4") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc5 + * Traffic Class 5, corresponding to DSCP ranges (32-47) 10xxxx. (Value: + * "TC5") + * @arg @c kGTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentage_TrafficClass_Tc6 + * Traffic Class 6, corresponding to DSCP ranges (48-63) 11xxxx. (Value: + * "TC6") + */ +@property(nonatomic, copy, nullable) NSString *trafficClass; + +@end + + +/** + * GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnectBandwidthPercentagePolicy : GTLRObject + +/** + * Specify bandwidth percentages for various traffic classes for queuing type + * Bandwidth Percent. + */ +@property(nonatomic, strong, nullable) NSArray *bandwidthPercentages; + +@end + + +/** + * Specify configuration for StrictPriorityPolicy. + */ +@interface GTLRCompute_InterconnectApplicationAwareInterconnectStrictPriorityPolicy : GTLRObject +@end + + /** * Represents an Interconnect Attachment (VLAN) resource. You can use * Interconnect attachments (VLANS) to connect your Virtual Private Cloud @@ -78188,6 +78844,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *autoCreateRoutes; +/** [Output Only] The effective state of the peering connection as a whole. */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkPeeringConnectionStatus *connectionStatus; + /** * Indicates whether full mesh connectivity is created and managed * automatically between peered networks. Currently this field should always be @@ -78289,6 +78948,172 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] Details about the current state of the peering. */ @property(nonatomic, copy, nullable) NSString *stateDetails; +/** + * The update strategy determines the semantics for updates and deletes to the + * peering connection configuration. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeering_UpdateStrategy_Consensus Updates are + * reflected in the local peering but aren't applied to the peering + * connection until a complementary change is made to the matching + * peering. To delete a peering with the consensus update strategy, both + * the peerings must request the deletion of the peering before the + * peering can be deleted. (Value: "CONSENSUS") + * @arg @c kGTLRCompute_NetworkPeering_UpdateStrategy_Independent In this + * mode, changes to the peering configuration can be unilaterally altered + * by changing either side of the peering. This is the default value if + * the field is unspecified. (Value: "INDEPENDENT") + * @arg @c kGTLRCompute_NetworkPeering_UpdateStrategy_Unspecified Peerings + * with update strategy UNSPECIFIED are created with update strategy + * INDEPENDENT. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *updateStrategy; + +@end + + +/** + * [Output Only] Describes the state of a peering connection, not just the + * local peering. This field provides information about the effective settings + * for the connection as a whole, including pending delete/update requests for + * CONSENSUS peerings. + */ +@interface GTLRCompute_NetworkPeeringConnectionStatus : GTLRObject + +/** + * The consensus state contains information about the status of update and + * delete for a consensus peering connection. + */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkPeeringConnectionStatusConsensusState *consensusState; + +/** + * The active connectivity settings for the peering connection based on the + * settings of the network peerings. + */ +@property(nonatomic, strong, nullable) GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration *trafficConfiguration; + +/** + * The update strategy determines the update/delete semantics for this peering + * connection. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Consensus + * Updates are reflected in the local peering but aren't applied to the + * peering connection until a complementary change is made to the + * matching peering. To delete a peering with the consensus update + * strategy, both the peerings must request the deletion of the peering + * before the peering can be deleted. (Value: "CONSENSUS") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Independent + * In this mode, changes to the peering configuration can be unilaterally + * altered by changing either side of the peering. This is the default + * value if the field is unspecified. (Value: "INDEPENDENT") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatus_UpdateStrategy_Unspecified + * Peerings with update strategy UNSPECIFIED are created with update + * strategy INDEPENDENT. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *updateStrategy; + +@end + + +/** + * The status of update/delete for a consensus peering connection. Only set + * when connection_status.update_strategy is CONSENSUS or a network peering is + * proposing to update the strategy to CONSENSUS. + */ +@interface GTLRCompute_NetworkPeeringConnectionStatusConsensusState : GTLRObject + +/** + * The status of the delete request. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteAcknowledged + * Both network admins have agreed this consensus peering connection can + * be deleted. (Value: "DELETE_ACKNOWLEDGED") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_DeleteStatusUnspecified + * Value "DELETE_STATUS_UNSPECIFIED" + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_LocalDeleteRequested + * Network admin has requested deletion of this peering connection. + * (Value: "LOCAL_DELETE_REQUESTED") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_DeleteStatus_PeerDeleteRequested + * The peer network admin has requested deletion of this peering + * connection. (Value: "PEER_DELETE_REQUESTED") + */ +@property(nonatomic, copy, nullable) NSString *deleteStatus; + +/** + * The status of the update request. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_InSync + * No pending configuration update proposals to the peering connection. + * (Value: "IN_SYNC") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingLocalAcknowledment + * The peer network admin has made an updatePeering call. The change is + * awaiting acknowledgment from this peering's network admin. (Value: + * "PENDING_LOCAL_ACKNOWLEDMENT") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_PendingPeerAcknowledgement + * The local network admin has made an updatePeering call. The change is + * awaiting acknowledgment from the peer network admin. (Value: + * "PENDING_PEER_ACKNOWLEDGEMENT") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusConsensusState_UpdateStatus_UpdateStatusUnspecified + * Value "UPDATE_STATUS_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *updateStatus; + +@end + + +/** + * GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration + */ +@interface GTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration : GTLRObject + +/** + * Whether custom routes are being exported to the peer network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportCustomRoutesToPeer; + +/** + * Whether subnet routes with public IP ranges are being exported to the peer + * network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exportSubnetRoutesWithPublicIpToPeer; + +/** + * Whether custom routes are being imported from the peer network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *importCustomRoutesFromPeer; + +/** + * Whether subnet routes with public IP ranges are being imported from the peer + * network. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *importSubnetRoutesWithPublicIpFromPeer; + +/** + * Which IP version(s) of traffic and routes are being imported or exported + * between peer networks. + * + * Likely values: + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Ipv6 + * This Peering will allow IPv4 traffic and routes to be exchanged. + * Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and + * routes will be exchanged as well. (Value: "IPV4_IPV6") + * @arg @c kGTLRCompute_NetworkPeeringConnectionStatusTrafficConfiguration_StackType_Ipv4Only + * This Peering will only allow IPv4 traffic and routes to be exchanged, + * even if the matching peering is IPV4_IPV6. (Value: "IPV4_ONLY") + */ +@property(nonatomic, copy, nullable) NSString *stackType; + @end @@ -79049,6 +79874,17 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * GTLRCompute_NetworksRequestRemovePeeringRequest + */ +@interface GTLRCompute_NetworksRequestRemovePeeringRequest : GTLRObject + +/** Name of the peering, which should conform to RFC1035. */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * GTLRCompute_NetworksUpdatePeeringRequest */ @@ -88133,6 +88969,12 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_Reservation : GTLRObject +/** + * Advanced control for cluster management, applicable only to DENSE deployment + * type reservations. + */ +@property(nonatomic, strong, nullable) GTLRCompute_ReservationAdvancedDeploymentControl *advancedDeploymentControl; + /** Reservation for aggregated resources, providing shape flexibility. */ @property(nonatomic, strong, nullable) GTLRCompute_AllocationAggregateReservation *aggregateReservation; @@ -88241,6 +89083,22 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, strong, nullable) NSNumber *satisfiesPzs; +/** + * The type of maintenance for the reservation. + * + * Likely values: + * @arg @c kGTLRCompute_Reservation_SchedulingType_Grouped Maintenance on all + * reserved instances in the reservation is synchronized. (Value: + * "GROUPED") + * @arg @c kGTLRCompute_Reservation_SchedulingType_GroupMaintenanceTypeUnspecified + * Unknown maintenance type. (Value: + * "GROUP_MAINTENANCE_TYPE_UNSPECIFIED") + * @arg @c kGTLRCompute_Reservation_SchedulingType_Independent Maintenance is + * not synchronized for this reservation. Instead, each instance has its + * own maintenance window. (Value: "INDEPENDENT") + */ +@property(nonatomic, copy, nullable) NSString *schedulingType; + /** [Output Only] Server-defined fully-qualified URL for this resource. */ @property(nonatomic, copy, nullable) NSString *selfLink; @@ -88307,6 +89165,31 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Advance control for cluster management, applicable only to DENSE deployment + * type reservations. + */ +@interface GTLRCompute_ReservationAdvancedDeploymentControl : GTLRObject + +/** + * Indicates chosen reservation operational mode for the reservation. + * + * Likely values: + * @arg @c kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_AllCapacity + * Google Cloud does not manage the failure of machines, but provides + * additional capacity, which is not guaranteed to be available. (Value: + * "ALL_CAPACITY") + * @arg @c kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_HighlyAvailableCapacity + * Google Cloud manages the failure of machines to provide high + * availability. (Value: "HIGHLY_AVAILABLE_CAPACITY") + * @arg @c kGTLRCompute_ReservationAdvancedDeploymentControl_ReservationOperationalMode_ReservationOperationalModeUnspecified + * Value "RESERVATION_OPERATIONAL_MODE_UNSPECIFIED" + */ +@property(nonatomic, copy, nullable) NSString *reservationOperationalMode; + +@end + + /** * Specifies the reservations that this instance can consume from. */ @@ -88555,6 +89438,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] Creation timestamp in RFC3339 text format. */ @property(nonatomic, copy, nullable) NSString *creationTimestamp; +/** [Output Only] Health information for the reservation block. */ +@property(nonatomic, strong, nullable) GTLRCompute_ReservationBlockHealthInfo *healthInfo; + /** * [Output Only] The unique identifier for the resource. This identifier is * defined by the server. @@ -88641,6 +89527,42 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Health information for the reservation block. + */ +@interface GTLRCompute_ReservationBlockHealthInfo : GTLRObject + +/** + * The number of subBlocks that are degraded. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *degradedSubBlockCount; + +/** + * The health status of the reservation block. + * + * Likely values: + * @arg @c kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_Degraded The + * reservation block is degraded. (Value: "DEGRADED") + * @arg @c kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_HealthStatusUnspecified + * The health status of the reservation block is unspecified. (Value: + * "HEALTH_STATUS_UNSPECIFIED") + * @arg @c kGTLRCompute_ReservationBlockHealthInfo_HealthStatus_Healthy The + * reservation block is healthy. (Value: "HEALTHY") + */ +@property(nonatomic, copy, nullable) NSString *healthStatus; + +/** + * The number of subBlocks that are healthy. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *healthySubBlockCount; + +@end + + /** * GTLRCompute_ReservationBlockPhysicalTopology */ @@ -88652,6 +89574,48 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** The cluster name of the reservation block. */ @property(nonatomic, copy, nullable) NSString *cluster; +/** The detailed instances information for a given Block */ +@property(nonatomic, strong, nullable) NSArray *instances; + +@end + + +/** + * The instances information for a given Block + */ +@interface GTLRCompute_ReservationBlockPhysicalTopologyInstance : GTLRObject + +/** + * The InstanceId of the instance + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *instanceId; + +/** The PhysicalHostTopology of instances within a Block resource. */ +@property(nonatomic, strong, nullable) GTLRCompute_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology *physicalHostTopology; + +/** + * Project where the instance lives + * + * Uses NSNumber of unsignedLongLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *projectId; + +@end + + +/** + * The PhysicalHostTopology of the instance within a Block resource. + */ +@interface GTLRCompute_ReservationBlockPhysicalTopologyInstancePhysicalHostTopology : GTLRObject + +/** Host hash for a given instance */ +@property(nonatomic, copy, nullable) NSString *host; + +/** Sub block hash for a given instance */ +@property(nonatomic, copy, nullable) NSString *subBlock; + @end @@ -89284,6 +90248,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl /** [Output Only] Creation timestamp in RFC3339 text format. */ @property(nonatomic, copy, nullable) NSString *creationTimestamp; +/** [Output Only] Health information for the reservation subBlock. */ +@property(nonatomic, strong, nullable) GTLRCompute_ReservationSubBlockHealthInfo *healthInfo; + /** * [Output Only] The unique identifier for the resource. This identifier is * defined by the server. @@ -89353,6 +90320,58 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Health information for the reservation subBlock. + */ +@interface GTLRCompute_ReservationSubBlockHealthInfo : GTLRObject + +/** + * The number of degraded hosts in the reservation subBlock. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *degradedHostCount; + +/** + * The number of degraded infrastructure (e.g NV link domain) in the + * reservation subblock. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *degradedInfraCount; + +/** + * The health status of the reservation subBlock. + * + * Likely values: + * @arg @c kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_Degraded + * The reservation subBlock is degraded. (Value: "DEGRADED") + * @arg @c kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_HealthStatusUnspecified + * The health status of the reservation subBlock is unspecified. (Value: + * "HEALTH_STATUS_UNSPECIFIED") + * @arg @c kGTLRCompute_ReservationSubBlockHealthInfo_HealthStatus_Healthy + * The reservation subBlock is healthy. (Value: "HEALTHY") + */ +@property(nonatomic, copy, nullable) NSString *healthStatus; + +/** + * The number of healthy hosts in the reservation subBlock. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *healthyHostCount; + +/** + * The number of healthy infrastructure (e.g NV link domain) in the reservation + * subblock. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *healthyInfraCount; + +@end + + /** * GTLRCompute_ReservationSubBlockPhysicalTopology */ @@ -89863,6 +90882,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *status; +/** Resource policy for defining instance placement for MIGs. */ @property(nonatomic, strong, nullable) GTLRCompute_ResourcePolicyWorkloadPolicy *workloadPolicy; @end @@ -90607,10 +91627,14 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_ResourcePolicyWorkloadPolicy : GTLRObject +/** + * Specifies the topology required to create a partition for VMs that have + * interconnected GPUs. + */ @property(nonatomic, copy, nullable) NSString *acceleratorTopology; /** - * maxTopologyDistance + * Specifies the maximum distance between instances. * * Likely values: * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_MaxTopologyDistance_Block @@ -90623,15 +91647,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *maxTopologyDistance; /** - * type + * Specifies the intent of the instance placement in the MIG. * * Likely values: * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighAvailability - * VMs will be provisioned in such a way which provides high + * MIG spreads out the instances as much as possible for high * availability. (Value: "HIGH_AVAILABILITY") - * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighThroughput VMs - * will be provisioned in such a way which provides high throughput. - * (Value: "HIGH_THROUGHPUT") + * @arg @c kGTLRCompute_ResourcePolicyWorkloadPolicy_Type_HighThroughput MIG + * provisions instances as close to each other as possible for high + * throughput. (Value: "HIGH_THROUGHPUT") */ @property(nonatomic, copy, nullable) NSString *type; @@ -90645,6 +91669,13 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @interface GTLRCompute_ResourceStatus : GTLRObject +/** + * [Output Only] Effective metadata is a field that consolidates project, zonal + * instance settings, and instance-level predefined metadata keys to provide + * the overridden value for those metadata keys at the instance level. + */ +@property(nonatomic, strong, nullable) GTLRCompute_ResourceStatusEffectiveInstanceMetadata *effectiveInstanceMetadata; + /** * [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 @@ -90665,6 +91696,66 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Effective values of predefined metadata keys for an instance. + */ +@interface GTLRCompute_ResourceStatusEffectiveInstanceMetadata : GTLRObject + +/** + * Effective block-project-ssh-keys value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *blockProjectSshKeysMetadataValue; + +/** + * Effective enable-guest-attributes value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableGuestAttributesMetadataValue; + +/** + * Effective enable-osconfig value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOsconfigMetadataValue; + +/** + * Effective enable-os-inventory value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOsInventoryMetadataValue; + +/** + * Effective enable-oslogin value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableOsloginMetadataValue; + +/** + * Effective serial-port-enable value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *serialPortEnableMetadataValue; + +/** + * Effective serial-port-logging-enable value at Instance level. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *serialPortLoggingEnableMetadataValue; + +/** Effective VM DNS setting at Instance level. */ +@property(nonatomic, copy, nullable) NSString *vmDnsSettingMetadataValue; + +@end + + /** * Represents the physical host topology of the host on which the VM is * running. @@ -94445,15 +95536,15 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * policies can be configured to filter incoming HTTP requests targeting * backend services (including Cloud CDN-enabled) as well as backend buckets * (Cloud Storage). They filter requests before the request is served from - * Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service - * policies can be configured to filter HTTP requests targeting services - * managed by Traffic Director in a service mesh. They filter requests before - * the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud - * Armor network policies can be configured to filter packets targeting network - * load balancing resources such as backend services, target pools, target - * instances, and instances with external IPs. They filter requests before the - * request is served from the application. This field can be set only at - * resource creation time. + * Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor + * internal service policies can be configured to filter HTTP requests + * targeting services managed by Traffic Director in a service mesh. They + * filter requests before the request is served from the application. - + * CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to + * filter packets targeting network load balancing resources such as backend + * services, target pools, target instances, and instances with external IPs. + * They filter requests before the request is served from the application. This + * field can be set only at resource creation time. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicy_Type_CloudArmor Value "CLOUD_ARMOR" @@ -94955,7 +96046,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * configured via redirectOptions. This action is only supported in Global * Security Policies of type CLOUD_ARMOR. - throttle: limit client traffic to * the configured threshold. Configure parameters for this action in - * rateLimitOptions. Requires rate_limit_options to be set for this. + * rateLimitOptions. Requires rate_limit_options to be set for this. - + * fairshare (preview only): when traffic reaches the threshold limit, requests + * from the clients matching this rule begin to be rate-limited using the Fair + * Share algorithm. This action is only allowed in security policies of type + * `CLOUD_ARMOR_INTERNAL_SERVICE`. */ @property(nonatomic, copy, nullable) NSString *action; @@ -95035,8 +96130,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *priority; /** - * Must be specified if the action is "rate_based_ban" or "throttle". Cannot be - * specified for any other actions. + * Must be specified if the action is "rate_based_ban" or "throttle" or + * "fairshare". Cannot be specified for any other actions. */ @property(nonatomic, strong, nullable) GTLRCompute_SecurityPolicyRuleRateLimitOptions *rateLimitOptions; @@ -95387,7 +96482,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * policy. If there is no "userIpRequestHeaders" configuration or an IP address * 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. + * HTTPS, HTTP/2 or HTTP/3. If not available, the key type defaults to ALL. For + * "fairshare" action, this value is limited to ALL i.e. a single rate limit + * threshold is enforced for all the requests matching the rule. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicyRuleRateLimitOptions_EnforceOnKey_All @@ -95560,7 +96657,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *target; /** - * Type of the redirect action. + * Type of the redirect action. Possible values are: - GOOGLE_RECAPTCHA: + * redirect to reCAPTCHA for manual challenge assessment. - EXTERNAL_302: + * redirect to a different URL via a 302 response. * * Likely values: * @arg @c kGTLRCompute_SecurityPolicyRuleRedirectOptions_Type_External302 @@ -95776,7 +96875,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * service attachment. Each project or network has a connection limit. A given * service attachment can manage connections at either the project or network * level. Therefore, both the accept and reject lists for a given service - * attachment must contain either only projects or only networks. + * attachment must contain either only projects or only networks or only + * endpoints. */ @property(nonatomic, strong, nullable) NSArray *consumerAcceptLists; @@ -95847,6 +96947,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *kind; +/** Metadata of the service attachment. */ +@property(nonatomic, strong, nullable) GTLRCompute_ServiceAttachment_Metadata *metadata; + /** * Name of the resource. Provided by the client when the resource is created. * The name must be 1-63 characters long, and comply with RFC1035. @@ -95926,6 +97029,18 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @end +/** + * Metadata of the service attachment. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRCompute_ServiceAttachment_Metadata : GTLRObject +@end + + /** * Contains a list of ServiceAttachmentsScopedList. */ @@ -96174,7 +97289,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @interface GTLRCompute_ServiceAttachmentConsumerProjectLimit : GTLRObject /** - * The value of the limit to set. + * The value of the limit to set. For endpoint_url, the limit should be no more + * than 1. * * Uses NSNumber of unsignedIntValue. */ @@ -99431,8 +100547,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *performanceProvisioningType; /** - * Size, in GiB, of the storage pool. For more information about the size - * limits, see https://cloud.google.com/compute/docs/disks/storage-pools. + * Size of the storage pool in GiB. For more information about the size limits, + * see https://cloud.google.com/compute/docs/disks/storage-pools. * * Uses NSNumber of longLongValue. */ @@ -99447,8 +100563,8 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *poolProvisionedIops; /** - * Provisioned throughput of the storage pool. Only relevant if the storage - * pool type is hyperdisk-balanced or hyperdisk-throughput. + * Provisioned throughput of the storage pool in MiB/s. Only relevant if the + * storage pool type is hyperdisk-balanced or hyperdisk-throughput. * * Uses NSNumber of longLongValue. */ @@ -100193,7 +101309,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, copy, nullable) NSString *lastResizeTimestamp; /** - * [Output Only] Maximum allowed aggregate disk size in gigabytes. + * [Output Only] Maximum allowed aggregate disk size in GiB. * * Uses NSNumber of longLongValue. */ @@ -100219,7 +101335,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *poolUsedIops; /** - * [Output Only] Sum of all the disks' provisioned throughput in MB/s. + * [Output Only] Sum of all the disks' provisioned throughput in MiB/s. * * Uses NSNumber of longLongValue. */ @@ -100233,8 +101349,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *poolUserWrittenBytes; /** - * [Output Only] Sum of all the capacity provisioned in disks in this storage - * pool. A disk's provisioned capacity is the same as its total capacity. + * [Output Only] Sum of all the disks' provisioned capacity (in GiB) in this + * storage pool. A disk's provisioned capacity is the same as its total + * capacity. * * Uses NSNumber of longLongValue. */ @@ -100248,7 +101365,7 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl @property(nonatomic, strong, nullable) NSNumber *totalProvisionedDiskIops; /** - * [Output Only] Sum of all the disks' provisioned throughput in MB/s, minus + * [Output Only] Sum of all the disks' provisioned throughput in MiB/s, minus * some amount that is allowed per disk that is not counted towards pool's * throughput capacity. * @@ -103289,9 +104406,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * [Global](/compute/docs/reference/rest/v1/targetHttpsProxies) * * [Regional](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A * target HTTPS proxy is a component of Google Cloud HTTPS load balancers. * - * targetHttpProxies are used by global external Application Load Balancers, + * targetHttpsProxies 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 + * Balancers, and Traffic Director. * regionTargetHttpsProxies are used by * regional internal Application Load Balancers and regional external * Application Load Balancers. Forwarding rules reference a target HTTPS proxy, * and the target proxy then references a URL map. For more information, read @@ -107164,6 +108281,16 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl */ @property(nonatomic, copy, nullable) NSString *latestWindowStartTime; +/** + * Indicates whether the UpcomingMaintenance will be triggered on VM shutdown. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maintenanceOnShutdown; + +/** The reasons for the maintenance. Only valid for vms. */ +@property(nonatomic, strong, nullable) NSArray *maintenanceReasons; + /** * maintenanceStatus * @@ -107181,6 +108308,9 @@ FOUNDATION_EXTERN NSString * const kGTLRCompute_ZoneList_Warning_Code_Unreachabl * Defines the type of maintenance. * * Likely values: + * @arg @c kGTLRCompute_UpcomingMaintenance_Type_Multiple Multiple + * maintenance types in one window. This is only intended to be used for + * groups. (Value: "MULTIPLE") * @arg @c kGTLRCompute_UpcomingMaintenance_Type_Scheduled Scheduled * maintenance (e.g. maintenance after uptime guarantee is complete). * (Value: "SCHEDULED") diff --git a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h index c369ae167..634adc2c2 100644 --- a/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h +++ b/Sources/GeneratedServices/Compute/Public/GoogleAPIClientForREST/GTLRComputeQuery.h @@ -110,6 +110,28 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeRouteTypeLearned; /** Value: "UNSPECIFIED_ROUTE_TYPE" */ FOUNDATION_EXTERN NSString * const kGTLRComputeRouteTypeUnspecifiedRouteType; +// ---------------------------------------------------------------------------- +// view + +/** + * This view includes basic information about the reservation block + * + * Value: "BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRComputeViewBasic; +/** + * The default / unset value. The API will default to the BASIC view. + * + * Value: "BLOCK_VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRComputeViewBlockViewUnspecified; +/** + * Includes detailed topology view. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRComputeViewFull; + // ---------------------------------------------------------------------------- // Query Classes // @@ -7838,11 +7860,14 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeRouteTypeUnspecifiedRouteType; @interface GTLRComputeQuery_GlobalOrganizationOperationsGet : GTLRComputeQuery /** - * Name of the Operations resource to return, or its unique numeric identifier. + * Name of the Operations resource to return. Parent is derived from this + * field. */ @property(nonatomic, copy, nullable) NSString *operation; -/** Parent ID for this request. */ +/** + * Parent ID for this request. Not used. Parent is derived from resource_id. + */ @property(nonatomic, copy, nullable) NSString *parentId; /** @@ -7851,8 +7876,8 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeRouteTypeUnspecifiedRouteType; * Retrieves the specified Operations resource. Gets a list of operations by * making a `list()` request. * - * @param operation Name of the Operations resource to return, or its unique - * numeric identifier. + * @param operation Name of the Operations resource to return. Parent is + * derived from this field. * * @return GTLRComputeQuery_GlobalOrganizationOperationsGet */ @@ -9616,9 +9641,6 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeRouteTypeUnspecifiedRouteType; * Authorization scope(s): * @c kGTLRAuthScopeCompute * @c kGTLRAuthScopeComputeCloudPlatform - * @c kGTLRAuthScopeComputeDevstorageFullControl - * @c kGTLRAuthScopeComputeDevstorageReadOnly - * @c kGTLRAuthScopeComputeDevstorageReadWrite */ @interface GTLRComputeQuery_ImagesInsert : GTLRComputeQuery @@ -23865,6 +23887,56 @@ FOUNDATION_EXTERN NSString * const kGTLRComputeRouteTypeUnspecifiedRouteType; @end +/** + * Requests to remove a peering from the specified network. Applicable only for + * PeeringConnection with update_strategy=CONSENSUS. + * + * Method: compute.networks.requestRemovePeering + * + * Authorization scope(s): + * @c kGTLRAuthScopeCompute + * @c kGTLRAuthScopeComputeCloudPlatform + */ +@interface GTLRComputeQuery_NetworksRequestRemovePeering : GTLRComputeQuery + +/** Name of the network resource to remove peering from. */ +@property(nonatomic, copy, nullable) NSString *network; + +/** 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; + +/** + * Fetches a @c GTLRCompute_Operation. + * + * Requests to remove a peering from the specified network. Applicable only for + * PeeringConnection with update_strategy=CONSENSUS. + * + * @param object The @c GTLRCompute_NetworksRequestRemovePeeringRequest to + * include in the query. + * @param project Project ID for this request. + * @param network Name of the network resource to remove peering from. + * + * @return GTLRComputeQuery_NetworksRequestRemovePeering + */ ++ (instancetype)queryWithObject:(GTLRCompute_NetworksRequestRemovePeeringRequest *)object + project:(NSString *)project + network:(NSString *)network; + +@end + /** * Switches the network mode from auto subnet mode to custom subnet mode. * @@ -38635,6 +38707,20 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *reservationBlock; +/** + * View of the Block. + * + * Likely values: + * @arg @c kGTLRComputeViewBasic This view includes basic information about + * the reservation block (Value: "BASIC") + * @arg @c kGTLRComputeViewBlockViewUnspecified The default / unset value. + * The API will default to the BASIC view. (Value: + * "BLOCK_VIEW_UNSPECIFIED") + * @arg @c kGTLRComputeViewFull Includes detailed topology view. (Value: + * "FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Name of the zone for this request. Zone name should conform to RFC1035. * @@ -45966,6 +46052,13 @@ GTLR_DEPRECATED */ @property(nonatomic, assign) BOOL returnPartialSuccess; +/** + * The project id or project number in which the subnetwork is intended to be + * used. Only applied for Shared VPC. See [Shared VPC + * documentation](https://cloud.google.com/vpc/docs/shared-vpc/) + */ +@property(nonatomic, copy, nullable) NSString *serviceProject; + /** * Fetches a @c GTLRCompute_UsableSubnetworksAggregatedList. * diff --git a/Sources/GeneratedServices/Config/GTLRConfigObjects.m b/Sources/GeneratedServices/Config/GTLRConfigObjects.m index 0bc3a6389..99b6e3f30 100644 --- a/Sources/GeneratedServices/Config/GTLRConfigObjects.m +++ b/Sources/GeneratedServices/Config/GTLRConfigObjects.m @@ -104,6 +104,10 @@ NSString * const kGTLRConfig_PreviewOperationMetadata_Step_UnlockingDeployment = @"UNLOCKING_DEPLOYMENT"; NSString * const kGTLRConfig_PreviewOperationMetadata_Step_ValidatingRepository = @"VALIDATING_REPOSITORY"; +// GTLRConfig_ProviderConfig.sourceType +NSString * const kGTLRConfig_ProviderConfig_SourceType_ProviderSourceUnspecified = @"PROVIDER_SOURCE_UNSPECIFIED"; +NSString * const kGTLRConfig_ProviderConfig_SourceType_ServiceMaintained = @"SERVICE_MAINTAINED"; + // GTLRConfig_Resource.intent NSString * const kGTLRConfig_Resource_Intent_Create = @"CREATE"; NSString * const kGTLRConfig_Resource_Intent_Delete = @"DELETE"; @@ -262,9 +266,9 @@ @implementation GTLRConfig_DeleteStatefileRequest @implementation GTLRConfig_Deployment @dynamic annotations, artifactsGcsBucket, createTime, deleteBuild, deleteLogs, deleteResults, errorCode, errorLogs, importExistingResources, labels, - latestRevision, lockState, name, quotaValidation, serviceAccount, - state, stateDetail, terraformBlueprint, tfErrors, tfVersion, - tfVersionConstraint, updateTime, workerPool; + latestRevision, lockState, name, providerConfig, quotaValidation, + serviceAccount, state, stateDetail, terraformBlueprint, tfErrors, + tfVersion, tfVersionConstraint, updateTime, workerPool; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -738,7 +742,7 @@ @implementation GTLRConfig_Policy @implementation GTLRConfig_Preview @dynamic annotations, artifactsGcsBucket, build, createTime, deployment, errorCode, errorLogs, errorStatus, labels, logs, name, - previewArtifacts, previewMode, serviceAccount, state, + previewArtifacts, previewMode, providerConfig, serviceAccount, state, terraformBlueprint, tfErrors, tfVersion, tfVersionConstraint, workerPool; @@ -848,6 +852,16 @@ @implementation GTLRConfig_PropertyDrift @end +// ---------------------------------------------------------------------------- +// +// GTLRConfig_ProviderConfig +// + +@implementation GTLRConfig_ProviderConfig +@dynamic sourceType; +@end + + // ---------------------------------------------------------------------------- // // GTLRConfig_Resource @@ -968,7 +982,7 @@ @implementation GTLRConfig_ResourceTerraformInfo @implementation GTLRConfig_Revision @dynamic action, applyResults, build, createTime, errorCode, errorLogs, - importExistingResources, logs, name, quotaValidation, + importExistingResources, logs, name, providerConfig, quotaValidation, quotaValidationResults, serviceAccount, state, stateDetail, terraformBlueprint, tfErrors, tfVersion, tfVersionConstraint, updateTime, workerPool; diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h index b95c1466b..f21fd5b46 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigObjects.h @@ -40,6 +40,7 @@ @class GTLRConfig_PreviewResult; @class GTLRConfig_PropertyChange; @class GTLRConfig_PropertyDrift; +@class GTLRConfig_ProviderConfig; @class GTLRConfig_Resource; @class GTLRConfig_Resource_CaiAssets; @class GTLRConfig_ResourceCAIInfo; @@ -544,6 +545,22 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_PreviewOperationMetadata_Step_Unl */ FOUNDATION_EXTERN NSString * const kGTLRConfig_PreviewOperationMetadata_Step_ValidatingRepository; +// ---------------------------------------------------------------------------- +// GTLRConfig_ProviderConfig.sourceType + +/** + * Unspecified source type, default to public sources. + * + * Value: "PROVIDER_SOURCE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ProviderConfig_SourceType_ProviderSourceUnspecified; +/** + * Service maintained provider source type. + * + * Value: "SERVICE_MAINTAINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRConfig_ProviderConfig_SourceType_ServiceMaintained; + // ---------------------------------------------------------------------------- // GTLRConfig_Resource.intent @@ -1138,6 +1155,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. This field specifies the provider configurations. */ +@property(nonatomic, strong, nullable) GTLRConfig_ProviderConfig *providerConfig; + /** * Optional. Input to control quota checks for resources in terraform * configuration files. There are limited resources on which quota validation @@ -2143,6 +2163,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @property(nonatomic, copy, nullable) NSString *previewMode; +/** Optional. This field specifies the provider configurations. */ +@property(nonatomic, strong, nullable) GTLRConfig_ProviderConfig *providerConfig; + /** * Required. User-specified Service Account (SA) credentials to be used when * previewing resources. Format: @@ -2395,6 +2418,26 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe @end +/** + * ProviderConfig contains the provider configurations. + */ +@interface GTLRConfig_ProviderConfig : GTLRObject + +/** + * Optional. ProviderSource specifies the source type of the provider. + * + * Likely values: + * @arg @c kGTLRConfig_ProviderConfig_SourceType_ProviderSourceUnspecified + * Unspecified source type, default to public sources. (Value: + * "PROVIDER_SOURCE_UNSPECIFIED") + * @arg @c kGTLRConfig_ProviderConfig_SourceType_ServiceMaintained Service + * maintained provider source type. (Value: "SERVICE_MAINTAINED") + */ +@property(nonatomic, copy, nullable) NSString *sourceType; + +@end + + /** * Resource represents a Google Cloud Platform resource actuated by IM. * Resources are child resources of Revisions. @@ -2699,6 +2742,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConfig_TerraformVersion_State_StateUnspe */ @property(nonatomic, copy, nullable) NSString *name; +/** Output only. This field specifies the provider configurations. */ +@property(nonatomic, strong, nullable) GTLRConfig_ProviderConfig *providerConfig; + /** * Optional. Input to control quota checks for resources in terraform * configuration files. There are limited resources on which quota validation diff --git a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h index 0f757f152..fa9c74116 100644 --- a/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h +++ b/Sources/GeneratedServices/Config/Public/GoogleAPIClientForREST/GTLRConfigQuery.h @@ -930,8 +930,8 @@ FOUNDATION_EXTERN NSString * const kGTLRConfigDeletePolicyDeletePolicyUnspecifie @interface GTLRConfigQuery_ProjectsLocationsList : GTLRConfigQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m index e8d8c6e93..36ba3911b 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsObjects.m @@ -312,7 +312,7 @@ @implementation GTLRConnectors_AccessCredentials @implementation GTLRConnectors_Action @dynamic descriptionProperty, displayName, inputJsonSchema, inputParameters, - name, resultJsonSchema, resultMetadata; + metadata, name, resultJsonSchema, resultMetadata; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -329,6 +329,34 @@ @implementation GTLRConnectors_Action @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Action_Metadata +// + +@implementation GTLRConnectors_Action_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_Action_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Action_Metadata_Metadata +// + +@implementation GTLRConnectors_Action_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_AuthCodeData @@ -363,7 +391,7 @@ @implementation GTLRConnectors_CheckReadinessResponse // @implementation GTLRConnectors_CheckStatusResponse -@dynamic descriptionProperty, state; +@dynamic descriptionProperty, metadata, state; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -372,6 +400,34 @@ @implementation GTLRConnectors_CheckStatusResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_CheckStatusResponse_Metadata +// + +@implementation GTLRConnectors_CheckStatusResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_CheckStatusResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_CheckStatusResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_CheckStatusResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_DailyCycle @@ -417,7 +473,7 @@ @implementation GTLRConnectors_Empty // @implementation GTLRConnectors_Entity -@dynamic fields, name; +@dynamic fields, metadata, name; @end @@ -435,13 +491,41 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Entity_Metadata +// + +@implementation GTLRConnectors_Entity_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_Entity_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Entity_Metadata_Metadata +// + +@implementation GTLRConnectors_Entity_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_EntityType // @implementation GTLRConnectors_EntityType -@dynamic fields, jsonSchema, name, operations; +@dynamic defaultSortBy, fields, jsonSchema, metadata, name, operations; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -454,6 +538,34 @@ @implementation GTLRConnectors_EntityType @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_EntityType_Metadata +// + +@implementation GTLRConnectors_EntityType_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_EntityType_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_EntityType_Metadata_Metadata +// + +@implementation GTLRConnectors_EntityType_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExchangeAuthCodeRequest @@ -470,7 +582,35 @@ @implementation GTLRConnectors_ExchangeAuthCodeRequest // @implementation GTLRConnectors_ExchangeAuthCodeResponse -@dynamic accessCredentials; +@dynamic accessCredentials, metadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExchangeAuthCodeResponse_Metadata +// + +@implementation GTLRConnectors_ExchangeAuthCodeResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end @@ -504,7 +644,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRConnectors_ExecuteActionResponse -@dynamic results; +@dynamic metadata, results; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -516,6 +656,20 @@ @implementation GTLRConnectors_ExecuteActionResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteActionResponse_Metadata +// + +@implementation GTLRConnectors_ExecuteActionResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ExecuteActionResponse_Metadata_Metadata class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExecuteActionResponse_Results_Item @@ -530,6 +684,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteActionResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ExecuteActionResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ExecuteSqlQueryRequest @@ -572,6 +740,54 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolRequest +// + +@implementation GTLRConnectors_ExecuteToolRequest +@dynamic parameters; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolRequest_Parameters +// + +@implementation GTLRConnectors_ExecuteToolRequest_Parameters + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolResponse +// + +@implementation GTLRConnectors_ExecuteToolResponse +@dynamic result; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ExecuteToolResponse_Result +// + +@implementation GTLRConnectors_ExecuteToolResponse_Result + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_Field @@ -802,7 +1018,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRConnectors_ListActionsResponse -@dynamic actions, nextPageToken, unsupportedActionNames; +@dynamic actions, metadata, nextPageToken, unsupportedActionNames; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -819,13 +1035,41 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListActionsResponse_Metadata +// + +@implementation GTLRConnectors_ListActionsResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ListActionsResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListActionsResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ListActionsResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ListEntitiesResponse // @implementation GTLRConnectors_ListEntitiesResponse -@dynamic entities, nextPageToken; +@dynamic entities, metadata, nextPageToken; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -841,13 +1085,41 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntitiesResponse_Metadata +// + +@implementation GTLRConnectors_ListEntitiesResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ListEntitiesResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntitiesResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ListEntitiesResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_ListEntityTypesResponse // @implementation GTLRConnectors_ListEntityTypesResponse -@dynamic nextPageToken, types, unsupportedTypeNames; +@dynamic metadata, nextPageToken, types, unsupportedTypeNames; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -864,6 +1136,56 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntityTypesResponse_Metadata +// + +@implementation GTLRConnectors_ListEntityTypesResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_ListToolsResponse +// + +@implementation GTLRConnectors_ListToolsResponse +@dynamic nextPageToken, tools; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tools" : [GTLRConnectors_Tool class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"tools"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_MaintenancePolicy @@ -1055,7 +1377,35 @@ @implementation GTLRConnectors_RefreshAccessTokenRequest // @implementation GTLRConnectors_RefreshAccessTokenResponse -@dynamic accessCredentials; +@dynamic accessCredentials, metadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_RefreshAccessTokenResponse_Metadata +// + +@implementation GTLRConnectors_RefreshAccessTokenResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + @end @@ -1123,13 +1473,42 @@ @implementation GTLRConnectors_TimeOfDay @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_Tool +// + +@implementation GTLRConnectors_Tool +@dynamic descriptionProperty, inputSchema, name, outputSchema; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_UpdateEntitiesWithConditionsResponse // @implementation GTLRConnectors_UpdateEntitiesWithConditionsResponse -@dynamic response; +@dynamic metadata, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata +// + +@implementation GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata + ++ (Class)classForAdditionalProperties { + return [GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata class]; +} + @end @@ -1147,6 +1526,20 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata +// + +@implementation GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRConnectors_UpdatePolicy diff --git a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m index 92191004d..e39dba006 100644 --- a/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m +++ b/Sources/GeneratedServices/Connectors/GTLRConnectorsQuery.m @@ -308,7 +308,7 @@ + (instancetype)queryWithObject:(GTLRConnectors_Entity *)object @implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesGet -@dynamic name, view; +@dynamic contextMetadata, name, view; + (instancetype)queryWithName:(NSString *)name { NSArray *pathParams = @[ @"name" ]; @@ -424,3 +424,49 @@ + (instancetype)queryWithObject:(GTLRConnectors_RefreshAccessTokenRequest *)obje } @end + +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRConnectors_ExecuteToolRequest *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v2/{+name}:execute"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRConnectors_ExecuteToolResponse class]; + query.loggingName = @"connectors.projects.locations.connections.tools.execute"; + return query; +} + +@end + +@implementation GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v2/{+parent}/tools"; + GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRConnectors_ListToolsResponse class]; + query.loggingName = @"connectors.projects.locations.connections.tools.list"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h index d287b4439..88aa421d0 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsObjects.h @@ -17,16 +17,30 @@ @class GTLRConnectors_AccessCredentials; @class GTLRConnectors_Action; +@class GTLRConnectors_Action_Metadata; +@class GTLRConnectors_Action_Metadata_Metadata; @class GTLRConnectors_AuthCodeData; +@class GTLRConnectors_CheckStatusResponse_Metadata; +@class GTLRConnectors_CheckStatusResponse_Metadata_Metadata; @class GTLRConnectors_DailyCycle; @class GTLRConnectors_Date; @class GTLRConnectors_DenyMaintenancePeriod; @class GTLRConnectors_Entity; @class GTLRConnectors_Entity_Fields; +@class GTLRConnectors_Entity_Metadata; +@class GTLRConnectors_Entity_Metadata_Metadata; @class GTLRConnectors_EntityType; +@class GTLRConnectors_EntityType_Metadata; +@class GTLRConnectors_EntityType_Metadata_Metadata; +@class GTLRConnectors_ExchangeAuthCodeResponse_Metadata; +@class GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata; @class GTLRConnectors_ExecuteActionRequest_Parameters; +@class GTLRConnectors_ExecuteActionResponse_Metadata; +@class GTLRConnectors_ExecuteActionResponse_Metadata_Metadata; @class GTLRConnectors_ExecuteActionResponse_Results_Item; @class GTLRConnectors_ExecuteSqlQueryResponse_Results_Item; +@class GTLRConnectors_ExecuteToolRequest_Parameters; +@class GTLRConnectors_ExecuteToolResponse_Result; @class GTLRConnectors_Field; @class GTLRConnectors_Field_AdditionalDetails; @class GTLRConnectors_InputParameter; @@ -40,6 +54,12 @@ @class GTLRConnectors_JsonSchema; @class GTLRConnectors_JsonSchema_AdditionalDetails; @class GTLRConnectors_JsonSchema_Properties; +@class GTLRConnectors_ListActionsResponse_Metadata; +@class GTLRConnectors_ListActionsResponse_Metadata_Metadata; +@class GTLRConnectors_ListEntitiesResponse_Metadata; +@class GTLRConnectors_ListEntitiesResponse_Metadata_Metadata; +@class GTLRConnectors_ListEntityTypesResponse_Metadata; +@class GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata; @class GTLRConnectors_MaintenancePolicy; @class GTLRConnectors_MaintenancePolicy_Labels; @class GTLRConnectors_MaintenanceSchedule; @@ -54,11 +74,16 @@ @class GTLRConnectors_Query; @class GTLRConnectors_QueryParameter; @class GTLRConnectors_Reference; +@class GTLRConnectors_RefreshAccessTokenResponse_Metadata; +@class GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata; @class GTLRConnectors_ResultMetadata; @class GTLRConnectors_Schedule; @class GTLRConnectors_SloEligibility; @class GTLRConnectors_SloMetadata; @class GTLRConnectors_TimeOfDay; +@class GTLRConnectors_Tool; +@class GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata; +@class GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata; @class GTLRConnectors_UpdateEntitiesWithConditionsResponse_Response; @class GTLRConnectors_UpdatePolicy; @class GTLRConnectors_WeeklyCycle; @@ -1725,6 +1750,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; /** List containing input parameter metadata. */ @property(nonatomic, strong, nullable) NSArray *inputParameters; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_Action_Metadata *metadata; + /** Name of the action. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1737,6 +1765,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_Action_Metadata_Metadata. Use @c -additionalJSONKeys + * and @c -additionalPropertyForName: to get the list of properties and + * then fetch them; or @c -additionalProperties to fetch them all at + * once. + */ +@interface GTLRConnectors_Action_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_Action_Metadata_Metadata + * + * @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 GTLRConnectors_Action_Metadata_Metadata : GTLRObject +@end + + /** * AuthCodeData contains the data the runtime plane will give the connector * backend in exchange for access and refresh tokens. @@ -1790,6 +1843,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_CheckStatusResponse_Metadata *metadata; + /** * State of the connector. * @@ -1815,6 +1871,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_CheckStatusResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_CheckStatusResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_CheckStatusResponse_Metadata_Metadata + * + * @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 GTLRConnectors_CheckStatusResponse_Metadata_Metadata : GTLRObject +@end + + /** * Time window specified for daily operations. */ @@ -1921,6 +2002,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, strong, nullable) GTLRConnectors_Entity_Fields *fields; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_Entity_Metadata *metadata; + /** * Output only. Resource name of the Entity. Format: * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} @@ -1943,12 +2027,39 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_Entity_Metadata_Metadata. Use @c -additionalJSONKeys + * and @c -additionalPropertyForName: to get the list of properties and + * then fetch them; or @c -additionalProperties to fetch them all at + * once. + */ +@interface GTLRConnectors_Entity_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_Entity_Metadata_Metadata + * + * @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 GTLRConnectors_Entity_Metadata_Metadata : GTLRObject +@end + + /** * EntityType message contains metadata information about a single entity type * present in the external system. */ @interface GTLRConnectors_EntityType : GTLRObject +@property(nonatomic, copy, nullable) NSString *defaultSortBy; + /** * List containing metadata information about each field of the entity type. */ @@ -1957,6 +2068,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; /** JsonSchema representation of this entity's schema */ @property(nonatomic, strong, nullable) GTLRConnectors_JsonSchema *jsonSchema; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_EntityType_Metadata *metadata; + /** The name of the entity type. */ @property(nonatomic, copy, nullable) NSString *name; @@ -1965,6 +2079,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_EntityType_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_EntityType_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_EntityType_Metadata_Metadata + * + * @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 GTLRConnectors_EntityType_Metadata_Metadata : GTLRObject +@end + + /** * ExchangeAuthCodeRequest currently includes the auth code data. */ @@ -1988,6 +2127,34 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @property(nonatomic, strong, nullable) GTLRConnectors_AccessCredentials *accessCredentials; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExchangeAuthCodeResponse_Metadata *metadata; + +@end + + +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ExchangeAuthCodeResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata + * + * @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 GTLRConnectors_ExchangeAuthCodeResponse_Metadata_Metadata : GTLRObject @end @@ -2023,6 +2190,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @interface GTLRConnectors_ExecuteActionResponse : GTLRObject +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExecuteActionResponse_Metadata *metadata; + /** * In the case of successful invocation of the specified action, the results * Struct contains values based on the response of the action invoked. 1. If @@ -2036,6 +2206,19 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ExecuteActionResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ExecuteActionResponse_Metadata : GTLRObject +@end + + /** * GTLRConnectors_ExecuteActionResponse_Results_Item * @@ -2048,6 +2231,18 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * GTLRConnectors_ExecuteActionResponse_Metadata_Metadata + * + * @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 GTLRConnectors_ExecuteActionResponse_Metadata_Metadata : GTLRObject +@end + + /** * An execute sql query request containing the query and the connection to * execute it on. @@ -2093,6 +2288,52 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Request message for ConnectorAgentService.ExecuteTool + */ +@interface GTLRConnectors_ExecuteToolRequest : GTLRObject + +/** Input parameters for the tool. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExecuteToolRequest_Parameters *parameters; + +@end + + +/** + * Input parameters for the tool. + * + * @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 GTLRConnectors_ExecuteToolRequest_Parameters : GTLRObject +@end + + +/** + * Response message for ConnectorAgentService.ExecuteTool + */ +@interface GTLRConnectors_ExecuteToolResponse : GTLRObject + +/** Output from the tool execution. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ExecuteToolResponse_Result *result; + +@end + + +/** + * Output from the tool execution. + * + * @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 GTLRConnectors_ExecuteToolResponse_Result : GTLRObject +@end + + /** * Message contains EntityType's Field metadata. */ @@ -2857,6 +3098,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, strong, nullable) NSArray *actions; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ListActionsResponse_Metadata *metadata; + /** Next page token if more actions available. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -2869,6 +3113,31 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ListActionsResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ListActionsResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ListActionsResponse_Metadata_Metadata + * + * @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 GTLRConnectors_ListActionsResponse_Metadata_Metadata : GTLRObject +@end + + /** * Response message for EntityService.ListEntities * @@ -2887,12 +3156,40 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @property(nonatomic, strong, nullable) NSArray *entities; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ListEntitiesResponse_Metadata *metadata; + /** Next page token if more records are available. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ListEntitiesResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ListEntitiesResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ListEntitiesResponse_Metadata_Metadata + * + * @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 GTLRConnectors_ListEntitiesResponse_Metadata_Metadata : GTLRObject +@end + + /** * Response message for EntityService.ListEntityTypes * @@ -2903,6 +3200,9 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; */ @interface GTLRConnectors_ListEntityTypesResponse : GTLRCollectionObject +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_ListEntityTypesResponse_Metadata *metadata; + /** Next page token if more entity types available. */ @property(nonatomic, copy, nullable) NSString *nextPageToken; @@ -2923,6 +3223,55 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_ListEntityTypesResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata + * + * @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 GTLRConnectors_ListEntityTypesResponse_Metadata_Metadata : GTLRObject +@end + + +/** + * Response message for ConnectorAgentService.ListTools + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "tools" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRConnectors_ListToolsResponse : GTLRCollectionObject + +/** Next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * List of available tools. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *tools; + +@end + + /** * Defines policies to service maintenance events. */ @@ -3385,6 +3734,34 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @property(nonatomic, strong, nullable) GTLRConnectors_AccessCredentials *accessCredentials; +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_RefreshAccessTokenResponse_Metadata *metadata; + +@end + + +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRConnectors_RefreshAccessTokenResponse_Metadata : GTLRObject +@end + + +/** + * GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata + * + * @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 GTLRConnectors_RefreshAccessTokenResponse_Metadata_Metadata : GTLRObject @end @@ -3653,17 +4030,57 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * Message representing a single tool. + */ +@interface GTLRConnectors_Tool : GTLRObject + +/** + * Description of the tool. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** JSON schema for the input parameters of the tool. */ +@property(nonatomic, strong, nullable) GTLRConnectors_JsonSchema *inputSchema; + +/** Name of the tool. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** JSON schema for the output of the tool. */ +@property(nonatomic, strong, nullable) GTLRConnectors_JsonSchema *outputSchema; + +@end + + /** * Response message for EntityService.UpdateEntitiesWithConditions */ @interface GTLRConnectors_UpdateEntitiesWithConditionsResponse : GTLRObject +/** Metadata like service latency, etc. */ +@property(nonatomic, strong, nullable) GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata *metadata; + /** Response returned by the external system. */ @property(nonatomic, strong, nullable) GTLRConnectors_UpdateEntitiesWithConditionsResponse_Response *response; @end +/** + * Metadata like service latency, etc. + * + * @note This class is documented as having more properties of + * GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata. + * Use @c -additionalJSONKeys and @c -additionalPropertyForName: to get + * the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata : GTLRObject +@end + + /** * Response returned by the external system. * @@ -3676,6 +4093,18 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectors_UpdatePolicy_Channel_Week5; @end +/** + * GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata + * + * @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 GTLRConnectors_UpdateEntitiesWithConditionsResponse_Metadata_Metadata : GTLRObject +@end + + /** * Maintenance policy applicable to instance updates. */ diff --git a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h index 8bdc31666..7018c4ca3 100644 --- a/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h +++ b/Sources/GeneratedServices/Connectors/Public/GoogleAPIClientForREST/GTLRConnectorsQuery.h @@ -628,6 +628,12 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; */ @interface GTLRConnectorsQuery_ProjectsLocationsConnectionsEntityTypesGet : GTLRConnectorsQuery +/** + * Context metadata for request could be used to fetch customization of entity + * type schema. + */ +@property(nonatomic, copy, nullable) NSString *contextMetadata; + /** * Required. Resource name of the Entity Type. Format: * projects/{project}/locations/{location}/connections/{connection}/entityTypes/{entityType} @@ -817,6 +823,79 @@ FOUNDATION_EXTERN NSString * const kGTLRConnectorsViewEntityTypeViewUnspecified; @end +/** + * Executes a specific tool. + * + * Method: connectors.projects.locations.connections.tools.execute + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute : GTLRConnectorsQuery + +/** + * Required. Resource name of the Tool. Format: + * projects/{project}/locations/{location}/connections/{connection}/tools/{tool} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRConnectors_ExecuteToolResponse. + * + * Executes a specific tool. + * + * @param object The @c GTLRConnectors_ExecuteToolRequest to include in the + * query. + * @param name Required. Resource name of the Tool. Format: + * projects/{project}/locations/{location}/connections/{connection}/tools/{tool} + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsExecute + */ ++ (instancetype)queryWithObject:(GTLRConnectors_ExecuteToolRequest *)object + name:(NSString *)name; + +@end + +/** + * Lists all available tools. + * + * Method: connectors.projects.locations.connections.tools.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeConnectorsCloudPlatform + */ +@interface GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList : GTLRConnectorsQuery + +/** Page size. */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Resource name of the Connection. Format: + * projects/{project}/locations/{location}/connections/{connection} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRConnectors_ListToolsResponse. + * + * Lists all available tools. + * + * @param parent Required. Resource name of the Connection. Format: + * projects/{project}/locations/{location}/connections/{connection} + * + * @return GTLRConnectorsQuery_ProjectsLocationsConnectionsToolsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m index 1aae65eb8..829a58414 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsObjects.m @@ -56,6 +56,7 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_Medium = @"MEDIUM"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaQuestionAnswerValue = @"QA_QUESTION_ANSWER_VALUE"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaQuestionId = @"QA_QUESTION_ID"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaScorecardId = @"QA_SCORECARD_ID"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Entity.type NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Entity_Type_Address = @"ADDRESS"; @@ -80,12 +81,15 @@ // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest.exportSchemaVersion NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportSchemaVersionUnspecified = @"EXPORT_SCHEMA_VERSION_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 = @"EXPORT_V1"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 = @"EXPORT_V10"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 = @"EXPORT_V2"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 = @"EXPORT_V3"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV4 = @"EXPORT_V4"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV5 = @"EXPORT_V5"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV6 = @"EXPORT_V6"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 = @"EXPORT_V7"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 = @"EXPORT_V8"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 = @"EXPORT_V9"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable = @"EXPORT_VERSION_LATEST_AVAILABLE"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest.writeDisposition @@ -204,6 +208,7 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_Medium = @"MEDIUM"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaQuestionAnswerValue = @"QA_QUESTION_ANSWER_VALUE"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaQuestionId = @"QA_QUESTION_ID"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaScorecardId = @"QA_SCORECARD_ID"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Entity.type NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Entity_Type_Address = @"ADDRESS"; @@ -228,12 +233,15 @@ // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest.exportSchemaVersion NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportSchemaVersionUnspecified = @"EXPORT_SCHEMA_VERSION_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 = @"EXPORT_V1"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 = @"EXPORT_V10"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 = @"EXPORT_V2"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 = @"EXPORT_V3"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV4 = @"EXPORT_V4"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV5 = @"EXPORT_V5"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV6 = @"EXPORT_V6"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 = @"EXPORT_V7"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 = @"EXPORT_V8"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 = @"EXPORT_V9"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable = @"EXPORT_VERSION_LATEST_AVAILABLE"; // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest.writeDisposition @@ -291,6 +299,16 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource_SourceType_SourceTypeUnspecified = @"SOURCE_TYPE_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource_SourceType_SystemGenerated = @"SYSTEM_GENERATED"; +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion.questionType +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_Customizable = @"CUSTOMIZABLE"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_Predefined = @"PREDEFINED"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_QaQuestionTypeUnspecified = @"QA_QUESTION_TYPE_UNSPECIFIED"; + +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.type +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcome = @"CONVERSATION_OUTCOME"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeEscalationInitiatorRole = @"CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE"; +NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_PredefinedQuestionTypeUnspecified = @"PREDEFINED_QUESTION_TYPE_UNSPECIFIED"; + // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata.datasetValidationWarnings NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata_DatasetValidationWarnings_AllFeedbackLabelsHaveTheSameAnswer = @"ALL_FEEDBACK_LABELS_HAVE_THE_SAME_ANSWER"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata_DatasetValidationWarnings_DatasetValidationWarningUnspecified = @"DATASET_VALIDATION_WARNING_UNSPECIFIED"; @@ -326,6 +344,12 @@ NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput_QuerySource_QuerySourceUnspecified = @"QUERY_SOURCE_UNSPECIFIED"; NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput_QuerySource_SuggestedQuery = @"SUGGESTED_QUERY"; +// GTLRContactcenterinsights_GoogleIamV1AuditLogConfig.logType +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" #pragma clang diagnostic ignored "-Wdeprecated-implementations" @@ -749,11 +773,13 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata -@dynamic agentInfo, customerSatisfactionRating, menuPath, waitDuration; +@dynamic agentInfo, customerSatisfactionRating, feedbackLabels, menuPath, + waitDuration; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo class] + @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo class], + @"feedbackLabels" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel class] }; return map; } @@ -786,8 +812,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData -@dynamic answerRecord, confidence, conversationModel, metadata, text, - textSections; +@dynamic answerRecord, confidence, conversationModel, generatorId, metadata, + text, textSections; @end @@ -1374,7 +1400,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource @dynamic audioBucketUri, bucketObjectType, bucketUri, customMetadataKeys, - metadataBucketUri; + metadataBucketUri, transcriptBucketUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1679,7 +1705,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alph @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue @dynamic boolValue, key, naValue, normalizedScore, numValue, potentialScore, - score, strValue; + score, skipValue, strValue; @end @@ -2825,11 +2851,13 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conv // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadata -@dynamic agentInfo, customerSatisfactionRating, menuPath, waitDuration; +@dynamic agentInfo, customerSatisfactionRating, feedbackLabels, menuPath, + waitDuration; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo class] + @"agentInfo" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo class], + @"feedbackLabels" : [GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1FeedbackLabel class] }; return map; } @@ -2862,8 +2890,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conv // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData -@dynamic answerRecord, confidence, conversationModel, metadata, text, - textSections; +@dynamic answerRecord, confidence, conversationModel, generatorId, metadata, + text, textSections; @end @@ -3478,7 +3506,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Inge @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource @dynamic audioBucketUri, bucketObjectType, bucketUri, customMetadataKeys, - metadataBucketUri; + metadataBucketUri, transcriptBucketUri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4234,7 +4262,7 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAn @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue @dynamic boolValue, key, naValue, normalizedScore, numValue, potentialScore, - score, strValue; + score, skipValue, strValue; @end @@ -4245,7 +4273,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAn @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion @dynamic abbreviation, answerChoices, answerInstructions, createTime, metrics, - name, order, questionBody, tags, tuningMetadata, updateTime; + name, order, predefinedQuestionConfig, questionBody, questionType, + tags, tuningMetadata, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -4278,6 +4307,16 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQu @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig +// + +@implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig +@dynamic type; +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag @@ -4320,7 +4359,8 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQu // @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard -@dynamic createTime, descriptionProperty, displayName, name, updateTime; +@dynamic createTime, descriptionProperty, displayName, isDefault, name, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -4914,6 +4954,129 @@ @implementation GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1View @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1AuditConfig +// + +@implementation GTLRContactcenterinsights_GoogleIamV1AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRContactcenterinsights_GoogleIamV1AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1AuditLogConfig +// + +@implementation GTLRContactcenterinsights_GoogleIamV1AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1Binding +// + +@implementation GTLRContactcenterinsights_GoogleIamV1Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1Policy +// + +@implementation GTLRContactcenterinsights_GoogleIamV1Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRContactcenterinsights_GoogleIamV1AuditConfig class], + @"bindings" : [GTLRContactcenterinsights_GoogleIamV1Binding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest +// + +@implementation GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest +// + +@implementation GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse +// + +@implementation GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleLongrunningListOperationsResponse @@ -5015,6 +5178,21 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRContactcenterinsights_GoogleTypeExpr +// + +@implementation GTLRContactcenterinsights_GoogleTypeExpr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContactcenterinsights_GoogleTypeInterval diff --git a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m index 526a858bd..65a16dba7 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m +++ b/Sources/GeneratedServices/Contactcenterinsights/GTLRContactcenterinsightsQuery.m @@ -868,6 +868,29 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleIamV1Policy class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.getIamPolicy"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsList @dynamic filter, orderBy, pageSize, pageToken, parent; @@ -1044,6 +1067,60 @@ + (instancetype)queryWithParent:(NSString *)parent { @end +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest *)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"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleIamV1Policy class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest *)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"; + GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse class]; + query.loggingName = @"contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions"; + return query; +} + +@end + @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsCreate @dynamic authorizedViewSetId, parent; @@ -1874,7 +1951,7 @@ + (instancetype)queryWithParent:(NSString *)parent { @implementation GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsPatch -@dynamic name, updateMask; +@dynamic allowMissing, name, updateMask; + (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Conversation *)object name:(NSString *)name { diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h index ae3287322..17b587304 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsObjects.h @@ -238,6 +238,7 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionAnswerChoice; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionMetrics; +@class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTag; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaScorecard; @@ -273,11 +274,16 @@ @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UploadConversationRequest; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1UserInfo; @class GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1View; +@class GTLRContactcenterinsights_GoogleIamV1AuditConfig; +@class GTLRContactcenterinsights_GoogleIamV1AuditLogConfig; +@class GTLRContactcenterinsights_GoogleIamV1Binding; +@class GTLRContactcenterinsights_GoogleIamV1Policy; @class GTLRContactcenterinsights_GoogleLongrunningOperation; @class GTLRContactcenterinsights_GoogleLongrunningOperation_Metadata; @class GTLRContactcenterinsights_GoogleLongrunningOperation_Response; @class GTLRContactcenterinsights_GoogleRpcStatus; @class GTLRContactcenterinsights_GoogleRpcStatus_Details_Item; +@class GTLRContactcenterinsights_GoogleTypeExpr; @class GTLRContactcenterinsights_GoogleTypeInterval; // Generated comments include content from the discovery document; avoid them @@ -519,6 +525,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "QA_QUESTION_ID" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaQuestionId; +/** + * The dimension is keyed by QaScorecardIds. Note that: We only group by the + * ScorecardId and not the revision-id of the scorecard. This allows for + * showing stats for the same scorecard across different revisions. This metric + * is mostly only useful if querying the average normalized score per + * scorecard. + * + * Value: "QA_SCORECARD_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaScorecardId; // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Entity.type @@ -653,6 +669,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V1" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1; +/** + * Export schema version 10. + * + * Value: "EXPORT_V10" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10; /** * Export schema version 2. * @@ -689,6 +711,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V7" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7; +/** + * Export schema version 8. + * + * Value: "EXPORT_V8" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8; +/** + * Export schema version 9. + * + * Value: "EXPORT_V9" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9; /** * Export schema version latest available. * @@ -1251,6 +1285,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "QA_QUESTION_ID" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaQuestionId; +/** + * The dimension is keyed by QaScorecardIds. Note that: We only group by the + * ScorecardId and not the revision-id of the scorecard. This allows for + * showing stats for the same scorecard across different revisions. This metric + * is mostly only useful if querying the average normalized score per + * scorecard. + * + * Value: "QA_SCORECARD_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaScorecardId; // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Entity.type @@ -1385,6 +1429,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V1" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1; +/** + * Export schema version 10. + * + * Value: "EXPORT_V10" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10; /** * Export schema version 2. * @@ -1421,6 +1471,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Value: "EXPORT_V7" */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7; +/** + * Export schema version 8. + * + * Value: "EXPORT_V8" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8; +/** + * Export schema version 9. + * + * Value: "EXPORT_V9" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9; /** * Export schema version latest available. * @@ -1680,6 +1742,56 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource_SourceType_SystemGenerated; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion.questionType + +/** + * The default question type. The question is fully customizable by the user. + * + * Value: "CUSTOMIZABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_Customizable; +/** + * The question type is using a predefined model provided by CCAI teams. Users + * are not allowed to edit the question_body, answer_choices, upload feedback + * labels for the question nor fine-tune the question. However, users may edit + * other fields like question tags, question order, etc. + * + * Value: "PREDEFINED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_Predefined; +/** + * The type of the question is unspecified. + * + * Value: "QA_QUESTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_QaQuestionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig.type + +/** + * A prebuilt classifier classfying the outcome of the conversation. For + * example, if the customer issue mentioned in a conversation has been resolved + * or not. + * + * Value: "CONVERSATION_OUTCOME" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcome; +/** + * A prebuilt classifier classfying the initiator of the conversation + * escalation. For example, if it was initiated by the customer or the agent. + * + * Value: "CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeEscalationInitiatorRole; +/** + * The type of the predefined question is unspecified. + * + * Value: "PREDEFINED_QUESTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_PredefinedQuestionTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionTuningMetadata.datasetValidationWarnings @@ -1860,6 +1972,34 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput_QuerySource_SuggestedQuery; +// ---------------------------------------------------------------------------- +// GTLRContactcenterinsights_GoogleIamV1AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified; + /** * The analysis resource. */ @@ -2789,6 +2929,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, strong, nullable) NSNumber *customerSatisfactionRating; +/** Input only. The feedback labels associated with the conversation. */ +@property(nonatomic, strong, nullable) NSArray *feedbackLabels; + /** An arbitrary string value specifying the menu path the customer took. */ @property(nonatomic, copy, nullable) NSString *menuPath; @@ -2872,6 +3015,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, copy, nullable) NSString *conversationModel; +/** Agent Assist generator ID. */ +@property(nonatomic, copy, nullable) NSString *generatorId; + /** * A map that contains metadata about the summarization and the document from * which it originates. @@ -3346,6 +3492,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * the QuestionId and not the revision-id of the scorecard this question * is a part of. This allows for showing stats for the same question * across different scorecard revisions. (Value: "QA_QUESTION_ID") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1Dimension_DimensionKey_QaScorecardId + * The dimension is keyed by QaScorecardIds. Note that: We only group by + * the ScorecardId and not the revision-id of the scorecard. This allows + * for showing stats for the same scorecard across different revisions. + * This metric is mostly only useful if querying the average normalized + * score per scorecard. (Value: "QA_SCORECARD_ID") */ @property(nonatomic, copy, nullable) NSString *dimensionKey; @@ -3640,6 +3792,8 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * "EXPORT_SCHEMA_VERSION_UNSPECIFIED") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 * Export schema version 1. (Value: "EXPORT_V1") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 + * Export schema version 10. (Value: "EXPORT_V10") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 * Export schema version 2. (Value: "EXPORT_V2") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 @@ -3652,6 +3806,10 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact * Export schema version 6. (Value: "EXPORT_V6") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 * Export schema version 7. (Value: "EXPORT_V7") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 + * Export schema version 8. (Value: "EXPORT_V8") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 + * Export schema version 9. (Value: "EXPORT_V9") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable * Export schema version latest available. (Value: * "EXPORT_VERSION_LATEST_AVAILABLE") @@ -4107,18 +4265,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource : GTLRObject /** - * Optional. The Cloud Storage path to the conversation audio file if already - * transcribed. Note that: [1] Don't set this field if the audio is not - * transcribed. [2] Audio files and transcript files must be in separate - * buckets / folders. [3] A source file and its corresponding audio file must - * share the same name to be properly ingested, E.g. - * `gs://bucket/transcript/conversation1.json` and + * Optional. The Cloud Storage path to the conversation audio file. Note that: + * [1] Audio files will be transcribed if not already. [2] Audio files and + * transcript files must be in separate buckets / folders. [3] A source file + * and its corresponding audio file must share the same name to be properly + * ingested, E.g. `gs://bucket/transcript/conversation1.json` and * `gs://bucket/audio/conversation1.mp3`. */ @property(nonatomic, copy, nullable) NSString *audioBucketUri; /** - * Optional. Specifies the type of the objects in `bucket_uri`. + * Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing + * this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`. * * Likely values: * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource_BucketObjectType_Audio @@ -4131,7 +4289,11 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, copy, nullable) NSString *bucketObjectType; -/** Required. The Cloud Storage bucket containing source objects. */ +/** + * Optional. The Cloud Storage bucket containing source objects. Avoid passing + * this. Pass this through one of `transcript_bucket_uri` or + * `audio_bucket_uri`. + */ @property(nonatomic, copy, nullable) NSString *bucketUri; /** @@ -4151,6 +4313,16 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, copy, nullable) NSString *metadataBucketUri; +/** + * Optional. The Cloud Storage path to the conversation transcripts. Note that: + * [1] Transcript files are expected to be in JSON format. [2] Transcript, + * audio, metadata files must be in separate buckets / folders. [3] A source + * file and its corresponding metadata file must share the same name to be + * properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and + * `gs://bucket/metadata/conversation1.json`. + */ +@property(nonatomic, copy, nullable) NSString *transcriptBucketUri; + @end @@ -4714,6 +4886,15 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsights_GoogleCloudContact */ @property(nonatomic, strong, nullable) NSNumber *score; +/** + * Output only. A value of "Skip". If provided, this field may only be set to + * `true`. If a question receives this answer, it will be excluded from any + * score calculations. This would mean that the question was not evaluated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipValue; + /** String value. */ @property(nonatomic, copy, nullable) NSString *strValue; @@ -7201,6 +7382,9 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *customerSatisfactionRating; +/** Input only. The feedback labels associated with the conversation. */ +@property(nonatomic, strong, nullable) NSArray *feedbackLabels; + /** An arbitrary string value specifying the menu path the customer took. */ @property(nonatomic, copy, nullable) NSString *menuPath; @@ -7284,6 +7468,9 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *conversationModel; +/** Agent Assist generator ID. */ +@property(nonatomic, copy, nullable) NSString *generatorId; + /** * A map that contains metadata about the summarization and the document from * which it originates. @@ -7765,6 +7952,12 @@ GTLR_DEPRECATED * the QuestionId and not the revision-id of the scorecard this question * is a part of. This allows for showing stats for the same question * across different scorecard revisions. (Value: "QA_QUESTION_ID") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1Dimension_DimensionKey_QaScorecardId + * The dimension is keyed by QaScorecardIds. Note that: We only group by + * the ScorecardId and not the revision-id of the scorecard. This allows + * for showing stats for the same scorecard across different revisions. + * This metric is mostly only useful if querying the average normalized + * score per scorecard. (Value: "QA_SCORECARD_ID") */ @property(nonatomic, copy, nullable) NSString *dimensionKey; @@ -8074,6 +8267,8 @@ GTLR_DEPRECATED * "EXPORT_SCHEMA_VERSION_UNSPECIFIED") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV1 * Export schema version 1. (Value: "EXPORT_V1") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV10 + * Export schema version 10. (Value: "EXPORT_V10") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV2 * Export schema version 2. (Value: "EXPORT_V2") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV3 @@ -8086,6 +8281,10 @@ GTLR_DEPRECATED * Export schema version 6. (Value: "EXPORT_V6") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV7 * Export schema version 7. (Value: "EXPORT_V7") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV8 + * Export schema version 8. (Value: "EXPORT_V8") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportV9 + * Export schema version 9. (Value: "EXPORT_V9") * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest_ExportSchemaVersion_ExportVersionLatestAvailable * Export schema version latest available. (Value: * "EXPORT_VERSION_LATEST_AVAILABLE") @@ -8549,18 +8748,18 @@ GTLR_DEPRECATED @interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource : GTLRObject /** - * Optional. The Cloud Storage path to the conversation audio file if already - * transcribed. Note that: [1] Don't set this field if the audio is not - * transcribed. [2] Audio files and transcript files must be in separate - * buckets / folders. [3] A source file and its corresponding audio file must - * share the same name to be properly ingested, E.g. - * `gs://bucket/transcript/conversation1.json` and + * Optional. The Cloud Storage path to the conversation audio file. Note that: + * [1] Audio files will be transcribed if not already. [2] Audio files and + * transcript files must be in separate buckets / folders. [3] A source file + * and its corresponding audio file must share the same name to be properly + * ingested, E.g. `gs://bucket/transcript/conversation1.json` and * `gs://bucket/audio/conversation1.mp3`. */ @property(nonatomic, copy, nullable) NSString *audioBucketUri; /** - * Optional. Specifies the type of the objects in `bucket_uri`. + * Optional. Specifies the type of the objects in `bucket_uri`. Avoid passing + * this. This is inferred from the `transcript_bucket_uri`, `audio_bucket_uri`. * * Likely values: * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource_BucketObjectType_Audio @@ -8573,7 +8772,11 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *bucketObjectType; -/** Required. The Cloud Storage bucket containing source objects. */ +/** + * Optional. The Cloud Storage bucket containing source objects. Avoid passing + * this. Pass this through one of `transcript_bucket_uri` or + * `audio_bucket_uri`. + */ @property(nonatomic, copy, nullable) NSString *bucketUri; /** @@ -8593,6 +8796,16 @@ GTLR_DEPRECATED */ @property(nonatomic, copy, nullable) NSString *metadataBucketUri; +/** + * Optional. The Cloud Storage path to the conversation transcripts. Note that: + * [1] Transcript files are expected to be in JSON format. [2] Transcript, + * audio, metadata files must be in separate buckets / folders. [3] A source + * file and its corresponding metadata file must share the same name to be + * properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and + * `gs://bucket/metadata/conversation1.json`. + */ +@property(nonatomic, copy, nullable) NSString *transcriptBucketUri; + @end @@ -9792,6 +10005,15 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *score; +/** + * Output only. A value of "Skip". If provided, this field may only be set to + * `true`. If a question receives this answer, it will be excluded from any + * score calculations. This would mean that the question was not evaluated. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *skipValue; + /** String value. */ @property(nonatomic, copy, nullable) NSString *strValue; @@ -9841,9 +10063,34 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *order; +/** + * The configuration of the predefined question. This field will only be set if + * the Question Type is predefined. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig *predefinedQuestionConfig; + /** Question text. E.g., "Did the agent greet the customer?" */ @property(nonatomic, copy, nullable) NSString *questionBody; +/** + * The type of question. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_Customizable + * The default question type. The question is fully customizable by the + * user. (Value: "CUSTOMIZABLE") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_Predefined + * The question type is using a predefined model provided by CCAI teams. + * Users are not allowed to edit the question_body, answer_choices, + * upload feedback labels for the question nor fine-tune the question. + * However, users may edit other fields like question tags, question + * order, etc. (Value: "PREDEFINED") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestion_QuestionType_QaQuestionTypeUnspecified + * The type of the question is unspecified. (Value: + * "QA_QUESTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *questionType; + /** * Questions are tagged for categorization and scoring. Tags can either be: - * Default Tags: These are predefined categories. They are identified by their @@ -9931,6 +10178,33 @@ GTLR_DEPRECATED @end +/** + * Configuration for a predefined question. This field will only be set if the + * Question Type is predefined. + */ +@interface GTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig : GTLRObject + +/** + * The type of the predefined question. + * + * Likely values: + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcome + * A prebuilt classifier classfying the outcome of the conversation. For + * example, if the customer issue mentioned in a conversation has been + * resolved or not. (Value: "CONVERSATION_OUTCOME") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_ConversationOutcomeEscalationInitiatorRole + * A prebuilt classifier classfying the initiator of the conversation + * escalation. For example, if it was initiated by the customer or the + * agent. (Value: "CONVERSATION_OUTCOME_ESCALATION_INITIATOR_ROLE") + * @arg @c kGTLRContactcenterinsights_GoogleCloudContactcenterinsightsV1QaQuestionPredefinedQuestionConfig_Type_PredefinedQuestionTypeUnspecified + * The type of the predefined question is unspecified. (Value: + * "PREDEFINED_QUESTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * A tag is a resource which aims to categorize a set of questions across * multiple scorecards, e.g., "Customer Satisfaction","Billing", etc. @@ -10015,6 +10289,15 @@ GTLR_DEPRECATED /** The user-specified display name of the scorecard. */ @property(nonatomic, copy, nullable) NSString *displayName; +/** + * Whether the scorecard is the default one for the project. A default + * scorecard cannot be deleted and will always appear first in scorecard + * selector. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isDefault; + /** * Identifier. The scorecard name. Format: * projects/{project}/locations/{location}/qaScorecards/{qa_scorecard} @@ -11312,6 +11595,301 @@ GTLR_DEPRECATED @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 GTLRContactcenterinsights_GoogleIamV1AuditConfig : 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 GTLRContactcenterinsights_GoogleIamV1AuditLogConfig : 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 kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_AdminRead + * Admin reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataRead + * Data reads. Example: CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_DataWrite + * Data writes. Example: CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRContactcenterinsights_GoogleIamV1AuditLogConfig_LogType_LogTypeUnspecified + * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *logType; + +@end + + +/** + * Associates `members`, or principals, with a `role`. + */ +@interface GTLRContactcenterinsights_GoogleIamV1Binding : 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) GTLRContactcenterinsights_GoogleTypeExpr *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 + + +/** + * 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 GTLRContactcenterinsights_GoogleIamV1Policy : GTLRObject + +/** Specifies cloud audit logging configuration for this policy. */ +@property(nonatomic, strong, nullable) NSArray *auditConfigs; + +/** + * Associates a list of `members`, or principals, with a `role`. Optionally, + * may specify a `condition` that determines how and when the `bindings` are + * applied. Each of the `bindings` must contain at least one principal. The + * `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of + * these principals can be Google groups. Each occurrence of a principal counts + * towards these limits. For example, if the `bindings` grant 50 different + * roles to `user:alice\@example.com`, and not to any other principal, then you + * can add another 1,450 principals to the `bindings` in the `Policy`. + */ +@property(nonatomic, strong, nullable) NSArray *bindings; + +/** + * `etag` is used for optimistic concurrency control as a way to help prevent + * simultaneous updates of a policy from overwriting each other. It is strongly + * suggested that systems make use of the `etag` in the read-modify-write cycle + * to perform policy updates in order to avoid race conditions: An `etag` is + * returned in the response to `getIamPolicy`, and systems are expected to put + * that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. **Important:** If you use IAM + * Conditions, you must include the `etag` field whenever you call + * `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a + * version `3` policy with a version `1` policy, and all of the conditions in + * the version `3` policy are lost. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + * Requests that specify an invalid value are rejected. Any operation that + * affects conditional role bindings must specify version `3`. This requirement + * applies to the following operations: * Getting a policy that includes a + * conditional role binding * Adding a conditional role binding to a policy * + * Changing a conditional role binding in a policy * Removing any role binding, + * with or without a condition, from a policy that includes conditions + * **Important:** If you use IAM Conditions, you must include the `etag` field + * whenever you call `setIamPolicy`. If you omit this field, then IAM allows + * you to overwrite a version `3` policy with a version `1` policy, and all of + * the conditions in the version `3` policy are lost. If a policy does not + * include any conditions, operations on that policy may specify any valid + * version or leave the field unset. To learn which resources support + * conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + +/** + * Request message for `SetIamPolicy` method. + */ +@interface GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest : GTLRObject + +/** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a valid policy + * but certain Google Cloud services (such as Projects) might reject them. + */ +@property(nonatomic, strong, nullable) GTLRContactcenterinsights_GoogleIamV1Policy *policy; + +/** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: `paths: "bindings, etag"` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest : 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 GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse : GTLRObject + +/** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + /** * The response message for Operations.ListOperations. * @@ -11471,6 +12049,55 @@ GTLR_DEPRECATED @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 GTLRContactcenterinsights_GoogleTypeExpr : 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 + + /** * Represents a time interval, encoded as a Timestamp start (inclusive) and a * Timestamp end (exclusive). The start must be less than or equal to the end. diff --git a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h index d76460b0a..8b54bfdf2 100644 --- a/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h +++ b/Sources/GeneratedServices/Contactcenterinsights/Public/GoogleAPIClientForREST/GTLRContactcenterinsightsQuery.h @@ -1372,7 +1372,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; * final component of the AuthorizedView's resource name. If no ID is * specified, a server-generated ID will be used. This value should be 4-64 * characters and must match the regular expression - * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See aip.dev/122#resource-id-segments */ @property(nonatomic, copy, nullable) NSString *authorizedViewId; @@ -1450,6 +1450,55 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @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: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy : GTLRContactcenterinsightsQuery + +/** + * 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 GTLRContactcenterinsights_GoogleIamV1Policy. + * + * Gets the access control policy for a resource. Returns an empty policy if + * the resource exists and does not have a policy set. + * + * @param resource REQUIRED: The resource for which the policy is being + * requested. See [Resource + * names](https://cloud.google.com/apis/design/resource_names) for the + * appropriate value for this field. + * + * @return GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + /** * List AuthorizedViewSets * @@ -1807,6 +1856,93 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; @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: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy : GTLRContactcenterinsightsQuery + +/** + * 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 GTLRContactcenterinsights_GoogleIamV1Policy. + * + * 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 + * GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest 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 GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1SetIamPolicyRequest *)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: contactcenterinsights.projects.locations.authorizedViewSets.authorizedViews.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeContactcenterinsightsCloudPlatform + */ +@interface GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions : GTLRContactcenterinsightsQuery + +/** + * 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 + * GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsResponse. + * + * 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 + * GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest 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 GTLRContactcenterinsightsQuery_ProjectsLocationsAuthorizedViewSetsAuthorizedViewsTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRContactcenterinsights_GoogleIamV1TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + /** * Create AuthorizedViewSet * @@ -1822,7 +1958,7 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; * final component of the AuthorizedViewSet's resource name. If no ID is * specified, a server-generated ID will be used. This value should be 4-64 * characters and must match the regular expression - * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See go/aip/122#resource-id-segments + * `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. See aip.dev/122#resource-id-segments */ @property(nonatomic, copy, nullable) NSString *authorizedViewSetId; @@ -3152,6 +3288,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; */ @interface GTLRContactcenterinsightsQuery_ProjectsLocationsConversationsPatch : GTLRContactcenterinsightsQuery +/** + * Optional. Defaults to false. If set to true, and the conversation is not + * found, a new conversation will be created. In this situation, `update_mask` + * is ignored. + */ +@property(nonatomic, assign) BOOL allowMissing; + /** * Immutable. The resource name of the conversation. Format: * projects/{project}/locations/{location}/conversations/{conversation} @@ -5054,10 +5197,11 @@ FOUNDATION_EXTERN NSString * const kGTLRContactcenterinsightsViewFull; /** * Optional. A filter to reduce results to a specific subset. Supports - * disjunctions (OR) and conjunctions (AND). Supported fields include the - * following: * `project_id` - id of the project to list tags for * - * `qa_scorecard_revision_id` - id of the scorecard revision to list tags for * - * `qa_question_id - id of the question to list tags for` + * conjunctions (ie. AND operators). Supported fields include the following: * + * `project_id` - id of the project to list tags for * `qa_scorecard_id` - id + * of the scorecard to list tags for * `revision_id` - id of the scorecard + * revision to list tags for` * `qa_question_id - id of the question to list + * tags for` */ @property(nonatomic, copy, nullable) NSString *filter; diff --git a/Sources/GeneratedServices/Container/GTLRContainerObjects.m b/Sources/GeneratedServices/Container/GTLRContainerObjects.m index 74cf335f2..067c298be 100644 --- a/Sources/GeneratedServices/Container/GTLRContainerObjects.m +++ b/Sources/GeneratedServices/Container/GTLRContainerObjects.m @@ -174,6 +174,10 @@ NSString * const kGTLRContainer_Filter_EventType_UpgradeEvent = @"UPGRADE_EVENT"; NSString * const kGTLRContainer_Filter_EventType_UpgradeInfoEvent = @"UPGRADE_INFO_EVENT"; +// GTLRContainer_Fleet.membershipType +NSString * const kGTLRContainer_Fleet_MembershipType_Lightweight = @"LIGHTWEIGHT"; +NSString * const kGTLRContainer_Fleet_MembershipType_MembershipTypeUnspecified = @"MEMBERSHIP_TYPE_UNSPECIFIED"; + // GTLRContainer_GatewayAPIConfig.channel NSString * const kGTLRContainer_GatewayAPIConfig_Channel_ChannelDisabled = @"CHANNEL_DISABLED"; NSString * const kGTLRContainer_GatewayAPIConfig_Channel_ChannelExperimental = @"CHANNEL_EXPERIMENTAL"; @@ -210,6 +214,20 @@ NSString * const kGTLRContainer_LinuxNodeConfig_CgroupMode_CgroupModeV1 = @"CGROUP_MODE_V1"; NSString * const kGTLRContainer_LinuxNodeConfig_CgroupMode_CgroupModeV2 = @"CGROUP_MODE_V2"; +// GTLRContainer_LinuxNodeConfig.transparentHugepageDefrag +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragAlways = @"TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragDefer = @"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragDeferWithMadvise = @"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragMadvise = @"TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragNever = @"TRANSPARENT_HUGEPAGE_DEFRAG_NEVER"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragUnspecified = @"TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED"; + +// GTLRContainer_LinuxNodeConfig.transparentHugepageEnabled +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledAlways = @"TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledMadvise = @"TRANSPARENT_HUGEPAGE_ENABLED_MADVISE"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledNever = @"TRANSPARENT_HUGEPAGE_ENABLED_NEVER"; +NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledUnspecified = @"TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED"; + // GTLRContainer_LoggingComponentConfig.enableComponents NSString * const kGTLRContainer_LoggingComponentConfig_EnableComponents_Apiserver = @"APISERVER"; NSString * const kGTLRContainer_LoggingComponentConfig_EnableComponents_ComponentUnspecified = @"COMPONENT_UNSPECIFIED"; @@ -580,8 +598,9 @@ @implementation GTLRContainer_AddonsConfig gcePersistentDiskCsiDriverConfig, gcpFilestoreCsiDriverConfig, gcsFuseCsiDriverConfig, gkeBackupAgentConfig, highScaleCheckpointingConfig, horizontalPodAutoscaling, - httpLoadBalancing, kubernetesDashboard, networkPolicyConfig, - parallelstoreCsiDriverConfig, rayOperatorConfig, statefulHaConfig; + httpLoadBalancing, kubernetesDashboard, lustreCsiDriverConfig, + networkPolicyConfig, parallelstoreCsiDriverConfig, rayOperatorConfig, + statefulHaConfig; @end @@ -631,6 +650,7 @@ @implementation GTLRContainer_AuthenticatorGroupsConfig // @implementation GTLRContainer_AutoIpamConfig +@dynamic enabled; @end @@ -650,7 +670,7 @@ @implementation GTLRContainer_AutoMonitoringConfig // @implementation GTLRContainer_Autopilot -@dynamic enabled, workloadPolicyConfig; +@dynamic enabled, privilegedAdmissionConfig, workloadPolicyConfig; @end @@ -782,6 +802,16 @@ @implementation GTLRContainer_BlueGreenSettings @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_BootDisk +// + +@implementation GTLRContainer_BootDisk +@dynamic diskType, provisionedIops, provisionedThroughput, sizeGb; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_CancelOperationRequest @@ -937,7 +967,8 @@ + (Class)classForAdditionalProperties { @implementation GTLRContainer_ClusterAutoscaling @dynamic autoprovisioningLocations, autoprovisioningNodePoolDefaults, - autoscalingProfile, enableNodeAutoprovisioning, resourceLimits; + autoscalingProfile, defaultComputeClassConfig, + enableNodeAutoprovisioning, resourceLimits; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1210,6 +1241,16 @@ @implementation GTLRContainer_DConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_DefaultComputeClassConfig +// + +@implementation GTLRContainer_DefaultComputeClassConfig +@dynamic enabled; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_DefaultSnatStatus @@ -1308,6 +1349,39 @@ @implementation GTLRContainer_EphemeralStorageLocalSsdConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_EvictionGracePeriod +// + +@implementation GTLRContainer_EvictionGracePeriod +@dynamic imagefsAvailable, imagefsInodesFree, memoryAvailable, nodefsAvailable, + nodefsInodesFree, pidAvailable; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainer_EvictionMinimumReclaim +// + +@implementation GTLRContainer_EvictionMinimumReclaim +@dynamic imagefsAvailable, imagefsInodesFree, memoryAvailable, nodefsAvailable, + nodefsInodesFree, pidAvailable; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRContainer_EvictionSignals +// + +@implementation GTLRContainer_EvictionSignals +@dynamic imagefsAvailable, imagefsInodesFree, memoryAvailable, nodefsAvailable, + nodefsInodesFree, pidAvailable; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_FastSocket @@ -1342,7 +1416,7 @@ @implementation GTLRContainer_Filter // @implementation GTLRContainer_Fleet -@dynamic membership, preRegistered, project; +@dynamic membership, membershipType, preRegistered, project; @end @@ -1669,7 +1743,8 @@ @implementation GTLRContainer_LegacyAbac // @implementation GTLRContainer_LinuxNodeConfig -@dynamic cgroupMode, hugepages, sysctls; +@dynamic cgroupMode, hugepages, sysctls, transparentHugepageDefrag, + transparentHugepageEnabled; @end @@ -1813,6 +1888,16 @@ @implementation GTLRContainer_LoggingVariantConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_LustreCsiDriverConfig +// + +@implementation GTLRContainer_LustreCsiDriverConfig +@dynamic enabled, enableLegacyLustrePort; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_MaintenanceExclusionOptions @@ -2058,7 +2143,7 @@ @implementation GTLRContainer_NodeAffinity // @implementation GTLRContainer_NodeConfig -@dynamic accelerators, advancedMachineFeatures, bootDiskKmsKey, +@dynamic accelerators, advancedMachineFeatures, bootDisk, bootDiskKmsKey, confidentialNodes, containerdConfig, diskSizeGb, diskType, effectiveCgroupMode, enableConfidentialStorage, ephemeralStorageLocalSsdConfig, fastSocket, flexStart, gcfsConfig, @@ -2146,10 +2231,11 @@ @implementation GTLRContainer_NodeConfigDefaults @implementation GTLRContainer_NodeKubeletConfig @dynamic allowedUnsafeSysctls, containerLogMaxFiles, containerLogMaxSize, cpuCfsQuota, cpuCfsQuotaPeriod, cpuManagerPolicy, - imageGcHighThresholdPercent, imageGcLowThresholdPercent, - imageMaximumGcAge, imageMinimumGcAge, - insecureKubeletReadonlyPortEnabled, memoryManager, podPidsLimit, - singleProcessOomKill, topologyManager; + evictionMaxPodGracePeriodSeconds, evictionMinimumReclaim, evictionSoft, + evictionSoftGracePeriod, imageGcHighThresholdPercent, + imageGcLowThresholdPercent, imageMaximumGcAge, imageMinimumGcAge, + insecureKubeletReadonlyPortEnabled, maxParallelImagePulls, + memoryManager, podPidsLimit, singleProcessOomKill, topologyManager; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2504,6 +2590,24 @@ @implementation GTLRContainer_PrivateRegistryAccessConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_PrivilegedAdmissionConfig +// + +@implementation GTLRContainer_PrivilegedAdmissionConfig +@dynamic allowlistPaths; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"allowlistPaths" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_PubSub @@ -2715,6 +2819,16 @@ @implementation GTLRContainer_RollbackNodePoolUpgradeRequest @end +// ---------------------------------------------------------------------------- +// +// GTLRContainer_RotationConfig +// + +@implementation GTLRContainer_RotationConfig +@dynamic enabled, rotationInterval; +@end + + // ---------------------------------------------------------------------------- // // GTLRContainer_SandboxConfig @@ -2750,7 +2864,7 @@ @implementation GTLRContainer_SecondaryBootDiskUpdateStrategy // @implementation GTLRContainer_SecretManagerConfig -@dynamic enabled; +@dynamic enabled, rotationConfig; @end @@ -3202,7 +3316,7 @@ @implementation GTLRContainer_UpdateMasterRequest // @implementation GTLRContainer_UpdateNodePoolRequest -@dynamic accelerators, clusterId, confidentialNodes, containerdConfig, +@dynamic accelerators, bootDisk, clusterId, confidentialNodes, containerdConfig, diskSizeGb, diskType, ETag, fastSocket, flexStart, gcfsConfig, gvnic, imageType, kubeletConfig, labels, linuxNodeConfig, locations, loggingConfig, machineType, maxRunDuration, name, nodeNetworkConfig, diff --git a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h index c618c223e..2a132c7b0 100644 --- a/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h +++ b/Sources/GeneratedServices/Container/Public/GoogleAPIClientForREST/GTLRContainerObjects.h @@ -37,6 +37,7 @@ @class GTLRContainer_BinaryAuthorization; @class GTLRContainer_BlueGreenInfo; @class GTLRContainer_BlueGreenSettings; +@class GTLRContainer_BootDisk; @class GTLRContainer_CertificateAuthorityDomainConfig; @class GTLRContainer_CidrBlock; @class GTLRContainer_ClientCertificateConfig; @@ -56,6 +57,7 @@ @class GTLRContainer_DailyMaintenanceWindow; @class GTLRContainer_DatabaseEncryption; @class GTLRContainer_DConfig; +@class GTLRContainer_DefaultComputeClassConfig; @class GTLRContainer_DefaultSnatStatus; @class GTLRContainer_DesiredAdditionalIPRangesConfig; @class GTLRContainer_DesiredEnterpriseConfig; @@ -64,6 +66,9 @@ @class GTLRContainer_DNSEndpointConfig; @class GTLRContainer_EnterpriseConfig; @class GTLRContainer_EphemeralStorageLocalSsdConfig; +@class GTLRContainer_EvictionGracePeriod; +@class GTLRContainer_EvictionMinimumReclaim; +@class GTLRContainer_EvictionSignals; @class GTLRContainer_FastSocket; @class GTLRContainer_Filter; @class GTLRContainer_Fleet; @@ -97,6 +102,7 @@ @class GTLRContainer_LoggingComponentConfig; @class GTLRContainer_LoggingConfig; @class GTLRContainer_LoggingVariantConfig; +@class GTLRContainer_LustreCsiDriverConfig; @class GTLRContainer_MaintenanceExclusionOptions; @class GTLRContainer_MaintenancePolicy; @class GTLRContainer_MaintenanceWindow; @@ -146,6 +152,7 @@ @class GTLRContainer_PrivateClusterConfig; @class GTLRContainer_PrivateClusterMasterGlobalAccessConfig; @class GTLRContainer_PrivateRegistryAccessConfig; +@class GTLRContainer_PrivilegedAdmissionConfig; @class GTLRContainer_PubSub; @class GTLRContainer_QueuedProvisioning; @class GTLRContainer_RangeInfo; @@ -163,6 +170,7 @@ @class GTLRContainer_ResourceManagerTags; @class GTLRContainer_ResourceManagerTags_Tags; @class GTLRContainer_ResourceUsageExportConfig; +@class GTLRContainer_RotationConfig; @class GTLRContainer_SandboxConfig; @class GTLRContainer_SecondaryBootDisk; @class GTLRContainer_SecondaryBootDiskUpdateStrategy; @@ -971,6 +979,22 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_Filter_EventType_UpgradeEvent; */ FOUNDATION_EXTERN NSString * const kGTLRContainer_Filter_EventType_UpgradeInfoEvent; +// ---------------------------------------------------------------------------- +// GTLRContainer_Fleet.membershipType + +/** + * The membership supports only lightweight compatible features. + * + * Value: "LIGHTWEIGHT" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_Fleet_MembershipType_Lightweight; +/** + * The MembershipType is not set. + * + * Value: "MEMBERSHIP_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_Fleet_MembershipType_MembershipTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRContainer_GatewayAPIConfig.channel @@ -1137,6 +1161,85 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_CgroupMode_Cgr */ FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_CgroupMode_CgroupModeV2; +// ---------------------------------------------------------------------------- +// GTLRContainer_LinuxNodeConfig.transparentHugepageDefrag + +/** + * It means that an application requesting THP will stall on allocation failure + * and directly reclaim pages and compact memory in an effort to allocate a THP + * immediately. + * + * Value: "TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragAlways; +/** + * It means that an application will wake kswapd in the background to reclaim + * pages and wake kcompactd to compact memory so that THP is available in the + * near future. It’s the responsibility of khugepaged to then install the THP + * pages later. + * + * Value: "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragDefer; +/** + * It means that an application will enter direct reclaim and compaction like + * always, but only for regions that have used madvise(MADV_HUGEPAGE); all + * other regions will wake kswapd in the background to reclaim pages and wake + * kcompactd to compact memory so that THP is available in the near future. + * + * Value: "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragDeferWithMadvise; +/** + * It means that an application will enter direct reclaim like always but only + * for regions that are have used madvise(MADV_HUGEPAGE). This is the default + * kernel configuration. + * + * Value: "TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragMadvise; +/** + * It means that an application will never enter direct reclaim or compaction. + * + * Value: "TRANSPARENT_HUGEPAGE_DEFRAG_NEVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragNever; +/** + * Default value. GKE will not modify the kernel configuration. + * + * Value: "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRContainer_LinuxNodeConfig.transparentHugepageEnabled + +/** + * Transparent hugepage support for anonymous memory is enabled system wide. + * + * Value: "TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledAlways; +/** + * Transparent hugepage support for anonymous memory is enabled inside + * MADV_HUGEPAGE regions. This is the default kernel configuration. + * + * Value: "TRANSPARENT_HUGEPAGE_ENABLED_MADVISE" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledMadvise; +/** + * Transparent hugepage support for anonymous memory is disabled. + * + * Value: "TRANSPARENT_HUGEPAGE_ENABLED_NEVER" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledNever; +/** + * Default value. GKE will not modify the kernel configuration. + * + * Value: "TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledUnspecified; + // ---------------------------------------------------------------------------- // GTLRContainer_LoggingComponentConfig.enableComponents @@ -2884,6 +2987,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) GTLRContainer_KubernetesDashboard *kubernetesDashboard GTLR_DEPRECATED; +/** Configuration for the Lustre CSI driver. */ +@property(nonatomic, strong, nullable) GTLRContainer_LustreCsiDriverConfig *lustreCsiDriverConfig; + /** * Configuration for NetworkPolicy. This only tracks whether the addon is * enabled or not on the Master, it does not track whether network policy is @@ -3032,6 +3138,14 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * AutoIpamConfig contains all information related to Auto IPAM */ @interface GTLRContainer_AutoIpamConfig : GTLRObject + +/** + * The flag that enables Auto IPAM on this cluster + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + @end @@ -3069,6 +3183,12 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *enabled; +/** + * PrivilegedAdmissionConfig is the configuration related to privileged + * admission control. + */ +@property(nonatomic, strong, nullable) GTLRContainer_PrivilegedAdmissionConfig *privilegedAdmissionConfig; + /** * WorkloadPolicyConfig is the configuration related to GCW workload policy */ @@ -3380,6 +3500,40 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * BootDisk specifies the boot disk configuration for nodepools. + */ +@interface GTLRContainer_BootDisk : GTLRObject + +/** + * Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.) + */ +@property(nonatomic, copy, nullable) NSString *diskType; + +/** + * For Hyperdisk-Balanced only, the provisioned IOPS config value. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedIops; + +/** + * For Hyperdisk-Balanced only, the provisioned throughput config value. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *provisionedThroughput; + +/** + * Disk size in GB. Replaces NodeConfig.disk_size_gb + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *sizeGb; + +@end + + /** * CancelOperationRequest cancels a single operation. */ @@ -4048,6 +4202,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *autoscalingProfile; +/** Default compute class is a configuration for default compute class. */ +@property(nonatomic, strong, nullable) GTLRContainer_DefaultComputeClassConfig *defaultComputeClassConfig; + /** * Enables automatic node pool creation and deletion. * @@ -4887,6 +5044,21 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * DefaultComputeClassConfig defines default compute class configuration. + */ +@interface GTLRContainer_DefaultComputeClassConfig : GTLRObject + +/** + * Enables default compute class. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + + /** * DefaultSnatStatus contains the desired state of whether default sNAT should * be disabled on the cluster. @@ -5105,6 +5277,179 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * Eviction grace periods are grace periods for each eviction signal. + */ +@interface GTLRContainer_EvictionGracePeriod : GTLRObject + +/** + * Optional. Grace period for eviction due to imagefs available signal. Sample + * format: "10s". Must be >= 0. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *imagefsAvailable; + +/** + * Optional. Grace period for eviction due to imagefs inodes free signal. + * Sample format: "10s". Must be >= 0. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *imagefsInodesFree; + +/** + * Optional. Grace period for eviction due to memory available signal. Sample + * format: "10s". Must be >= 0. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *memoryAvailable; + +/** + * Optional. Grace period for eviction due to nodefs available signal. Sample + * format: "10s". Must be >= 0. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *nodefsAvailable; + +/** + * Optional. Grace period for eviction due to nodefs inodes free signal. Sample + * format: "10s". Must be >= 0. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *nodefsInodesFree; + +/** + * Optional. Grace period for eviction due to pid available signal. Sample + * format: "10s". Must be >= 0. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *pidAvailable; + +@end + + +/** + * Eviction minimum reclaims are the resource amounts of minimum reclaims for + * each eviction signal. + */ +@interface GTLRContainer_EvictionMinimumReclaim : GTLRObject + +/** + * Optional. Minimum reclaim for eviction due to imagefs available signal. Only + * take percentage value for now. Sample format: "10%". Must be <=10%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *imagefsAvailable; + +/** + * Optional. Minimum reclaim for eviction due to imagefs inodes free signal. + * Only take percentage value for now. Sample format: "10%". Must be <=10%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *imagefsInodesFree; + +/** + * Optional. Minimum reclaim for eviction due to memory available signal. Only + * take percentage value for now. Sample format: "10%". Must be <=10%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *memoryAvailable; + +/** + * Optional. Minimum reclaim for eviction due to nodefs available signal. Only + * take percentage value for now. Sample format: "10%". Must be <=10%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *nodefsAvailable; + +/** + * Optional. Minimum reclaim for eviction due to nodefs inodes free signal. + * Only take percentage value for now. Sample format: "10%". Must be <=10%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *nodefsInodesFree; + +/** + * Optional. Minimum reclaim for eviction due to pid available signal. Only + * take percentage value for now. Sample format: "10%". Must be <=10%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *pidAvailable; + +@end + + +/** + * Eviction signals are the current state of a particular resource at a + * specific point in time. The kubelet uses eviction signals to make eviction + * decisions by comparing the signals to eviction thresholds, which are the + * minimum amount of the resource that should be available on the node. + */ +@interface GTLRContainer_EvictionSignals : GTLRObject + +/** + * Optional. Amount of storage available on filesystem that container runtime + * uses for storing images layers. If the container filesystem and image + * filesystem are not separate, then imagefs can store both image layers and + * writeable layers. Defines the amount of "imagefs.available" signal in + * kubelet. Default is unset, if not specified in the kubelet config. It takses + * percentage value for now. Sample format: "30%". Must be >= 15% and <= 50%. + * See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *imagefsAvailable; + +/** + * Optional. Amount of inodes available on filesystem that container runtime + * uses for storing images layers. Defines the amount of "imagefs.inodesFree" + * signal in kubelet. Default is unset, if not specified in the kubelet config. + * Linux only. It takses percentage value for now. Sample format: "30%". Must + * be >= 5% and <= 50%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *imagefsInodesFree; + +/** + * Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines + * the amount of "memory.available" signal in kubelet. Default is unset, if not + * specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, + * 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the + * node's memory. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *memoryAvailable; + +/** + * Optional. Amount of storage available on filesystem that kubelet uses for + * volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal + * in kubelet. Default is unset, if not specified in the kubelet config. It + * takses percentage value for now. Sample format: "30%". Must be >= 10% and <= + * 50%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *nodefsAvailable; + +/** + * Optional. Amount of inodes available on filesystem that kubelet uses for + * volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal + * in kubelet. Default is unset, if not specified in the kubelet config. Linux + * only. It takses percentage value for now. Sample format: "30%". Must be >= + * 5% and <= 50%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *nodefsInodesFree; + +/** + * Optional. Amount of PID available for pod allocation. Defines the amount of + * "pid.available" signal in kubelet. Default is unset, if not specified in the + * kubelet config. It takses percentage value for now. Sample format: "30%". + * Must be >= 10% and <= 50%. See + * https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals + */ +@property(nonatomic, copy, nullable) NSString *pidAvailable; + +@end + + /** * Configuration of Fast Socket feature. */ @@ -5146,6 +5491,17 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *membership; +/** + * The type of the cluster's fleet membership. + * + * Likely values: + * @arg @c kGTLRContainer_Fleet_MembershipType_Lightweight The membership + * supports only lightweight compatible features. (Value: "LIGHTWEIGHT") + * @arg @c kGTLRContainer_Fleet_MembershipType_MembershipTypeUnspecified The + * MembershipType is not set. (Value: "MEMBERSHIP_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *membershipType; + /** * Output only. Whether the cluster has been registered through the fleet API. * @@ -5918,16 +6274,84 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max * net.core.rmem_default net.core.wmem_default net.core.wmem_max * net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem - * net.ipv4.tcp_tw_reuse net.netfilter.nf_conntrack_max - * net.netfilter.nf_conntrack_buckets + * net.ipv4.tcp_tw_reuse net.ipv4.tcp_max_orphans + * net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets * net.netfilter.nf_conntrack_tcp_timeout_close_wait * net.netfilter.nf_conntrack_tcp_timeout_time_wait * net.netfilter.nf_conntrack_tcp_timeout_established * net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall - * vm.max_map_count + * fs.aio-max-nr fs.file-max fs.inotify.max_user_instances + * fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio + * vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_writeback_centisecs + * vm.max_map_count vm.overcommit_memory vm.overcommit_ratio + * vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor + * vm.min_free_kbytes */ @property(nonatomic, strong, nullable) GTLRContainer_LinuxNodeConfig_Sysctls *sysctls; +/** + * Optional. Defines the transparent hugepage defrag configuration on the node. + * VM hugepage allocation can be managed by either limiting defragmentation for + * delayed allocation or skipping it entirely for immediate allocation only. + * See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details. + * + * Likely values: + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragAlways + * It means that an application requesting THP will stall on allocation + * failure and directly reclaim pages and compact memory in an effort to + * allocate a THP immediately. (Value: + * "TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragDefer + * It means that an application will wake kswapd in the background to + * reclaim pages and wake kcompactd to compact memory so that THP is + * available in the near future. It’s the responsibility of khugepaged to + * then install the THP pages later. (Value: + * "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragDeferWithMadvise + * It means that an application will enter direct reclaim and compaction + * like always, but only for regions that have used + * madvise(MADV_HUGEPAGE); all other regions will wake kswapd in the + * background to reclaim pages and wake kcompactd to compact memory so + * that THP is available in the near future. (Value: + * "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragMadvise + * It means that an application will enter direct reclaim like always but + * only for regions that are have used madvise(MADV_HUGEPAGE). This is + * the default kernel configuration. (Value: + * "TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragNever + * It means that an application will never enter direct reclaim or + * compaction. (Value: "TRANSPARENT_HUGEPAGE_DEFRAG_NEVER") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageDefrag_TransparentHugepageDefragUnspecified + * Default value. GKE will not modify the kernel configuration. (Value: + * "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *transparentHugepageDefrag; + +/** + * Optional. Transparent hugepage support for anonymous memory can be entirely + * disabled (mostly for debugging purposes) or only enabled inside + * MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) + * or enabled system wide. See + * https://docs.kernel.org/admin-guide/mm/transhuge.html for more details. + * + * Likely values: + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledAlways + * Transparent hugepage support for anonymous memory is enabled system + * wide. (Value: "TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledMadvise + * Transparent hugepage support for anonymous memory is enabled inside + * MADV_HUGEPAGE regions. This is the default kernel configuration. + * (Value: "TRANSPARENT_HUGEPAGE_ENABLED_MADVISE") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledNever + * Transparent hugepage support for anonymous memory is disabled. (Value: + * "TRANSPARENT_HUGEPAGE_ENABLED_NEVER") + * @arg @c kGTLRContainer_LinuxNodeConfig_TransparentHugepageEnabled_TransparentHugepageEnabledUnspecified + * Default value. GKE will not modify the kernel configuration. (Value: + * "TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *transparentHugepageEnabled; + @end @@ -5937,13 +6361,18 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo * net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max * net.core.rmem_default net.core.wmem_default net.core.wmem_max * net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem - * net.ipv4.tcp_tw_reuse net.netfilter.nf_conntrack_max - * net.netfilter.nf_conntrack_buckets + * net.ipv4.tcp_tw_reuse net.ipv4.tcp_max_orphans + * net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets * net.netfilter.nf_conntrack_tcp_timeout_close_wait * net.netfilter.nf_conntrack_tcp_timeout_time_wait * net.netfilter.nf_conntrack_tcp_timeout_established * net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall - * vm.max_map_count + * fs.aio-max-nr fs.file-max fs.inotify.max_user_instances + * fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio + * vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_writeback_centisecs + * vm.max_map_count vm.overcommit_memory vm.overcommit_ratio + * vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor + * vm.min_free_kbytes * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -6104,6 +6533,33 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * Configuration for the Lustre CSI driver. + */ +@interface GTLRContainer_LustreCsiDriverConfig : GTLRObject + +/** + * Whether the Lustre CSI driver is enabled for this cluster. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +/** + * If set to true, the Lustre CSI driver will install Lustre kernel modules + * using port 6988. This serves as a workaround for a port conflict with the + * gke-metadata-server. This field is required ONLY under the following + * conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. + * You're connecting to a Lustre instance that has the 'gke-support-enabled' + * flag. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableLegacyLustrePort GTLR_DEPRECATED; + +@end + + /** * Represents the Maintenance exclusion option. */ @@ -6696,6 +7152,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo /** Advanced features for the Compute Engine VM. */ @property(nonatomic, strong, nullable) GTLRContainer_AdvancedMachineFeatures *advancedMachineFeatures; +/** The boot disk configuration for the node pool. */ +@property(nonatomic, strong, nullable) GTLRContainer_BootDisk *bootDisk; + /** * The Customer Managed Encryption Key used to encrypt the boot disk attached * to each node in the node pool. This should be of the form @@ -7140,6 +7599,40 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, copy, nullable) NSString *cpuManagerPolicy; +/** + * Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace + * period (in seconds) to use when terminating pods in response to a soft + * eviction threshold being met. This value effectively caps the Pod's + * terminationGracePeriodSeconds value during soft evictions. Default: 0. + * Range: [0, 300]. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *evictionMaxPodGracePeriodSeconds; + +/** + * Optional. eviction_minimum_reclaim is a map of signal names to quantities + * that defines minimum reclaims, which describe the minimum amount of a given + * resource the kubelet will reclaim when performing a pod eviction while that + * resource is under pressure. + */ +@property(nonatomic, strong, nullable) GTLRContainer_EvictionMinimumReclaim *evictionMinimumReclaim; + +/** + * Optional. eviction_soft is a map of signal names to quantities that defines + * soft eviction thresholds. Each signal is compared to its corresponding + * threshold to determine if a pod eviction should occur. + */ +@property(nonatomic, strong, nullable) GTLRContainer_EvictionSignals *evictionSoft; + +/** + * Optional. eviction_soft_grace_period is a map of signal names to quantities + * that defines grace periods for each soft eviction signal. The grace period + * is the amount of time that a pod must be under pressure before an eviction + * occurs. + */ +@property(nonatomic, strong, nullable) GTLRContainer_EvictionGracePeriod *evictionSoftGracePeriod; + /** * Optional. Defines the percent of disk usage after which image garbage * collection is always run. The percent is calculated as this field value out @@ -7189,6 +7682,17 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *insecureKubeletReadonlyPortEnabled; +/** + * Optional. Defines the maximum number of image pulls in parallel. The range + * is 2 to 5, inclusive. The default value is 2 or 3 depending on the disk + * type. See + * https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls + * for more details. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxParallelImagePulls; + /** * Optional. Controls NUMA-aware Memory Manager configuration on the node. For * more information, see: @@ -8233,6 +8737,26 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * PrivilegedAdmissionConfig stores the list of authorized allowlist paths for + * the cluster. + */ +@interface GTLRContainer_PrivilegedAdmissionConfig : GTLRObject + +/** + * The customer allowlist Cloud Storage paths for the cluster. These paths are + * used with the `--autopilot-privileged-admission` flag to authorize + * privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the + * format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards + * (`*`) are supported to authorize all allowlists under specific paths or + * directories. Example: `gs://my-bucket/ *` will authorize all allowlists + * under the `my-bucket` bucket. + */ +@property(nonatomic, strong, nullable) NSArray *allowlistPaths; + +@end + + /** * Pub/Sub specific notification config. */ @@ -8681,6 +9205,27 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo @end +/** + * RotationConfig is config for secret manager auto rotation. + */ +@interface GTLRContainer_RotationConfig : GTLRObject + +/** + * Whether the rotation is enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +/** + * The interval between two consecutive rotations. Default rotation interval is + * 2 minutes. + */ +@property(nonatomic, strong, nullable) GTLRDuration *rotationInterval; + +@end + + /** * SandboxConfig contains configurations of the sandbox to use for the node. */ @@ -8744,6 +9289,9 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSNumber *enabled; +/** Rotation config for secret manager. */ +@property(nonatomic, strong, nullable) GTLRContainer_RotationConfig *rotationConfig; + @end @@ -9987,6 +10535,13 @@ FOUNDATION_EXTERN NSString * const kGTLRContainer_WorkloadMetadataConfig_Mode_Mo */ @property(nonatomic, strong, nullable) NSArray *accelerators; +/** + * The desired boot disk config for nodes in the node pool. Initiates an + * upgrade operation that migrates the nodes in the node pool to the specified + * boot disk config. + */ +@property(nonatomic, strong, nullable) GTLRContainer_BootDisk *bootDisk; + /** * Deprecated. The name of the cluster to upgrade. This field has been * deprecated and replaced by the name field. diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m index bb51ae92c..3d6a75911 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisObjects.m @@ -5,8 +5,7 @@ // Container Analysis API (containeranalysis/v1) // Description: // This API is a prerequisite for leveraging Artifact Analysis scanning -// capabilities in both Artifact Registry and with Advanced Vulnerability -// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// capabilities in Artifact Registry. In addition, the Container Analysis API // is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m index 5e7365e70..28fc1aa34 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisQuery.m @@ -5,8 +5,7 @@ // Container Analysis API (containeranalysis/v1) // Description: // This API is a prerequisite for leveraging Artifact Analysis scanning -// capabilities in both Artifact Registry and with Advanced Vulnerability -// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// capabilities in Artifact Registry. In addition, the Container Analysis API // is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: diff --git a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m index e31b828e1..79ad079c3 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m +++ b/Sources/GeneratedServices/ContainerAnalysis/GTLRContainerAnalysisService.m @@ -5,8 +5,7 @@ // Container Analysis API (containeranalysis/v1) // Description: // This API is a prerequisite for leveraging Artifact Analysis scanning -// capabilities in both Artifact Registry and with Advanced Vulnerability -// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// capabilities in Artifact Registry. In addition, the Container Analysis API // is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h index ac451bf74..f2bfdb0b1 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysis.h @@ -5,8 +5,7 @@ // Container Analysis API (containeranalysis/v1) // Description: // This API is a prerequisite for leveraging Artifact Analysis scanning -// capabilities in both Artifact Registry and with Advanced Vulnerability -// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// capabilities in Artifact Registry. In addition, the Container Analysis API // is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h index 6093b9ff2..2c7f980cc 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisObjects.h @@ -5,8 +5,7 @@ // Container Analysis API (containeranalysis/v1) // Description: // This API is a prerequisite for leveraging Artifact Analysis scanning -// capabilities in both Artifact Registry and with Advanced Vulnerability -// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// capabilities in Artifact Registry. In addition, the Container Analysis API // is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h index 2c4c03b2e..821771e3e 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisQuery.h @@ -5,8 +5,7 @@ // Container Analysis API (containeranalysis/v1) // Description: // This API is a prerequisite for leveraging Artifact Analysis scanning -// capabilities in both Artifact Registry and with Advanced Vulnerability -// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// capabilities in Artifact Registry. In addition, the Container Analysis API // is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: diff --git a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h index d0e123db6..789c4a0e7 100644 --- a/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h +++ b/Sources/GeneratedServices/ContainerAnalysis/Public/GoogleAPIClientForREST/GTLRContainerAnalysisService.h @@ -5,8 +5,7 @@ // Container Analysis API (containeranalysis/v1) // Description: // This API is a prerequisite for leveraging Artifact Analysis scanning -// capabilities in both Artifact Registry and with Advanced Vulnerability -// Insights (runtime scanning) in GKE. In addition, the Container Analysis API +// capabilities in Artifact Registry. In addition, the Container Analysis API // is an implementation of the Grafeas API, which enables storing, querying, // and retrieval of critical metadata about all of your software artifacts. // Documentation: @@ -44,8 +43,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeContainerAnalysisCloudPlatform; * Service for executing Container Analysis API queries. * * This API is a prerequisite for leveraging Artifact Analysis scanning - * capabilities in both Artifact Registry and with Advanced Vulnerability - * Insights (runtime scanning) in GKE. In addition, the Container Analysis API + * capabilities in Artifact Registry. In addition, the Container Analysis API * is an implementation of the Grafeas API, which enables storing, querying, * and retrieval of critical metadata about all of your software artifacts. */ diff --git a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m index d603211d6..2fbac51a3 100644 --- a/Sources/GeneratedServices/DLP/GTLRDLPObjects.m +++ b/Sources/GeneratedServices/DLP/GTLRDLPObjects.m @@ -391,6 +391,7 @@ NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Argentina = @"ARGENTINA"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Armenia = @"ARMENIA"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia = @"AUSTRALIA"; +NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Austria = @"AUSTRIA"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan = @"AZERBAIJAN"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belarus = @"BELARUS"; NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belgium = @"BELGIUM"; @@ -632,6 +633,10 @@ NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekValue_Tuesday = @"TUESDAY"; NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekValue_Wednesday = @"WEDNESDAY"; +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#pragma clang diagnostic ignored "-Wdeprecated-implementations" + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2Action @@ -2121,6 +2126,16 @@ @implementation GTLRDLP_GooglePrivacyDlpV2DlpJob @end +// ---------------------------------------------------------------------------- +// +// GTLRDLP_GooglePrivacyDlpV2DocumentFallbackLocation +// + +@implementation GTLRDLP_GooglePrivacyDlpV2DocumentFallbackLocation +@dynamic globalProcessing, multiRegionProcessing; +@end + + // ---------------------------------------------------------------------------- // // GTLRDLP_GooglePrivacyDlpV2DocumentLocation @@ -3769,7 +3784,7 @@ @implementation GTLRDLP_GooglePrivacyDlpV2PrivacyMetric // @implementation GTLRDLP_GooglePrivacyDlpV2ProcessingLocation -@dynamic imageFallbackLocation; +@dynamic documentFallbackLocation, imageFallbackLocation; @end @@ -5072,3 +5087,24 @@ @implementation GTLRDLP_GoogleTypeDate @implementation GTLRDLP_GoogleTypeTimeOfDay @dynamic hours, minutes, nanos, seconds; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_Proto2BridgeMessageSet +// + +@implementation GTLRDLP_Proto2BridgeMessageSet +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDLP_UtilStatusProto +// + +@implementation GTLRDLP_UtilStatusProto +@dynamic canonicalCode, code, message, messageSet, space; +@end + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h index fe13d1138..9c656a74a 100644 --- a/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h +++ b/Sources/GeneratedServices/DLP/Public/GoogleAPIClientForREST/GTLRDLPObjects.h @@ -124,6 +124,7 @@ @class GTLRDLP_GooglePrivacyDlpV2DiscoveryVertexDatasetFilter; @class GTLRDLP_GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence; @class GTLRDLP_GooglePrivacyDlpV2DlpJob; +@class GTLRDLP_GooglePrivacyDlpV2DocumentFallbackLocation; @class GTLRDLP_GooglePrivacyDlpV2DocumentLocation; @class GTLRDLP_GooglePrivacyDlpV2Domain; @class GTLRDLP_GooglePrivacyDlpV2EntityId; @@ -314,11 +315,13 @@ @class GTLRDLP_GoogleRpcStatus_Details_Item; @class GTLRDLP_GoogleTypeDate; @class GTLRDLP_GoogleTypeTimeOfDay; +@class GTLRDLP_Proto2BridgeMessageSet; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" +#pragma clang diagnostic ignored "-Wdeprecated-declarations" NS_ASSUME_NONNULL_BEGIN @@ -2267,6 +2270,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_L * Value: "AUSTRALIA" */ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia; +/** + * The infoType is typically used in Austria. + * + * Value: "AUSTRIA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Austria; /** * The infoType is typically used in Azerbaijan. * @@ -6026,12 +6035,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * List of user-specified file type groups to transform. If specified, only the - * files with these file types will be transformed. If empty, all supported - * files will be transformed. Supported types may be automatically added over - * time. If a file type is set in this field that isn't supported by the - * Deidentify action then the job will fail and will not be successfully - * created/started. Currently the only file types supported are: IMAGES, - * TEXT_FILES, CSV, TSV. + * files with these file types are transformed. If empty, all supported files + * are transformed. Supported types may be automatically added over time. Any + * unsupported file types that are set in this field are excluded from + * de-identification. An error is recorded for each unsupported file in the + * TransformationDetails output table. Currently the only file types supported + * are: IMAGES, TEXT_FILES, CSV, TSV. */ @property(nonatomic, strong, nullable) NSArray *fileTypesToTransform; @@ -7251,6 +7260,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end +/** + * Configure document processing to fall back to any of the following + * processing options if document processing is unavailable in the original + * request location. + */ +@interface GTLRDLP_GooglePrivacyDlpV2DocumentFallbackLocation : GTLRObject + +/** Processing occurs in the global region. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2GlobalProcessing *globalProcessing; + +/** + * Processing occurs in a multi-region that contains the current region if + * available. + */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2MultiRegionProcessing *multiRegionProcessing; + +@end + + /** * Location of a finding within a document. */ @@ -8109,7 +8137,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Processing will happen in the global region. + * Processing occurs in the global region. */ @interface GTLRDLP_GooglePrivacyDlpV2GlobalProcessing : GTLRObject @end @@ -8354,16 +8382,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Configure image processing to fall back to the configured processing option - * below if unavailable in the request location. + * Configure image processing to fall back to any of the following processing + * options if image processing is unavailable in the original request location. */ @interface GTLRDLP_GooglePrivacyDlpV2ImageFallbackLocation : GTLRObject -/** Processing will happen in the global region. */ +/** Processing occurs in the global region. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2GlobalProcessing *globalProcessing; /** - * Processing will happen in a multi-region that contains the current region if + * Processing occurs in a multi-region that contains the current region if * available. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2MultiRegionProcessing *multiRegionProcessing; @@ -8517,6 +8545,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal * The infoType is typically used in Armenia. (Value: "ARMENIA") * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Australia * The infoType is typically used in Australia. (Value: "AUSTRALIA") + * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Austria + * The infoType is typically used in Austria. (Value: "AUSTRIA") * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Azerbaijan * The infoType is typically used in Azerbaijan. (Value: "AZERBAIJAN") * @arg @c kGTLRDLP_GooglePrivacyDlpV2InfoTypeCategory_LocationCategory_Belarus @@ -10039,7 +10069,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * Processing will happen in a multi-region that contains the current region if + * Processing occurs in a multi-region that contains the current region if * available. */ @interface GTLRDLP_GooglePrivacyDlpV2MultiRegionProcessing : GTLRObject @@ -10435,7 +10465,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal */ @interface GTLRDLP_GooglePrivacyDlpV2ProcessingLocation : GTLRObject -/** Image processing will fall back using this configuration. */ +/** Document processing falls back using this configuration. */ +@property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2DocumentFallbackLocation *documentFallbackLocation; + +/** Image processing falls back using this configuration. */ @property(nonatomic, strong, nullable) GTLRDLP_GooglePrivacyDlpV2ImageFallbackLocation *imageFallbackLocation; @end @@ -10750,7 +10783,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * A column can be tagged with a custom tag. In this case, the user must * indicate an auxiliary table that contains statistical information on the - * possible values of this column (below). + * possible values of this column. */ @property(nonatomic, copy, nullable) NSString *customTag; @@ -10784,7 +10817,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * A column can be tagged with a custom tag. In this case, the user must * indicate an auxiliary table that contains statistical information on the - * possible values of this column (below). + * possible values of this column. */ @property(nonatomic, copy, nullable) NSString *customTag; @@ -11190,7 +11223,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** - * All result fields mentioned below are updated while the job is processing. + * All Result fields are updated while the job is processing. */ @interface GTLRDLP_GooglePrivacyDlpV2Result : GTLRObject @@ -12001,7 +12034,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal /** * A column can be tagged with a custom tag. In this case, the user must * indicate an auxiliary table that contains statistical information on the - * possible values of this column (below). + * possible values of this column. */ @property(nonatomic, copy, nullable) NSString *customTag; @@ -13018,6 +13051,68 @@ FOUNDATION_EXTERN NSString * const kGTLRDLP_GooglePrivacyDlpV2Value_DayOfWeekVal @end + +/** + * This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW + * FIELDS. If you are using editions or proto2, please make your own extendable + * messages for your use case. If you are using proto3, please use `Any` + * instead. MessageSet was the implementation of extensions for proto1. When + * proto2 was introduced, extensions were implemented as a first-class feature. + * This schema for MessageSet was meant to be a "bridge" solution to migrate + * MessageSet-bearing messages from proto1 to proto2. This schema has been + * open-sourced only to facilitate the migration of Google products with + * MessageSet-bearing messages to open-source environments. + */ +GTLR_DEPRECATED +@interface GTLRDLP_Proto2BridgeMessageSet : GTLRObject +@end + + +/** + * Wire-format for a Status object + */ +@interface GTLRDLP_UtilStatusProto : GTLRObject + +/** + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * int32 canonical_code = 6; + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *canonicalCode; + +/** + * Numeric code drawn from the space specified below. Often, this is the + * canonical error space, and code is drawn from google3/util/task/codes.proto + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * int32 code = 1; + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *code; + +/** + * 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. + * copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional + * proto2.bridge.MessageSet message_set = 5; + */ +@property(nonatomic, strong, nullable) GTLRDLP_Proto2BridgeMessageSet *messageSet; + +/** + * copybara:strip_begin(b/383363683) Space to which this status belongs + * copybara:strip_end_and_replace optional string space = 2; // Space to which + * this status belongs + */ +@property(nonatomic, copy, nullable) NSString *space; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h index 60d1eaed0..c15773d97 100644 --- a/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h +++ b/Sources/GeneratedServices/DataCatalog/Public/GoogleAPIClientForREST/GTLRDataCatalogObjects.h @@ -3118,9 +3118,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataCatalog_GoogleCloudDatacatalogV1Vert @interface GTLRDataCatalog_GoogleCloudDatacatalogV1ReconcileTagsRequest : GTLRObject /** - * If set to `true`, deletes entry tags related to a tag template not listed in - * the tags source from an entry. If set to `false`, unlisted tags are - * retained. + * forceDeleteMissing * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m index 1b49052af..0df1efeaa 100644 --- a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m +++ b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m @@ -17,7 +17,6 @@ // Authorization scopes NSString * const kGTLRAuthScopeDataPortabilityAlertsSubscriptions = @"https://www.googleapis.com/auth/dataportability.alerts.subscriptions"; -NSString * const kGTLRAuthScopeDataPortabilityBusinessmessagingConversations = @"https://www.googleapis.com/auth/dataportability.businessmessaging.conversations"; NSString * const kGTLRAuthScopeDataPortabilityChromeAutofill = @"https://www.googleapis.com/auth/dataportability.chrome.autofill"; NSString * const kGTLRAuthScopeDataPortabilityChromeBookmarks = @"https://www.googleapis.com/auth/dataportability.chrome.bookmarks"; NSString * const kGTLRAuthScopeDataPortabilityChromeDictionary = @"https://www.googleapis.com/auth/dataportability.chrome.dictionary"; diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h index a5a8f73b7..e4b885e48 100644 --- a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h @@ -43,7 +43,6 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityAlertsSubscriptions - * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations * @c kGTLRAuthScopeDataPortabilityChromeAutofill * @c kGTLRAuthScopeDataPortabilityChromeBookmarks * @c kGTLRAuthScopeDataPortabilityChromeDictionary @@ -133,7 +132,6 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityAlertsSubscriptions - * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations * @c kGTLRAuthScopeDataPortabilityChromeAutofill * @c kGTLRAuthScopeDataPortabilityChromeBookmarks * @c kGTLRAuthScopeDataPortabilityChromeDictionary @@ -236,7 +234,6 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityAlertsSubscriptions - * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations * @c kGTLRAuthScopeDataPortabilityChromeAutofill * @c kGTLRAuthScopeDataPortabilityChromeBookmarks * @c kGTLRAuthScopeDataPortabilityChromeDictionary @@ -336,7 +333,6 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityAlertsSubscriptions - * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations * @c kGTLRAuthScopeDataPortabilityChromeAutofill * @c kGTLRAuthScopeDataPortabilityChromeBookmarks * @c kGTLRAuthScopeDataPortabilityChromeDictionary @@ -441,7 +437,6 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityAlertsSubscriptions - * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations * @c kGTLRAuthScopeDataPortabilityChromeAutofill * @c kGTLRAuthScopeDataPortabilityChromeBookmarks * @c kGTLRAuthScopeDataPortabilityChromeDictionary @@ -535,7 +530,6 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityAlertsSubscriptions - * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations * @c kGTLRAuthScopeDataPortabilityChromeAutofill * @c kGTLRAuthScopeDataPortabilityChromeBookmarks * @c kGTLRAuthScopeDataPortabilityChromeDictionary diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h index 58a1d59bb..1d259d634 100644 --- a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h @@ -34,13 +34,6 @@ NS_ASSUME_NONNULL_BEGIN * Value "https://www.googleapis.com/auth/dataportability.alerts.subscriptions" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityAlertsSubscriptions; -/** - * Authorization scope: Move a copy of messages between you and the businesses - * you have conversations with across Google services - * - * Value "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations" - */ -FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityBusinessmessagingConversations; /** * Authorization scope: Move a copy of the information you entered into online * forms in Chrome diff --git a/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferObjects.h b/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferObjects.h index 9fb251ad1..f92ba68d4 100644 --- a/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferObjects.h +++ b/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferObjects.h @@ -39,7 +39,7 @@ NS_ASSUME_NONNULL_BEGIN /** * The application's ID. Retrievable by using the - * [`applications.list()`](/admin-sdk/data-transfer/reference/rest/v1/applications/list) + * [`applications.list()`](https://developers.google.com/workspace/admin/data-transfer/reference/rest/v1/applications/list) * method. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). @@ -80,7 +80,8 @@ NS_ASSUME_NONNULL_BEGIN * select the data which will get transferred in context of this application. * For more information about the specific values available for each * application, see the [Transfer - * parameters](/admin-sdk/data-transfer/v1/parameters) reference. + * parameters](https://developers.google.com/workspace/admin/data-transfer/v1/parameters) + * reference. */ @property(nonatomic, strong, nullable) NSArray *applicationTransferParams; diff --git a/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferQuery.h b/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferQuery.h index 0cd85eae0..ced99fcbf 100644 --- a/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferQuery.h +++ b/Sources/GeneratedServices/DataTransfer/Public/GoogleAPIClientForREST/GTLRDataTransferQuery.h @@ -134,8 +134,8 @@ NS_ASSUME_NONNULL_BEGIN /** * Inserts a data transfer request. See the [Transfer - * parameters](/admin-sdk/data-transfer/v1/parameters) reference for specific - * application requirements. + * parameters](https://developers.google.com/workspace/admin/data-transfer/v1/parameters) + * reference for specific application requirements. * * Method: datatransfer.transfers.insert * @@ -148,8 +148,8 @@ NS_ASSUME_NONNULL_BEGIN * Fetches a @c GTLRDataTransfer_DataTransfer. * * Inserts a data transfer request. See the [Transfer - * parameters](/admin-sdk/data-transfer/v1/parameters) reference for specific - * application requirements. + * parameters](https://developers.google.com/workspace/admin/data-transfer/v1/parameters) + * reference for specific application requirements. * * @param object The @c GTLRDataTransfer_DataTransfer to include in the query. * diff --git a/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m b/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m index 05af7e97c..d78c5955e 100644 --- a/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m +++ b/Sources/GeneratedServices/Dataflow/GTLRDataflowQuery.m @@ -140,37 +140,6 @@ + (instancetype)queryWithObject:(GTLRDataflow_GetDebugConfigRequest *)object @end -@implementation GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces - -@dynamic jobId, projectId; - -+ (instancetype)queryWithObject:(GTLRDataflow_GetWorkerStacktracesRequest *)object - projectId:(NSString *)projectId - jobId:(NSString *)jobId { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSArray *pathParams = @[ - @"jobId", @"projectId" - ]; - NSString *pathURITemplate = @"v1b3/projects/{projectId}/jobs/{jobId}/debug/getWorkerStacktraces"; - GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.bodyObject = object; - query.projectId = projectId; - query.jobId = jobId; - query.expectedObjectClass = [GTLRDataflow_GetWorkerStacktracesResponse class]; - query.loggingName = @"dataflow.projects.jobs.debug.getWorkerStacktraces"; - return query; -} - -@end - @implementation GTLRDataflowQuery_ProjectsJobsDebugSendCapture @dynamic jobId, projectId; @@ -510,6 +479,39 @@ + (instancetype)queryWithObject:(GTLRDataflow_GetDebugConfigRequest *)object @end +@implementation GTLRDataflowQuery_ProjectsLocationsJobsDebugGetWorkerStacktraces + +@dynamic jobId, location, projectId; + ++ (instancetype)queryWithObject:(GTLRDataflow_GetWorkerStacktracesRequest *)object + projectId:(NSString *)projectId + location:(NSString *)location + jobId:(NSString *)jobId { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"jobId", @"location", @"projectId" + ]; + NSString *pathURITemplate = @"v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getWorkerStacktraces"; + GTLRDataflowQuery_ProjectsLocationsJobsDebugGetWorkerStacktraces *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.projectId = projectId; + query.location = location; + query.jobId = jobId; + query.expectedObjectClass = [GTLRDataflow_GetWorkerStacktracesResponse class]; + query.loggingName = @"dataflow.projects.locations.jobs.debug.getWorkerStacktraces"; + return query; +} + +@end + @implementation GTLRDataflowQuery_ProjectsLocationsJobsDebugSendCapture @dynamic jobId, location, projectId; diff --git a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h index 786ab11e6..264086b05 100644 --- a/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h +++ b/Sources/GeneratedServices/Dataflow/Public/GoogleAPIClientForREST/GTLRDataflowQuery.h @@ -299,8 +299,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end /** - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in @@ -355,8 +354,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; /** * Fetches a @c GTLRDataflow_Job. * - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in @@ -409,41 +407,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end -/** - * Get worker stacktraces from debug capture. - * - * Method: dataflow.projects.jobs.debug.getWorkerStacktraces - * - * Authorization scope(s): - * @c kGTLRAuthScopeDataflowCloudPlatform - * @c kGTLRAuthScopeDataflowCompute - */ -@interface GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces : GTLRDataflowQuery - -/** The job for which to get stacktraces. */ -@property(nonatomic, copy, nullable) NSString *jobId; - -/** The project id. */ -@property(nonatomic, copy, nullable) NSString *projectId; - -/** - * Fetches a @c GTLRDataflow_GetWorkerStacktracesResponse. - * - * Get worker stacktraces from debug capture. - * - * @param object The @c GTLRDataflow_GetWorkerStacktracesRequest to include in - * the query. - * @param projectId The project id. - * @param jobId The job for which to get stacktraces. - * - * @return GTLRDataflowQuery_ProjectsJobsDebugGetWorkerStacktraces - */ -+ (instancetype)queryWithObject:(GTLRDataflow_GetWorkerStacktracesRequest *)object - projectId:(NSString *)projectId - jobId:(NSString *)jobId; - -@end - /** * Send encoded debug capture data for component. * @@ -1034,8 +997,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end /** - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in @@ -1090,8 +1052,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; /** * Fetches a @c GTLRDataflow_Job. * - * A Job is a multi-stage computation graph run by the Cloud Dataflow service. - * Creates a Cloud Dataflow job. To create a job, we recommend using + * Creates a Dataflow job. To create a job, we recommend using * `projects.locations.jobs.create` with a [regional endpoint] * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using * `projects.jobs.create` is not recommended, as your job will always start in @@ -1159,6 +1120,52 @@ FOUNDATION_EXTERN NSString * const kGTLRDataflowViewMetadataOnly; @end +/** + * Get worker stacktraces from debug capture. + * + * Method: dataflow.projects.locations.jobs.debug.getWorkerStacktraces + * + * Authorization scope(s): + * @c kGTLRAuthScopeDataflowCloudPlatform + * @c kGTLRAuthScopeDataflowCompute + */ +@interface GTLRDataflowQuery_ProjectsLocationsJobsDebugGetWorkerStacktraces : GTLRDataflowQuery + +/** The job for which to get stacktraces. */ +@property(nonatomic, copy, nullable) NSString *jobId; + +/** + * The [regional endpoint] + * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that + * contains the job specified by job_id. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** The project id. */ +@property(nonatomic, copy, nullable) NSString *projectId; + +/** + * Fetches a @c GTLRDataflow_GetWorkerStacktracesResponse. + * + * Get worker stacktraces from debug capture. + * + * @param object The @c GTLRDataflow_GetWorkerStacktracesRequest to include in + * the query. + * @param projectId The project id. + * @param location The [regional endpoint] + * (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that + * contains the job specified by job_id. + * @param jobId The job for which to get stacktraces. + * + * @return GTLRDataflowQuery_ProjectsLocationsJobsDebugGetWorkerStacktraces + */ ++ (instancetype)queryWithObject:(GTLRDataflow_GetWorkerStacktracesRequest *)object + projectId:(NSString *)projectId + location:(NSString *)location + jobId:(NSString *)jobId; + +@end + /** * Send encoded debug capture data for component. * diff --git a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m index ac49da3be..d8d02bcaf 100644 --- a/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m +++ b/Sources/GeneratedServices/Dataform/GTLRDataformObjects.m @@ -594,6 +594,16 @@ @implementation GTLRDataform_GitRemoteSettings @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_IamPolicyOverrideView +// + +@implementation GTLRDataform_IamPolicyOverrideView +@dynamic iamPolicyName, isActive; +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_IncrementalLoadMode @@ -1033,6 +1043,21 @@ @implementation GTLRDataform_Policy @end +// ---------------------------------------------------------------------------- +// +// GTLRDataform_PolicyName +// + +@implementation GTLRDataform_PolicyName +@dynamic identifier, region, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDataform_PullGitCommitsRequest diff --git a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h index 6f7caeebe..a0db8a3e6 100644 --- a/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h +++ b/Sources/GeneratedServices/Dataform/Public/GoogleAPIClientForREST/GTLRDataformObjects.h @@ -58,6 +58,7 @@ @class GTLRDataform_NotebookRuntimeOptions; @class GTLRDataform_Operations; @class GTLRDataform_Policy; +@class GTLRDataform_PolicyName; @class GTLRDataform_Relation; @class GTLRDataform_Relation_AdditionalOptions; @class GTLRDataform_RelationDescriptor; @@ -1292,6 +1293,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @end +/** + * Contains metadata about the IAM policy override for a given Dataform + * resource. If is_active is true, this the policy encoded in iam_policy_name + * is the source of truth for this resource. Will be provided in internal ESV2 + * views for: Workspaces, Repositories, Folders, TeamFolders. + */ +@interface GTLRDataform_IamPolicyOverrideView : GTLRObject + +/** The IAM policy name for the resource. */ +@property(nonatomic, strong, nullable) GTLRDataform_PolicyName *iamPolicyName; + +/** + * Whether the IAM policy encoded in this view is active. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isActive; + +@end + + /** * Load definition for incremental load modes */ @@ -2023,6 +2045,42 @@ FOUNDATION_EXTERN NSString * const kGTLRDataform_WorkflowInvocationAction_State_ @end +/** + * An internal name for an IAM policy, based on the resource to which the + * policy applies. Not to be confused with a resource's external full resource + * name. For more information on this distinction, see + * go/iam-full-resource-names. + */ +@interface GTLRDataform_PolicyName : GTLRObject + +/** + * Identifies an instance of the type. ID format varies by type. The ID format + * is defined in the IAM .service file that defines the type, either in + * path_mapping or in a comment. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * For Cloud IAM: The location of the Policy. Must be empty or "global" for + * Policies owned by global IAM. Must name a region from + * prodspec/cloud-iam-cloudspec for Regional IAM Policies, see + * go/iam-faq#where-is-iam-currently-deployed. For Local IAM: This field should + * be set to "local". + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** + * Resource type. Types are defined in IAM's .service files. Valid values for + * type might be 'storage_buckets', 'compute_instances', + * 'resourcemanager_customers', 'billing_accounts', etc. + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * `PullGitCommits` request message. */ diff --git a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m index 9a88ac297..52f84e490 100644 --- a/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m +++ b/Sources/GeneratedServices/Dataproc/GTLRDataprocObjects.m @@ -243,6 +243,7 @@ NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Hudi = @"HUDI"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Iceberg = @"ICEBERG"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Jupyter = @"JUPYTER"; +NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_JupyterKernelGateway = @"JUPYTER_KERNEL_GATEWAY"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Pig = @"PIG"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Presto = @"PRESTO"; NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Ranger = @"RANGER"; @@ -470,7 +471,7 @@ @implementation GTLRDataproc_AccumulableInfo // @implementation GTLRDataproc_AnalyzeBatchRequest -@dynamic requestId; +@dynamic requestId, requestorId; @end diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h index c70d92aeb..ddc922f0f 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocObjects.h @@ -476,13 +476,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_BatchOperationMetadata_Operatio // GTLRDataproc_ClusterConfig.clusterTier /** - * Premium dataproc cluster. + * Premium Dataproc cluster. * * Value: "CLUSTER_TIER_PREMIUM" */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierPremium; /** - * Standard dataproc cluster. + * Standard Dataproc cluster. * * Value: "CLUSTER_TIER_STANDARD" */ @@ -1394,6 +1394,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponen * Value: "JUPYTER" */ FOUNDATION_EXTERN NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_Jupyter; +/** + * The Jupyter Kernel Gateway. + * + * Value: "JUPYTER_KERNEL_GATEWAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDataproc_SoftwareConfig_OptionalComponents_JupyterKernelGateway; /** * The Pig component. * @@ -1866,6 +1872,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted */ @property(nonatomic, copy, nullable) NSString *requestId; +/** + * Optional. The requestor ID is used to identify if the request comes from a + * GCA investigation or the old Ask Gemini Experience. + */ +@property(nonatomic, copy, nullable) NSString *requestorId; + @end @@ -2754,13 +2766,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDataproc_YarnApplication_State_Submitted @property(nonatomic, strong, nullable) NSArray *auxiliaryNodeGroups; /** - * Optional. The tier of the cluster. + * Optional. The cluster tier. * * Likely values: * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierPremium Premium - * dataproc cluster. (Value: "CLUSTER_TIER_PREMIUM") + * Dataproc cluster. (Value: "CLUSTER_TIER_PREMIUM") * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierStandard - * Standard dataproc cluster. (Value: "CLUSTER_TIER_STANDARD") + * Standard Dataproc cluster. (Value: "CLUSTER_TIER_STANDARD") * @arg @c kGTLRDataproc_ClusterConfig_ClusterTier_ClusterTierUnspecified Not * set. Works the same as CLUSTER_TIER_STANDARD. (Value: * "CLUSTER_TIER_UNSPECIFIED") @@ -8842,7 +8854,7 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRDataproc_SessionTemplate_Labels *labels; -/** Required. The resource name of the session template. */ +/** Required. Identifier. The resource name of the session template. */ @property(nonatomic, copy, nullable) NSString *name; /** Optional. Runtime configuration for session execution. */ diff --git a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h index 39572be1b..eb3c2eb61 100644 --- a/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h +++ b/Sources/GeneratedServices/Dataproc/Public/GoogleAPIClientForREST/GTLRDataprocQuery.h @@ -3269,7 +3269,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; */ @interface GTLRDataprocQuery_ProjectsLocationsSessionTemplatesPatch : GTLRDataprocQuery -/** Required. The resource name of the session template. */ +/** Required. Identifier. The resource name of the session template. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -3278,7 +3278,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDataprocTaskStatusTaskStatusUnspecified; * Updates the session template synchronously. * * @param object The @c GTLRDataproc_SessionTemplate to include in the query. - * @param name Required. The resource name of the session template. + * @param name Required. Identifier. The resource name of the session template. * * @return GTLRDataprocQuery_ProjectsLocationsSessionTemplatesPatch */ diff --git a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m index 7c303fe07..fd0613d46 100644 --- a/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m +++ b/Sources/GeneratedServices/Datastream/GTLRDatastreamObjects.m @@ -132,6 +132,15 @@ @implementation GTLRDatastream_BackfillNoneStrategy @end +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_BasicEncryption +// + +@implementation GTLRDatastream_BasicEncryption +@end + + // ---------------------------------------------------------------------------- // // GTLRDatastream_BigQueryDestinationConfig @@ -291,6 +300,25 @@ @implementation GTLRDatastream_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_EncryptionAndServerValidation +// + +@implementation GTLRDatastream_EncryptionAndServerValidation +@dynamic caCertificate, serverCertificateHostname; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_EncryptionNotEnforced +// + +@implementation GTLRDatastream_EncryptionNotEnforced +@end + + // ---------------------------------------------------------------------------- // // GTLRDatastream_Error @@ -1091,7 +1119,7 @@ @implementation GTLRDatastream_OracleSourceConfig // @implementation GTLRDatastream_OracleSslConfig -@dynamic caCertificate, caCertificateSet; +@dynamic caCertificate, caCertificateSet, serverCertificateDistinguishedName; @end @@ -1382,7 +1410,7 @@ @implementation GTLRDatastream_SalesforceSourceConfig // @implementation GTLRDatastream_ServerAndClientVerification -@dynamic caCertificate, clientCertificate, clientKey; +@dynamic caCertificate, clientCertificate, clientKey, serverCertificateHostname; @end @@ -1392,7 +1420,7 @@ @implementation GTLRDatastream_ServerAndClientVerification // @implementation GTLRDatastream_ServerVerification -@dynamic caCertificate; +@dynamic caCertificate, serverCertificateHostname; @end @@ -1497,7 +1525,7 @@ @implementation GTLRDatastream_SqlServerObjectIdentifier @implementation GTLRDatastream_SqlServerProfile @dynamic database, hostname, password, port, secretManagerStoredPassword, - username; + sslConfig, username; @end @@ -1548,6 +1576,16 @@ @implementation GTLRDatastream_SqlServerSourceConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRDatastream_SqlServerSslConfig +// + +@implementation GTLRDatastream_SqlServerSslConfig +@dynamic basicEncryption, encryptionAndServerValidation, encryptionNotEnforced; +@end + + // ---------------------------------------------------------------------------- // // GTLRDatastream_SqlServerTable diff --git a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h index dc4ce2672..0c5c395f2 100644 --- a/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h +++ b/Sources/GeneratedServices/Datastream/Public/GoogleAPIClientForREST/GTLRDatastreamObjects.h @@ -17,6 +17,7 @@ @class GTLRDatastream_BackfillAllStrategy; @class GTLRDatastream_BackfillJob; @class GTLRDatastream_BackfillNoneStrategy; +@class GTLRDatastream_BasicEncryption; @class GTLRDatastream_BigQueryDestinationConfig; @class GTLRDatastream_BigQueryProfile; @class GTLRDatastream_BinaryLogParser; @@ -28,6 +29,8 @@ @class GTLRDatastream_DatasetTemplate; @class GTLRDatastream_DestinationConfig; @class GTLRDatastream_DropLargeObjects; +@class GTLRDatastream_EncryptionAndServerValidation; +@class GTLRDatastream_EncryptionNotEnforced; @class GTLRDatastream_Error; @class GTLRDatastream_Error_Details; @class GTLRDatastream_ForwardSshTunnelConnectivity; @@ -114,6 +117,7 @@ @class GTLRDatastream_SqlServerRdbms; @class GTLRDatastream_SqlServerSchema; @class GTLRDatastream_SqlServerSourceConfig; +@class GTLRDatastream_SqlServerSslConfig; @class GTLRDatastream_SqlServerTable; @class GTLRDatastream_SqlServerTransactionLogs; @class GTLRDatastream_SrvConnectionFormat; @@ -559,6 +563,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni @end +/** + * Message to represent the option where Datastream will enforce encryption + * without authenticating server identity. Server certificates will be trusted + * by default. + */ +@interface GTLRDatastream_BasicEncryption : GTLRObject +@end + + /** * BigQuery destination configuration */ @@ -911,6 +924,41 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni @end +/** + * Message to represent the option where Datastream will enforce encryption and + * authenticate server identity. ca_certificate must be set if user selects + * this option. + */ +@interface GTLRDatastream_EncryptionAndServerValidation : GTLRObject + +/** + * Optional. Input only. PEM-encoded certificate of the CA that signed the + * source database server's certificate. + */ +@property(nonatomic, copy, nullable) NSString *caCertificate; + +/** + * Optional. The hostname mentioned in the Subject or SAN extension of the + * server certificate. This field is used for bypassing the hostname validation + * while verifying server certificate. This is required for scenarios where the + * host name that datastream connects to is different from the certificate's + * subject. This specifically happens for private connectivity. It could also + * happen when the customer provides a public IP in connection profile but the + * same is not present in the server certificate. + */ +@property(nonatomic, copy, nullable) NSString *serverCertificateHostname; + +@end + + +/** + * Message to represent the option where encryption is not enforced. An empty + * message right now to allow future extensibility. + */ +@interface GTLRDatastream_EncryptionNotEnforced : GTLRObject +@end + + /** * Represent a user-facing Error. */ @@ -2306,6 +2354,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @property(nonatomic, strong, nullable) NSNumber *caCertificateSet; +/** + * Optional. The distinguished name (DN) mentioned in the server certificate. + * This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer + * https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 + * If this field is not provided, the DN matching is not enforced. + */ +@property(nonatomic, copy, nullable) NSString *serverCertificateDistinguishedName; + @end @@ -2845,6 +2901,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @property(nonatomic, copy, nullable) NSString *clientKey; +/** + * Optional. The hostname mentioned in the Subject or SAN extension of the + * server certificate. If this field is not provided, the hostname in the + * server certificate is not validated. + */ +@property(nonatomic, copy, nullable) NSString *serverCertificateHostname; + @end @@ -2858,6 +2921,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni /** Required. Input only. PEM-encoded server root CA certificate. */ @property(nonatomic, copy, nullable) NSString *caCertificate; +/** + * Optional. The hostname mentioned in the Subject or SAN extension of the + * server certificate. If this field is not provided, the hostname in the + * server certificate is not validated. + */ +@property(nonatomic, copy, nullable) NSString *serverCertificateHostname; + @end @@ -3089,6 +3159,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni */ @property(nonatomic, copy, nullable) NSString *secretManagerStoredPassword; +/** Optional. SSL configuration for the SQLServer connection. */ +@property(nonatomic, strong, nullable) GTLRDatastream_SqlServerSslConfig *sslConfig; + /** Required. Username for the SQLServer connection. */ @property(nonatomic, copy, nullable) NSString *username; @@ -3154,6 +3227,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastream_ValidationMessage_Level_Warni @end +/** + * SQL Server SSL configuration information. + */ +@interface GTLRDatastream_SqlServerSslConfig : GTLRObject + +/** + * If set, Datastream will enforce encryption without authenticating server + * identity. Server certificates will be trusted by default. + */ +@property(nonatomic, strong, nullable) GTLRDatastream_BasicEncryption *basicEncryption; + +/** + * If set, Datastream will enforce encryption and authenticate server identity. + */ +@property(nonatomic, strong, nullable) GTLRDatastream_EncryptionAndServerValidation *encryptionAndServerValidation; + +/** + * If set, Datastream will not enforce encryption. If the DB server mandates + * encryption, then connection will be encrypted but server identity will not + * be authenticated. + */ +@property(nonatomic, strong, nullable) GTLRDatastream_EncryptionNotEnforced *encryptionNotEnforced; + +@end + + /** * SQLServer table. */ diff --git a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h index 9a2f44243..fb745e5d8 100644 --- a/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h +++ b/Sources/GeneratedServices/DeveloperConnect/Public/GoogleAPIClientForREST/GTLRDeveloperConnectObjects.h @@ -334,7 +334,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDeveloperConnect_RuntimeConfig_State_Unl /** Optional. Set if the artifact metadata is stored in Artifact analysis. */ @property(nonatomic, strong, nullable) GTLRDeveloperConnect_GoogleArtifactAnalysis *googleArtifactAnalysis; -/** Optional. Set if the artifact is stored in Artifact regsitry. */ +/** Optional. Set if the artifact is stored in Artifact registry. */ @property(nonatomic, strong, nullable) GTLRDeveloperConnect_GoogleArtifactRegistry *googleArtifactRegistry; /** diff --git a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m index 2f8e28924..a99cba2e7 100644 --- a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m +++ b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m @@ -138,6 +138,11 @@ NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_Ea = @"EA"; NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_P2c = @"P2C"; +// GTLRDfareporting_ContentSource.resourceType +NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeGoogleSpreadsheet = @"RESOURCE_TYPE_GOOGLE_SPREADSHEET"; +NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeRemoteFile = @"RESOURCE_TYPE_REMOTE_FILE"; +NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeUnspecified = @"RESOURCE_TYPE_UNSPECIFIED"; + // GTLRDfareporting_Conversion.adUserDataConsent NSString * const kGTLRDfareporting_Conversion_AdUserDataConsent_Denied = @"DENIED"; NSString * const kGTLRDfareporting_Conversion_AdUserDataConsent_Granted = @"GRANTED"; @@ -715,6 +720,36 @@ NSString * const kGTLRDfareporting_DirectorySite_InterstitialTagFormats_InternalRedirectInterstitial = @"INTERNAL_REDIRECT_INTERSTITIAL"; NSString * const kGTLRDfareporting_DirectorySite_InterstitialTagFormats_JavascriptInterstitial = @"JAVASCRIPT_INTERSTITIAL"; +// GTLRDfareporting_DynamicFeed.status +NSString * const kGTLRDfareporting_DynamicFeed_Status_Active = @"ACTIVE"; +NSString * const kGTLRDfareporting_DynamicFeed_Status_Deleted = @"DELETED"; +NSString * const kGTLRDfareporting_DynamicFeed_Status_Inactive = @"INACTIVE"; +NSString * const kGTLRDfareporting_DynamicFeed_Status_StatusUnknown = @"STATUS_UNKNOWN"; + +// GTLRDfareporting_DynamicProfile.archiveStatus +NSString * const kGTLRDfareporting_DynamicProfile_ArchiveStatus_Archived = @"ARCHIVED"; +NSString * const kGTLRDfareporting_DynamicProfile_ArchiveStatus_ArchiveStatusUnknown = @"ARCHIVE_STATUS_UNKNOWN"; +NSString * const kGTLRDfareporting_DynamicProfile_ArchiveStatus_Unarchived = @"UNARCHIVED"; + +// GTLRDfareporting_DynamicProfile.status +NSString * const kGTLRDfareporting_DynamicProfile_Status_Active = @"ACTIVE"; +NSString * const kGTLRDfareporting_DynamicProfile_Status_Deleted = @"DELETED"; +NSString * const kGTLRDfareporting_DynamicProfile_Status_Inactive = @"INACTIVE"; +NSString * const kGTLRDfareporting_DynamicProfile_Status_StatusUnknown = @"STATUS_UNKNOWN"; + +// GTLRDfareporting_DynamicRules.rotationType +NSString * const kGTLRDfareporting_DynamicRules_RotationType_Optimized = @"OPTIMIZED"; +NSString * const kGTLRDfareporting_DynamicRules_RotationType_Random = @"RANDOM"; +NSString * const kGTLRDfareporting_DynamicRules_RotationType_RotationTypeUnknown = @"ROTATION_TYPE_UNKNOWN"; +NSString * const kGTLRDfareporting_DynamicRules_RotationType_Weighted = @"WEIGHTED"; + +// GTLRDfareporting_DynamicRules.ruleType +NSString * const kGTLRDfareporting_DynamicRules_RuleType_Auto = @"AUTO"; +NSString * const kGTLRDfareporting_DynamicRules_RuleType_Custom = @"CUSTOM"; +NSString * const kGTLRDfareporting_DynamicRules_RuleType_Open = @"OPEN"; +NSString * const kGTLRDfareporting_DynamicRules_RuleType_ProximityTargeting = @"PROXIMITY_TARGETING"; +NSString * const kGTLRDfareporting_DynamicRules_RuleType_RuleSetTypeUnknown = @"RULE_SET_TYPE_UNKNOWN"; + // GTLRDfareporting_DynamicTargetingKey.objectType NSString * const kGTLRDfareporting_DynamicTargetingKey_ObjectType_ObjectAd = @"OBJECT_AD"; NSString * const kGTLRDfareporting_DynamicTargetingKey_ObjectType_ObjectAdvertiser = @"OBJECT_ADVERTISER"; @@ -748,6 +783,112 @@ NSString * const kGTLRDfareporting_EventTag_Type_ImpressionImageEventTag = @"IMPRESSION_IMAGE_EVENT_TAG"; NSString * const kGTLRDfareporting_EventTag_Type_ImpressionJavascriptEventTag = @"IMPRESSION_JAVASCRIPT_EVENT_TAG"; +// GTLRDfareporting_FeedField.type +NSString * const kGTLRDfareporting_FeedField_Type_AssetLibraryDirectoryHandle = @"ASSET_LIBRARY_DIRECTORY_HANDLE"; +NSString * const kGTLRDfareporting_FeedField_Type_AssetLibraryHandle = @"ASSET_LIBRARY_HANDLE"; +NSString * const kGTLRDfareporting_FeedField_Type_AssetLibraryVideoHandle = @"ASSET_LIBRARY_VIDEO_HANDLE"; +NSString * const kGTLRDfareporting_FeedField_Type_Bool = @"BOOL"; +NSString * const kGTLRDfareporting_FeedField_Type_City = @"CITY"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360AdId = @"CM360_AD_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360AdvertiserId = @"CM360_ADVERTISER_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360CampaignId = @"CM360_CAMPAIGN_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360CreativeId = @"CM360_CREATIVE_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360DynamicTargetingKey = @"CM360_DYNAMIC_TARGETING_KEY"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360Keyword = @"CM360_KEYWORD"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360PlacementId = @"CM360_PLACEMENT_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_Cm360SiteId = @"CM360_SITE_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_CountryCodeIso = @"COUNTRY_CODE_ISO"; +NSString * const kGTLRDfareporting_FeedField_Type_CreativeDimension = @"CREATIVE_DIMENSION"; +NSString * const kGTLRDfareporting_FeedField_Type_CustomValue = @"CUSTOM_VALUE"; +NSString * const kGTLRDfareporting_FeedField_Type_Datetime = @"DATETIME"; +NSString * const kGTLRDfareporting_FeedField_Type_Dv360LineItemId = @"DV360_LINE_ITEM_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_ExitUrl = @"EXIT_URL"; +NSString * const kGTLRDfareporting_FeedField_Type_Float = @"FLOAT"; +NSString * const kGTLRDfareporting_FeedField_Type_GeoCanonical = @"GEO_CANONICAL"; +NSString * const kGTLRDfareporting_FeedField_Type_GpaServedAssetUrl = @"GPA_SERVED_ASSET_URL"; +NSString * const kGTLRDfareporting_FeedField_Type_GpaServedImageUrl = @"GPA_SERVED_IMAGE_URL"; +NSString * const kGTLRDfareporting_FeedField_Type_Long = @"LONG"; +NSString * const kGTLRDfareporting_FeedField_Type_Metro = @"METRO"; +NSString * const kGTLRDfareporting_FeedField_Type_PostalCode = @"POSTAL_CODE"; +NSString * const kGTLRDfareporting_FeedField_Type_Region = @"REGION"; +NSString * const kGTLRDfareporting_FeedField_Type_RemarketingValue = @"REMARKETING_VALUE"; +NSString * const kGTLRDfareporting_FeedField_Type_String = @"STRING"; +NSString * const kGTLRDfareporting_FeedField_Type_StringList = @"STRING_LIST"; +NSString * const kGTLRDfareporting_FeedField_Type_ThirdPartyServedUrl = @"THIRD_PARTY_SERVED_URL"; +NSString * const kGTLRDfareporting_FeedField_Type_TypeUnknown = @"TYPE_UNKNOWN"; +NSString * const kGTLRDfareporting_FeedField_Type_UserlistId = @"USERLIST_ID"; +NSString * const kGTLRDfareporting_FeedField_Type_Weight = @"WEIGHT"; + +// GTLRDfareporting_FeedIngestionStatus.state +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_Cancelled = @"CANCELLED"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_FeedProcessingStateUnknown = @"FEED_PROCESSING_STATE_UNKNOWN"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_IngestedFailure = @"INGESTED_FAILURE"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_IngestedSuccess = @"INGESTED_SUCCESS"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_Ingesting = @"INGESTING"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_IngestingQueued = @"INGESTING_QUEUED"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_PublishedFailure = @"PUBLISHED_FAILURE"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_PublishedSuccess = @"PUBLISHED_SUCCESS"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_Publishing = @"PUBLISHING"; +NSString * const kGTLRDfareporting_FeedIngestionStatus_State_RequestToPublish = @"REQUEST_TO_PUBLISH"; + +// GTLRDfareporting_FieldError.ingestionError +NSString * const kGTLRDfareporting_FieldError_IngestionError_AirportGeoTarget = @"AIRPORT_GEO_TARGET"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_AssetDownloadError = @"ASSET_DOWNLOAD_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_BoolParsingError = @"BOOL_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_CanonicalNameQueryMismatch = @"CANONICAL_NAME_QUERY_MISMATCH"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_CountryParsingError = @"COUNTRY_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_CreativeDimensionParsingError = @"CREATIVE_DIMENSION_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_DatetimeParsingError = @"DATETIME_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_DatetimeWithoutTimezoneParsingError = @"DATETIME_WITHOUT_TIMEZONE_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_DuplicateId = @"DUPLICATE_ID"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_DynamicTargetingKeyNotDefinedForAdvertiser = @"DYNAMIC_TARGETING_KEY_NOT_DEFINED_FOR_ADVERTISER"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_EmptyValue = @"EMPTY_VALUE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_EndtimeBeforeStarttime = @"ENDTIME_BEFORE_STARTTIME"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_EndtimePassed = @"ENDTIME_PASSED"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_EndtimeTooSoon = @"ENDTIME_TOO_SOON"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_ExpandedUrlParsingError = @"EXPANDED_URL_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_FloatParsingError = @"FLOAT_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_GeoNotFoundError = @"GEO_NOT_FOUND_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_GeoParsingError = @"GEO_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_GeoProximityTargetingMultipleLocationError = @"GEO_PROXIMITY_TARGETING_MULTIPLE_LOCATION_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_IdTooLong = @"ID_TOO_LONG"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_ImageAssetScsReference = @"IMAGE_ASSET_SCS_REFERENCE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryDirectoryHandle = @"INVALID_ASSET_LIBRARY_DIRECTORY_HANDLE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryHandle = @"INVALID_ASSET_LIBRARY_HANDLE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryVideoHandle = @"INVALID_ASSET_LIBRARY_VIDEO_HANDLE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidPreferenceValue = @"INVALID_PREFERENCE_VALUE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_LongParsingError = @"LONG_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_MetroCodeParsingError = @"METRO_CODE_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_MissingId = @"MISSING_ID"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_MissingReportingLabel = @"MISSING_REPORTING_LABEL"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_MultivalueId = @"MULTIVALUE_ID"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_NoActiveDefaultRow = @"NO_ACTIVE_DEFAULT_ROW"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_NoActiveDefaultRowInDateRange = @"NO_ACTIVE_DEFAULT_ROW_IN_DATE_RANGE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_NoDefaultRow = @"NO_DEFAULT_ROW"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_NoDefaultRowInDateRange = @"NO_DEFAULT_ROW_IN_DATE_RANGE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_ParsingError = @"PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_PayloadLimitExceeded = @"PAYLOAD_LIMIT_EXCEEDED"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_PostalCodeParsingError = @"POSTAL_CODE_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_SslNotCompliant = @"SSL_NOT_COMPLIANT"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_TextAssetReference = @"TEXT_ASSET_REFERENCE"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_UnknownParsingError = @"UNKNOWN_PARSING_ERROR"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_UserlistIdNotAccessibleForAdvertiser = @"USERLIST_ID_NOT_ACCESSIBLE_FOR_ADVERTISER"; +NSString * const kGTLRDfareporting_FieldError_IngestionError_WeightParsingError = @"WEIGHT_PARSING_ERROR"; + +// GTLRDfareporting_FieldFilter.matchType +NSString * const kGTLRDfareporting_FieldFilter_MatchType_Equals = @"EQUALS"; +NSString * const kGTLRDfareporting_FieldFilter_MatchType_EqualsOrUnrestricted = @"EQUALS_OR_UNRESTRICTED"; +NSString * const kGTLRDfareporting_FieldFilter_MatchType_LhsMatchTypeUnknown = @"LHS_MATCH_TYPE_UNKNOWN"; +NSString * const kGTLRDfareporting_FieldFilter_MatchType_NotEquals = @"NOT_EQUALS"; +NSString * const kGTLRDfareporting_FieldFilter_MatchType_Unrestricted = @"UNRESTRICTED"; + +// GTLRDfareporting_FieldFilter.valueType +NSString * const kGTLRDfareporting_FieldFilter_ValueType_Bool = @"BOOL"; +NSString * const kGTLRDfareporting_FieldFilter_ValueType_Dependent = @"DEPENDENT"; +NSString * const kGTLRDfareporting_FieldFilter_ValueType_Request = @"REQUEST"; +NSString * const kGTLRDfareporting_FieldFilter_ValueType_RhsValueTypeUnknown = @"RHS_VALUE_TYPE_UNKNOWN"; +NSString * const kGTLRDfareporting_FieldFilter_ValueType_String = @"STRING"; + // GTLRDfareporting_File.format NSString * const kGTLRDfareporting_File_Format_Csv = @"CSV"; NSString * const kGTLRDfareporting_File_Format_Excel = @"EXCEL"; @@ -1136,6 +1277,19 @@ NSString * const kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderFemale = @"PLANNING_AUDIENCE_GENDER_FEMALE"; NSString * const kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderMale = @"PLANNING_AUDIENCE_GENDER_MALE"; +// GTLRDfareporting_ProximityFilter.radiusBucketType +NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Large = @"LARGE"; +NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Medium = @"MEDIUM"; +NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_MultiRegional = @"MULTI_REGIONAL"; +NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_National = @"NATIONAL"; +NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_RadiusBucketTypeUnknown = @"RADIUS_BUCKET_TYPE_UNKNOWN"; +NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Small = @"SMALL"; + +// GTLRDfareporting_ProximityFilter.radiusUnitType +NSString * const kGTLRDfareporting_ProximityFilter_RadiusUnitType_Kilometers = @"KILOMETERS"; +NSString * const kGTLRDfareporting_ProximityFilter_RadiusUnitType_Miles = @"MILES"; +NSString * const kGTLRDfareporting_ProximityFilter_RadiusUnitType_RadiusUnitTypeUnknown = @"RADIUS_UNIT_TYPE_UNKNOWN"; + // GTLRDfareporting_Recipient.deliveryType NSString * const kGTLRDfareporting_Recipient_DeliveryType_Attachment = @"ATTACHMENT"; NSString * const kGTLRDfareporting_Recipient_DeliveryType_Link = @"LINK"; @@ -2578,6 +2732,35 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_ContentSource +// + +@implementation GTLRDfareporting_ContentSource +@dynamic contentSourceName, createInfo, lastModifiedInfo, metaData, + resourceLink, resourceType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_ContentSourceMetaData +// + +@implementation GTLRDfareporting_ContentSourceMetaData +@dynamic charset, fieldNames, rowNumber, separator; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fieldNames" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_Conversion @@ -3325,6 +3508,34 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_CustomRule +// + +@implementation GTLRDfareporting_CustomRule +@dynamic name, priority, ruleBlocks; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"ruleBlocks" : [GTLRDfareporting_RuleBlock class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_CustomValueField +// + +@implementation GTLRDfareporting_CustomValueField +@dynamic fieldId, requestKey; +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_CustomViewabilityMetric @@ -3430,6 +3641,16 @@ @implementation GTLRDfareporting_DeliverySchedule @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_DependentFieldValue +// + +@implementation GTLRDfareporting_DependentFieldValue +@dynamic elementId, fieldId; +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_DfpSettings @@ -3621,6 +3842,101 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_DynamicFeed +// + +@implementation GTLRDfareporting_DynamicFeed +@dynamic contentSource, createInfo, dynamicFeedId, dynamicFeedName, element, + feedIngestionStatus, feedSchedule, hasPublished, lastModifiedInfo, + status, studioAdvertiserId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_DynamicFeedsInsertRequest +// + +@implementation GTLRDfareporting_DynamicFeedsInsertRequest +@dynamic dynamicFeed, dynamicProfileId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_DynamicProfile +// + +@implementation GTLRDfareporting_DynamicProfile +@dynamic active, archiveStatus, createInfo, descriptionProperty, draft, + dynamicProfileId, kind, lastModifiedInfo, name, status, + studioAdvertiserId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + ++ (BOOL)isKindValidForClassRegistry { + // This class has a "kind" property that doesn't appear to be usable to + // determine what type of object was encoded in the JSON. + return NO; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_DynamicProfileFeedSettings +// + +@implementation GTLRDfareporting_DynamicProfileFeedSettings +@dynamic dynamicFeedId, dynamicRules, quantity; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_DynamicProfileVersion +// + +@implementation GTLRDfareporting_DynamicProfileVersion +@dynamic dynamicProfileFeedSettings, versionId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dynamicProfileFeedSettings" : [GTLRDfareporting_DynamicProfileFeedSettings class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_DynamicRules +// + +@implementation GTLRDfareporting_DynamicRules +@dynamic autoTargetedFieldIds, customRules, customValueFields, proximityFilter, + remarketingValueAttributes, rotationType, ruleType, weightFieldId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"autoTargetedFieldIds" : [NSNumber class], + @"customRules" : [GTLRDfareporting_CustomRule class], + @"customValueFields" : [GTLRDfareporting_CustomValueField class], + @"remarketingValueAttributes" : [GTLRDfareporting_RemarketingValueAttribute class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_DynamicTargetingKey @@ -3662,6 +3978,27 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_Element +// + +@implementation GTLRDfareporting_Element +@dynamic activeFieldId, createInfo, defaultFieldId, elementName, + endTimestampFieldId, externalIdFieldId, feedFields, isLocalTimestamp, + lastModifiedInfo, proximityTargetingFieldId, reportingLabelFieldId, + startTimestampFieldId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"feedFields" : [GTLRDfareporting_FeedField class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_EncryptionInfo @@ -3749,6 +4086,78 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_FeedField +// + +@implementation GTLRDfareporting_FeedField +@dynamic defaultValue, filterable, identifier, name, renderable, required, type; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_FeedIngestionStatus +// + +@implementation GTLRDfareporting_FeedIngestionStatus +@dynamic ingestionErrorRecords, ingestionStatus, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"ingestionErrorRecords" : [GTLRDfareporting_IngestionErrorRecord class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_FeedSchedule +// + +@implementation GTLRDfareporting_FeedSchedule +@dynamic repeatValue, scheduleEnabled, startHour, startMinute, timeZone; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_FieldError +// + +@implementation GTLRDfareporting_FieldError +@dynamic fieldId, fieldName, fieldValues, ingestionError, isError; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fieldValues" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_FieldFilter +// + +@implementation GTLRDfareporting_FieldFilter +@dynamic boolValue, dependentFieldValue, fieldId, matchType, requestValue, + stringValue, valueType; +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_File @@ -4110,6 +4519,35 @@ @implementation GTLRDfareporting_GeoTargeting @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_IngestionErrorRecord +// + +@implementation GTLRDfareporting_IngestionErrorRecord +@dynamic errors, recordId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errors" : [GTLRDfareporting_FieldError class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_IngestionStatus +// + +@implementation GTLRDfareporting_IngestionStatus +@dynamic numActiveRows, numRowsProcessed, numRowsTotal, numRowsWithErrors, + numWarningsTotal; +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_InventoryItem @@ -5297,6 +5735,16 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_ProximityFilter +// + +@implementation GTLRDfareporting_ProximityFilter +@dynamic fieldId, radiusBucketType, radiusUnitType, radiusValue; +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_ReachReportCompatibleFields @@ -5464,6 +5912,24 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_RemarketingValueAttribute +// + +@implementation GTLRDfareporting_RemarketingValueAttribute +@dynamic fieldId, userAttributeIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"userAttributeIds" : [NSNumber class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_Report @@ -5753,6 +6219,25 @@ @implementation GTLRDfareporting_ReportsConfiguration @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_RequestValue +// + +@implementation GTLRDfareporting_RequestValue +@dynamic excludeFromUserAttributeIds, key, userAttributeIds; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"excludeFromUserAttributeIds" : [NSNumber class], + @"userAttributeIds" : [NSNumber class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_RichMediaExitOverride @@ -5773,6 +6258,24 @@ @implementation GTLRDfareporting_Rule @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_RuleBlock +// + +@implementation GTLRDfareporting_RuleBlock +@dynamic fieldFilter; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fieldFilter" : [GTLRDfareporting_FieldFilter class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_Site diff --git a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m index 98b64707a..af07239cc 100644 --- a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m +++ b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingQuery.m @@ -2794,6 +2794,110 @@ + (instancetype)queryWithProfileId:(long long)profileId { @end +@implementation GTLRDfareportingQuery_DynamicFeedsGet + +@dynamic dynamicFeedId; + ++ (instancetype)queryWithDynamicFeedId:(long long)dynamicFeedId { + NSArray *pathParams = @[ @"dynamicFeedId" ]; + NSString *pathURITemplate = @"studio/dynamicFeeds/{+dynamicFeedId}"; + GTLRDfareportingQuery_DynamicFeedsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.dynamicFeedId = dynamicFeedId; + query.expectedObjectClass = [GTLRDfareporting_DynamicFeed class]; + query.loggingName = @"dfareporting.dynamicFeeds.get"; + return query; +} + +@end + +@implementation GTLRDfareportingQuery_DynamicFeedsInsert + ++ (instancetype)queryWithObject:(GTLRDfareporting_DynamicFeedsInsertRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"studio/dynamicFeeds"; + GTLRDfareportingQuery_DynamicFeedsInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRDfareporting_DynamicFeed class]; + query.loggingName = @"dfareporting.dynamicFeeds.insert"; + return query; +} + +@end + +@implementation GTLRDfareportingQuery_DynamicProfilesGet + +@dynamic dynamicProfileId; + ++ (instancetype)queryWithDynamicProfileId:(long long)dynamicProfileId { + NSArray *pathParams = @[ @"dynamicProfileId" ]; + NSString *pathURITemplate = @"studio/dynamicProfiles/{+dynamicProfileId}"; + GTLRDfareportingQuery_DynamicProfilesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.dynamicProfileId = dynamicProfileId; + query.expectedObjectClass = [GTLRDfareporting_DynamicProfile class]; + query.loggingName = @"dfareporting.dynamicProfiles.get"; + return query; +} + +@end + +@implementation GTLRDfareportingQuery_DynamicProfilesInsert + ++ (instancetype)queryWithObject:(GTLRDfareporting_DynamicProfile *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"studio/dynamicProfiles"; + GTLRDfareportingQuery_DynamicProfilesInsert *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRDfareporting_DynamicProfile class]; + query.loggingName = @"dfareporting.dynamicProfiles.insert"; + return query; +} + +@end + +@implementation GTLRDfareportingQuery_DynamicProfilesUpdate + ++ (instancetype)queryWithObject:(GTLRDfareporting_DynamicProfile *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"studio/dynamicProfiles"; + GTLRDfareportingQuery_DynamicProfilesUpdate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PUT" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRDfareporting_DynamicProfile class]; + query.loggingName = @"dfareporting.dynamicProfiles.update"; + return query; +} + +@end + @implementation GTLRDfareportingQuery_DynamicTargetingKeysDelete @dynamic name, objectId, objectType, profileId; diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h index 5ff90ed37..724632efd 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h @@ -46,6 +46,8 @@ @class GTLRDfareporting_CompanionSetting; @class GTLRDfareporting_ConnectionType; @class GTLRDfareporting_ContentCategory; +@class GTLRDfareporting_ContentSource; +@class GTLRDfareporting_ContentSourceMetaData; @class GTLRDfareporting_Conversion; @class GTLRDfareporting_ConversionError; @class GTLRDfareporting_ConversionStatus; @@ -68,6 +70,8 @@ @class GTLRDfareporting_CrossMediaReachReportCompatibleFields; @class GTLRDfareporting_CustomFloodlightVariable; @class GTLRDfareporting_CustomRichMediaEvents; +@class GTLRDfareporting_CustomRule; +@class GTLRDfareporting_CustomValueField; @class GTLRDfareporting_CustomViewabilityMetric; @class GTLRDfareporting_CustomViewabilityMetricConfiguration; @class GTLRDfareporting_DateRange; @@ -75,16 +79,27 @@ @class GTLRDfareporting_DeepLink; @class GTLRDfareporting_DefaultClickThroughEventTagProperties; @class GTLRDfareporting_DeliverySchedule; +@class GTLRDfareporting_DependentFieldValue; @class GTLRDfareporting_DfpSettings; @class GTLRDfareporting_Dimension; @class GTLRDfareporting_DimensionFilter; @class GTLRDfareporting_DimensionValue; @class GTLRDfareporting_DirectorySite; @class GTLRDfareporting_DirectorySiteSettings; +@class GTLRDfareporting_DynamicFeed; +@class GTLRDfareporting_DynamicProfileFeedSettings; +@class GTLRDfareporting_DynamicProfileVersion; +@class GTLRDfareporting_DynamicRules; @class GTLRDfareporting_DynamicTargetingKey; +@class GTLRDfareporting_Element; @class GTLRDfareporting_EncryptionInfo; @class GTLRDfareporting_EventTag; @class GTLRDfareporting_EventTagOverride; +@class GTLRDfareporting_FeedField; +@class GTLRDfareporting_FeedIngestionStatus; +@class GTLRDfareporting_FeedSchedule; +@class GTLRDfareporting_FieldError; +@class GTLRDfareporting_FieldFilter; @class GTLRDfareporting_File; @class GTLRDfareporting_File_Urls; @class GTLRDfareporting_Flight; @@ -97,6 +112,8 @@ @class GTLRDfareporting_FrequencyCap; @class GTLRDfareporting_FsCommand; @class GTLRDfareporting_GeoTargeting; +@class GTLRDfareporting_IngestionErrorRecord; +@class GTLRDfareporting_IngestionStatus; @class GTLRDfareporting_InventoryItem; @class GTLRDfareporting_Invoice; @class GTLRDfareporting_KeyValueTargetingExpression; @@ -141,10 +158,12 @@ @class GTLRDfareporting_PricingSchedule; @class GTLRDfareporting_PricingSchedulePricingPeriod; @class GTLRDfareporting_Project; +@class GTLRDfareporting_ProximityFilter; @class GTLRDfareporting_ReachReportCompatibleFields; @class GTLRDfareporting_Recipient; @class GTLRDfareporting_Region; @class GTLRDfareporting_RemarketingList; +@class GTLRDfareporting_RemarketingValueAttribute; @class GTLRDfareporting_Report; @class GTLRDfareporting_Report_Criteria; @class GTLRDfareporting_Report_CrossDimensionReachCriteria; @@ -158,8 +177,10 @@ @class GTLRDfareporting_Report_Schedule; @class GTLRDfareporting_ReportCompatibleFields; @class GTLRDfareporting_ReportsConfiguration; +@class GTLRDfareporting_RequestValue; @class GTLRDfareporting_RichMediaExitOverride; @class GTLRDfareporting_Rule; +@class GTLRDfareporting_RuleBlock; @class GTLRDfareporting_Site; @class GTLRDfareporting_SiteCompanionSetting; @class GTLRDfareporting_SiteContact; @@ -521,6 +542,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_E /** Value: "P2C" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_P2c; +// ---------------------------------------------------------------------------- +// GTLRDfareporting_ContentSource.resourceType + +/** + * The resource type is google spreadsheet. + * + * Value: "RESOURCE_TYPE_GOOGLE_SPREADSHEET" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeGoogleSpreadsheet; +/** + * The resource type is remote file. + * + * Value: "RESOURCE_TYPE_REMOTE_FILE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeRemoteFile; +/** + * The resource type is unspecified. + * + * Value: "RESOURCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRDfareporting_Conversion.adUserDataConsent @@ -2045,6 +2088,150 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DirectorySite_InterstitialT /** Value: "JAVASCRIPT_INTERSTITIAL" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DirectorySite_InterstitialTagFormats_JavascriptInterstitial; +// ---------------------------------------------------------------------------- +// GTLRDfareporting_DynamicFeed.status + +/** + * The feedstatus is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicFeed_Status_Active; +/** + * The feed status is deleted. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicFeed_Status_Deleted; +/** + * The feed status is inactive. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicFeed_Status_Inactive; +/** + * The status is unknown. + * + * Value: "STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicFeed_Status_StatusUnknown; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_DynamicProfile.archiveStatus + +/** + * The dynamic profile archive status is archived. + * + * Value: "ARCHIVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicProfile_ArchiveStatus_Archived; +/** + * The dynamic profile archive status is unknown. This value is unused. + * + * Value: "ARCHIVE_STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicProfile_ArchiveStatus_ArchiveStatusUnknown; +/** + * The dynamic profile archive status is unarchived. + * + * Value: "UNARCHIVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicProfile_ArchiveStatus_Unarchived; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_DynamicProfile.status + +/** + * The dynamic profile is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicProfile_Status_Active; +/** + * The dynamic profile is deleted. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicProfile_Status_Deleted; +/** + * The dynamic profile is inactive. + * + * Value: "INACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicProfile_Status_Inactive; +/** + * The dynamic profile status is unknown. This value is unused. + * + * Value: "STATUS_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicProfile_Status_StatusUnknown; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_DynamicRules.rotationType + +/** + * The rotation type is optimized. + * + * Value: "OPTIMIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RotationType_Optimized; +/** + * The rotation type is random. It is the default value. + * + * Value: "RANDOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RotationType_Random; +/** + * The rotation type is unknown. This value is unused. + * + * Value: "ROTATION_TYPE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RotationType_RotationTypeUnknown; +/** + * The rotation type is weighted. + * + * Value: "WEIGHTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RotationType_Weighted; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_DynamicRules.ruleType + +/** + * The rule type is auto, the feed rows are eligible for selection based on the + * automatic rules. + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RuleType_Auto; +/** + * The rule type is custom, the feed rows are eligible for selection based on + * the custom rules. + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RuleType_Custom; +/** + * The rule type is open, all feed rows are eligible for selection. This is the + * default value. + * + * Value: "OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RuleType_Open; +/** + * The rule type is proximity targeting, the feed rows are eligible for + * selection based on the proximity targeting rules. + * + * Value: "PROXIMITY_TARGETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RuleType_ProximityTargeting; +/** + * The rule type is unknown. This value is unused. + * + * Value: "RULE_SET_TYPE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_DynamicRules_RuleType_RuleSetTypeUnknown; + // ---------------------------------------------------------------------------- // GTLRDfareporting_DynamicTargetingKey.objectType @@ -2132,106 +2319,719 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_EventTag_Type_ImpressionIma FOUNDATION_EXTERN NSString * const kGTLRDfareporting_EventTag_Type_ImpressionJavascriptEventTag; // ---------------------------------------------------------------------------- -// GTLRDfareporting_File.format - -/** Value: "CSV" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Format_Csv; -/** Value: "EXCEL" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Format_Excel; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_File.status - -/** Value: "CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Cancelled; -/** Value: "FAILED" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Failed; -/** Value: "PROCESSING" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Processing; -/** Value: "QUEUED" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Queued; -/** Value: "REPORT_AVAILABLE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_ReportAvailable; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_FloodlightActivity.cacheBustingType - -/** Value: "ACTIVE_SERVER_PAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_ActiveServerPage; -/** Value: "COLD_FUSION" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_ColdFusion; -/** Value: "JAVASCRIPT" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Javascript; -/** Value: "JSP" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Jsp; -/** Value: "PHP" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Php; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_FloodlightActivity.countingMethod +// GTLRDfareporting_FeedField.type /** - * Count each conversion, plus the total number of items sold and the total - * revenue for these sales. + * The field type is AssetLibrary directory path. * - * Value: "ITEMS_SOLD_COUNTING" + * Value: "ASSET_LIBRARY_DIRECTORY_HANDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_ItemsSoldCounting; +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_AssetLibraryDirectoryHandle; /** - * Count one conversion per user per session. Session length is set by the site - * where the Spotlight tag is deployed. + * The field type is AssetLibrary path. * - * Value: "SESSION_COUNTING" + * Value: "ASSET_LIBRARY_HANDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_SessionCounting; +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_AssetLibraryHandle; /** - * Count every conversion. + * The field type is AssetLibrary video file path. * - * Value: "STANDARD_COUNTING" + * Value: "ASSET_LIBRARY_VIDEO_HANDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_StandardCounting; +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_AssetLibraryVideoHandle; /** - * Count all conversions, plus the total number of sales that take place and - * the total revenue for these transactions. + * The field type is boolean. * - * Value: "TRANSACTIONS_COUNTING" + * Value: "BOOL" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_TransactionsCounting; +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Bool; /** - * Count the first conversion for each unique user during each 24-hour day, - * from midnight to midnight, Eastern Time. + * The field type is cities. * - * Value: "UNIQUE_COUNTING" + * Value: "CITY" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_UniqueCounting; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_FloodlightActivity.floodlightActivityGroupType - -/** Value: "COUNTER" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightActivityGroupType_Counter; -/** Value: "SALE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightActivityGroupType_Sale; - -// ---------------------------------------------------------------------------- -// GTLRDfareporting_FloodlightActivity.floodlightTagType - -/** Value: "GLOBAL_SITE_TAG" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightTagType_GlobalSiteTag; -/** Value: "IFRAME" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightTagType_Iframe; -/** Value: "IMAGE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightTagType_Image; +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_City; +/** + * The field type is CM360 ad ID. + * + * Value: "CM360_AD_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360AdId; +/** + * The field type is CM360 advertiser ID. + * + * Value: "CM360_ADVERTISER_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360AdvertiserId; +/** + * The field type is CM360 campaign ID. + * + * Value: "CM360_CAMPAIGN_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360CampaignId; +/** + * The field type is CM360 creative ID. + * + * Value: "CM360_CREATIVE_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360CreativeId; +/** + * The field type is CM dynamic targeting key. + * + * Value: "CM360_DYNAMIC_TARGETING_KEY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360DynamicTargetingKey; +/** + * The field type is custom CM360 ad tag parameter. + * + * Value: "CM360_KEYWORD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360Keyword; +/** + * The field type is CM360 placement ID. + * + * Value: "CM360_PLACEMENT_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360PlacementId; +/** + * The field type is CM360 site ID. + * + * Value: "CM360_SITE_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Cm360SiteId; +/** + * The field type is the ISO 3166-2 alpha-2 codes. It is two-letter country + * codes defined in ISO 3166-1 published by the International Organization for + * Standardization. + * + * Value: "COUNTRY_CODE_ISO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_CountryCodeIso; +/** + * The field type is creative dimension. + * + * Value: "CREATIVE_DIMENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_CreativeDimension; +/** + * The field type is custom value. + * + * Value: "CUSTOM_VALUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_CustomValue; +/** + * The field type is datetime. + * + * Value: "DATETIME" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Datetime; +/** + * The field type is DV360 line item ID. + * + * Value: "DV360_LINE_ITEM_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Dv360LineItemId; +/** + * The field type is exit url. + * + * Value: "EXIT_URL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_ExitUrl; +/** + * The field type is decimal. + * + * Value: "FLOAT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Float; +/** + * The field type is accurate geographic type. + * + * Value: "GEO_CANONICAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_GeoCanonical; +/** + * The field type is asset url. + * + * Value: "GPA_SERVED_ASSET_URL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_GpaServedAssetUrl; +/** + * The field type is image url + * + * Value: "GPA_SERVED_IMAGE_URL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_GpaServedImageUrl; +/** + * The field type is whole number. + * + * Value: "LONG" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Long; +/** + * The field type is metro code. + * + * Value: "METRO" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Metro; +/** + * The field type is postal code. + * + * Value: "POSTAL_CODE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_PostalCode; +/** + * The field type is region. + * + * Value: "REGION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Region; +/** + * The field type is remarketing value. + * + * Value: "REMARKETING_VALUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_RemarketingValue; +/** + * The field type is text. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_String; +/** + * The field type is a list of values. + * + * Value: "STRING_LIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_StringList; +/** + * The field type is third party served url. + * + * Value: "THIRD_PARTY_SERVED_URL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_ThirdPartyServedUrl; +/** + * The type is unspecified. This is an unused value. + * + * Value: "TYPE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_TypeUnknown; +/** + * The field type is CM/DV360 Audience ID. + * + * Value: "USERLIST_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_UserlistId; +/** + * The field type is weight. + * + * Value: "WEIGHT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedField_Type_Weight; // ---------------------------------------------------------------------------- -// GTLRDfareporting_FloodlightActivity.status +// GTLRDfareporting_FeedIngestionStatus.state -/** Value: "ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_Status_Active; -/** Value: "ARCHIVED" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_Status_Archived; -/** Value: "ARCHIVED_AND_DISABLED" */ -FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_Status_ArchivedAndDisabled; +/** + * The feed processing state is cancelled. + * + * Value: "CANCELLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_Cancelled; +/** + * The feed processing state is unknown. + * + * Value: "FEED_PROCESSING_STATE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_FeedProcessingStateUnknown; +/** + * The feed processing state is ingested with failure. + * + * Value: "INGESTED_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_IngestedFailure; +/** + * The feed processing state is ingested successfully. + * + * Value: "INGESTED_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_IngestedSuccess; +/** + * The feed processing state is ingesting. + * + * Value: "INGESTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_Ingesting; +/** + * The feed processing state is ingesting queued. + * + * Value: "INGESTING_QUEUED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_IngestingQueued; +/** + * The feed processing state is published with failure. + * + * Value: "PUBLISHED_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_PublishedFailure; +/** + * The feed processing state is published successfully. + * + * Value: "PUBLISHED_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_PublishedSuccess; +/** + * The feed processing state is publishing. + * + * Value: "PUBLISHING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_Publishing; +/** + * The feed processing state is request to publish. + * + * Value: "REQUEST_TO_PUBLISH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FeedIngestionStatus_State_RequestToPublish; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FieldError.ingestionError + +/** + * The ingestion error when a geo target is an airport. + * + * Value: "AIRPORT_GEO_TARGET" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_AirportGeoTarget; +/** + * The ingestion error when asset retrieval fails for a particular image or + * asset. + * + * Value: "ASSET_DOWNLOAD_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_AssetDownloadError; +/** + * The ingestion error when parsing the boolean value fails. + * + * Value: "BOOL_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_BoolParsingError; +/** + * The ingestion error when the geo target's canonical name does not match the + * query string used to obtain it. + * + * Value: "CANONICAL_NAME_QUERY_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_CanonicalNameQueryMismatch; +/** + * The ingestion error when parsing the country code fails. + * + * Value: "COUNTRY_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_CountryParsingError; +/** + * The ingestion error when parsing the creative dimension value fails. + * + * Value: "CREATIVE_DIMENSION_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_CreativeDimensionParsingError; +/** + * The ingestion error when parsing the datetime value fails. + * + * Value: "DATETIME_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_DatetimeParsingError; +/** + * The ingestion error when parsing the datetime value fails. + * + * Value: "DATETIME_WITHOUT_TIMEZONE_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_DatetimeWithoutTimezoneParsingError; +/** + * The ingestion error when the ID value is duplicate. + * + * Value: "DUPLICATE_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_DuplicateId; +/** + * The ingestion error when a targeting key used but not defined for the CM360 + * Advertiser. + * + * Value: "DYNAMIC_TARGETING_KEY_NOT_DEFINED_FOR_ADVERTISER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_DynamicTargetingKeyNotDefinedForAdvertiser; +/** + * The ingestion error when a required value is empty + * + * Value: "EMPTY_VALUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_EmptyValue; +/** + * The ingestion error when the end time is before the start time. + * + * Value: "ENDTIME_BEFORE_STARTTIME" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_EndtimeBeforeStarttime; +/** + * The ingestion error when the end time is passed. + * + * Value: "ENDTIME_PASSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_EndtimePassed; +/** + * The ingestion error when the end time is in the near future (i.e., <7 days). + * + * Value: "ENDTIME_TOO_SOON" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_EndtimeTooSoon; +/** + * The ingestion error when parsing the expanded url fails. + * + * Value: "EXPANDED_URL_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_ExpandedUrlParsingError; +/** + * The ingestion error when parsing the float value fails. + * + * Value: "FLOAT_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_FloatParsingError; +/** + * The ingestion error when a geo location is not found. + * + * Value: "GEO_NOT_FOUND_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_GeoNotFoundError; +/** + * The ingestion error when parsing the geo field fails. + * + * Value: "GEO_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_GeoParsingError; +/** + * The ingestion error when a feed row has multiple geotargets with proximity + * targeting enabled. + * + * Value: "GEO_PROXIMITY_TARGETING_MULTIPLE_LOCATION_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_GeoProximityTargetingMultipleLocationError; +/** + * The ingestion error when the ID value exceeds the string length limit. + * + * Value: "ID_TOO_LONG" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_IdTooLong; +/** + * The ingestion error when Image field specifies a reference to an asset + * hosted on SCS (s0.2mdn.net/s0qa.2mdn.net). + * + * Value: "IMAGE_ASSET_SCS_REFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_ImageAssetScsReference; +/** + * The ingestion error when the asset library directory handle is invalid. + * + * Value: "INVALID_ASSET_LIBRARY_DIRECTORY_HANDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryDirectoryHandle; +/** + * The ingestion error when the asset library handle is invalid. + * + * Value: "INVALID_ASSET_LIBRARY_HANDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryHandle; +/** + * The ingestion error when the asset library video handle is invalid. + * + * Value: "INVALID_ASSET_LIBRARY_VIDEO_HANDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryVideoHandle; +/** + * The ingestion error when the preference value is not a positive float. + * + * Value: "INVALID_PREFERENCE_VALUE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_InvalidPreferenceValue; +/** + * The ingestion error when parsing the long value fails. + * + * Value: "LONG_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_LongParsingError; +/** + * The ingestion error when parsing the metro code value fails. + * + * Value: "METRO_CODE_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_MetroCodeParsingError; +/** + * The ingestion error when the ID value is missing. + * + * Value: "MISSING_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_MissingId; +/** + * The ingestion error when the element value name used for reporting is + * missing. + * + * Value: "MISSING_REPORTING_LABEL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_MissingReportingLabel; +/** + * The ingestion error when a STRING_LIST type ID has multiple values. + * + * Value: "MULTIVALUE_ID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_MultivalueId; +/** + * The ingestion error or warning when the default row is not active. + * + * Value: "NO_ACTIVE_DEFAULT_ROW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_NoActiveDefaultRow; +/** + * The ingestion error or warning when the default row is not in the date + * range. + * + * Value: "NO_ACTIVE_DEFAULT_ROW_IN_DATE_RANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_NoActiveDefaultRowInDateRange; +/** + * The ingestion error or warning when the default row is not set. + * + * Value: "NO_DEFAULT_ROW" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_NoDefaultRow; +/** + * The ingestion error or warning when the default row is not in the date + * range. + * + * Value: "NO_DEFAULT_ROW_IN_DATE_RANGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_NoDefaultRowInDateRange; +/** + * The ingestion error when parsing the field fails. + * + * Value: "PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_ParsingError; +/** + * The ingestion error when when the payload of the record is above a + * threshold. + * + * Value: "PAYLOAD_LIMIT_EXCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_PayloadLimitExceeded; +/** + * The ingestion error when parsing the postal code value fails. + * + * Value: "POSTAL_CODE_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_PostalCodeParsingError; +/** + * The ingestion error or warning when the field is not SSL compliant. + * + * Value: "SSL_NOT_COMPLIANT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_SslNotCompliant; +/** + * The ingestion error when a text field specifies a reference to an asset. + * + * Value: "TEXT_ASSET_REFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_TextAssetReference; +/** + * The ingestion error is unknown. + * + * Value: "UNKNOWN_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_UnknownParsingError; +/** + * The ingestion error when the userlist ID is not accessible for the CM360 + * Advertiser. + * + * Value: "USERLIST_ID_NOT_ACCESSIBLE_FOR_ADVERTISER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_UserlistIdNotAccessibleForAdvertiser; +/** + * The ingestion error when parsing the weight value fails. + * + * Value: "WEIGHT_PARSING_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldError_IngestionError_WeightParsingError; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FieldFilter.matchType + +/** + * The left hand side of the expression is equals. + * + * Value: "EQUALS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_MatchType_Equals; +/** + * The left hand side of the expression is equals or unrestricted. It is the + * default value. + * + * Value: "EQUALS_OR_UNRESTRICTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_MatchType_EqualsOrUnrestricted; +/** + * The left hand side of the expression is unknown. This value is unused. + * + * Value: "LHS_MATCH_TYPE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_MatchType_LhsMatchTypeUnknown; +/** + * Left hand side of the expression is not equals. Not equals specifies which + * fields should not be targeted. + * + * Value: "NOT_EQUALS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_MatchType_NotEquals; +/** + * The left hand side of the expression is unrestricted. Unrestricted is used + * to target fields with no restrictions. For example, country targeting fields + * hold a list of countries. If the list is empty, we consider the element + * value to have no restrictions. + * + * Value: "UNRESTRICTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_MatchType_Unrestricted; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FieldFilter.valueType + +/** + * The right hand side of the expression is a boolean. + * + * Value: "BOOL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_ValueType_Bool; +/** + * The right hand side of the expression is a dependent field value. + * + * Value: "DEPENDENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_ValueType_Dependent; +/** + * The right hand side of the expression is a request value. + * + * Value: "REQUEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_ValueType_Request; +/** + * The right hand side of the expression is unknown. This value is unused. + * + * Value: "RHS_VALUE_TYPE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_ValueType_RhsValueTypeUnknown; +/** + * The right hand side of the expression is a string. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FieldFilter_ValueType_String; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_File.format + +/** Value: "CSV" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Format_Csv; +/** Value: "EXCEL" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Format_Excel; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_File.status + +/** Value: "CANCELLED" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Cancelled; +/** Value: "FAILED" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Failed; +/** Value: "PROCESSING" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Processing; +/** Value: "QUEUED" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_Queued; +/** Value: "REPORT_AVAILABLE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_File_Status_ReportAvailable; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FloodlightActivity.cacheBustingType + +/** Value: "ACTIVE_SERVER_PAGE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_ActiveServerPage; +/** Value: "COLD_FUSION" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_ColdFusion; +/** Value: "JAVASCRIPT" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Javascript; +/** Value: "JSP" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Jsp; +/** Value: "PHP" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CacheBustingType_Php; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FloodlightActivity.countingMethod + +/** + * Count each conversion, plus the total number of items sold and the total + * revenue for these sales. + * + * Value: "ITEMS_SOLD_COUNTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_ItemsSoldCounting; +/** + * Count one conversion per user per session. Session length is set by the site + * where the Spotlight tag is deployed. + * + * Value: "SESSION_COUNTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_SessionCounting; +/** + * Count every conversion. + * + * Value: "STANDARD_COUNTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_StandardCounting; +/** + * Count all conversions, plus the total number of sales that take place and + * the total revenue for these transactions. + * + * Value: "TRANSACTIONS_COUNTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_TransactionsCounting; +/** + * Count the first conversion for each unique user during each 24-hour day, + * from midnight to midnight, Eastern Time. + * + * Value: "UNIQUE_COUNTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_CountingMethod_UniqueCounting; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FloodlightActivity.floodlightActivityGroupType + +/** Value: "COUNTER" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightActivityGroupType_Counter; +/** Value: "SALE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightActivityGroupType_Sale; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FloodlightActivity.floodlightTagType + +/** Value: "GLOBAL_SITE_TAG" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightTagType_GlobalSiteTag; +/** Value: "IFRAME" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightTagType_Iframe; +/** Value: "IMAGE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_FloodlightTagType_Image; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_FloodlightActivity.status + +/** Value: "ACTIVE" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_Status_Active; +/** Value: "ARCHIVED" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_Status_Archived; +/** Value: "ARCHIVED_AND_DISABLED" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_Status_ArchivedAndDisabled; /** Value: "DISABLED_POLICY" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_FloodlightActivity_Status_DisabledPolicy; @@ -3131,6 +3931,68 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceGender_Plan /** Value: "PLANNING_AUDIENCE_GENDER_MALE" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Project_AudienceGender_PlanningAudienceGenderMale; +// ---------------------------------------------------------------------------- +// GTLRDfareporting_ProximityFilter.radiusBucketType + +/** + * The radius bucket type is large. + * + * Value: "LARGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Large; +/** + * The radius bucket type is medium. + * + * Value: "MEDIUM" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Medium; +/** + * The radius bucket type is multi-regional. + * + * Value: "MULTI_REGIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_MultiRegional; +/** + * The radius bucket type is national. + * + * Value: "NATIONAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_National; +/** + * The radius bucket type is unknown. + * + * Value: "RADIUS_BUCKET_TYPE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_RadiusBucketTypeUnknown; +/** + * The radius bucket type is small. + * + * Value: "SMALL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusBucketType_Small; + +// ---------------------------------------------------------------------------- +// GTLRDfareporting_ProximityFilter.radiusUnitType + +/** + * The units of the radius value are kilometers. + * + * Value: "KILOMETERS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusUnitType_Kilometers; +/** + * The units of the radius value are miles. + * + * Value: "MILES" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusUnitType_Miles; +/** + * The units of the radius value are unknown. This value is unused. + * + * Value: "RADIUS_UNIT_TYPE_UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ProximityFilter_RadiusUnitType_RadiusUnitTypeUnknown; + // ---------------------------------------------------------------------------- // GTLRDfareporting_Recipient.deliveryType @@ -6561,6 +7423,79 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains the content source of the dynamic feed. + */ +@interface GTLRDfareporting_ContentSource : GTLRObject + +/** + * Optional. The name of the content source. It is defaulted to content source + * file name if not provided. + */ +@property(nonatomic, copy, nullable) NSString *contentSourceName; + +/** + * Output only. The creation timestamp of the content source. This is a + * read-only field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *createInfo; + +/** + * Output only. The last modified timestamp of the content source. This is a + * read-only field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *lastModifiedInfo; + +/** + * Output only. Metadata of the content source. It contains the number of rows + * and the column names from resource link. This is a read-only field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_ContentSourceMetaData *metaData; + +/** Required. The link to the file of the content source. */ +@property(nonatomic, copy, nullable) NSString *resourceLink; + +/** + * Required. The resource type of the content source. + * + * Likely values: + * @arg @c kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeGoogleSpreadsheet + * The resource type is google spreadsheet. (Value: + * "RESOURCE_TYPE_GOOGLE_SPREADSHEET") + * @arg @c kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeRemoteFile + * The resource type is remote file. (Value: "RESOURCE_TYPE_REMOTE_FILE") + * @arg @c kGTLRDfareporting_ContentSource_ResourceType_ResourceTypeUnspecified + * The resource type is unspecified. (Value: "RESOURCE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *resourceType; + +@end + + +/** + * Contains the meta data of the content source. This is a read-only field. + */ +@interface GTLRDfareporting_ContentSourceMetaData : GTLRObject + +/** Output only. The charset of the content source. */ +@property(nonatomic, copy, nullable) NSString *charset; + +/** Output only. The list of column names in the content source. */ +@property(nonatomic, strong, nullable) NSArray *fieldNames; + +/** + * Output only. The number of rows in the content source. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rowNumber; + +/** Output only. The separator of the content source. */ +@property(nonatomic, copy, nullable) NSString *separator; + +@end + + /** * A Conversion represents when a user successfully performs a desired action * after seeing an ad. @@ -9131,6 +10066,45 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains custom rule information. + */ +@interface GTLRDfareporting_CustomRule : GTLRObject + +/** Optional. Name of this custom rule. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Priority of the custom rule. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *priority; + +/** Optional. A list of field filter, the custom rule will apply. */ +@property(nonatomic, strong, nullable) NSArray *ruleBlocks; + +@end + + +/** + * Contains custom value field information. + */ +@interface GTLRDfareporting_CustomValueField : GTLRObject + +/** + * Optional. Field ID in the element. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fieldId; + +/** Optional. Custom key used to match for auto filtering. */ +@property(nonatomic, copy, nullable) NSString *requestKey; + +@end + + /** * Custom Viewability Metric */ @@ -9423,7 +10397,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P * @arg @c kGTLRDfareporting_DeliverySchedule_Priority_AdPriority16 Value * "AD_PRIORITY_16" */ -@property(nonatomic, copy, nullable) NSString *priority; +@property(nonatomic, copy, nullable) NSString *priority; + +@end + + +/** + * Contains dependent field value information. + */ +@interface GTLRDfareporting_DependentFieldValue : GTLRObject + +/** + * Optional. The ID of the element that value's field will match against. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *elementId; + +/** + * Optional. The field id of the dependent field. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fieldId; @end @@ -9741,6 +10737,348 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains dynamic feed information. + */ +@interface GTLRDfareporting_DynamicFeed : GTLRObject + +/** + * Required. The content source of the dynamic feed. This is a required field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_ContentSource *contentSource; + +/** + * Output only. The creation timestamp of the dynamic feed. This is a read-only + * field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *createInfo; + +/** + * Output only. Unique ID of this dynamic feed. This is a read-only, + * auto-generated field. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dynamicFeedId; + +/** + * Optional. Name of this dynamic feed. It is defaulted to content source file + * name if not provided. + */ +@property(nonatomic, copy, nullable) NSString *dynamicFeedName; + +/** + * Required. The element of the dynamic feed that is to specify the schema of + * the feed. This is a required field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_Element *element; + +/** + * Output only. The ingestion status of the dynamic feed. This is a read-only + * field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_FeedIngestionStatus *feedIngestionStatus; + +/** + * Optional. The schedule of the dynamic feed. It can be set if the feed is + * published. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_FeedSchedule *feedSchedule; + +/** + * Output only. Indicates whether the dynamic feed has a published version. + * This is a read-only field. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *hasPublished; + +/** + * Output only. The last modified timestamp of the dynamic feed. This is a + * read-only field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *lastModifiedInfo; + +/** + * Output only. The status of the feed. It is a read-only field that depends on + * the the feed ingestion status. The default value is INACTIVE, and it will be + * updated to ACTIVE once the feed is ingested successfully. + * + * Likely values: + * @arg @c kGTLRDfareporting_DynamicFeed_Status_Active The feedstatus is + * active. (Value: "ACTIVE") + * @arg @c kGTLRDfareporting_DynamicFeed_Status_Deleted The feed status is + * deleted. (Value: "DELETED") + * @arg @c kGTLRDfareporting_DynamicFeed_Status_Inactive The feed status is + * inactive. (Value: "INACTIVE") + * @arg @c kGTLRDfareporting_DynamicFeed_Status_StatusUnknown The status is + * unknown. (Value: "STATUS_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** + * Required. Advertiser ID of this dynamic feed. This is a required field. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *studioAdvertiserId; + +@end + + +/** + * Dynamic profile ID is required for dynamic feed insert as the current GPA + * API only can create a dynamic feed under profile context,even though the + * dynnamic feed itself don't need the dynamic profile id. See + * go/cm3-dco-display-api-interface + */ +@interface GTLRDfareporting_DynamicFeedsInsertRequest : GTLRObject + +/** Required. Dynamic feed to insert. */ +@property(nonatomic, strong, nullable) GTLRDfareporting_DynamicFeed *dynamicFeed; + +/** + * Required. Dynamic profile ID of the inserted dynamic feed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dynamicProfileId; + +@end + + +/** + * Contains dynamic profile information. + */ +@interface GTLRDfareporting_DynamicProfile : GTLRObject + +/** Optional. Active version of the dynamic profile. */ +@property(nonatomic, strong, nullable) GTLRDfareporting_DynamicProfileVersion *active; + +/** + * Optional. Archive status of this dynamic profile. + * + * Likely values: + * @arg @c kGTLRDfareporting_DynamicProfile_ArchiveStatus_Archived The + * dynamic profile archive status is archived. (Value: "ARCHIVED") + * @arg @c kGTLRDfareporting_DynamicProfile_ArchiveStatus_ArchiveStatusUnknown + * The dynamic profile archive status is unknown. This value is unused. + * (Value: "ARCHIVE_STATUS_UNKNOWN") + * @arg @c kGTLRDfareporting_DynamicProfile_ArchiveStatus_Unarchived The + * dynamic profile archive status is unarchived. (Value: "UNARCHIVED") + */ +@property(nonatomic, copy, nullable) NSString *archiveStatus; + +/** + * Output only. The creation timestamp of the dynamic profile. This is a + * read-only field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *createInfo; + +/** + * Optional. Description of this dynamic profile. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Optional. Draft version of the dynamic profile. */ +@property(nonatomic, strong, nullable) GTLRDfareporting_DynamicProfileVersion *draft; + +/** + * Output only. Unique ID of this dynamic profile. This is a read-only, + * auto-generated field. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dynamicProfileId; + +/** + * Output only. Identifies what kind of resource this is. Value: the fixed + * string "dfareporting#dynamicProfile". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +/** + * Output only. The last modified timestamp of the dynamic profile. This is a + * read-only field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *lastModifiedInfo; + +/** + * Required. Identifier. Name of this dynamic profile. This is a required field + * and must be less than 256 characters long. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Status of this dynamic profile. + * + * Likely values: + * @arg @c kGTLRDfareporting_DynamicProfile_Status_Active The dynamic profile + * is active. (Value: "ACTIVE") + * @arg @c kGTLRDfareporting_DynamicProfile_Status_Deleted The dynamic + * profile is deleted. (Value: "DELETED") + * @arg @c kGTLRDfareporting_DynamicProfile_Status_Inactive The dynamic + * profile is inactive. (Value: "INACTIVE") + * @arg @c kGTLRDfareporting_DynamicProfile_Status_StatusUnknown The dynamic + * profile status is unknown. This value is unused. (Value: + * "STATUS_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *status; + +/** + * Required. Advertiser ID of this dynamic profile. This is a required field on + * insertion. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *studioAdvertiserId; + +@end + + +/** + * Contains dynamic profile specific settings for an associated dynamic feed. + */ +@interface GTLRDfareporting_DynamicProfileFeedSettings : GTLRObject + +/** + * Optional. Dynamic feed ID associated with dynamic profile version. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dynamicFeedId; + +/** + * Optional. Dynamic rules for row selection for the given dynamic feed in the + * given dynamic profile. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_DynamicRules *dynamicRules; + +/** + * Optional. The number of this dynamic feed rows needed by the dynamic + * profile, default value is 1. Acceptable values are between 1 to 99, + * inclusive. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *quantity; + +@end + + +/** + * Contains dynamic profile version information. + */ +@interface GTLRDfareporting_DynamicProfileVersion : GTLRObject + +/** + * Optional. Associated dynamic feeds and their settings (including dynamic + * rules) for this dynamic profile version. + */ +@property(nonatomic, strong, nullable) NSArray *dynamicProfileFeedSettings; + +/** + * Output only. Version ID of this dynamic profile version. This is a + * read-only, auto-generated field. -1 for draft version, 0+ for published + * versions. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *versionId; + +@end + + +/** + * Contains dynamic rules information. + */ +@interface GTLRDfareporting_DynamicRules : GTLRObject + +/** + * Optional. List of field IDs in this element that should be auto-targeted. + * Applicable when rule type is AUTO. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *autoTargetedFieldIds; + +/** + * Optional. The custom rules of the dynamic feed, only applicable when rule + * type is CUSTOM. + */ +@property(nonatomic, strong, nullable) NSArray *customRules; + +/** + * Optional. Mapping between field ID and custom key that are used to match for + * auto filtering. + */ +@property(nonatomic, strong, nullable) NSArray *customValueFields; + +/** + * Optional. The proximity targeting rules of the dynamic feed, only applicable + * when rule type is PROXIMITY_TARGETING. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_ProximityFilter *proximityFilter; + +/** + * Optional. The link between an element field ID and a list of user attribute + * IDs. + */ +@property(nonatomic, strong, nullable) NSArray *remarketingValueAttributes; + +/** + * Optional. The rotation type to select from eligible rows. Rotation type only + * apply when the filtering rule results in more than one eligible rows. + * + * Likely values: + * @arg @c kGTLRDfareporting_DynamicRules_RotationType_Optimized The rotation + * type is optimized. (Value: "OPTIMIZED") + * @arg @c kGTLRDfareporting_DynamicRules_RotationType_Random The rotation + * type is random. It is the default value. (Value: "RANDOM") + * @arg @c kGTLRDfareporting_DynamicRules_RotationType_RotationTypeUnknown + * The rotation type is unknown. This value is unused. (Value: + * "ROTATION_TYPE_UNKNOWN") + * @arg @c kGTLRDfareporting_DynamicRules_RotationType_Weighted The rotation + * type is weighted. (Value: "WEIGHTED") + */ +@property(nonatomic, copy, nullable) NSString *rotationType; + +/** + * Optional. The type of the rule, the default value is OPEN. + * + * Likely values: + * @arg @c kGTLRDfareporting_DynamicRules_RuleType_Auto The rule type is + * auto, the feed rows are eligible for selection based on the automatic + * rules. (Value: "AUTO") + * @arg @c kGTLRDfareporting_DynamicRules_RuleType_Custom The rule type is + * custom, the feed rows are eligible for selection based on the custom + * rules. (Value: "CUSTOM") + * @arg @c kGTLRDfareporting_DynamicRules_RuleType_Open The rule type is + * open, all feed rows are eligible for selection. This is the default + * value. (Value: "OPEN") + * @arg @c kGTLRDfareporting_DynamicRules_RuleType_ProximityTargeting The + * rule type is proximity targeting, the feed rows are eligible for + * selection based on the proximity targeting rules. (Value: + * "PROXIMITY_TARGETING") + * @arg @c kGTLRDfareporting_DynamicRules_RuleType_RuleSetTypeUnknown The + * rule type is unknown. This value is unused. (Value: + * "RULE_SET_TYPE_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *ruleType; + +/** + * Optional. The field ID for the feed that will be used for weighted rotation, + * only applicable when rotation type is WEIGHTED. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *weightFieldId; + +@end + + /** * Contains properties of a dynamic targeting key. Dynamic targeting keys are * unique, user-friendly labels, created at the advertiser level in DCM, that @@ -9790,18 +11128,114 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P /** - * Dynamic Targeting Key List Response + * Dynamic Targeting Key List Response + */ +@interface GTLRDfareporting_DynamicTargetingKeysListResponse : GTLRObject + +/** Dynamic targeting key collection. */ +@property(nonatomic, strong, nullable) NSArray *dynamicTargetingKeys; + +/** + * Identifies what kind of resource this is. Value: the fixed string + * "dfareporting#dynamicTargetingKeysListResponse". + */ +@property(nonatomic, copy, nullable) NSString *kind; + +@end + + +/** + * Contains the element of the dynamic feed. + */ +@interface GTLRDfareporting_Element : GTLRObject + +/** + * Optional. The field ID to specify the active field in the feed. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *activeFieldId; + +/** + * Output only. The creation timestamp of the element. This is a read-only + * field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *createInfo; + +/** + * Optional. The field ID to specify the field that represents the default + * field in the feed. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *defaultFieldId; + +/** + * Optional. The name of the element. It is defaulted to resource file name if + * not provided. + */ +@property(nonatomic, copy, nullable) NSString *elementName; + +/** + * Optional. The field ID to specify the field that represents the end + * timestamp. Only applicable if you're planning to use scheduling in your + * dynamic creative. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *endTimestampFieldId; + +/** + * Required. The field ID to specify the field used for uniquely identifying + * the feed row. This is a required field. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *externalIdFieldId; + +/** + * Required. The list of fields of the element. The field order and name should + * match the meta data in the content source source. + */ +@property(nonatomic, strong, nullable) NSArray *feedFields; + +/** + * Optional. Whether the start and end timestamp is local timestamp. The + * default value is false which means start and end timestamp is in UTC. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isLocalTimestamp; + +/** + * Output only. The last modified timestamp of the element. This is a read-only + * field. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_LastModifiedInfo *lastModifiedInfo; + +/** + * Optional. The field ID that specify field used for proximity targeting. + * + * Uses NSNumber of intValue. */ -@interface GTLRDfareporting_DynamicTargetingKeysListResponse : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *proximityTargetingFieldId; -/** Dynamic targeting key collection. */ -@property(nonatomic, strong, nullable) NSArray *dynamicTargetingKeys; +/** + * Required. The field ID to specify the field used for dynamic reporting in + * Campaign Manager 360. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *reportingLabelFieldId; /** - * Identifies what kind of resource this is. Value: the fixed string - * "dfareporting#dynamicTargetingKeysListResponse". + * Optional. The field ID to specify the field that represents the start + * timestamp. Only applicable if you're planning to use scheduling in your + * dynamic creative. + * + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *kind; +@property(nonatomic, strong, nullable) NSNumber *startTimestampFieldId; @end @@ -10068,6 +11502,478 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Each field of the element. This is a required field. + */ +@interface GTLRDfareporting_FeedField : GTLRObject + +/** Optional. The default value of the field. */ +@property(nonatomic, copy, nullable) NSString *defaultValue; + +/** + * Optional. Whether the field is filterable. Could be set as true when the + * field type is any of the following and is not renderable: - STRING - BOOL - + * COUNTRY_CODE_ISO - CM360_SITE_ID - CM360_KEYWORD - CM360_CREATIVE_ID - + * CM360_PLACEMENT_ID - CM360_AD_ID - CM360_ADVERTISER_ID - CM360_CAMPAIGN_ID - + * CITY - REGION - POSTAL_CODE - METRO - CUSTOM_VALUE - REMARKETING_VALUE - + * GEO_CANONICAL - STRING_LIST - CREATIVE_DIMENSION - USERLIST_ID - + * CM360_DYNAMIC_TARGETING_KEY - DV360_LINE_ITEM_ID + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *filterable; + +/** + * Required. The ID of the field. The ID is based on the column index starting + * from 0, and it should match the column index in the resource link. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *identifier; + +/** Required. The name of the field. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Whether the field is able to display. Could be set as true when + * the field type is not in any of the following and the field is not + * filterable: - COUNTRY_CODE_ISO - CITY - REGION - POSTAL_CODE - METRO - + * GEO_CANONICAL - USERLIST_ID - CONTEXTUAL_KEYWORD - + * CM360_DYNAMIC_TARGETING_KEY - WEIGHT + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *renderable; + +/** + * Optional. Whether the field is required and should not be empty in the feed. + * Could be set as true when the field type is any of the following: - + * GPA_SERVED_IMAGE_URL - GPA_SERVED_ASSET_URL - ASSET_LIBRARY_HANDLE - + * ASSET_LIBRARY_VIDEO_HANDLE - ASSET_LIBRARY_DIRECTORY_HANDLE + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *required; + +/** + * Required. The type of the field. + * + * Likely values: + * @arg @c kGTLRDfareporting_FeedField_Type_AssetLibraryDirectoryHandle The + * field type is AssetLibrary directory path. (Value: + * "ASSET_LIBRARY_DIRECTORY_HANDLE") + * @arg @c kGTLRDfareporting_FeedField_Type_AssetLibraryHandle The field type + * is AssetLibrary path. (Value: "ASSET_LIBRARY_HANDLE") + * @arg @c kGTLRDfareporting_FeedField_Type_AssetLibraryVideoHandle The field + * type is AssetLibrary video file path. (Value: + * "ASSET_LIBRARY_VIDEO_HANDLE") + * @arg @c kGTLRDfareporting_FeedField_Type_Bool The field type is boolean. + * (Value: "BOOL") + * @arg @c kGTLRDfareporting_FeedField_Type_City The field type is cities. + * (Value: "CITY") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360AdId The field type is CM360 + * ad ID. (Value: "CM360_AD_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360AdvertiserId The field type + * is CM360 advertiser ID. (Value: "CM360_ADVERTISER_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360CampaignId The field type is + * CM360 campaign ID. (Value: "CM360_CAMPAIGN_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360CreativeId The field type is + * CM360 creative ID. (Value: "CM360_CREATIVE_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360DynamicTargetingKey The + * field type is CM dynamic targeting key. (Value: + * "CM360_DYNAMIC_TARGETING_KEY") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360Keyword The field type is + * custom CM360 ad tag parameter. (Value: "CM360_KEYWORD") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360PlacementId The field type + * is CM360 placement ID. (Value: "CM360_PLACEMENT_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_Cm360SiteId The field type is + * CM360 site ID. (Value: "CM360_SITE_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_CountryCodeIso The field type is + * the ISO 3166-2 alpha-2 codes. It is two-letter country codes defined + * in ISO 3166-1 published by the International Organization for + * Standardization. (Value: "COUNTRY_CODE_ISO") + * @arg @c kGTLRDfareporting_FeedField_Type_CreativeDimension The field type + * is creative dimension. (Value: "CREATIVE_DIMENSION") + * @arg @c kGTLRDfareporting_FeedField_Type_CustomValue The field type is + * custom value. (Value: "CUSTOM_VALUE") + * @arg @c kGTLRDfareporting_FeedField_Type_Datetime The field type is + * datetime. (Value: "DATETIME") + * @arg @c kGTLRDfareporting_FeedField_Type_Dv360LineItemId The field type is + * DV360 line item ID. (Value: "DV360_LINE_ITEM_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_ExitUrl The field type is exit + * url. (Value: "EXIT_URL") + * @arg @c kGTLRDfareporting_FeedField_Type_Float The field type is decimal. + * (Value: "FLOAT") + * @arg @c kGTLRDfareporting_FeedField_Type_GeoCanonical The field type is + * accurate geographic type. (Value: "GEO_CANONICAL") + * @arg @c kGTLRDfareporting_FeedField_Type_GpaServedAssetUrl The field type + * is asset url. (Value: "GPA_SERVED_ASSET_URL") + * @arg @c kGTLRDfareporting_FeedField_Type_GpaServedImageUrl The field type + * is image url (Value: "GPA_SERVED_IMAGE_URL") + * @arg @c kGTLRDfareporting_FeedField_Type_Long The field type is whole + * number. (Value: "LONG") + * @arg @c kGTLRDfareporting_FeedField_Type_Metro The field type is metro + * code. (Value: "METRO") + * @arg @c kGTLRDfareporting_FeedField_Type_PostalCode The field type is + * postal code. (Value: "POSTAL_CODE") + * @arg @c kGTLRDfareporting_FeedField_Type_Region The field type is region. + * (Value: "REGION") + * @arg @c kGTLRDfareporting_FeedField_Type_RemarketingValue The field type + * is remarketing value. (Value: "REMARKETING_VALUE") + * @arg @c kGTLRDfareporting_FeedField_Type_String The field type is text. + * (Value: "STRING") + * @arg @c kGTLRDfareporting_FeedField_Type_StringList The field type is a + * list of values. (Value: "STRING_LIST") + * @arg @c kGTLRDfareporting_FeedField_Type_ThirdPartyServedUrl The field + * type is third party served url. (Value: "THIRD_PARTY_SERVED_URL") + * @arg @c kGTLRDfareporting_FeedField_Type_TypeUnknown The type is + * unspecified. This is an unused value. (Value: "TYPE_UNKNOWN") + * @arg @c kGTLRDfareporting_FeedField_Type_UserlistId The field type is + * CM/DV360 Audience ID. (Value: "USERLIST_ID") + * @arg @c kGTLRDfareporting_FeedField_Type_Weight The field type is weight. + * (Value: "WEIGHT") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Contains the ingestion status of the dynamic feed. Feed ingestion is an + * asynchronous process. If the feed create request is successful, feed + * ingestion will be processed in the background, including validation, assets + * retrieval, and saving the data from the resource link. The processing time + * is dependent on the data size in the resource link. This read-only status + * field contains the current stage of that processing and its ingestion state. + */ +@interface GTLRDfareporting_FeedIngestionStatus : GTLRObject + +/** Output only. The ingestion error records of the feed. */ +@property(nonatomic, strong, nullable) NSArray *ingestionErrorRecords; + +/** Output only. The ingestion status of the feed. */ +@property(nonatomic, strong, nullable) GTLRDfareporting_IngestionStatus *ingestionStatus; + +/** + * Output only. The processing state of the feed. + * + * Likely values: + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_Cancelled The feed + * processing state is cancelled. (Value: "CANCELLED") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_FeedProcessingStateUnknown + * The feed processing state is unknown. (Value: + * "FEED_PROCESSING_STATE_UNKNOWN") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_IngestedFailure The + * feed processing state is ingested with failure. (Value: + * "INGESTED_FAILURE") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_IngestedSuccess The + * feed processing state is ingested successfully. (Value: + * "INGESTED_SUCCESS") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_Ingesting The feed + * processing state is ingesting. (Value: "INGESTING") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_IngestingQueued The + * feed processing state is ingesting queued. (Value: "INGESTING_QUEUED") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_PublishedFailure The + * feed processing state is published with failure. (Value: + * "PUBLISHED_FAILURE") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_PublishedSuccess The + * feed processing state is published successfully. (Value: + * "PUBLISHED_SUCCESS") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_Publishing The feed + * processing state is publishing. (Value: "PUBLISHING") + * @arg @c kGTLRDfareporting_FeedIngestionStatus_State_RequestToPublish The + * feed processing state is request to publish. (Value: + * "REQUEST_TO_PUBLISH") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Contains the schedule of the dynamic feed. + */ +@interface GTLRDfareporting_FeedSchedule : GTLRObject + +/** + * Optional. The number of times the feed retransforms within one day. This is + * a required field if the schedule is enabled. Acceptable values are between 1 + * to 6, inclusive. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *repeatValue; + +/** + * Optional. Whether the schedule is enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *scheduleEnabled; + +/** + * Optional. The hour of the day to start the feed. It is applicable if the + * repeat value is equal to 1. Default value is 0. + */ +@property(nonatomic, copy, nullable) NSString *startHour; + +/** + * Optional. The minute of the hour to start the feed. It is applicable if the + * repeat value is equal to 1. Default value is 0. + */ +@property(nonatomic, copy, nullable) NSString *startMinute; + +/** + * Optional. The time zone to schedule the feed. It is applicable if the repeat + * value is equal to 1. Default value is "America/Los_Angeles". + */ +@property(nonatomic, copy, nullable) NSString *timeZone; + +@end + + +/** + * Contains the field error of the dynamic feed. + */ +@interface GTLRDfareporting_FieldError : GTLRObject + +/** + * Output only. The ID of the field. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fieldId; + +/** Output only. The name of the field. */ +@property(nonatomic, copy, nullable) NSString *fieldName; + +/** Output only. The list of values of the field. */ +@property(nonatomic, strong, nullable) NSArray *fieldValues; + +/** + * Output only. The ingestion error of the field. + * + * Likely values: + * @arg @c kGTLRDfareporting_FieldError_IngestionError_AirportGeoTarget The + * ingestion error when a geo target is an airport. (Value: + * "AIRPORT_GEO_TARGET") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_AssetDownloadError The + * ingestion error when asset retrieval fails for a particular image or + * asset. (Value: "ASSET_DOWNLOAD_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_BoolParsingError The + * ingestion error when parsing the boolean value fails. (Value: + * "BOOL_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_CanonicalNameQueryMismatch + * The ingestion error when the geo target's canonical name does not + * match the query string used to obtain it. (Value: + * "CANONICAL_NAME_QUERY_MISMATCH") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_CountryParsingError + * The ingestion error when parsing the country code fails. (Value: + * "COUNTRY_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_CreativeDimensionParsingError + * The ingestion error when parsing the creative dimension value fails. + * (Value: "CREATIVE_DIMENSION_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_DatetimeParsingError + * The ingestion error when parsing the datetime value fails. (Value: + * "DATETIME_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_DatetimeWithoutTimezoneParsingError + * The ingestion error when parsing the datetime value fails. (Value: + * "DATETIME_WITHOUT_TIMEZONE_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_DuplicateId The + * ingestion error when the ID value is duplicate. (Value: + * "DUPLICATE_ID") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_DynamicTargetingKeyNotDefinedForAdvertiser + * The ingestion error when a targeting key used but not defined for the + * CM360 Advertiser. (Value: + * "DYNAMIC_TARGETING_KEY_NOT_DEFINED_FOR_ADVERTISER") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_EmptyValue The + * ingestion error when a required value is empty (Value: "EMPTY_VALUE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_EndtimeBeforeStarttime + * The ingestion error when the end time is before the start time. + * (Value: "ENDTIME_BEFORE_STARTTIME") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_EndtimePassed The + * ingestion error when the end time is passed. (Value: "ENDTIME_PASSED") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_EndtimeTooSoon The + * ingestion error when the end time is in the near future (i.e., <7 + * days). (Value: "ENDTIME_TOO_SOON") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_ExpandedUrlParsingError + * The ingestion error when parsing the expanded url fails. (Value: + * "EXPANDED_URL_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_FloatParsingError The + * ingestion error when parsing the float value fails. (Value: + * "FLOAT_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_GeoNotFoundError The + * ingestion error when a geo location is not found. (Value: + * "GEO_NOT_FOUND_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_GeoParsingError The + * ingestion error when parsing the geo field fails. (Value: + * "GEO_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_GeoProximityTargetingMultipleLocationError + * The ingestion error when a feed row has multiple geotargets with + * proximity targeting enabled. (Value: + * "GEO_PROXIMITY_TARGETING_MULTIPLE_LOCATION_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_IdTooLong The + * ingestion error when the ID value exceeds the string length limit. + * (Value: "ID_TOO_LONG") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_ImageAssetScsReference + * The ingestion error when Image field specifies a reference to an asset + * hosted on SCS (s0.2mdn.net/s0qa.2mdn.net). (Value: + * "IMAGE_ASSET_SCS_REFERENCE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryDirectoryHandle + * The ingestion error when the asset library directory handle is + * invalid. (Value: "INVALID_ASSET_LIBRARY_DIRECTORY_HANDLE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryHandle + * The ingestion error when the asset library handle is invalid. (Value: + * "INVALID_ASSET_LIBRARY_HANDLE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_InvalidAssetLibraryVideoHandle + * The ingestion error when the asset library video handle is invalid. + * (Value: "INVALID_ASSET_LIBRARY_VIDEO_HANDLE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_InvalidPreferenceValue + * The ingestion error when the preference value is not a positive float. + * (Value: "INVALID_PREFERENCE_VALUE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_LongParsingError The + * ingestion error when parsing the long value fails. (Value: + * "LONG_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_MetroCodeParsingError + * The ingestion error when parsing the metro code value fails. (Value: + * "METRO_CODE_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_MissingId The + * ingestion error when the ID value is missing. (Value: "MISSING_ID") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_MissingReportingLabel + * The ingestion error when the element value name used for reporting is + * missing. (Value: "MISSING_REPORTING_LABEL") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_MultivalueId The + * ingestion error when a STRING_LIST type ID has multiple values. + * (Value: "MULTIVALUE_ID") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_NoActiveDefaultRow The + * ingestion error or warning when the default row is not active. (Value: + * "NO_ACTIVE_DEFAULT_ROW") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_NoActiveDefaultRowInDateRange + * The ingestion error or warning when the default row is not in the date + * range. (Value: "NO_ACTIVE_DEFAULT_ROW_IN_DATE_RANGE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_NoDefaultRow The + * ingestion error or warning when the default row is not set. (Value: + * "NO_DEFAULT_ROW") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_NoDefaultRowInDateRange + * The ingestion error or warning when the default row is not in the date + * range. (Value: "NO_DEFAULT_ROW_IN_DATE_RANGE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_ParsingError The + * ingestion error when parsing the field fails. (Value: "PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_PayloadLimitExceeded + * The ingestion error when when the payload of the record is above a + * threshold. (Value: "PAYLOAD_LIMIT_EXCEEDED") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_PostalCodeParsingError + * The ingestion error when parsing the postal code value fails. (Value: + * "POSTAL_CODE_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_SslNotCompliant The + * ingestion error or warning when the field is not SSL compliant. + * (Value: "SSL_NOT_COMPLIANT") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_TextAssetReference The + * ingestion error when a text field specifies a reference to an asset. + * (Value: "TEXT_ASSET_REFERENCE") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_UnknownParsingError + * The ingestion error is unknown. (Value: "UNKNOWN_PARSING_ERROR") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_UserlistIdNotAccessibleForAdvertiser + * The ingestion error when the userlist ID is not accessible for the + * CM360 Advertiser. (Value: "USERLIST_ID_NOT_ACCESSIBLE_FOR_ADVERTISER") + * @arg @c kGTLRDfareporting_FieldError_IngestionError_WeightParsingError The + * ingestion error when parsing the weight value fails. (Value: + * "WEIGHT_PARSING_ERROR") + */ +@property(nonatomic, copy, nullable) NSString *ingestionError; + +/** + * Output only. Incidcates whether the field has error or warning. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isError; + +@end + + +/** + * Contains field filter information. + */ +@interface GTLRDfareporting_FieldFilter : GTLRObject + +/** + * Optional. The boolean values, only applicable when rhs_value_type is BOOL. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boolValue; + +/** + * Optional. The dependent values, only applicable when rhs_value_type is + * DEPENDENT. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_DependentFieldValue *dependentFieldValue; + +/** + * Optional. The field ID on the left hand side of the expression. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fieldId; + +/** + * Optional. Left hand side of the expression match type. + * + * Likely values: + * @arg @c kGTLRDfareporting_FieldFilter_MatchType_Equals The left hand side + * of the expression is equals. (Value: "EQUALS") + * @arg @c kGTLRDfareporting_FieldFilter_MatchType_EqualsOrUnrestricted The + * left hand side of the expression is equals or unrestricted. It is the + * default value. (Value: "EQUALS_OR_UNRESTRICTED") + * @arg @c kGTLRDfareporting_FieldFilter_MatchType_LhsMatchTypeUnknown The + * left hand side of the expression is unknown. This value is unused. + * (Value: "LHS_MATCH_TYPE_UNKNOWN") + * @arg @c kGTLRDfareporting_FieldFilter_MatchType_NotEquals Left hand side + * of the expression is not equals. Not equals specifies which fields + * should not be targeted. (Value: "NOT_EQUALS") + * @arg @c kGTLRDfareporting_FieldFilter_MatchType_Unrestricted The left hand + * side of the expression is unrestricted. Unrestricted is used to target + * fields with no restrictions. For example, country targeting fields + * hold a list of countries. If the list is empty, we consider the + * element value to have no restrictions. (Value: "UNRESTRICTED") + */ +@property(nonatomic, copy, nullable) NSString *matchType; + +/** + * Optional. The request value, only applicable when rhs_value_type is REQUEST. + */ +@property(nonatomic, strong, nullable) GTLRDfareporting_RequestValue *requestValue; + +/** + * Optional. The string value, only applicable when rhs_value_type is STRING. + */ +@property(nonatomic, copy, nullable) NSString *stringValue; + +/** + * Optional. Right hand side of the expression. + * + * Likely values: + * @arg @c kGTLRDfareporting_FieldFilter_ValueType_Bool The right hand side + * of the expression is a boolean. (Value: "BOOL") + * @arg @c kGTLRDfareporting_FieldFilter_ValueType_Dependent The right hand + * side of the expression is a dependent field value. (Value: + * "DEPENDENT") + * @arg @c kGTLRDfareporting_FieldFilter_ValueType_Request The right hand + * side of the expression is a request value. (Value: "REQUEST") + * @arg @c kGTLRDfareporting_FieldFilter_ValueType_RhsValueTypeUnknown The + * right hand side of the expression is unknown. This value is unused. + * (Value: "RHS_VALUE_TYPE_UNKNOWN") + * @arg @c kGTLRDfareporting_FieldFilter_ValueType_String The right hand side + * of the expression is a string. (Value: "STRING") + */ +@property(nonatomic, copy, nullable) NSString *valueType; + +@end + + /** * Represents a File resource. A file contains the metadata for a report run. * It shows the status of the run and holds the URLs to the generated report @@ -11057,6 +12963,64 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains the ingestion error record of the dynamic feed. limited to 100 + * records. + */ +@interface GTLRDfareporting_IngestionErrorRecord : GTLRObject + +/** Output only. The list of field errors of the ingestion error record. */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** Output only. The record ID of the ingestion error record. */ +@property(nonatomic, copy, nullable) NSString *recordId; + +@end + + +/** + * Contains the ingestion status of the dynamic feed. + */ +@interface GTLRDfareporting_IngestionStatus : GTLRObject + +/** + * Output only. The number of active rows in the feed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numActiveRows; + +/** + * Output only. The number of rows processed in the feed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numRowsProcessed; + +/** + * Output only. The total number of rows in the feed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numRowsTotal; + +/** + * Output only. The number of rows with errors in the feed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numRowsWithErrors; + +/** + * Output only. The total number of warnings in the feed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numWarningsTotal; + +@end + + /** * Represents a buy from the Planning inventory store. */ @@ -13973,6 +15937,62 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains proximity filter information. + */ +@interface GTLRDfareporting_ProximityFilter : GTLRObject + +/** + * Optional. Field ID in the element. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fieldId; + +/** + * Optional. The radius bucket type of the proximity filter + * + * Likely values: + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusBucketType_Large The + * radius bucket type is large. (Value: "LARGE") + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusBucketType_Medium The + * radius bucket type is medium. (Value: "MEDIUM") + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusBucketType_MultiRegional + * The radius bucket type is multi-regional. (Value: "MULTI_REGIONAL") + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusBucketType_National The + * radius bucket type is national. (Value: "NATIONAL") + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusBucketType_RadiusBucketTypeUnknown + * The radius bucket type is unknown. (Value: + * "RADIUS_BUCKET_TYPE_UNKNOWN") + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusBucketType_Small The + * radius bucket type is small. (Value: "SMALL") + */ +@property(nonatomic, copy, nullable) NSString *radiusBucketType; + +/** + * Optional. The units of the radius value + * + * Likely values: + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusUnitType_Kilometers The + * units of the radius value are kilometers. (Value: "KILOMETERS") + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusUnitType_Miles The units + * of the radius value are miles. (Value: "MILES") + * @arg @c kGTLRDfareporting_ProximityFilter_RadiusUnitType_RadiusUnitTypeUnknown + * The units of the radius value are unknown. This value is unused. + * (Value: "RADIUS_UNIT_TYPE_UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *radiusUnitType; + +/** + * Optional. Radius length in units defined by radius_units. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *radiusValue; + +@end + + /** * Represents fields that are compatible to be selected for a report of type * "REACH". @@ -14290,6 +16310,28 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains remarketing value attribute information. + */ +@interface GTLRDfareporting_RemarketingValueAttribute : GTLRObject + +/** + * Optional. Field ID in the element. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fieldId; + +/** + * Optional. Remarketing user attribute IDs for auto filtering. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *userAttributeIds; + +@end + + /** * Represents a Report resource. */ @@ -14959,6 +17001,36 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains request value information. + */ +@interface GTLRDfareporting_RequestValue : GTLRObject + +/** + * Optional. User attribute IDs in the request that should be excluded. Used + * only when the field type is REMARKETING_VALUE or USER_ATTRIBUTE_ID. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *excludeFromUserAttributeIds; + +/** + * Optional. Custom key in the request. Used only when the field type is + * CUSTOM_VALUE. + */ +@property(nonatomic, copy, nullable) NSString *key; + +/** + * Optional. User attribute IDs in the request. Used only when the field type + * is REMARKETING_VALUE or USER_ATTRIBUTE_ID. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSArray *userAttributeIds; + +@end + + /** * Rich Media Exit Override. */ @@ -15017,6 +17089,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * Contains a list of field filters that the given custom rule will apply. + */ +@interface GTLRDfareporting_RuleBlock : GTLRObject + +/** Optional. A list of non-auto field filters */ +@property(nonatomic, strong, nullable) NSArray *fieldFilter; + +@end + + /** * Contains properties of a site. */ diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h index 1f5a4726a..4ff180227 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingQuery.h @@ -4901,6 +4901,130 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareportingTypesVpaidNonLinearVideo; @end +/** + * Gets a dynamic feed by ID. + * + * Method: dfareporting.dynamicFeeds.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDfareportingDfatrafficking + */ +@interface GTLRDfareportingQuery_DynamicFeedsGet : GTLRDfareportingQuery + +/** Required. Dynamic feed ID. */ +@property(nonatomic, assign) long long dynamicFeedId; + +/** + * Fetches a @c GTLRDfareporting_DynamicFeed. + * + * Gets a dynamic feed by ID. + * + * @param dynamicFeedId Required. Dynamic feed ID. + * + * @return GTLRDfareportingQuery_DynamicFeedsGet + */ ++ (instancetype)queryWithDynamicFeedId:(long long)dynamicFeedId; + +@end + +/** + * Inserts a new dynamic feed. + * + * Method: dfareporting.dynamicFeeds.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeDfareportingDfatrafficking + */ +@interface GTLRDfareportingQuery_DynamicFeedsInsert : GTLRDfareportingQuery + +/** + * Fetches a @c GTLRDfareporting_DynamicFeed. + * + * Inserts a new dynamic feed. + * + * @param object The @c GTLRDfareporting_DynamicFeedsInsertRequest to include + * in the query. + * + * @return GTLRDfareportingQuery_DynamicFeedsInsert + */ ++ (instancetype)queryWithObject:(GTLRDfareporting_DynamicFeedsInsertRequest *)object; + +@end + +/** + * Gets a dynamic profile by ID. + * + * Method: dfareporting.dynamicProfiles.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDfareportingDfatrafficking + */ +@interface GTLRDfareportingQuery_DynamicProfilesGet : GTLRDfareportingQuery + +/** Required. Dynamic profile ID. */ +@property(nonatomic, assign) long long dynamicProfileId; + +/** + * Fetches a @c GTLRDfareporting_DynamicProfile. + * + * Gets a dynamic profile by ID. + * + * @param dynamicProfileId Required. Dynamic profile ID. + * + * @return GTLRDfareportingQuery_DynamicProfilesGet + */ ++ (instancetype)queryWithDynamicProfileId:(long long)dynamicProfileId; + +@end + +/** + * Inserts a new dynamic profile. + * + * Method: dfareporting.dynamicProfiles.insert + * + * Authorization scope(s): + * @c kGTLRAuthScopeDfareportingDfatrafficking + */ +@interface GTLRDfareportingQuery_DynamicProfilesInsert : GTLRDfareportingQuery + +/** + * Fetches a @c GTLRDfareporting_DynamicProfile. + * + * Inserts a new dynamic profile. + * + * @param object The @c GTLRDfareporting_DynamicProfile to include in the + * query. + * + * @return GTLRDfareportingQuery_DynamicProfilesInsert + */ ++ (instancetype)queryWithObject:(GTLRDfareporting_DynamicProfile *)object; + +@end + +/** + * Updates an existing dynamic profile. + * + * Method: dfareporting.dynamicProfiles.update + * + * Authorization scope(s): + * @c kGTLRAuthScopeDfareportingDfatrafficking + */ +@interface GTLRDfareportingQuery_DynamicProfilesUpdate : GTLRDfareportingQuery + +/** + * Fetches a @c GTLRDfareporting_DynamicProfile. + * + * Updates an existing dynamic profile. + * + * @param object The @c GTLRDfareporting_DynamicProfile to include in the + * query. + * + * @return GTLRDfareportingQuery_DynamicProfilesUpdate + */ ++ (instancetype)queryWithObject:(GTLRDfareporting_DynamicProfile *)object; + +@end + /** * Deletes an existing dynamic targeting key. * diff --git a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m index 2e42a83a2..f26fd165c 100644 --- a/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m +++ b/Sources/GeneratedServices/Dialogflow/GTLRDialogflowObjects.m @@ -265,6 +265,13 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsRequest_MergeOption_Replace = @"REPLACE"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsRequest_MergeOption_ReportConflict = @"REPORT_CONFLICT"; +// GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema.type +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Array = @"ARRAY"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Boolean = @"BOOLEAN"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_DataTypeUnspecified = @"DATA_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Number = @"NUMBER"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_String = @"STRING"; + // GTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig.audioEncoding NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_AudioEncoding_AudioEncodingAlaw = @"AUDIO_ENCODING_ALAW"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig_AudioEncoding_AudioEncodingAmr = @"AUDIO_ENCODING_AMR"; @@ -318,6 +325,20 @@ NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo_State_Invalid = @"INVALID"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo_State_ParameterStateUnspecified = @"PARAMETER_STATE_UNSPECIFIED"; +// GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition.type +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Boolean = @"BOOLEAN"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_List = @"LIST"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Null = @"NULL"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Number = @"NUMBER"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Object = @"OBJECT"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_ParameterTypeUnspecified = @"PARAMETER_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_String = @"STRING"; + +// GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook.playbookType +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_PlaybookTypeUnspecified = @"PLAYBOOK_TYPE_UNSPECIFIED"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Routine = @"ROUTINE"; +NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Task = @"TASK"; + // GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy.mainPlaybookImportStrategy NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy_MainPlaybookImportStrategy_ImportStrategyCreateNew = @"IMPORT_STRATEGY_CREATE_NEW"; NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy_MainPlaybookImportStrategy_ImportStrategyKeep = @"IMPORT_STRATEGY_KEEP"; @@ -846,8 +867,8 @@ // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Action -@dynamic agentUtterance, flowInvocation, playbookInvocation, toolUse, - userUtterance; +@dynamic agentUtterance, flowInvocation, flowTransition, playbookInvocation, + playbookTransition, toolUse, userUtterance; @end @@ -3728,8 +3749,9 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FilterSpecs @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Flow @dynamic advancedSettings, descriptionProperty, displayName, eventHandlers, - knowledgeConnectorSettings, locked, multiLanguageSettings, name, - nluSettings, transitionRouteGroups, transitionRoutes; + inputParameterDefinitions, knowledgeConnectorSettings, locked, + multiLanguageSettings, name, nluSettings, outputParameterDefinitions, + transitionRouteGroups, transitionRoutes; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -3738,6 +3760,8 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Flow + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"eventHandlers" : [GTLRDialogflow_GoogleCloudDialogflowCxV3EventHandler class], + @"inputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], + @"outputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], @"transitionRouteGroups" : [NSString class], @"transitionRoutes" : [GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionRoute class] }; @@ -3785,6 +3809,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FlowMultiLanguageSetting @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition +@dynamic displayName, flow; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3FlowValidationResult @@ -4305,6 +4339,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3InlineDestination @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema +@dynamic items, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSource @@ -5171,6 +5215,21 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParamete @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition +@dynamic descriptionProperty, name, type, typeSchema; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase @@ -5187,13 +5246,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase // @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook -@dynamic createTime, displayName, goal, handlers, instruction, llmModelSettings, - name, referencedFlows, referencedPlaybooks, referencedTools, +@dynamic createTime, displayName, goal, handlers, inputParameterDefinitions, + instruction, llmModelSettings, name, outputParameterDefinitions, + playbookType, referencedFlows, referencedPlaybooks, referencedTools, tokenCount, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"handlers" : [GTLRDialogflow_GoogleCloudDialogflowCxV3Handler class], + @"inputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], + @"outputParameterDefinitions" : [GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition class], @"referencedFlows" : [NSString class], @"referencedPlaybooks" : [NSString class], @"referencedTools" : [NSString class] @@ -5281,6 +5343,16 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookStep @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition +@dynamic displayName, playbook; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookVersion @@ -6574,6 +6646,26 @@ @implementation GTLRDialogflow_GoogleCloudDialogflowCxV3TurnSignals @end +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema +@dynamic inlineSchema, schemaReference; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference +// + +@implementation GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference +@dynamic schema, tool; +@end + + // ---------------------------------------------------------------------------- // // GTLRDialogflow_GoogleCloudDialogflowCxV3UserUtterance diff --git a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h index 17862fb04..056356659 100644 --- a/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h +++ b/Sources/GeneratedServices/Dialogflow/Public/GoogleAPIClientForREST/GTLRDialogflowObjects.h @@ -178,6 +178,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowImportStrategy; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowInvocation; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowMultiLanguageSettings; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FlowValidationResult; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Form; @class GTLRDialogflow_GoogleCloudDialogflowCxV3FormParameter; @@ -202,6 +203,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineDestination; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSource; @class GTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Intent; @@ -224,6 +226,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfo; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfo; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Phrase; @class GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy; @@ -232,6 +235,7 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookInvocation; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookOutput; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookStep; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookVersion; @class GTLRDialogflow_GoogleCloudDialogflowCxV3QueryInput; @class GTLRDialogflow_GoogleCloudDialogflowCxV3QueryParameters; @@ -317,6 +321,8 @@ @class GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage; @class GTLRDialogflow_GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition; @class GTLRDialogflow_GoogleCloudDialogflowCxV3TurnSignals; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema; +@class GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference; @class GTLRDialogflow_GoogleCloudDialogflowCxV3UserUtterance; @class GTLRDialogflow_GoogleCloudDialogflowCxV3ValidationMessage; @class GTLRDialogflow_GoogleCloudDialogflowCxV3VariantsHistory; @@ -1819,6 +1825,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Impo */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ImportIntentsRequest_MergeOption_ReportConflict; +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema.type + +/** + * Represents a repeated value. + * + * Value: "ARRAY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Array; +/** + * Represents a boolean value. + * + * Value: "BOOLEAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Boolean; +/** + * Not specified. + * + * Value: "DATA_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_DataTypeUnspecified; +/** + * Represents any number value. + * + * Value: "NUMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Number; +/** + * Represents any string value. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_String; + // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowCxV3InputAudioConfig.audioEncoding @@ -2116,6 +2156,74 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Page */ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo_State_ParameterStateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition.type + +/** + * Represents a boolean value. + * + * Value: "BOOLEAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Boolean; +/** + * Represents a repeated value. + * + * Value: "LIST" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_List; +/** + * Represents a null value. + * + * Value: "NULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Null; +/** + * Represents any number value. + * + * Value: "NUMBER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Number; +/** + * Represents any object value. + * + * Value: "OBJECT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Object; +/** + * Not specified. No validation will be performed. + * + * Value: "PARAMETER_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_ParameterTypeUnspecified; +/** + * Represents any string value. + * + * Value: "STRING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_String; + +// ---------------------------------------------------------------------------- +// GTLRDialogflow_GoogleCloudDialogflowCxV3Playbook.playbookType + +/** + * Unspecified type. Default to TASK. + * + * Value: "PLAYBOOK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_PlaybookTypeUnspecified; +/** + * Routine playbook. + * + * Value: "ROUTINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Routine; +/** + * Task playbook. + * + * Value: "TASK" + */ +FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Task; + // ---------------------------------------------------------------------------- // GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookImportStrategy.mainPlaybookImportStrategy @@ -4775,12 +4883,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3FlowInvocation *flowInvocation; +/** + * Optional. Action performed on behalf of the agent by transitioning to a + * target CX flow. + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition *flowTransition; + /** * Optional. Action performed on behalf of the agent by invoking a child * playbook. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookInvocation *playbookInvocation; +/** + * Optional. Action performed on behalf of the agent by transitioning to a + * target playbook. + */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition *playbookTransition; + /** * Optional. Action performed on behalf of the agent by calling a plugin tool. */ @@ -10826,6 +10946,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSArray *eventHandlers; +/** Optional. Defined structured input parameters for this flow. */ +@property(nonatomic, strong, nullable) NSArray *inputParameterDefinitions; + /** Optional. Knowledge connector configuration. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3KnowledgeConnectorSettings *knowledgeConnectorSettings; @@ -10849,6 +10972,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 /** NLU related settings of the flow. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3NluSettings *nluSettings; +/** Optional. Defined structured output parameters for this flow. */ +@property(nonatomic, strong, nullable) NSArray *outputParameterDefinitions; + /** * A flow's transition route group serve two purposes: * They are responsible * for matching the user's first utterances in the flow. * They are inherited @@ -10973,6 +11099,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Stores metadata of the transition to a target CX flow. Flow transition + * actions exit the caller playbook and enter the child flow. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3FlowTransition : GTLRObject + +/** Output only. The display name of the flow. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. The unique identifier of the flow. Format: + * `projects//locations//agents/`. + */ +@property(nonatomic, copy, nullable) NSString *flow; + +@end + + /** * The response message for Flows.GetFlowValidationResult. */ @@ -11976,6 +12120,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * A type schema object that's specified inline. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema : GTLRObject + +/** Schema of the elements if this is an ARRAY type. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema *items; + +/** + * Data type of the schema. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Array + * Represents a repeated value. (Value: "ARRAY") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Boolean + * Represents a boolean value. (Value: "BOOLEAN") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_DataTypeUnspecified + * Not specified. (Value: "DATA_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_Number + * Represents any number value. (Value: "NUMBER") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema_Type_String + * Represents any string value. (Value: "STRING") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Inline source for a Dialogflow operation that reads or imports objects (e.g. * intents) into Dialogflow. @@ -13617,6 +13789,50 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Defines the properties of a parameter. Used to define parameters used in the + * agent and the input / output parameters for each fulfillment. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition : GTLRObject + +/** + * Human-readable description of the parameter. Limited to 300 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** Required. Name of parameter. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Type of parameter. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Boolean + * Represents a boolean value. (Value: "BOOLEAN") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_List + * Represents a repeated value. (Value: "LIST") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Null + * Represents a null value. (Value: "NULL") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Number + * Represents any number value. (Value: "NUMBER") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_Object + * Represents any object value. (Value: "OBJECT") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_ParameterTypeUnspecified + * Not specified. No validation will be performed. (Value: + * "PARAMETER_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3ParameterDefinition_Type_String + * Represents any string value. (Value: "STRING") + */ +@property(nonatomic, copy, nullable) NSString *type GTLR_DEPRECATED; + +/** Optional. Type schema of parameter. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema *typeSchema; + +@end + + /** * Text input which can be used for prompt or banned phrases. */ @@ -13659,6 +13875,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, strong, nullable) NSArray *handlers; +/** Optional. Defined structured input parameters for this playbook. */ +@property(nonatomic, strong, nullable) NSArray *inputParameterDefinitions; + /** Instruction to accomplish target goal. */ @property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookInstruction *instruction; @@ -13671,6 +13890,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. Defined structured output parameters for this playbook. */ +@property(nonatomic, strong, nullable) NSArray *outputParameterDefinitions; + +/** + * Optional. Type of the playbook. + * + * Likely values: + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_PlaybookTypeUnspecified + * Unspecified type. Default to TASK. (Value: + * "PLAYBOOK_TYPE_UNSPECIFIED") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Routine + * Routine playbook. (Value: "ROUTINE") + * @arg @c kGTLRDialogflow_GoogleCloudDialogflowCxV3Playbook_PlaybookType_Task + * Task playbook. (Value: "TASK") + */ +@property(nonatomic, copy, nullable) NSString *playbookType; + /** * Output only. The resource name of flows referenced by the current playbook * in the instructions. @@ -13895,6 +14131,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Stores metadata of the transition to another target playbook. Playbook + * transition actions exit the caller playbook and enter the target playbook. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3PlaybookTransition : GTLRObject + +/** Output only. The display name of the playbook. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Required. The unique identifier of the playbook. Format: + * `projects//locations//agents//playbooks/`. + */ +@property(nonatomic, copy, nullable) NSString *playbook; + +@end + + /** * Playbook version is a snapshot of the playbook at certain timestamp. */ @@ -15198,7 +15452,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 */ @interface GTLRDialogflow_GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings : GTLRObject -/** Filename pattern for exported audio. */ +/** + * Filename pattern for exported audio. {conversation} and {timestamp} are + * placeholders that will be replaced with the conversation ID and epoch micros + * of the conversation. For example, + * "{conversation}/recording_{timestamp}.mulaw". + */ @property(nonatomic, copy, nullable) NSString *audioExportPattern; /** @@ -16559,6 +16818,38 @@ FOUNDATION_EXTERN NSString * const kGTLRDialogflow_GoogleCloudDialogflowV3alpha1 @end +/** + * Encapsulates different type schema variations: either a reference to an a + * schema that's already defined by a tool, or an inline definition. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchema : GTLRObject + +/** Set if this is an inline schema definition. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3InlineSchema *inlineSchema; + +/** Set if this is a schema reference. */ +@property(nonatomic, strong, nullable) GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference *schemaReference; + +@end + + +/** + * A reference to the schema of an existing tool. + */ +@interface GTLRDialogflow_GoogleCloudDialogflowCxV3TypeSchemaSchemaReference : GTLRObject + +/** The name of the schema. */ +@property(nonatomic, copy, nullable) NSString *schema; + +/** + * The tool that contains this schema definition. Format: + * `projects//locations//agents//tools/`. + */ +@property(nonatomic, copy, nullable) NSString *tool; + +@end + + /** * UserUtterance represents one message sent by the customer. */ diff --git a/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h b/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h index 459147c1b..c704e0f44 100644 --- a/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h +++ b/Sources/GeneratedServices/DigitalAssetLinks/Public/GoogleAPIClientForREST/GTLRDigitalAssetLinksObjects.h @@ -429,7 +429,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDigitalAssetLinks_ListResponse_ErrorCode */ @property(nonatomic, copy, nullable) NSString *debugString; -/** Error codes that describe the result of the Check operation. */ +/** + * Error codes that describe the result of the Check operation. NOTE: Error + * codes may be populated even when `linked` is true. The error codes do not + * necessarily imply that the request failed, but rather, specify any errors + * encountered in the statements file(s) which may or may not impact whether + * the server determines the requested source and target to be linked. + */ @property(nonatomic, strong, nullable) NSArray *errorCode; /** diff --git a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m index b008c47a2..9f80bca6c 100644 --- a/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m +++ b/Sources/GeneratedServices/Directory/GTLRDirectoryObjects.m @@ -70,6 +70,12 @@ NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_EnterpriseUpgradePerpetual = @"enterpriseUpgradePerpetual"; NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_KioskUpgrade = @"kioskUpgrade"; +// GTLRDirectory_ChromeOsDevice.osVersionCompliance +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_ComplianceUnspecified = @"complianceUnspecified"; +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Compliant = @"compliant"; +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_NotCompliant = @"notCompliant"; +NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Pending = @"pending"; + // GTLRDirectory_ChromeosdevicesCommand.state NSString * const kGTLRDirectory_ChromeosdevicesCommand_State_AckedByClient = @"ACKED_BY_CLIENT"; NSString * const kGTLRDirectory_ChromeosdevicesCommand_State_Cancelled = @"CANCELLED"; @@ -626,9 +632,10 @@ @implementation GTLRDirectory_ChromeOsDevice extendedSupportStart, fanInfo, firmwareVersion, firstEnrollmentTime, kind, lastDeprovisionTimestamp, lastEnrollmentTime, lastKnownNetwork, lastSync, macAddress, manufactureDate, meid, model, notes, orderNumber, - orgUnitId, orgUnitPath, osUpdateStatus, osVersion, platformVersion, - recentUsers, screenshotFiles, serialNumber, status, supportEndDate, - systemRamFreeReports, systemRamTotal, tpmVersionInfo, willAutoRenew; + orgUnitId, orgUnitPath, osUpdateStatus, osVersion, osVersionCompliance, + platformVersion, recentUsers, screenshotFiles, serialNumber, status, + supportEndDate, systemRamFreeReports, systemRamTotal, tpmVersionInfo, + willAutoRenew; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"ETag" : @"etag" }; diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h index 09c9bd167..830ffba31 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryObjects.h @@ -405,6 +405,34 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseTy */ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_DeviceLicenseType_KioskUpgrade; +// ---------------------------------------------------------------------------- +// GTLRDirectory_ChromeOsDevice.osVersionCompliance + +/** + * Compliance status unspecified. + * + * Value: "complianceUnspecified" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_ComplianceUnspecified; +/** + * Compliance status compliant. + * + * Value: "compliant" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Compliant; +/** + * Compliance status not compliant. + * + * Value: "notCompliant" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_NotCompliant; +/** + * Compliance status pending. + * + * Value: "pending" + */ +FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Pending; + // ---------------------------------------------------------------------------- // GTLRDirectory_ChromeosdevicesCommand.state @@ -457,7 +485,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesCommand_State_S /** * Capture the system logs of a kiosk device. The logs can be downloaded from * the downloadUrl link present in `deviceFiles` field of - * [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [chromeosdevices](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * * Value: "CAPTURE_LOGS" */ @@ -486,7 +514,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesCommand_Type_Fe * that contains various system logs and debug data from a ChromeOS device. The * support packet can be downloaded from the downloadURL link present in the * `deviceFiles` field of - * [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [`chromeosdevices`](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * * Value: "FETCH_SUPPORT_PACKET" */ @@ -565,7 +593,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesCommandResult_R /** * Capture the system logs of a kiosk device. The logs can be downloaded from * the downloadUrl link present in `deviceFiles` field of - * [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [chromeosdevices](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * * Value: "CAPTURE_LOGS" */ @@ -594,7 +622,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_ChromeosdevicesIssueCommandReq * that contains various system logs and debug data from a ChromeOS device. The * support packet can be downloaded from the downloadURL link present in the * `deviceFiles` field of - * [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [`chromeosdevices`](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * * Value: "FETCH_SUPPORT_PACKET" */ @@ -1801,7 +1829,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * Google Chrome devices run on the [Chrome * OS](https://support.google.com/chromeos). For more information about common * API tasks, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-chrome-devices). + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-chrome-devices). */ @interface GTLRDirectory_ChromeOsDevice : GTLRObject @@ -2061,7 +2089,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * plan. If the device does not have this information, this property is not * included in the response. For more information on how to export a MEID/IMEI * list, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-chrome-devices.html#export_meid). + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-chrome-devices.html#export_meid). */ @property(nonatomic, copy, nullable) NSString *meid; @@ -2074,9 +2102,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * Notes about this device added by the administrator. This property can be * [searched](https://support.google.com/chrome/a/answer/1698333) with the - * [list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method's - * `query` parameter. Maximum length is 500 characters. Empty values are - * allowed. + * [list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) + * method's `query` parameter. Maximum length is 500 characters. Empty values + * are allowed. */ @property(nonatomic, copy, nullable) NSString *notes; @@ -2091,7 +2119,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * version of orgUnitId. While orgUnitPath may change by renaming an * organizational unit within the path, orgUnitId is unchangeable for one * organizational unit. This property can be - * [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) + * [updated](https://developers.google.com/workspace/admin/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) * using the API. For more information about how to create an organizational * structure for your device, see the [administration help * center](https://support.google.com/a/answer/182433). @@ -2103,7 +2131,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * device. Path names are case insensitive. If the parent organizational unit * is the top-level organization, it is represented as a forward slash, `/`. * This property can be - * [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) + * [updated](https://developers.google.com/workspace/admin/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) * using the API. For more information about how to create an organizational * structure for your device, see the [administration help * center](https://support.google.com/a/answer/182433). @@ -2116,6 +2144,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** The Chrome device's operating system version. */ @property(nonatomic, copy, nullable) NSString *osVersion; +/** + * Output only. Compliance status of the OS version. + * + * Likely values: + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_ComplianceUnspecified + * Compliance status unspecified. (Value: "complianceUnspecified") + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Compliant + * Compliance status compliant. (Value: "compliant") + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_NotCompliant + * Compliance status not compliant. (Value: "notCompliant") + * @arg @c kGTLRDirectory_ChromeOsDevice_OsVersionCompliance_Pending + * Compliance status pending. (Value: "pending") + */ +@property(nonatomic, copy, nullable) NSString *osVersionCompliance; + /** The Chrome device's platform version. */ @property(nonatomic, copy, nullable) NSString *platformVersion; @@ -2562,7 +2605,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * @arg @c kGTLRDirectory_ChromeosdevicesCommand_Type_CaptureLogs Capture the * system logs of a kiosk device. The logs can be downloaded from the * downloadUrl link present in `deviceFiles` field of - * [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [chromeosdevices](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * (Value: "CAPTURE_LOGS") * @arg @c kGTLRDirectory_ChromeosdevicesCommand_Type_CommandTypeUnspecified * The command type was unspecified. (Value: "COMMAND_TYPE_UNSPECIFIED") @@ -2578,7 +2621,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * archive that contains various system logs and debug data from a * ChromeOS device. The support packet can be downloaded from the * downloadURL link present in the `deviceFiles` field of - * [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [`chromeosdevices`](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * (Value: "FETCH_SUPPORT_PACKET") * @arg @c kGTLRDirectory_ChromeosdevicesCommand_Type_Reboot Reboot the * device. Can be issued to Kiosk and managed guest session devices, and @@ -2667,7 +2710,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * @arg @c kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_CaptureLogs * Capture the system logs of a kiosk device. The logs can be downloaded * from the downloadUrl link present in `deviceFiles` field of - * [chromeosdevices](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [chromeosdevices](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * (Value: "CAPTURE_LOGS") * @arg @c kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_CommandTypeUnspecified * The command type was unspecified. (Value: "COMMAND_TYPE_UNSPECIFIED") @@ -2683,7 +2726,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * archive that contains various system logs and debug data from a * ChromeOS device. The support packet can be downloaded from the * downloadURL link present in the `deviceFiles` field of - * [`chromeosdevices`](https://developers.google.com/admin-sdk/directory/reference/rest/v1/chromeosdevices) + * [`chromeosdevices`](https://developers.google.com/workspace/admin/directory/reference/rest/v1/chromeosdevices) * (Value: "FETCH_SUPPORT_PACKET") * @arg @c kGTLRDirectory_ChromeosdevicesIssueCommandRequest_CommandType_Reboot * Reboot the device. Can be issued to Kiosk and managed guest session @@ -2802,7 +2845,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * Required. The [unique - * ID](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers) + * ID](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customers) * of the customer's Google Workspace account. Format: `customers/{id}` */ @property(nonatomic, copy, nullable) NSString *parent; @@ -2812,7 +2855,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * under a specific organizational unit (OU), then populate the `org_unit_id`. * Otherwise the print server is created under the root OU. The `org_unit_id` * can be retrieved using the [Directory - * API](https://developers.google.com/admin-sdk/directory/v1/guides/manage-org-units). + * API](https://developers.google.com/workspace/admin/directory/v1/guides/manage-org-units). */ @property(nonatomic, strong, nullable) GTLRDirectory_PrintServer *printServer; @@ -2856,9 +2899,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The customer's ISO 639-2 language code. See the [Language - * Codes](/admin-sdk/directory/v1/languages) page for the list of supported - * codes. Valid language codes outside the supported set will be accepted by - * the API but may lead to unexpected behavior. The default value is `en`. + * Codes](https://developers.google.com/workspace/admin/directory/v1/languages) + * page for the list of supported codes. Valid language codes outside the + * supported set will be accepted by the API but may lead to unexpected + * behavior. The default value is `en`. */ @property(nonatomic, copy, nullable) NSString *language; @@ -3265,12 +3309,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * Google Groups provide your users the ability to send messages to groups of * people using the group's email address. For more information about common * tasks, see the [Developer's - * Guide](https://developers.google.com/admin-sdk/directory/v1/guides/manage-groups). + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-groups). * For information about other types of groups, see the [Cloud Identity Groups * API documentation](https://cloud.google.com/identity/docs/groups). Note: The * user calling the API (or being impersonated by a service account) must have * an assigned - * [role](https://developers.google.com/admin-sdk/directory/v1/guides/manage-roles) + * [role](https://developers.google.com/workspace/admin/directory/v1/guides/manage-roles) * that includes Admin API Groups permissions, such as Super Admin or Groups * Admin. */ @@ -3499,7 +3543,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * A Google Groups member can be a user or another group. This member can be * inside or outside of your account's domains. For more information about * common group member tasks, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-group-members). + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-group-members). */ @interface GTLRDirectory_Member : GTLRObject @@ -3602,7 +3646,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * Google Workspace Mobile Management includes Android, [Google * Sync](https://support.google.com/a/answer/135937), and iOS devices. For more * information about common group mobile device API tasks, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices.html). + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile-devices.html). */ @interface GTLRDirectory_MobileDevice : GTLRObject @@ -3661,9 +3705,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The list of the owner's email addresses. If your application needs the * current list of user emails, use the - * [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For - * additional information, see the [retrieve a - * user](/admin-sdk/directory/v1/guides/manage-users#get_user) method. + * [get](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/get.html) + * method. For additional information, see the [retrieve a + * user](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#get_user) + * method. */ @property(nonatomic, strong, nullable) NSArray *email; @@ -3723,18 +3768,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The mobile device's model name, for example Nexus S. This property can be - * [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For - * more information, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-mobile=devices#update_mobile_device). + * [updated](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/update.html). + * For more information, see the [Developer's + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile=devices#update_mobile_device). */ @property(nonatomic, copy, nullable) NSString *model; /** * The list of the owner's user names. If your application needs the current * list of device owner names, use the - * [get](/admin-sdk/directory/v1/reference/mobiledevices/get.html) method. For - * more information about retrieving mobile device user information, see the - * [Developer's Guide](/admin-sdk/directory/v1/guides/manage-users#get_user). + * [get](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/get.html) + * method. For more information about retrieving mobile device user + * information, see the [Developer's + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#get_user). */ @property(nonatomic, strong, nullable) NSArray *name; @@ -3744,9 +3790,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The mobile device's operating system, for example IOS 4.3 or Android 2.3.5. * This property can be - * [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For - * more information, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device). + * [updated](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/update.html). + * For more information, see the [Developer's + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile-devices#update_mobile_device). */ @property(nonatomic, copy, nullable) NSString *os; @@ -3794,9 +3840,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * Gives information about the device such as `os` version. This property can - * be [updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). + * be + * [updated](https://developers.google.com/workspace/admin/directory/v1/reference/mobiledevices/update.html). * For more information, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices#update_mobile_device). + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-mobile-devices#update_mobile_device). */ @property(nonatomic, copy, nullable) NSString *userAgent; @@ -3885,8 +3932,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * Managing your account's organizational units allows you to configure your * users' access to services and custom settings. For more information about * common organizational unit tasks, see the [Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-org-units.html). The customer's - * organizational unit hierarchy is limited to 35 levels of depth. + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-org-units.html). + * The customer's organizational unit hierarchy is limited to 35 levels of + * depth. */ @interface GTLRDirectory_OrgUnit : GTLRObject @@ -3935,7 +3983,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * information about organization structures, see the [administration help * center](https://support.google.com/a/answer/4352075). For more information * about moving a user to a different organization, see [Update a - * user](/admin-sdk/directory/v1/guides/manage-users.html#update_user). + * user](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html#update_user). */ @property(nonatomic, copy, nullable) NSString *orgUnitPath; @@ -4144,7 +4192,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * only be set when the print server is initially created. If it's not * populated, the print server is placed under the root OU. The `org_unit_id` * can be retrieved using the [Directory - * API](/admin-sdk/directory/reference/rest/v1/orgunits). + * API](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits). */ @property(nonatomic, copy, nullable) NSString *orgUnitId; @@ -4311,7 +4359,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The obfuscated ID of the service this privilege is for. This value is * returned with - * [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list). + * [`Privileges.list()`](https://developers.google.com/workspace/admin/directory/v1/reference/privileges/list). */ @property(nonatomic, copy, nullable) NSString *serviceId; @@ -4403,7 +4451,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * The obfuscated ID of the service this privilege is for. This value is * returned with - * [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list). + * [`Privileges.list()`](https://developers.google.com/workspace/admin/directory/v1/reference/privileges/list). */ @property(nonatomic, copy, nullable) NSString *serviceId; @@ -4455,8 +4503,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * 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 + * syntax](https://cloud.google.com/iam/docs/conditions-overview). - 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', @@ -4597,7 +4644,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * fields to store information such as the projects your users work on, their * physical locations, their hire dates, or whatever else fits your business * needs. For more information, see [Custom User - * Fields](/admin-sdk/directory/v1/guides/manage-schemas). + * Fields](https://developers.google.com/workspace/admin/directory/v1/guides/manage-schemas). */ @interface GTLRDirectory_SchemaFieldSpec : GTLRObject @@ -4646,7 +4693,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * Specifies who can view values of this field. See [Retrieve users as a - * non-administrator](/admin-sdk/directory/v1/guides/manage-users#retrieve_users_non_admin) + * non-administrator](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#retrieve_users_non_admin) * for more information. Note: It may take up to 24 hours for changes to this * field to be reflected. */ @@ -4818,9 +4865,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us * The Directory API allows you to create and manage your account's users, user * aliases, and user Google profile photos. For more information about common * tasks, see the [User Accounts Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-users.html) and the [User - * Aliases Developer's - * Guide](/admin-sdk/directory/v1/guides/manage-user-aliases.html). + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html) + * and the [User Aliases Developer's + * Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-user-aliases.html). */ @interface GTLRDirectory_User : GTLRObject @@ -4864,12 +4911,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us /** * Output only. The customer ID to [retrieve all account - * users](/admin-sdk/directory/v1/guides/manage-users.html#get_all_users). You - * can use the alias `my_customer` to represent your account's `customerId`. As - * a reseller administrator, you can use the resold customer account's - * `customerId`. To get a `customerId`, use the account's primary domain in the - * `domain` parameter of a - * [users.list](/admin-sdk/directory/v1/reference/users/list) request. + * users](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html#get_all_users). + * You can use the alias `my_customer` to represent your account's + * `customerId`. As a reseller administrator, you can use the resold customer + * account's `customerId`. To get a `customerId`, use the account's primary + * domain in the `domain` parameter of a + * [users.list](https://developers.google.com/workspace/admin/directory/v1/reference/users/list) + * request. */ @property(nonatomic, copy, nullable) NSString *customerId; @@ -4954,15 +5002,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectory_RoleAssignment_AssigneeType_Us @property(nonatomic, strong, nullable) NSNumber *ipWhitelisted; /** - * Output only. Indicates a user with super admininistrator privileges. The + * Output only. Indicates a user with super administrator privileges. The * `isAdmin` property can only be edited in the [Make a user an - * administrator](/admin-sdk/directory/v1/guides/manage-users.html#make_admin) + * administrator](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html#make_admin) * operation ( - * [makeAdmin](/admin-sdk/directory/v1/reference/users/makeAdmin.html) method). - * If edited in the user - * [insert](/admin-sdk/directory/v1/reference/users/insert.html) or - * [update](/admin-sdk/directory/v1/reference/users/update.html) methods, the - * edit is ignored by the API service. + * [makeAdmin](https://developers.google.com/workspace/admin/directory/v1/reference/users/makeAdmin.html) + * method). If edited in the user + * [insert](https://developers.google.com/workspace/admin/directory/v1/reference/users/insert.html) + * or + * [update](https://developers.google.com/workspace/admin/directory/v1/reference/users/update.html) + * methods, the edit is ignored by the API service. * * Uses NSNumber of boolValue. */ diff --git a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h index e0138d392..b3cc80d1b 100644 --- a/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h +++ b/Sources/GeneratedServices/Directory/Public/GoogleAPIClientForREST/GTLRDirectoryQuery.h @@ -362,7 +362,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDirectoryViewTypeDomainPublic; /** * Use - * [BatchChangeChromeOsDeviceStatus](/admin-sdk/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) + * [BatchChangeChromeOsDeviceStatus](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) * instead. Takes an action that affects a Chrome OS Device. This includes * deprovisioning, disabling, and re-enabling devices. *Warning:* * * Deprovisioning a device will stop device policy syncing and remove @@ -386,14 +386,15 @@ GTLR_DEPRECATED * The unique ID for the customer's Google Workspace account. As an account * administrator, you can also use the `my_customer` alias to represent your * account's `customerId`. The `customerId` is also returned as part of the - * [Users resource](/admin-sdk/directory/v1/reference/users). + * [Users + * resource](https://developers.google.com/workspace/admin/directory/v1/reference/users). */ @property(nonatomic, copy, nullable) NSString *customerId; /** * The unique ID of the device. The `resourceId`s are returned in the response * from the - * [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) + * [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) * method. */ @property(nonatomic, copy, nullable) NSString *resourceId; @@ -403,7 +404,7 @@ GTLR_DEPRECATED * be nil. This query does not fetch an object. * * Use - * [BatchChangeChromeOsDeviceStatus](/admin-sdk/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) + * [BatchChangeChromeOsDeviceStatus](https://developers.google.com/workspace/admin/directory/reference/rest/v1/customer.devices.chromeos/batchChangeStatus) * instead. Takes an action that affects a Chrome OS Device. This includes * deprovisioning, disabling, and re-enabling devices. *Warning:* * * Deprovisioning a device will stop device policy syncing and remove @@ -420,10 +421,11 @@ GTLR_DEPRECATED * @param customerId The unique ID for the customer's Google Workspace account. * As an account administrator, you can also use the `my_customer` alias to * represent your account's `customerId`. The `customerId` is also returned - * as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * as part of the [Users + * resource](https://developers.google.com/workspace/admin/directory/v1/reference/users). * @param resourceId The unique ID of the device. The `resourceId`s are * returned in the response from the - * [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) + * [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) * method. * * @return GTLRDirectoryQuery_ChromeosdevicesAction @@ -449,14 +451,15 @@ GTLR_DEPRECATED * The unique ID for the customer's Google Workspace account. As an account * administrator, you can also use the `my_customer` alias to represent your * account's `customerId`. The `customerId` is also returned as part of the - * [Users resource](/admin-sdk/directory/v1/reference/users). + * [Users + * resource](https://developers.google.com/workspace/admin/directory/v1/reference/users). */ @property(nonatomic, copy, nullable) NSString *customerId; /** * The unique ID of the device. The `deviceId`s are returned in the response * from the - * [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) + * [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) * method. */ @property(nonatomic, copy, nullable) NSString *deviceId; @@ -482,10 +485,11 @@ GTLR_DEPRECATED * @param customerId The unique ID for the customer's Google Workspace account. * As an account administrator, you can also use the `my_customer` alias to * represent your account's `customerId`. The `customerId` is also returned - * as part of the [Users resource](/admin-sdk/directory/v1/reference/users). + * as part of the [Users + * resource](https://developers.google.com/workspace/admin/directory/v1/reference/users). * @param deviceId The unique ID of the device. The `deviceId`s are returned in * the response from the - * [chromeosdevices.list](/admin-sdk/directory/v1/reference/chromeosdevices/list) + * [chromeosdevices.list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) * method. * * @return GTLRDirectoryQuery_ChromeosdevicesGet @@ -510,7 +514,8 @@ GTLR_DEPRECATED * The unique ID for the customer's Google Workspace account. As an account * administrator, you can also use the `my_customer` alias to represent your * account's `customerId`. The `customerId` is also returned as part of the - * [Users resource](/admin-sdk/directory/v1/reference/users). + * [Users + * resource](https://developers.google.com/workspace/admin/directory/v1/reference/users). */ @property(nonatomic, copy, nullable) NSString *customerId; @@ -544,7 +549,7 @@ GTLR_DEPRECATED * entered when the device was enabled. (Value: "serialNumber") * @arg @c kGTLRDirectoryOrderByStatus Chrome device status. For more * information, see the *)propertyToJSONKeyMap { + return @{ @"inlineProperty" : @"inline" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataContentTypeInfo +// + +@implementation GTLRDiscoveryEngine_GdataContentTypeInfo +@dynamic bestGuess, fromBytes, fromFileName, fromHeader, fromUrlPath; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataDiffChecksumsResponse +// + +@implementation GTLRDiscoveryEngine_GdataDiffChecksumsResponse +@dynamic checksumsLocation, chunkSizeBytes, objectLocation, objectSizeBytes, + objectVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataDiffDownloadResponse +// + +@implementation GTLRDiscoveryEngine_GdataDiffDownloadResponse +@dynamic objectLocation; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataDiffUploadRequest +// + +@implementation GTLRDiscoveryEngine_GdataDiffUploadRequest +@dynamic checksumsInfo, objectInfo, objectVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataDiffUploadResponse +// + +@implementation GTLRDiscoveryEngine_GdataDiffUploadResponse +@dynamic objectVersion, originalObject; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataDiffVersionResponse +// + +@implementation GTLRDiscoveryEngine_GdataDiffVersionResponse +@dynamic objectSizeBytes, objectVersion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataDownloadParameters +// + +@implementation GTLRDiscoveryEngine_GdataDownloadParameters +@dynamic allowGzipCompression, ignoreRange; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataMedia +// + +@implementation GTLRDiscoveryEngine_GdataMedia +@dynamic algorithm, bigstoreObjectRef, blobRef, blobstore2Info, compositeMedia, + contentType, contentTypeInfo, cosmoBinaryReference, crc32cHash, + diffChecksumsResponse, diffDownloadResponse, diffUploadRequest, + diffUploadResponse, diffVersionResponse, downloadParameters, filename, + hashProperty, hashVerified, inlineProperty, isPotentialRetry, length, + md5Hash, mediaId, objectId, path, referenceType, sha1Hash, sha256Hash, + timestamp, token; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"hashProperty" : @"hash", + @"inlineProperty" : @"inline" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"compositeMedia" : [GTLRDiscoveryEngine_GdataCompositeMedia class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GdataObjectId +// + +@implementation GTLRDiscoveryEngine_GdataObjectId +@dynamic bucketName, generation, objectName; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleApiDistribution @@ -1415,6 +1658,138 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocat @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest +@dynamic boostSpec, experimentIds, includeTailSuggestions, query, queryModel, + suggestionTypes, suggestionTypeSpecs, userInfo, userPseudoId; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"experimentIds" : [NSString class], + @"suggestionTypes" : [NSString class], + @"suggestionTypeSpecs" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec +@dynamic conditionBoostSpecs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditionBoostSpecs" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec +@dynamic boost, condition; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec +@dynamic maxSuggestions, suggestionType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse +@dynamic contentSuggestions, peopleSuggestions, querySuggestions, + recentSearchSuggestions, tailMatchTriggered; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"contentSuggestions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion class], + @"peopleSuggestions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion class], + @"querySuggestions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion class], + @"recentSearchSuggestions" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion +@dynamic contentType, dataStore, destinationUri, document, iconUri, score, + suggestion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion +@dynamic dataStore, destinationUri, displayPhotoUri, document, personType, + score, suggestion; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion +@dynamic completableFieldPaths, dataStore, score, suggestion; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"completableFieldPaths" : [NSString class], + @"dataStore" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion +@dynamic recentSearchTime, score, suggestion; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig @@ -1451,7 +1826,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAclConfig // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig -@dynamic actionParams, isActionConfigured, serviceName; +@dynamic actionParams, isActionConfigured, serviceName, useStaticSecrets; @end @@ -2264,12 +2639,12 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnect autoRunDisabled, bapConfig, blockingReasons, connectorModes, connectorType, createEuaSaas, createTime, dataSource, destinationConfigs, endUserConfig, entities, errors, - identityRefreshInterval, identityScheduleConfig, - incrementalRefreshInterval, incrementalSyncDisabled, kmsKeyName, - lastSyncTime, latestPauseTime, name, nextSyncTime, params, - privateConnectivityProjectId, realtimeState, realtimeSyncConfig, - refreshInterval, state, staticIpAddresses, staticIpEnabled, syncMode, - updateTime; + hybridIngestionDisabled, identityRefreshInterval, + identityScheduleConfig, incrementalRefreshInterval, + incrementalSyncDisabled, kmsKeyName, lastSyncTime, latestPauseTime, + name, nextSyncTime, params, privateConnectivityProjectId, + realtimeState, realtimeSyncConfig, refreshInterval, state, + staticIpAddresses, staticIpEnabled, syncMode, updateTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2345,7 +2720,17 @@ + (Class)classForAdditionalProperties { // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig -@dynamic realtimeSyncSecret, webhookUri; +@dynamic realtimeSyncSecret, streamingError, webhookUri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError +@dynamic error, streamingErrorReason; @end @@ -2668,8 +3053,9 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentPro // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig -@dynamic enableImageAnnotation, enableTableAnnotation, excludeHtmlClasses, - excludeHtmlElements, excludeHtmlIds, structuredContentTypes; +@dynamic enableGetProcessedDocument, enableImageAnnotation, + enableTableAnnotation, excludeHtmlClasses, excludeHtmlElements, + excludeHtmlIds, structuredContentTypes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2944,6 +3330,25 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationE @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata +@dynamic createTime, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaExportMetricsResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaExportMetricsResponse +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig @@ -3952,7 +4357,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchReque // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec -@dynamic filterExtractionCondition, geoSearchQueryDetectionFieldNames; +@dynamic extractedFilterBehavior, filterExtractionCondition, + geoSearchQueryDetectionFieldNames; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5019,6 +5425,263 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer +@dynamic assistSkippedReasons, name, replies, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assistSkippedReasons" : [NSString class], + @"replies" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply +@dynamic groundedContent; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant +@dynamic customerPolicy, enabledTools, generationConfig, name, webGroundingType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools + ++ (Class)classForAdditionalProperties { + return [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent +@dynamic codeExecutionResult, executableCode, file, inlineData, role, text, + thought; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentBlob +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentBlob +@dynamic data, mimeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult +@dynamic outcome, output; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentExecutableCode +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentExecutableCode +@dynamic code; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentFile +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentFile +@dynamic fileId, mimeType; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy +@dynamic bannedPhrases; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bannedPhrases" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase +@dynamic ignoreDiacritics, matchType, phrase; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig +@dynamic defaultLanguage, systemInstruction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction +@dynamic additionalSystemInstruction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent +@dynamic content, textGroundingMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata +@dynamic references, segments; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"references" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference class], + @"segments" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference +@dynamic content, documentMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata +@dynamic document, domain, pageIdentifier, title, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment +@dynamic endIndex, groundingScore, referenceIndices, startIndex, text; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"referenceIndices" : [NSNumber class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo +@dynamic toolDisplayName, toolName; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList +@dynamic toolInfo; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"toolInfo" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistUserMetadata +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistUserMetadata +@dynamic preferredLanguageCode, timeZone; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata @@ -5674,8 +6337,9 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProc // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig -@dynamic enableImageAnnotation, enableTableAnnotation, excludeHtmlClasses, - excludeHtmlElements, excludeHtmlIds, structuredContentTypes; +@dynamic enableGetProcessedDocument, enableImageAnnotation, + enableTableAnnotation, excludeHtmlClasses, excludeHtmlElements, + excludeHtmlIds, structuredContentTypes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -6639,7 +7303,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchReques // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec -@dynamic filterExtractionCondition, geoSearchQueryDetectionFieldNames; +@dynamic extractedFilterBehavior, filterExtractionCondition, + geoSearchQueryDetectionFieldNames; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -7145,7 +7810,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkChunkMetada // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkDocumentMetadata -@dynamic structData, title, uri; +@dynamic mimeType, structData, title, uri; @end @@ -7957,8 +8622,9 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessi // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig -@dynamic enableImageAnnotation, enableTableAnnotation, excludeHtmlClasses, - excludeHtmlElements, excludeHtmlIds, structuredContentTypes; +@dynamic enableGetProcessedDocument, enableImageAnnotation, + enableTableAnnotation, excludeHtmlClasses, excludeHtmlElements, + excludeHtmlIds, structuredContentTypes; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -9039,7 +9705,17 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProject // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequest -@dynamic acceptDataUseTerms, dataUseTermsVersion; +@dynamic acceptDataUseTerms, dataUseTermsVersion, saasParams; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams +@dynamic acceptBizQos; @end @@ -9479,7 +10155,8 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest @dynamic boostSpec, branch, canonicalFilter, contentSearchSpec, dataStoreSpecs, displaySpec, facetSpecs, filter, imageQuery, languageCode, offset, oneBoxPageSize, orderBy, pageSize, pageToken, params, query, - queryExpansionSpec, relevanceScoreSpec, relevanceThreshold, safeSearch, + queryExpansionSpec, rankingExpression, rankingExpressionBackend, + relevanceScoreSpec, relevanceThreshold, safeSearch, searchAsYouTypeSpec, session, sessionSpec, spellCorrectionSpec, userInfo, userLabels, userPseudoId; @@ -9839,7 +10516,7 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseQu // @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult -@dynamic chunk, document, identifier, modelScores; +@dynamic chunk, document, identifier, modelScores, rankSignals; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -9862,6 +10539,36 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals +@dynamic boostingFactor, customSignals, defaultRank, documentAge, + keywordSimilarityScore, pctrRank, relevanceScore, + semanticSimilarityScore, topicalityRank; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"customSignals" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal +@dynamic name, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSessionInfo @@ -10147,6 +10854,102 @@ @implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SpannerSource @end +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequest +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequest +@dynamic generationSpec, query, session, toolsSpec, userMetadata; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec +@dynamic modelId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec +@dynamic imageGenerationSpec, vertexAiSearchSpec, videoGenerationSpec, + webGroundingSpec; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec +@dynamic dataStoreSpecs, filter; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dataStoreSpecs" : [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponse +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponse +@dynamic answer, assistToken, sessionInfo; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo +// + +@implementation GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo +@dynamic session; +@end + + // ---------------------------------------------------------------------------- // // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SuggestionDenyListEntry diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m index d0e35ab32..2657b9879 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineQuery.m @@ -16,6 +16,34 @@ @implementation GTLRDiscoveryEngineQuery @end +@implementation GTLRDiscoveryEngineQuery_MediaDownload + +@dynamic fileId, name, viewId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:downloadFile"; + GTLRDiscoveryEngineQuery_MediaDownload *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GdataMedia class]; + query.loggingName = @"discoveryengine.media.download"; + return query; +} + ++ (instancetype)queryForMediaWithName:(NSString *)name { + GTLRDiscoveryEngineQuery_MediaDownload *query = + [self queryWithName:name]; + query.downloadAsDataObjectType = @"media"; + query.useMediaDownloadService = YES; + query.loggingName = @"Download discoveryengine.media.download"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCmekConfigsDelete @dynamic name; @@ -422,6 +450,33 @@ + (instancetype)queryWithDataStore:(NSString *)dataStore { @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQuery + +@dynamic completionConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest *)object + completionConfig:(NSString *)completionConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"completionConfig" ]; + NSString *pathURITemplate = @"v1/{+completionConfig}:completeQuery"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.completionConfig = completionConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.dataStores.completionConfig.completeQuery"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImport @dynamic parent; @@ -1990,6 +2045,106 @@ + (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.assistants.get"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant *)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_ProjectsLocationsCollectionsEnginesAssistantsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.assistants.patch"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsStreamAssist + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequest *)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}:streamAssist"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsStreamAssist *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.assistants.streamAssist"; + return query; +} + +@end + +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQuery + +@dynamic completionConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest *)object + completionConfig:(NSString *)completionConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"completionConfig" ]; + NSString *pathURITemplate = @"v1/{+completionConfig}:completeQuery"; + GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.completionConfig = completionConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.collections.engines.completionConfig.completeQuery"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesControlsCreate @dynamic controlId, parent; @@ -3029,6 +3184,33 @@ + (instancetype)queryWithDataStore:(NSString *)dataStore { @end +@implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompletionConfigCompleteQuery + +@dynamic completionConfig; + ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest *)object + completionConfig:(NSString *)completionConfig { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"completionConfig" ]; + NSString *pathURITemplate = @"v1/{+completionConfig}:completeQuery"; + GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompletionConfigCompleteQuery *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.completionConfig = completionConfig; + query.expectedObjectClass = [GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse class]; + query.loggingName = @"discoveryengine.projects.locations.dataStores.completionConfig.completeQuery"; + return query; +} + +@end + @implementation GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompletionSuggestionsImport @dynamic parent; diff --git a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m index ab32a1641..db2973d26 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m +++ b/Sources/GeneratedServices/DiscoveryEngine/GTLRDiscoveryEngineService.m @@ -11,9 +11,10 @@ #import // ---------------------------------------------------------------------------- -// Authorization scope +// Authorization scopes -NSString * const kGTLRAuthScopeDiscoveryEngineCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; +NSString * const kGTLRAuthScopeDiscoveryEngineCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; +NSString * const kGTLRAuthScopeDiscoveryEngineCloudSearchQuery = @"https://www.googleapis.com/auth/cloud_search.query"; // ---------------------------------------------------------------------------- // GTLRDiscoveryEngineService diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h index 8046f82c5..df4dd087e 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineObjects.h @@ -14,6 +14,16 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif +@class GTLRDiscoveryEngine_GdataBlobstore2Info; +@class GTLRDiscoveryEngine_GdataCompositeMedia; +@class GTLRDiscoveryEngine_GdataContentTypeInfo; +@class GTLRDiscoveryEngine_GdataDiffChecksumsResponse; +@class GTLRDiscoveryEngine_GdataDiffDownloadResponse; +@class GTLRDiscoveryEngine_GdataDiffUploadRequest; +@class GTLRDiscoveryEngine_GdataDiffUploadResponse; +@class GTLRDiscoveryEngine_GdataDiffVersionResponse; +@class GTLRDiscoveryEngine_GdataDownloadParameters; +@class GTLRDiscoveryEngine_GdataObjectId; @class GTLRDiscoveryEngine_GoogleApiDistribution; @class GTLRDiscoveryEngine_GoogleApiDistributionBucketOptions; @class GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExplicit; @@ -38,6 +48,13 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingImportErrorContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingServiceContext; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AlloyDbSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig; @@ -92,6 +109,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AdditionalParams; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AuthParams; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params; @@ -240,6 +258,26 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentBlob; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentExecutableCode; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentFile; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistUserMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource; @@ -429,6 +467,7 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Principal; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Project_ServiceTermsMap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProjectServiceTerms; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PurgeDocumentsRequestInlineSource; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PurgeErrorConfig; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1PurgeIdentityMappingsRequestInlineSource; @@ -473,6 +512,8 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseQueryExpansionInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult_ModelScores; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSessionInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummary; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSummaryCitation; @@ -491,6 +532,13 @@ @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Sitemap; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SiteVerificationInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SpannerSource; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec; +@class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SuggestionDenyListEntry; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSite; @class GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1TargetSiteFailureReason; @@ -527,6 +575,256 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- // Constants - For some of the classes' properties below. +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GdataCompositeMedia.referenceType + +/** + * Reference points to a bigstore object + * + * Value: "BIGSTORE_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_BigstoreRef; +/** + * Reference points to a blobstore object. This could be either a v1 blob_ref + * or a v2 blobstore2_info. Clients should check blobstore2_info first, since + * v1 is being deprecated. + * + * Value: "BLOB_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_BlobRef; +/** + * Indicates the data is stored in cosmo_binary_reference. + * + * Value: "COSMO_BINARY_REFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_CosmoBinaryReference; +/** + * Data is included into this proto buffer + * + * Value: "INLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_Inline; +/** + * Reference contains a GFS path or a local path. + * + * Value: "PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_Path; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GdataMedia.referenceType + +/** + * Informs Scotty to generate a response payload with the size specified in the + * length field. The contents of the payload are generated by Scotty and are + * undefined. This is useful for testing download speeds between the user and + * Scotty without involving a real payload source. Note: range is not supported + * when using arbitrary_bytes. + * + * Value: "ARBITRARY_BYTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_ArbitraryBytes; +/** + * Reference points to a bigstore object + * + * Value: "BIGSTORE_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_BigstoreRef; +/** + * Reference points to a blobstore object. This could be either a v1 blob_ref + * or a v2 blobstore2_info. Clients should check blobstore2_info first, since + * v1 is being deprecated. + * + * Value: "BLOB_REF" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_BlobRef; +/** + * The content for this media object is stored across multiple partial media + * objects under the composite_media field. + * + * Value: "COMPOSITE_MEDIA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_CompositeMedia; +/** + * Indicates the data is stored in cosmo_binary_reference. + * + * Value: "COSMO_BINARY_REFERENCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_CosmoBinaryReference; +/** + * Indicates the data is stored in diff_checksums_response. + * + * Value: "DIFF_CHECKSUMS_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffChecksumsResponse; +/** + * Indicates the data is stored in diff_download_response. + * + * Value: "DIFF_DOWNLOAD_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffDownloadResponse; +/** + * Indicates the data is stored in diff_upload_request. + * + * Value: "DIFF_UPLOAD_REQUEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffUploadRequest; +/** + * Indicates the data is stored in diff_upload_response. + * + * Value: "DIFF_UPLOAD_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffUploadResponse; +/** + * Indicates the data is stored in diff_version_response. + * + * Value: "DIFF_VERSION_RESPONSE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffVersionResponse; +/** + * Data should be accessed from the current service using the operation + * GetMedia. + * + * Value: "GET_MEDIA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_GetMedia; +/** + * Data is included into this proto buffer + * + * Value: "INLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_Inline; +/** + * Reference contains a GFS path or a local path. + * + * Value: "PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GdataMedia_ReferenceType_Path; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest.suggestionTypes + +/** + * Returns content suggestions. + * + * Value: "CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest_SuggestionTypes_Content; +/** + * Returns Google Workspace suggestions. + * + * Value: "GOOGLE_WORKSPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest_SuggestionTypes_GoogleWorkspace; +/** + * Returns people suggestions. + * + * Value: "PEOPLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest_SuggestionTypes_People; +/** + * Returns query suggestions. + * + * Value: "QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest_SuggestionTypes_Query; +/** + * Returns recent search suggestions. + * + * Value: "RECENT_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest_SuggestionTypes_RecentSearch; +/** + * Default value. + * + * Value: "SUGGESTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest_SuggestionTypes_SuggestionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec.suggestionType + +/** + * Returns content suggestions. + * + * Value: "CONTENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_Content; +/** + * Returns Google Workspace suggestions. + * + * Value: "GOOGLE_WORKSPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_GoogleWorkspace; +/** + * Returns people suggestions. + * + * Value: "PEOPLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_People; +/** + * Returns query suggestions. + * + * Value: "QUERY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_Query; +/** + * Returns recent search suggestions. + * + * Value: "RECENT_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_RecentSearch; +/** + * Default value. + * + * Value: "SUGGESTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_SuggestionTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion.contentType + +/** + * Default value. + * + * Value: "CONTENT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion_ContentType_ContentTypeUnspecified; +/** + * The suggestion is from a Google Workspace source. + * + * Value: "GOOGLE_WORKSPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion_ContentType_GoogleWorkspace; +/** + * The suggestion is from a third party source. + * + * Value: "THIRD_PARTY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion_ContentType_ThirdParty; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion.personType + +/** + * The suggestion is from a GOOGLE_IDENTITY source. + * + * Value: "CLOUD_IDENTITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion_PersonType_CloudIdentity; +/** + * Default value. + * + * Value: "PERSON_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion_PersonType_PersonTypeUnspecified; +/** + * The suggestion is from a THIRD_PARTY_IDENTITY source. + * + * Value: "THIRD_PARTY_IDENTITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion_PersonType_ThirdPartyIdentity; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment.enrollState @@ -1488,12 +1786,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "PERIODIC" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Periodic; -/** - * The data will be synced with Scala Sync, a data ingestion solution. - * - * Value: "SCALA_SYNC" - */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_ScalaSync; /** * The data will be synced in real time. * @@ -1507,6 +1799,35 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Unspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError.streamingErrorReason + +/** + * Ingress endpoint is required when setting up realtime sync in private + * connectivity. + * + * Value: "INGRESS_ENDPOINT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_IngressEndpointRequired; +/** + * Streaming error reason unspecified. + * + * Value: "STREAMING_ERROR_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_StreamingErrorReasonUnspecified; +/** + * Some error occurred while setting up resources for realtime sync. + * + * Value: "STREAMING_SETUP_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_StreamingSetupError; +/** + * Some error was encountered while running realtime sync for the connector. + * + * Value: "STREAMING_SYNC_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_StreamingSyncError; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore.contentConfig @@ -2505,6 +2826,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingEnabled; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec.extractedFilterBehavior + +/** + * `EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for + * extracted filters. For single datastore search, the default is to apply as + * hard filters. For multi-datastore search, the default is to apply as soft + * boosts. + * + * Value: "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_ExtractedFilterBehaviorUnspecified; +/** + * Applies all extracted filters as hard filters on the results. Results that + * do not pass the extracted filters will not be returned in the result set. + * + * Value: "HARD_FILTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_HardFilter; +/** + * Applies all extracted filters as soft boosts. Results that pass the filters + * will be boosted up to higher ranks in the result set. + * + * Value: "SOFT_BOOST" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_SoftBoost; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec.filterExtractionCondition @@ -2776,6 +3124,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "ASSIGNED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Assigned; +/** + * User is blocked from assigning a license. + * + * Value: "BLOCKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Blocked; /** * Default value. * @@ -3241,6 +3595,146 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer.assistSkippedReasons + +/** + * Default value. Skip reason is not specified. + * + * Value: "ASSIST_SKIPPED_REASON_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_AssistSkippedReasons_AssistSkippedReasonUnspecified; +/** + * The assistant ignored the query or refused to answer because of a customer + * policy violation (e.g., the query or the answer contained a banned phrase). + * + * Value: "CUSTOMER_POLICY_VIOLATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_AssistSkippedReasons_CustomerPolicyViolation; +/** + * The assistant ignored the query, because it did not appear to be + * answer-seeking. + * + * Value: "NON_ASSIST_SEEKING_QUERY_IGNORED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_AssistSkippedReasons_NonAssistSeekingQueryIgnored; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer.state + +/** + * Assist operation has failed. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Failed; +/** + * Assist operation is currently in progress. + * + * Value: "IN_PROGRESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_InProgress; +/** + * Assist operation has been skipped. + * + * Value: "SKIPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Skipped; +/** + * Unknown. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_StateUnspecified; +/** + * Assist operation has succeeded. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Succeeded; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant.webGroundingType + +/** + * Web grounding is disabled. + * + * Value: "WEB_GROUNDING_TYPE_DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeDisabled; +/** + * Grounding with Enterprise Web Search is enabled. + * + * Value: "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeEnterpriseWebSearch; +/** + * Grounding with Google Search is enabled. + * + * Value: "WEB_GROUNDING_TYPE_GOOGLE_SEARCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeGoogleSearch; +/** + * Default, unspecified setting. This is the same as disabled. + * + * Value: "WEB_GROUNDING_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult.outcome + +/** + * Code execution ran for too long, and was cancelled. There may or may not be + * a partial output present. + * + * Value: "OUTCOME_DEADLINE_EXCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeDeadlineExceeded; +/** + * Code execution finished but with a failure. `stderr` should contain the + * reason. + * + * Value: "OUTCOME_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeFailed; +/** + * Code execution completed successfully. + * + * Value: "OUTCOME_OK" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeOk; +/** + * Unspecified status. This value should not be used. + * + * Value: "OUTCOME_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase.matchType + +/** + * Defaults to SIMPLE_STRING_MATCH. + * + * Value: "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_BannedPhraseMatchTypeUnspecified; +/** + * The banned phrase matches if it is found anywhere in the text as an exact + * substring. + * + * Value: "SIMPLE_STRING_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_SimpleStringMatch; +/** + * Banned phrase only matches if the pattern found in the text is surrounded by + * word delimiters. The phrase itself may still contain word delimiters. + * + * Value: "WORD_BOUNDARY_STRING_MATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_WordBoundaryStringMatch; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata.state @@ -4025,24 +4519,51 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingEnabled; // ---------------------------------------------------------------------------- -// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec.filterExtractionCondition +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec.extractedFilterBehavior /** - * Server behavior defaults to `DISABLED`. + * `EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior for + * extracted filters. For single datastore search, the default is to apply as + * hard filters. For multi-datastore search, the default is to apply as soft + * boosts. * - * Value: "CONDITION_UNSPECIFIED" + * Value: "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_ConditionUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_ExtractedFilterBehaviorUnspecified; /** - * Disables NL filter extraction. + * Applies all extracted filters as hard filters on the results. Results that + * do not pass the extracted filters will not be returned in the result set. * - * Value: "DISABLED" + * Value: "HARD_FILTER" */ -FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled; +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_HardFilter; /** - * Enables NL filter extraction. + * Applies all extracted filters as soft boosts. Results that pass the filters + * will be boosted up to higher ranks in the result set. * - * Value: "ENABLED" + * Value: "SOFT_BOOST" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_SoftBoost; + +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec.filterExtractionCondition + +/** + * Server behavior defaults to `DISABLED`. + * + * Value: "CONDITION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_ConditionUnspecified; +/** + * Disables NL filter extraction. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled; +/** + * Enables NL filter extraction. + * + * Value: "ENABLED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Enabled; @@ -4279,6 +4800,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "ASSIGNED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Assigned; +/** + * User is blocked from assigning a license. + * + * Value: "BLOCKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Blocked; /** * Default value. * @@ -5213,6 +5740,44 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SafetyRating_Severity_HarmSeverityUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest.rankingExpressionBackend + +/** + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding + * model, the default way to evaluate the ranking expression. Legacy enum + * option, `RANK_BY_EMBEDDING` should be used instead. + * + * Value: "BYOE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Byoe GTLR_DEPRECATED; +/** + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy + * enum option, `RANK_BY_FORMULA` should be used instead. + * + * Value: "CLEARBOX" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Clearbox GTLR_DEPRECATED; +/** + * Ranking by custom embedding model, the default way to evaluate the ranking + * expression. + * + * Value: "RANK_BY_EMBEDDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByEmbedding; +/** + * Ranking by custom formula. + * + * Value: "RANK_BY_FORMULA" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByFormula; +/** + * Default option for unspecified/unknown values. + * + * Value: "RANKING_EXPRESSION_BACKEND_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified; + // ---------------------------------------------------------------------------- // GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest.relevanceThreshold @@ -5687,6 +6252,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengi * Value: "ASSIGNED" */ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Assigned; +/** + * User is blocked from assigning a license. + * + * Value: "BLOCKED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Blocked; /** * Default value. * @@ -5853,3226 +6424,3274 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSeries_ValueType_ValueTypeUnspecified; /** - * `Distribution` contains summary statistics for a population of values. It - * optionally contains a histogram representing the distribution of those - * values across a set of buckets. The summary statistics are the count, mean, - * sum of the squared deviation from the mean, the minimum, and the maximum of - * the set of population of values. The histogram is based on a sequence of - * buckets and gives a count of values that fall into each bucket. The - * boundaries of the buckets are given either explicitly or by formulas for - * buckets of fixed or exponentially increasing widths. Although it is not - * forbidden, it is generally a bad idea to include non-finite values - * (infinities or NaNs) in the population of values, as this will render the - * `mean` and `sum_of_squared_deviation` fields meaningless. + * Information to read/write to blobstore2. */ -@interface GTLRDiscoveryEngine_GoogleApiDistribution : GTLRObject +@interface GTLRDiscoveryEngine_GdataBlobstore2Info : GTLRObject /** - * The number of values in each bucket of the histogram, as described in - * `bucket_options`. If the distribution does not have a histogram, then omit - * this field. If there is a histogram, then the sum of the values in - * `bucket_counts` must equal the value in the `count` field of the - * distribution. If present, `bucket_counts` should contain N values, where N - * is the number of buckets specified in `bucket_options`. If you supply fewer - * than N values, the remaining values are assumed to be 0. The order of the - * values in `bucket_counts` follows the bucket numbering schemes described for - * the three bucket types. The first value must be the count for the underflow - * bucket (number 0). The next N-2 values are the counts for the finite buckets - * (number 1 through N-2). The N'th value in `bucket_counts` is the count for - * the overflow bucket (number N-1). + * The blob generation id. * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSArray *bucketCounts; +@property(nonatomic, strong, nullable) NSNumber *blobGeneration; -/** - * Defines the histogram bucket boundaries. If the distribution does not - * contain a histogram, then omit this field. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptions *bucketOptions; +/** The blob id, e.g., /blobstore/prod/playground/scotty */ +@property(nonatomic, copy, nullable) NSString *blobId; /** - * The number of values in the population. Must be non-negative. This value - * must equal the sum of the values in `bucket_counts` if a histogram is - * provided. + * Read handle passed from Bigstore -> Scotty for a GCS download. This is a + * signed, serialized blobstore2.ReadHandle proto which must never be set + * outside of Bigstore, and is not applicable to non-GCS media downloads. * - * Uses NSNumber of longLongValue. + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, strong, nullable) NSNumber *count; +@property(nonatomic, copy, nullable) NSString *downloadReadHandle; -/** Must be in increasing order of `value` field. */ -@property(nonatomic, strong, nullable) NSArray *exemplars; +/** + * The blob read token. Needed to read blobs that have not been replicated. + * Might not be available until the final call. + */ +@property(nonatomic, copy, nullable) NSString *readToken; /** - * The arithmetic mean of the values in the population. If `count` is zero then - * this field must be zero. + * Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a + * signed, serialized blobstore2.BlobMetadataContainer proto which must never + * be consumed outside of Bigstore, and is not applicable to non-GCS media + * uploads. * - * Uses NSNumber of doubleValue. + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, strong, nullable) NSNumber *mean; +@property(nonatomic, copy, nullable) NSString *uploadMetadataContainer; + +@end + /** - * If specified, contains the range of the population values. The field must - * not be present if the `count` is zero. + * A sequence of media data references representing composite data. Introduced + * to support Bigstore composite objects. For details, visit + * http://go/bigstore-composites. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionRange *range; +@interface GTLRDiscoveryEngine_GdataCompositeMedia : GTLRObject /** - * The sum of squared deviations from the mean of the values in the population. - * For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, "The Art of - * Computer Programming", Vol. 2, page 232, 3rd edition describes Welford's - * method for accumulating this sum in one pass. If `count` is zero then this - * field must be zero. + * Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should + * be the byte representation of a blobstore.BlobRef. Since Blobstore is + * deprecating v1, use blobstore2_info instead. For now, any v2 blob will also + * be represented in this field as v1 BlobRef. * - * Uses NSNumber of doubleValue. + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, strong, nullable) NSNumber *sumOfSquaredDeviation; +@property(nonatomic, copy, nullable) NSString *blobRef GTLR_DEPRECATED; -@end +/** + * Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a + * v2 blob. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataBlobstore2Info *blobstore2Info; +/** + * A binary data reference for a media download. Serves as a + * technology-agnostic binary reference in some Google infrastructure. This + * value is a serialized storage_cosmo.BinaryReference proto. Storing it as + * bytes is a hack to get around the fact that the cosmo proto (as well as + * others it includes) doesn't support JavaScript. This prevents us from + * including the actual type of this field. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *cosmoBinaryReference; /** - * `BucketOptions` describes the bucket boundaries used to create a histogram - * for the distribution. The buckets can be in a linear sequence, an - * exponential sequence, or each bucket can be specified explicitly. - * `BucketOptions` does not include the number of values in each bucket. A - * bucket has an inclusive lower bound and exclusive upper bound for the values - * that are counted for that bucket. The upper bound of a bucket must be - * strictly greater than the lower bound. The sequence of N buckets for a - * distribution consists of an underflow bucket (number 0), zero or more finite - * buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The - * buckets are contiguous: the lower bound of bucket i (i > 0) is the same as - * the upper bound of bucket i - 1. The buckets span the whole range of finite - * values: lower bound of the underflow bucket is -infinity and the upper bound - * of the overflow bucket is +infinity. The finite buckets are so-called - * because both bounds are finite. + * crc32.c hash for the payload. + * + * Uses NSNumber of unsignedIntValue. */ -@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptions : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *crc32cHash; -/** The explicit buckets. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExplicit *explicitBuckets; +/** + * Media data, set if reference_type is INLINE + * + * Remapped to 'inlineProperty' to avoid language reserved word 'inline'. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *inlineProperty; -/** The exponential buckets. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExponential *exponentialBuckets; +/** + * Size of the data, in bytes + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *length; -/** The linear bucket. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsLinear *linearBuckets; +/** + * MD5 hash for the payload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *md5Hash; -@end +/** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataObjectId *objectId; +/** Path to the data, set if reference_type is PATH */ +@property(nonatomic, copy, nullable) NSString *path; /** - * Specifies a set of buckets with arbitrary widths. There are `size(bounds) + - * 1` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= - * i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i - 1] The `bounds` - * field must contain at least one element. If `bounds` has only one element, - * then there are no finite buckets, and that single element is the common - * boundary of the overflow and underflow buckets. + * Describes what the field reference contains. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_BigstoreRef + * Reference points to a bigstore object (Value: "BIGSTORE_REF") + * @arg @c kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_BlobRef + * Reference points to a blobstore object. This could be either a v1 + * blob_ref or a v2 blobstore2_info. Clients should check blobstore2_info + * first, since v1 is being deprecated. (Value: "BLOB_REF") + * @arg @c kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_CosmoBinaryReference + * Indicates the data is stored in cosmo_binary_reference. (Value: + * "COSMO_BINARY_REFERENCE") + * @arg @c kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_Inline Data + * is included into this proto buffer (Value: "INLINE") + * @arg @c kGTLRDiscoveryEngine_GdataCompositeMedia_ReferenceType_Path + * Reference contains a GFS path or a local path. (Value: "PATH") */ -@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExplicit : GTLRObject +@property(nonatomic, copy, nullable) NSString *referenceType; /** - * The values must be monotonically increasing. + * SHA-1 hash for the payload. * - * Uses NSNumber of doubleValue. + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, strong, nullable) NSArray *bounds; +@property(nonatomic, copy, nullable) NSString *sha1Hash; @end /** - * Specifies an exponential sequence of buckets that have a width that is - * proportional to the value of the lower bound. Each bucket represents a - * constant relative uncertainty on a specific value in the bucket. There are - * `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following - * boundaries: Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower - * bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). + * Detailed Content-Type information from Scotty. The Content-Type of the media + * will typically be filled in by the header or Scotty's best_guess, but this + * extended information provides the backend with more information so that it + * can make a better decision if needed. This is only used on media upload + * requests from Scotty. */ -@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExponential : GTLRObject +@interface GTLRDiscoveryEngine_GdataContentTypeInfo : GTLRObject + +/** Scotty's best guess of what the content type of the file is. */ +@property(nonatomic, copy, nullable) NSString *bestGuess; /** - * Must be greater than 1. - * - * Uses NSNumber of doubleValue. + * The content type of the file derived by looking at specific bytes (i.e. + * "magic bytes") of the actual file. */ -@property(nonatomic, strong, nullable) NSNumber *growthFactor; +@property(nonatomic, copy, nullable) NSString *fromBytes; /** - * Must be greater than 0. - * - * Uses NSNumber of intValue. + * The content type of the file derived from the file extension of the original + * file name used by the client. */ -@property(nonatomic, strong, nullable) NSNumber *numFiniteBuckets; +@property(nonatomic, copy, nullable) NSString *fromFileName; /** - * Must be greater than 0. - * - * Uses NSNumber of doubleValue. + * The content type of the file as specified in the request headers, multipart + * headers, or RUPIO start request. */ -@property(nonatomic, strong, nullable) NSNumber *scale; +@property(nonatomic, copy, nullable) NSString *fromHeader; + +/** + * The content type of the file derived from the file extension of the URL + * path. The URL path is assumed to represent a file name (which is typically + * only true for agents that are providing a REST API). + */ +@property(nonatomic, copy, nullable) NSString *fromUrlPath; @end /** - * Specifies a linear sequence of buckets that all have the same width (except - * overflow and underflow). Each bucket represents a constant absolute - * uncertainty on the specific value in the bucket. There are - * `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following - * boundaries: Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 - * <= i < N): offset + (width * (i - 1)). + * Backend response for a Diff get checksums response. For details on the + * Scotty Diff protocol, visit http://go/scotty-diff-protocol. */ -@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsLinear : GTLRObject +@interface GTLRDiscoveryEngine_GdataDiffChecksumsResponse : GTLRObject /** - * Must be greater than 0. - * - * Uses NSNumber of intValue. + * Exactly one of these fields must be populated. If checksums_location is + * filled, the server will return the corresponding contents to the user. If + * object_location is filled, the server will calculate the checksums based on + * the content there and return that to the user. For details on the format of + * the checksums, see http://go/scotty-diff-protocol. */ -@property(nonatomic, strong, nullable) NSNumber *numFiniteBuckets; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataCompositeMedia *checksumsLocation; /** - * Lower bound of the first bucket. + * The chunk size of checksums. Must be a multiple of 256KB. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *offset; +@property(nonatomic, strong, nullable) NSNumber *chunkSizeBytes; /** - * Must be greater than 0. + * If set, calculate the checksums based on the contents and return them to the + * caller. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataCompositeMedia *objectLocation; + +/** + * The total size of the server object. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *width; +@property(nonatomic, strong, nullable) NSNumber *objectSizeBytes; + +/** The object version of the object the checksums are being returned for. */ +@property(nonatomic, copy, nullable) NSString *objectVersion; @end /** - * Exemplars are example points that may be used to annotate aggregated - * distribution values. They are metadata that gives information about a - * particular value added to a Distribution bucket, such as a trace ID that was - * active when a value was added. They may contain further information, such as - * a example values and timestamps, origin, etc. + * Backend response for a Diff download response. For details on the Scotty + * Diff protocol, visit http://go/scotty-diff-protocol. */ -@interface GTLRDiscoveryEngine_GoogleApiDistributionExemplar : GTLRObject +@interface GTLRDiscoveryEngine_GdataDiffDownloadResponse : GTLRObject + +/** The original object location. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataCompositeMedia *objectLocation; + +@end + /** - * Contextual information about the example value. Examples are: Trace: - * type.googleapis.com/google.monitoring.v3.SpanContext Literal string: - * type.googleapis.com/google.protobuf.StringValue Labels dropped during - * aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There - * may be only a single attachment of any given message type in a single - * exemplar, and this is enforced by the system. + * A Diff upload request. For details on the Scotty Diff protocol, visit + * http://go/scotty-diff-protocol. */ -@property(nonatomic, strong, nullable) NSArray *attachments; +@interface GTLRDiscoveryEngine_GdataDiffUploadRequest : GTLRObject -/** The observation (sampling) time of the above value. */ -@property(nonatomic, strong, nullable) GTLRDateTime *timestamp; +/** + * The location of the checksums for the new object. Agents must clone the + * object located here, as the upload server will delete the contents once a + * response is received. For details on the format of the checksums, see + * http://go/scotty-diff-protocol. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataCompositeMedia *checksumsInfo; /** - * Value of the exemplar point. This value determines to which bucket the - * exemplar belongs. - * - * Uses NSNumber of doubleValue. + * The location of the new object. Agents must clone the object located here, + * as the upload server will delete the contents once a response is received. */ -@property(nonatomic, strong, nullable) NSNumber *value; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataCompositeMedia *objectInfo; + +/** + * The object version of the object that is the base version the incoming diff + * script will be applied to. This field will always be filled in. + */ +@property(nonatomic, copy, nullable) NSString *objectVersion; @end /** - * GTLRDiscoveryEngine_GoogleApiDistributionExemplar_Attachments_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. + * Backend response for a Diff upload request. For details on the Scotty Diff + * protocol, visit http://go/scotty-diff-protocol. */ -@interface GTLRDiscoveryEngine_GoogleApiDistributionExemplar_Attachments_Item : GTLRObject -@end +@interface GTLRDiscoveryEngine_GdataDiffUploadResponse : GTLRObject +/** + * The object version of the object at the server. Must be included in the end + * notification response. The version in the end notification response must + * correspond to the new version of the object that is now stored at the + * server, after the upload. + */ +@property(nonatomic, copy, nullable) NSString *objectVersion; /** - * The range of the population values. + * The location of the original file for a diff upload request. Must be filled + * in if responding to an upload start notification. */ -@interface GTLRDiscoveryEngine_GoogleApiDistributionRange : GTLRObject +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataCompositeMedia *originalObject; + +@end + /** - * The maximum of the population values. - * - * Uses NSNumber of doubleValue. + * Backend response for a Diff get version response. For details on the Scotty + * Diff protocol, visit http://go/scotty-diff-protocol. */ -@property(nonatomic, strong, nullable) NSNumber *max; +@interface GTLRDiscoveryEngine_GdataDiffVersionResponse : GTLRObject /** - * The minimum of the population values. + * The total size of the server object. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *min; +@property(nonatomic, strong, nullable) NSNumber *objectSizeBytes; + +/** The version of the object stored at the server. */ +@property(nonatomic, copy, nullable) NSString *objectVersion; @end /** - * Message that represents an arbitrary HTTP body. It should only be used for - * payload formats that can't be represented as JSON, such as raw binary or an - * HTML page. This message can be used both in streaming and non-streaming API - * methods in the request as well as the response. It can be used as a - * top-level request field, which is convenient if one wants to extract - * parameters from either the URL or HTTP template into the request fields and - * also want access to the raw HTTP body. Example: message GetResourceRequest { - * // A unique request id. string request_id = 1; // The raw HTTP body is bound - * to this field. google.api.HttpBody http_body = 2; } service ResourceService - * { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc - * UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } - * Example with streaming methods: service CaldavService { rpc - * GetCalendar(stream google.api.HttpBody) returns (stream - * google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns - * (stream google.api.HttpBody); } Use of this type only changes how the - * request and response bodies are handled, all other features will continue to - * work unchanged. + * Parameters specific to media downloads. */ -@interface GTLRDiscoveryEngine_GoogleApiHttpBody : GTLRObject +@interface GTLRDiscoveryEngine_GdataDownloadParameters : GTLRObject /** - * The HTTP Content-Type header value specifying the content type of the body. + * A boolean to be returned in the response to Scotty. Allows/disallows gzip + * encoding of the payload content when the server thinks it's advantageous + * (hence, does not guarantee compression) which allows Scotty to GZip the + * response to the client. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *contentType; +@property(nonatomic, strong, nullable) NSNumber *allowGzipCompression; /** - * The HTTP request/response body as raw binary. + * Determining whether or not Apiary should skip the inclusion of any + * Content-Range header on its response to Scotty. * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *data; +@property(nonatomic, strong, nullable) NSNumber *ignoreRange; + +@end + /** - * Application specific response metadata. Must be set in the first response - * for streaming APIs. + * A reference to data stored on the filesystem, on GFS or in blobstore. */ -@property(nonatomic, strong, nullable) NSArray *extensions; - -@end +@interface GTLRDiscoveryEngine_GdataMedia : GTLRObject +/** + * Deprecated, use one of explicit hash type fields instead. Algorithm used for + * calculating the hash. As of 2011/01/21, "MD5" is the only possible value for + * this field. New values may be added at any time. + */ +@property(nonatomic, copy, nullable) NSString *algorithm GTLR_DEPRECATED; /** - * GTLRDiscoveryEngine_GoogleApiHttpBody_Extensions_Item + * Use object_id instead. * - * @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. + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@interface GTLRDiscoveryEngine_GoogleApiHttpBody_Extensions_Item : GTLRObject -@end - +@property(nonatomic, copy, nullable) NSString *bigstoreObjectRef GTLR_DEPRECATED; /** - * A specific metric, identified by specifying values for all of the labels of - * a `MetricDescriptor`. + * Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should + * be the byte representation of a blobstore.BlobRef. Since Blobstore is + * deprecating v1, use blobstore2_info instead. For now, any v2 blob will also + * be represented in this field as v1 BlobRef. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@interface GTLRDiscoveryEngine_GoogleApiMetric : GTLRObject +@property(nonatomic, copy, nullable) NSString *blobRef GTLR_DEPRECATED; /** - * The set of label values that uniquely identify this metric. All labels - * listed in the `MetricDescriptor` must be assigned values. + * Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a + * v2 blob. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMetric_Labels *labels; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataBlobstore2Info *blobstore2Info; /** - * An existing metric type, see google.api.MetricDescriptor. For example, - * `custom.googleapis.com/invoice/paid/amount`. + * A composite media composed of one or more media objects, set if + * reference_type is COMPOSITE_MEDIA. The media length field must be set to the + * sum of the lengths of all composite media objects. Note: All composite media + * must have length specified. */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, strong, nullable) NSArray *compositeMedia; -@end +/** MIME type of the data */ +@property(nonatomic, copy, nullable) NSString *contentType; +/** Extended content type information provided for Scotty uploads. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataContentTypeInfo *contentTypeInfo; /** - * The set of label values that uniquely identify this metric. All labels - * listed in the `MetricDescriptor` must be assigned values. + * A binary data reference for a media download. Serves as a + * technology-agnostic binary reference in some Google infrastructure. This + * value is a serialized storage_cosmo.BinaryReference proto. Storing it as + * bytes is a hack to get around the fact that the cosmo proto (as well as + * others it includes) doesn't support JavaScript. This prevents us from + * including the actual type of this field. * - * @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. + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@interface GTLRDiscoveryEngine_GoogleApiMetric_Labels : GTLRObject -@end - +@property(nonatomic, copy, nullable) NSString *cosmoBinaryReference; /** - * An object representing a resource that can be used for monitoring, logging, - * billing, or other purposes. Examples include virtual machine instances, - * databases, and storage devices such as disks. The `type` field identifies a - * MonitoredResourceDescriptor object that describes the resource's schema. - * Information in the `labels` field identifies the actual resource and its - * attributes according to the schema. For example, a particular Compute Engine - * VM instance could be represented by the following object, because the - * MonitoredResourceDescriptor for `"gce_instance"` has labels `"project_id"`, - * `"instance_id"` and `"zone"`: { "type": "gce_instance", "labels": { - * "project_id": "my-project", "instance_id": "12345678901234", "zone": - * "us-central1-a" }} + * For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: + * (WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash + * provided by the agent to be used to verify the data being downloaded. + * Currently only supported for inline payloads. Further, only crc32c_hash is + * currently supported. + * + * Uses NSNumber of unsignedIntValue. */ -@interface GTLRDiscoveryEngine_GoogleApiMonitoredResource : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *crc32cHash; -/** - * Required. Values for all of the labels listed in the associated monitored - * resource descriptor. For example, Compute Engine VM instances use the labels - * `"project_id"`, `"instance_id"`, and `"zone"`. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMonitoredResource_Labels *labels; +/** Set if reference_type is DIFF_CHECKSUMS_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataDiffChecksumsResponse *diffChecksumsResponse; -/** - * Required. The monitored resource type. This field must match the `type` - * field of a MonitoredResourceDescriptor object. For example, the type of a - * Compute Engine VM instance is `gce_instance`. Some descriptors include the - * service name in the type; for example, the type of a Datastream stream is - * `datastream.googleapis.com/Stream`. - */ -@property(nonatomic, copy, nullable) NSString *type; +/** Set if reference_type is DIFF_DOWNLOAD_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataDiffDownloadResponse *diffDownloadResponse; -@end +/** Set if reference_type is DIFF_UPLOAD_REQUEST. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataDiffUploadRequest *diffUploadRequest; +/** Set if reference_type is DIFF_UPLOAD_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataDiffUploadResponse *diffUploadResponse; -/** - * Required. Values for all of the labels listed in the associated monitored - * resource descriptor. For example, Compute Engine VM instances use the labels - * `"project_id"`, `"instance_id"`, and `"zone"`. - * - * @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_GoogleApiMonitoredResource_Labels : GTLRObject -@end +/** Set if reference_type is DIFF_VERSION_RESPONSE. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataDiffVersionResponse *diffVersionResponse; +/** Parameters for a media download. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataDownloadParameters *downloadParameters; + +/** Original file name */ +@property(nonatomic, copy, nullable) NSString *filename; /** - * Auxiliary metadata for a MonitoredResource object. MonitoredResource objects - * contain the minimum set of information to uniquely identify a monitored - * resource instance. There is some other useful auxiliary metadata. Monitoring - * and Logging use an ingestion pipeline to extract metadata for cloud - * resources of all types, and store the metadata in this message. + * Deprecated, use one of explicit hash type fields instead. These two hash + * related fields will only be populated on Scotty based media uploads and will + * contain the content of the hash group in the NotificationRequest: + * http://cs/#google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash + * Hex encoded hash value of the uploaded media. + * + * Remapped to 'hashProperty' to avoid NSObject's 'hash'. */ -@interface GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata : GTLRObject +@property(nonatomic, copy, nullable) NSString *hashProperty GTLR_DEPRECATED; /** - * Output only. Values for predefined system metadata labels. System labels are - * a kind of metadata extracted by Google, including "machine_image", "vpc", - * "subnet_id", "security_group", "name", etc. System label values can be only - * strings, Boolean values, or a list of strings. For example: { "name": - * "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": - * false } + * For Scotty uploads only. If a user sends a hash code and the backend has + * requested that Scotty verify the upload against the client hash, Scotty will + * perform the check on behalf of the backend and will reject it if the hashes + * don't match. This is set to true if Scotty performed this verification. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_SystemLabels *systemLabels; - -/** Output only. A map of user-defined metadata labels. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_UserLabels *userLabels; - -@end - +@property(nonatomic, strong, nullable) NSNumber *hashVerified; /** - * Output only. Values for predefined system metadata labels. System labels are - * a kind of metadata extracted by Google, including "machine_image", "vpc", - * "subnet_id", "security_group", "name", etc. System label values can be only - * strings, Boolean values, or a list of strings. For example: { "name": - * "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": - * false } + * Media data, set if reference_type is INLINE * - * @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. + * Remapped to 'inlineProperty' to avoid language reserved word 'inline'. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@interface GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_SystemLabels : GTLRObject -@end - +@property(nonatomic, copy, nullable) NSString *inlineProperty; /** - * Output only. A map of user-defined metadata labels. + * |is_potential_retry| is set false only when Scotty is certain that it has + * not sent the request before. When a client resumes an upload, this field + * must be set true in agent calls, because Scotty cannot be certain that it + * has never sent the request before due to potential failure in the session + * state persistence. * - * @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. + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_UserLabels : GTLRObject -@end - +@property(nonatomic, strong, nullable) NSNumber *isPotentialRetry; /** - * The error payload that is populated on LRO sync APIs, including the - * following: * - * `google.cloud.discoveryengine.v1main.DataConnectorService.SetUpDataConnector` - * * - * `google.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun` + * Size of the data, in bytes + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *length; /** - * The full resource name of the Connector Run. Format: `projects/ * - * /locations/ * /collections/ * /dataConnector/connectorRuns/ *`. The - * `connector_run_id` is system-generated. + * Scotty-provided MD5 hash for an upload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, copy, nullable) NSString *connectorRun; +@property(nonatomic, copy, nullable) NSString *md5Hash; /** - * The full resource name of the DataConnector. Format: `projects/ * - * /locations/ * /collections/ * /dataConnector`. + * Media id to forward to the operation GetMedia. Can be set if reference_type + * is GET_MEDIA. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, copy, nullable) NSString *dataConnector; +@property(nonatomic, copy, nullable) NSString *mediaId; -/** The time when the connector run ended. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** Reference to a TI Blob, set if reference_type is BIGSTORE_REF. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GdataObjectId *objectId; -/** The entity to sync for the connector run. */ -@property(nonatomic, copy, nullable) NSString *entity; +/** Path to the data, set if reference_type is PATH */ +@property(nonatomic, copy, nullable) NSString *path; -/** The operation resource name of the LRO to sync the connector. */ -@property(nonatomic, copy, nullable) NSString *operation; +/** + * Describes what the field reference contains. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_ArbitraryBytes + * Informs Scotty to generate a response payload with the size specified + * in the length field. The contents of the payload are generated by + * Scotty and are undefined. This is useful for testing download speeds + * between the user and Scotty without involving a real payload source. + * Note: range is not supported when using arbitrary_bytes. (Value: + * "ARBITRARY_BYTES") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_BigstoreRef + * Reference points to a bigstore object (Value: "BIGSTORE_REF") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_BlobRef Reference + * points to a blobstore object. This could be either a v1 blob_ref or a + * v2 blobstore2_info. Clients should check blobstore2_info first, since + * v1 is being deprecated. (Value: "BLOB_REF") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_CompositeMedia The + * content for this media object is stored across multiple partial media + * objects under the composite_media field. (Value: "COMPOSITE_MEDIA") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_CosmoBinaryReference + * Indicates the data is stored in cosmo_binary_reference. (Value: + * "COSMO_BINARY_REFERENCE") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffChecksumsResponse + * Indicates the data is stored in diff_checksums_response. (Value: + * "DIFF_CHECKSUMS_RESPONSE") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffDownloadResponse + * Indicates the data is stored in diff_download_response. (Value: + * "DIFF_DOWNLOAD_RESPONSE") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffUploadRequest + * Indicates the data is stored in diff_upload_request. (Value: + * "DIFF_UPLOAD_REQUEST") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffUploadResponse + * Indicates the data is stored in diff_upload_response. (Value: + * "DIFF_UPLOAD_RESPONSE") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_DiffVersionResponse + * Indicates the data is stored in diff_version_response. (Value: + * "DIFF_VERSION_RESPONSE") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_GetMedia Data should + * be accessed from the current service using the operation GetMedia. + * (Value: "GET_MEDIA") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_Inline Data is + * included into this proto buffer (Value: "INLINE") + * @arg @c kGTLRDiscoveryEngine_GdataMedia_ReferenceType_Path Reference + * contains a GFS path or a local path. (Value: "PATH") + */ +@property(nonatomic, copy, nullable) NSString *referenceType; + +/** + * Scotty-provided SHA1 hash for an upload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sha1Hash; -/** The time when the connector run started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; +/** + * Scotty-provided SHA256 hash for an upload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *sha256Hash; /** - * The type of sync run. Can be one of the following: * `FULL` * `INCREMENTAL` + * Time at which the media data was last updated, in milliseconds since UNIX + * epoch + * + * Uses NSNumber of unsignedLongLongValue. */ -@property(nonatomic, copy, nullable) NSString *syncType; +@property(nonatomic, strong, nullable) NSNumber *timestamp; + +/** A unique fingerprint/version id for the media data */ +@property(nonatomic, copy, nullable) NSString *token; @end /** - * A description of the context in which an error occurred. + * This is a copy of the tech.blob.ObjectId proto, which could not be used + * directly here due to transitive closure issues with JavaScript support; see + * http://b/8801763. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorContext : GTLRObject +@interface GTLRDiscoveryEngine_GdataObjectId : GTLRObject -/** The HTTP request which was processed when the error was triggered. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingHttpRequestContext *httpRequest; +/** The name of the bucket to which this object belongs. */ +@property(nonatomic, copy, nullable) NSString *bucketName; /** - * The location in the source code where the decision was made to report the - * error, usually the place where it was logged. + * Generation of the object. Generations are monotonically increasing across + * writes, allowing them to be be compared to determine which generation is + * newer. If this is omitted in a request, then you are requesting the live + * object. See http://go/bigstore-versions + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation *reportLocation; +@property(nonatomic, strong, nullable) NSNumber *generation; + +/** The name of the object. */ +@property(nonatomic, copy, nullable) NSString *objectName; @end /** - * An error log which is reported to the Error Reporting system. + * `Distribution` contains summary statistics for a population of values. It + * optionally contains a histogram representing the distribution of those + * values across a set of buckets. The summary statistics are the count, mean, + * sum of the squared deviation from the mean, the minimum, and the maximum of + * the set of population of values. The histogram is based on a sequence of + * buckets and gives a count of values that fall into each bucket. The + * boundaries of the buckets are given either explicitly or by formulas for + * buckets of fixed or exponentially increasing widths. Although it is not + * forbidden, it is generally a bad idea to include non-finite values + * (infinities or NaNs) in the population of values, as this will render the + * `mean` and `sum_of_squared_deviation` fields meaningless. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog : GTLRObject - -/** The error payload that is populated on LRO connector sync APIs. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext *connectorRunPayload; - -/** A description of the context in which the error occurred. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorContext *context; - -/** The error payload that is populated on LRO import APIs. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingImportErrorContext *importPayload; - -/** A message describing the error. */ -@property(nonatomic, copy, nullable) NSString *message; +@interface GTLRDiscoveryEngine_GoogleApiDistribution : GTLRObject /** - * The API request payload, represented as a protocol buffer. Most API request - * types are supported—for example: * - * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` - * * - * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest` + * The number of values in each bucket of the histogram, as described in + * `bucket_options`. If the distribution does not have a histogram, then omit + * this field. If there is a histogram, then the sum of the values in + * `bucket_counts` must equal the value in the `count` field of the + * distribution. If present, `bucket_counts` should contain N values, where N + * is the number of buckets specified in `bucket_options`. If you supply fewer + * than N values, the remaining values are assumed to be 0. The order of the + * values in `bucket_counts` follows the bucket numbering schemes described for + * the three bucket types. The first value must be the count for the underflow + * bucket (number 0). The next N-2 values are the counts for the finite buckets + * (number 1 through N-2). The N'th value in `bucket_counts` is the count for + * the overflow bucket (number N-1). + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_RequestPayload *requestPayload; +@property(nonatomic, strong, nullable) NSArray *bucketCounts; /** - * The API response payload, represented as a protocol buffer. This is used to - * log some "soft errors", where the response is valid but we consider there - * are some quality issues like unjoined events. The following API responses - * are supported, and no PII is included: * - * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * - * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * - * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent` + * Defines the histogram bucket boundaries. If the distribution does not + * contain a histogram, then omit this field. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_ResponsePayload *responsePayload; - -/** The service context in which this error has occurred. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingServiceContext *serviceContext; - -/** The RPC status associated with the error log. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *status; - -@end - +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptions *bucketOptions; /** - * The API request payload, represented as a protocol buffer. Most API request - * types are supported—for example: * - * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` - * * - * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest` + * The number of values in the population. Must be non-negative. This value + * must equal the sum of the values in `bucket_counts` if a histogram is + * provided. * - * @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. + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_RequestPayload : GTLRObject -@end +@property(nonatomic, strong, nullable) NSNumber *count; +/** Must be in increasing order of `value` field. */ +@property(nonatomic, strong, nullable) NSArray *exemplars; /** - * The API response payload, represented as a protocol buffer. This is used to - * log some "soft errors", where the response is valid but we consider there - * are some quality issues like unjoined events. The following API responses - * are supported, and no PII is included: * - * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * - * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * - * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent` + * The arithmetic mean of the values in the population. If `count` is zero then + * this field must be zero. * - * @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. + * Uses NSNumber of doubleValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_ResponsePayload : GTLRObject -@end - +@property(nonatomic, strong, nullable) NSNumber *mean; /** - * HTTP request data that is related to a reported error. + * If specified, contains the range of the population values. The field must + * not be present if the `count` is zero. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingHttpRequestContext : GTLRObject +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionRange *range; /** - * The HTTP response status code for the request. + * The sum of squared deviations from the mean of the values in the population. + * For values x_i this is: Sum[i=1..n]((x_i - mean)^2) Knuth, "The Art of + * Computer Programming", Vol. 2, page 232, 3rd edition describes Welford's + * method for accumulating this sum in one pass. If `count` is zero then this + * field must be zero. * - * Uses NSNumber of intValue. + * Uses NSNumber of doubleValue. */ -@property(nonatomic, strong, nullable) NSNumber *responseStatusCode; +@property(nonatomic, strong, nullable) NSNumber *sumOfSquaredDeviation; @end /** - * The error payload that is populated on LRO import APIs, including the - * following: * - * `google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments` * - * `google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents` - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingImportErrorContext : GTLRObject - -/** The detailed content which caused the error on importing a document. */ -@property(nonatomic, copy, nullable) NSString *document; - -/** - * Google Cloud Storage file path of the import source. Can be set for batch - * operation error. + * `BucketOptions` describes the bucket boundaries used to create a histogram + * for the distribution. The buckets can be in a linear sequence, an + * exponential sequence, or each bucket can be specified explicitly. + * `BucketOptions` does not include the number of values in each bucket. A + * bucket has an inclusive lower bound and exclusive upper bound for the values + * that are counted for that bucket. The upper bound of a bucket must be + * strictly greater than the lower bound. The sequence of N buckets for a + * distribution consists of an underflow bucket (number 0), zero or more finite + * buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The + * buckets are contiguous: the lower bound of bucket i (i > 0) is the same as + * the upper bound of bucket i - 1. The buckets span the whole range of finite + * values: lower bound of the underflow bucket is -infinity and the upper bound + * of the overflow bucket is +infinity. The finite buckets are so-called + * because both bounds are finite. */ -@property(nonatomic, copy, nullable) NSString *gcsPath; +@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptions : GTLRObject -/** - * Line number of the content in file. Should be empty for permission or batch - * operation error. - */ -@property(nonatomic, copy, nullable) NSString *lineNumber; +/** The explicit buckets. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExplicit *explicitBuckets; -/** The operation resource name of the LRO. */ -@property(nonatomic, copy, nullable) NSString *operation; +/** The exponential buckets. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExponential *exponentialBuckets; -/** The detailed content which caused the error on importing a user event. */ -@property(nonatomic, copy, nullable) NSString *userEvent; +/** The linear bucket. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsLinear *linearBuckets; @end /** - * Describes a running service that sends errors. + * Specifies a set of buckets with arbitrary widths. There are `size(bounds) + + * 1` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= + * i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i - 1] The `bounds` + * field must contain at least one element. If `bounds` has only one element, + * then there are no finite buckets, and that single element is the common + * boundary of the overflow and underflow buckets. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingServiceContext : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExplicit : GTLRObject /** - * An identifier of the service—for example, `discoveryengine.googleapis.com`. + * The values must be monotonically increasing. + * + * Uses NSNumber of doubleValue. */ -@property(nonatomic, copy, nullable) NSString *service; +@property(nonatomic, strong, nullable) NSArray *bounds; @end /** - * Indicates a location in the source code of the service for which errors are - * reported. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation : GTLRObject - -/** - * Human-readable name of a function or method—for example, - * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. + * Specifies an exponential sequence of buckets that have a width that is + * proportional to the value of the lower bound. Each bucket represents a + * constant relative uncertainty on a specific value in the bucket. There are + * `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following + * boundaries: Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower + * bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). */ -@property(nonatomic, copy, nullable) NSString *functionName; - -@end - +@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsExponential : GTLRObject /** - * Configuration data for advance site search. + * Must be greater than 1. + * + * Uses NSNumber of doubleValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *growthFactor; /** - * If set true, automatic refresh is disabled for the DataStore. + * Must be greater than 0. * - * Uses NSNumber of boolValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *disableAutomaticRefresh; +@property(nonatomic, strong, nullable) NSNumber *numFiniteBuckets; /** - * If set true, initial indexing is disabled for the DataStore. + * Must be greater than 0. * - * Uses NSNumber of boolValue. + * Uses NSNumber of doubleValue. */ -@property(nonatomic, strong, nullable) NSNumber *disableInitialIndex; +@property(nonatomic, strong, nullable) NSNumber *scale; @end /** - * AlloyDB source import data from. + * Specifies a linear sequence of buckets that all have the same width (except + * overflow and underflow). Each bucket represents a constant absolute + * uncertainty on the specific value in the bucket. There are + * `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following + * boundaries: Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 + * <= i < N): offset + (width * (i - 1)). */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AlloyDbSource : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiDistributionBucketOptionsLinear : GTLRObject /** - * Required. The AlloyDB cluster to copy the data from with a length limit of - * 256 characters. + * Must be greater than 0. + * + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *clusterId; +@property(nonatomic, strong, nullable) NSNumber *numFiniteBuckets; /** - * Required. The AlloyDB database to copy the data from with a length limit of - * 256 characters. + * Lower bound of the first bucket. + * + * Uses NSNumber of doubleValue. */ -@property(nonatomic, copy, nullable) NSString *databaseId; +@property(nonatomic, strong, nullable) NSNumber *offset; /** - * Intermediate Cloud Storage directory used for the import with a length limit - * of 2,000 characters. Can be specified if one wants to have the AlloyDB - * export to a specific Cloud Storage directory. Ensure that the AlloyDB - * service account has the necessary Cloud Storage Admin permissions to access - * the specified Cloud Storage directory. + * Must be greater than 0. + * + * Uses NSNumber of doubleValue. */ -@property(nonatomic, copy, nullable) NSString *gcsStagingDir; +@property(nonatomic, strong, nullable) NSNumber *width; + +@end + /** - * Required. The AlloyDB location to copy the data from with a length limit of - * 256 characters. + * Exemplars are example points that may be used to annotate aggregated + * distribution values. They are metadata that gives information about a + * particular value added to a Distribution bucket, such as a trace ID that was + * active when a value was added. They may contain further information, such as + * a example values and timestamps, origin, etc. */ -@property(nonatomic, copy, nullable) NSString *locationId; +@interface GTLRDiscoveryEngine_GoogleApiDistributionExemplar : GTLRObject /** - * The project ID that contains the AlloyDB source. Has a length limit of 128 - * characters. If not specified, inherits the project ID from the parent - * request. + * Contextual information about the example value. Examples are: Trace: + * type.googleapis.com/google.monitoring.v3.SpanContext Literal string: + * type.googleapis.com/google.protobuf.StringValue Labels dropped during + * aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There + * may be only a single attachment of any given message type in a single + * exemplar, and this is enforced by the system. */ -@property(nonatomic, copy, nullable) NSString *projectId; +@property(nonatomic, strong, nullable) NSArray *attachments; + +/** The observation (sampling) time of the above value. */ +@property(nonatomic, strong, nullable) GTLRDateTime *timestamp; /** - * Required. The AlloyDB table to copy the data from with a length limit of 256 - * characters. + * Value of the exemplar point. This value determines to which bucket the + * exemplar belongs. + * + * Uses NSNumber of doubleValue. */ -@property(nonatomic, copy, nullable) NSString *tableId; +@property(nonatomic, strong, nullable) NSNumber *value; @end /** - * Access Control Configuration. + * GTLRDiscoveryEngine_GoogleApiDistributionExemplar_Attachments_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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAclConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiDistributionExemplar_Attachments_Item : GTLRObject +@end -/** Identity provider config. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig *idpConfig; /** - * Immutable. The full resource name of the acl configuration. Format: - * `projects/{project}/locations/{location}/aclConfig`. This field must be a - * UTF-8 encoded string with a length limit of 1024 characters. + * The range of the population values. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRDiscoveryEngine_GoogleApiDistributionRange : GTLRObject + +/** + * The maximum of the population values. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *max; + +/** + * The minimum of the population values. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *min; @end /** - * Informations to support actions on the connector. + * Message that represents an arbitrary HTTP body. It should only be used for + * payload formats that can't be represented as JSON, such as raw binary or an + * HTML page. This message can be used both in streaming and non-streaming API + * methods in the request as well as the response. It can be used as a + * top-level request field, which is convenient if one wants to extract + * parameters from either the URL or HTTP template into the request fields and + * also want access to the raw HTTP body. Example: message GetResourceRequest { + * // A unique request id. string request_id = 1; // The raw HTTP body is bound + * to this field. google.api.HttpBody http_body = 2; } service ResourceService + * { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc + * UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } + * Example with streaming methods: service CaldavService { rpc + * GetCalendar(stream google.api.HttpBody) returns (stream + * google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns + * (stream google.api.HttpBody); } Use of this type only changes how the + * request and response bodies are handled, all other features will continue to + * work unchanged. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiHttpBody : 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. + * The HTTP Content-Type header value specifying the content type of the body. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams *actionParams; +@property(nonatomic, copy, nullable) NSString *contentType; /** - * Output only. The connector contains the necessary parameters and is - * configured to support actions. + * The HTTP request/response body as raw binary. * - * Uses NSNumber of boolValue. + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, strong, nullable) NSNumber *isActionConfigured; +@property(nonatomic, copy, nullable) NSString *data; /** - * Optional. The Service Directory resource name (projects/ * /locations/ * - * /namespaces/ * /services/ *) representing a VPC network endpoint used to - * connect to the data source's `instance_uri`, defined in - * DataConnector.params. Required when VPC Service Controls are enabled. + * Application specific response metadata. Must be set in the first response + * for streaming APIs. */ -@property(nonatomic, copy, nullable) NSString *serviceName; +@property(nonatomic, strong, nullable) NSArray *extensions; @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. + * GTLRDiscoveryEngine_GoogleApiHttpBody_Extensions_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 GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiHttpBody_Extensions_Item : GTLRObject @end /** - * Configuration data for advance site search. + * A specific metric, identified by specifying values for all of the labels of + * a `MetricDescriptor`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiMetric : GTLRObject /** - * If set true, automatic refresh is disabled for the DataStore. - * - * Uses NSNumber of boolValue. + * The set of label values that uniquely identify this metric. All labels + * listed in the `MetricDescriptor` must be assigned values. */ -@property(nonatomic, strong, nullable) NSNumber *disableAutomaticRefresh; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMetric_Labels *labels; /** - * If set true, initial indexing is disabled for the DataStore. - * - * Uses NSNumber of boolValue. + * An existing metric type, see google.api.MetricDescriptor. For example, + * `custom.googleapis.com/invoice/paid/amount`. */ -@property(nonatomic, strong, nullable) NSNumber *disableInitialIndex; +@property(nonatomic, copy, nullable) NSString *type; @end /** - * The connector level alert config. + * The set of label values that uniquely identify this metric. All labels + * listed in the `MetricDescriptor` must be assigned values. + * + * @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_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig : GTLRObject - -/** Optional. The enrollment states of each alert. */ -@property(nonatomic, strong, nullable) NSArray *alertEnrollments; - -/** Immutable. The fully qualified resource name of the AlertPolicy. */ -@property(nonatomic, copy, nullable) NSString *alertPolicyName; - +@interface GTLRDiscoveryEngine_GoogleApiMetric_Labels : GTLRObject @end /** - * The alert enrollment status. + * An object representing a resource that can be used for monitoring, logging, + * billing, or other purposes. Examples include virtual machine instances, + * databases, and storage devices such as disks. The `type` field identifies a + * MonitoredResourceDescriptor object that describes the resource's schema. + * Information in the `labels` field identifies the actual resource and its + * attributes according to the schema. For example, a particular Compute Engine + * VM instance could be represented by the following object, because the + * MonitoredResourceDescriptor for `"gce_instance"` has labels `"project_id"`, + * `"instance_id"` and `"zone"`: { "type": "gce_instance", "labels": { + * "project_id": "my-project", "instance_id": "12345678901234", "zone": + * "us-central1-a" }} */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiMonitoredResource : GTLRObject -/** Immutable. The id of an alert. */ -@property(nonatomic, copy, nullable) NSString *alertId; +/** + * Required. Values for all of the labels listed in the associated monitored + * resource descriptor. For example, Compute Engine VM instances use the labels + * `"project_id"`, `"instance_id"`, and `"zone"`. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMonitoredResource_Labels *labels; /** - * Required. The enrollment status of a customer. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment_EnrollState_Declined - * Customer declined this policy. (Value: "DECLINED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment_EnrollState_Enrolled - * Customer is enrolled in this policy. (Value: "ENROLLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment_EnrollState_EnrollStatesUnspecified - * Default value. Used for customers who have not responded to the alert - * policy. (Value: "ENROLL_STATES_UNSPECIFIED") + * Required. The monitored resource type. This field must match the `type` + * field of a MonitoredResourceDescriptor object. For example, the type of a + * Compute Engine VM instance is `gce_instance`. Some descriptors include the + * service name in the type; for example, the type of a Datastream stream is + * `datastream.googleapis.com/Stream`. */ -@property(nonatomic, copy, nullable) NSString *enrollState; +@property(nonatomic, copy, nullable) NSString *type; @end /** - * Defines an answer. + * Required. Values for all of the labels listed in the associated monitored + * resource descriptor. For example, Compute Engine VM instances use the labels + * `"project_id"`, `"instance_id"`, and `"zone"`. + * + * @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_GoogleCloudDiscoveryengineV1alphaAnswer : GTLRObject +@interface GTLRDiscoveryEngine_GoogleApiMonitoredResource_Labels : GTLRObject +@end + /** - * Additional answer-skipped reasons. This provides the reason for ignored - * cases. If nothing is skipped, this field is not set. + * Auxiliary metadata for a MonitoredResource object. MonitoredResource objects + * contain the minimum set of information to uniquely identify a monitored + * resource instance. There is some other useful auxiliary metadata. Monitoring + * and Logging use an ingestion pipeline to extract metadata for cloud + * resources of all types, and store the metadata in this message. */ -@property(nonatomic, strong, nullable) NSArray *answerSkippedReasons; - -/** The textual answer. */ -@property(nonatomic, copy, nullable) NSString *answerText; +@interface GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata : GTLRObject -/** List of blob attachments in the answer. */ -@property(nonatomic, strong, nullable) NSArray *blobAttachments; +/** + * Output only. Values for predefined system metadata labels. System labels are + * a kind of metadata extracted by Google, including "machine_image", "vpc", + * "subnet_id", "security_group", "name", etc. System label values can be only + * strings, Boolean values, or a list of strings. For example: { "name": + * "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": + * false } + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_SystemLabels *systemLabels; -/** Citations. */ -@property(nonatomic, strong, nullable) NSArray *citations; +/** Output only. A map of user-defined metadata labels. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_UserLabels *userLabels; -/** Output only. Answer completed timestamp. */ -@property(nonatomic, strong, nullable) GTLRDateTime *completeTime; +@end -/** 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. + * Output only. Values for predefined system metadata labels. System labels are + * a kind of metadata extracted by Google, including "machine_image", "vpc", + * "subnet_id", "security_group", "name", etc. System label values can be only + * strings, Boolean values, or a list of strings. For example: { "name": + * "my-test-instance", "security_group": ["a", "b", "c"], "spot_instance": + * false } * - * Uses NSNumber of doubleValue. + * @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, strong, nullable) NSNumber *groundingScore; +@interface GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_SystemLabels : GTLRObject +@end -/** Optional. Grounding supports. */ -@property(nonatomic, strong, nullable) NSArray *groundingSupports; /** - * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ - * * /answers/ *` + * Output only. A map of user-defined metadata 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. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Query understanding information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo *queryUnderstandingInfo; - -/** References. */ -@property(nonatomic, strong, nullable) NSArray *references; - -/** Suggested related questions. */ -@property(nonatomic, strong, nullable) NSArray *relatedQuestions; +@interface GTLRDiscoveryEngine_GoogleApiMonitoredResourceMetadata_UserLabels : GTLRObject +@end -/** Optional. Safety ratings. */ -@property(nonatomic, strong, nullable) NSArray *safetyRatings; /** - * The state of the answer generation. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Failed - * Answer generation currently failed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_InProgress - * 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") + * The error payload that is populated on LRO sync APIs, including the + * following: * + * `google.cloud.discoveryengine.v1main.DataConnectorService.SetUpDataConnector` + * * + * `google.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun` */ -@property(nonatomic, copy, nullable) NSString *state; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext : GTLRObject -/** Answer generation steps. */ -@property(nonatomic, strong, nullable) NSArray *steps; +/** + * 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 *connectorRun; -@end +/** + * The full resource name of the DataConnector. Format: `projects/ * + * /locations/ * /collections/ * /dataConnector`. + */ +@property(nonatomic, copy, nullable) NSString *dataConnector; + +/** The time when the connector run ended. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** The entity to sync for the connector run. */ +@property(nonatomic, copy, nullable) NSString *entity; + +/** The operation resource name of the LRO to sync the connector. */ +@property(nonatomic, copy, nullable) NSString *operation; +/** The time when the connector run started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Stores binarydata attached to text answer, e.g. image, video, audio, etc. + * The type of sync run. Can be one of the following: * `FULL` * `INCREMENTAL` */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment : GTLRObject +@property(nonatomic, copy, nullable) NSString *syncType; + +@end + /** - * Output only. The attribution type of the blob. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment_AttributionType_AttributionTypeUnspecified - * Unspecified attribution type. (Value: "ATTRIBUTION_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment_AttributionType_Corpus - * The attachment data is from the corpus. (Value: "CORPUS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment_AttributionType_Generated - * The attachment data is generated by the model through code generation. - * (Value: "GENERATED") + * A description of the context in which an error occurred. */ -@property(nonatomic, copy, nullable) NSString *attributionType; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorContext : GTLRObject -/** Output only. The mime type and data of the blob. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob *data; +/** The HTTP request which was processed when the error was triggered. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingHttpRequestContext *httpRequest; + +/** + * The location in the source code where the decision was made to report the + * error, usually the place where it was logged. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation *reportLocation; @end /** - * The media type and data of the blob. + * An error log which is reported to the Error Reporting system. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog : GTLRObject + +/** The error payload that is populated on LRO connector sync APIs. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext *connectorRunPayload; + +/** A description of the context in which the error occurred. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorContext *context; + +/** The error payload that is populated on LRO import APIs. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingImportErrorContext *importPayload; + +/** A message describing the error. */ +@property(nonatomic, copy, nullable) NSString *message; /** - * Output only. Raw bytes. - * - * Contains encoded binary data; GTLRBase64 can encode/decode (probably - * web-safe format). + * The API request payload, represented as a protocol buffer. Most API request + * types are supported—for example: * + * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` + * * + * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest` */ -@property(nonatomic, copy, nullable) NSString *data; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_RequestPayload *requestPayload; /** - * Output only. The media type (MIME type) of the generated or retrieved data. + * The API response payload, represented as a protocol buffer. This is used to + * log some "soft errors", where the response is valid but we consider there + * are some quality issues like unjoined events. The following API responses + * are supported, and no PII is included: * + * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * + * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * + * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent` */ -@property(nonatomic, copy, nullable) NSString *mimeType; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_ResponsePayload *responsePayload; -@end +/** The service context in which this error has occurred. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingServiceContext *serviceContext; +/** The RPC status associated with the error log. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *status; + +@end -/** - * Citation info for a segment. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitation : GTLRObject /** - * End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). - * If there are multi-byte characters,such as non-ASCII characters, the index - * measurement is longer than the string length. + * The API request payload, represented as a protocol buffer. Most API request + * types are supported—for example: * + * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest` + * * + * `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest` * - * Uses NSNumber of longLongValue. + * @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, strong, nullable) NSNumber *endIndex; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_RequestPayload : GTLRObject +@end -/** Citation sources for the attributed segment. */ -@property(nonatomic, strong, nullable) NSArray *sources; /** - * Index indicates the start of the segment, measured in bytes (UTF-8 unicode). - * If there are multi-byte characters,such as non-ASCII characters, the index - * measurement is longer than the string length. + * The API response payload, represented as a protocol buffer. This is used to + * log some "soft errors", where the response is valid but we consider there + * are some quality issues like unjoined events. The following API responses + * are supported, and no PII is included: * + * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * + * `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * + * `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent` * - * Uses NSNumber of longLongValue. + * @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, strong, nullable) NSNumber *startIndex; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingErrorLog_ResponsePayload : GTLRObject @end /** - * Citation source. + * HTTP request data that is related to a reported error. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitationSource : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingHttpRequestContext : GTLRObject -/** ID of the citation source. */ -@property(nonatomic, copy, nullable) NSString *referenceId; +/** + * The HTTP response status code for the request. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *responseStatusCode; @end /** - * Grounding support for a claim in `answer_text`. + * The error payload that is populated on LRO import APIs, including the + * following: * + * `google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments` * + * `google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents` */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingImportErrorContext : GTLRObject + +/** The detailed content which caused the error on importing a document. */ +@property(nonatomic, copy, nullable) NSString *document; /** - * Required. End of the claim, exclusive. - * - * Uses NSNumber of longLongValue. + * Google Cloud Storage file path of the import source. Can be set for batch + * operation error. */ -@property(nonatomic, strong, nullable) NSNumber *endIndex; +@property(nonatomic, copy, nullable) NSString *gcsPath; /** - * 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. + * Line number of the content in file. Should be empty for permission or batch + * operation error. */ -@property(nonatomic, strong, nullable) NSNumber *groundingCheckRequired; +@property(nonatomic, copy, nullable) NSString *lineNumber; + +/** The operation resource name of the LRO. */ +@property(nonatomic, copy, nullable) NSString *operation; + +/** The detailed content which caused the error on importing a user event. */ +@property(nonatomic, copy, nullable) NSString *userEvent; + +@end + /** - * 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. + * Describes a running service that sends errors. */ -@property(nonatomic, strong, nullable) NSNumber *groundingScore; - -/** Optional. Citation sources for the claim. */ -@property(nonatomic, strong, nullable) NSArray *sources; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingServiceContext : GTLRObject /** - * Required. Index indicates the start of the claim, measured in bytes (UTF-8 - * unicode). - * - * Uses NSNumber of longLongValue. + * An identifier of the service—for example, `discoveryengine.googleapis.com`. */ -@property(nonatomic, strong, nullable) NSNumber *startIndex; +@property(nonatomic, copy, nullable) NSString *service; @end /** - * Query understanding information. + * Indicates a location in the source code of the service for which errors are + * reported. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineLoggingSourceLocation : GTLRObject -/** Query classification information. */ -@property(nonatomic, strong, nullable) NSArray *queryClassificationInfo; +/** + * Human-readable name of a function or method—for example, + * `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. + */ +@property(nonatomic, copy, nullable) NSString *functionName; @end /** - * Query classification information. + * Request message for CompletionService.AdvancedCompleteQuery method. . */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest : GTLRObject + +/** Optional. Specification to boost suggestions matching the condition. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec *boostSpec; + +/** Optional. Experiment ids for this request. */ +@property(nonatomic, strong, nullable) NSArray *experimentIds; /** - * Classification output. + * Indicates if tail suggestions should be returned if there are no suggestions + * that match the full query. Even if set to true, if there are suggestions + * that match the full query, those are returned and no tail suggestions are + * returned. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *positive; +@property(nonatomic, strong, nullable) NSNumber *includeTailSuggestions; /** - * Query classification type. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery - * Adversarial query classification type. (Value: "ADVERSARIAL_QUERY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_JailBreakingQuery - * Jail-breaking query classification type. (Value: - * "JAIL_BREAKING_QUERY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQuery - * Non-answer-seeking query classification type, for chit chat. (Value: - * "NON_ANSWER_SEEKING_QUERY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQueryV2 - * Non-answer-seeking query classification type, for no clear intent. - * (Value: "NON_ANSWER_SEEKING_QUERY_V2") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_TypeUnspecified - * Unspecified query classification type. (Value: "TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_UserDefinedClassificationQuery - * User defined query classification type. (Value: - * "USER_DEFINED_CLASSIFICATION_QUERY") + * Required. The typeahead input used to fetch suggestions. Maximum length is + * 128 characters. The query can not be empty for most of the suggestion types. + * If it is empty, an `INVALID_ARGUMENT` error is returned. The exception is + * when the suggestion_types contains only the type `RECENT_SEARCH`, the query + * can be an empty string. The is called "zero prefix" feature, which returns + * user's recently searched queries given the empty query. */ -@property(nonatomic, copy, nullable) NSString *type; - -@end +@property(nonatomic, copy, nullable) NSString *query; +/** + * Specifies the autocomplete query model, which only applies to the QUERY + * SuggestionType. This overrides any model specified in the Configuration > + * Autocomplete section of the Cloud console. Currently supported values: * + * `document` - Using suggestions generated from user-imported documents. * + * `search-history` - Using suggestions generated from the past history of + * SearchService.Search API calls. Do not use it when there is no traffic for + * Search API. * `user-event` - Using suggestions generated from user-imported + * search events. * `document-completable` - Using suggestions taken directly + * from user-imported document fields marked as completable. Default values: * + * `document` is the default model for regular dataStores. * `search-history` + * is the default model for site search dataStores. + */ +@property(nonatomic, copy, nullable) NSString *queryModel; /** - * Reference. + * Optional. Suggestion types to return. If empty or unspecified, query + * suggestions are returned. Only one suggestion type is supported at the + * moment. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReference : GTLRObject +@property(nonatomic, strong, nullable) NSArray *suggestionTypes; -/** Chunk information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo *chunkInfo; +/** Optional. Specification of each suggestion type. */ +@property(nonatomic, strong, nullable) NSArray *suggestionTypeSpecs; -/** Structured document information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo *structuredDocumentInfo; +/** + * Optional. Information about the end user. This should be the same identifier + * information as UserEvent.user_info and SearchRequest.user_info. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserInfo *userInfo; -/** Unstructured document information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo *unstructuredDocumentInfo; +/** + * A unique identifier for tracking visitors. For example, this could be + * implemented with an HTTP cookie, which should be able to uniquely identify a + * visitor on a single device. This unique identifier should not change if the + * visitor logs in or out of the website. This field should NOT have a fixed + * value such as `unknown_visitor`. This should be the same identifier as + * UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be + * a UTF-8 encoded string with a length limit of 128 + */ +@property(nonatomic, copy, nullable) NSString *userPseudoId; @end /** - * Chunk information. + * Specification to boost suggestions based on the condtion of the suggestion. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpec : GTLRObject /** - * Output only. Stores indexes of blobattachments linked to this chunk. - * - * Uses NSNumber of longLongValue. + * Condition boost specifications. If a suggestion matches multiple conditions + * in the specifications, boost values from these specifications are all + * applied and combined in a non-linear way. Maximum number of specifications + * is 20. Note: Currently only support language condition boost. */ -@property(nonatomic, strong, nullable) NSArray *blobAttachmentIndexes; +@property(nonatomic, strong, nullable) NSArray *conditionBoostSpecs; -/** Chunk resource name. */ -@property(nonatomic, copy, nullable) NSString *chunk; +@end -/** Chunk textual content. */ -@property(nonatomic, copy, nullable) NSString *content; -/** Document metadata. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata *documentMetadata; +/** + * Boost applies to suggestions which match a condition. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestBoostSpecConditionBoostSpec : GTLRObject /** - * The relevance of the chunk for a given query. Values range from 0.0 - * (completely irrelevant) to 1.0 (completely relevant). This value is for - * informational purpose only. It may change for the same query and chunk at - * any time due to a model retraining or change in implementation. + * Strength of the boost, which should be in [-1, 1]. Negative boost means + * demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big + * promotion. However, it does not necessarily mean that the top result will be + * a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. + * However, other suggestions that are relevant might still be shown. Setting + * to 0.0 means no boost applied. The boosting condition is ignored. * * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *relevanceScore; - -@end - +@property(nonatomic, strong, nullable) NSNumber *boost; /** - * Document metadata. + * An expression which specifies a boost condition. The syntax is the same as + * [filter expression + * syntax](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax). + * Currently, the only supported condition is a list of BCP-47 lang codes. + * Example: * To boost suggestions in languages `en` or `fr`: `(lang_code: + * ANY("en", "fr"))` */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata : GTLRObject +@property(nonatomic, copy, nullable) NSString *condition; -/** Document resource name. */ -@property(nonatomic, copy, nullable) NSString *document; +@end -/** Page identifier. */ -@property(nonatomic, copy, nullable) NSString *pageIdentifier; /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. + * Specification of each suggestion type. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData *structData; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec : GTLRObject -/** Title. */ -@property(nonatomic, copy, nullable) NSString *title; +/** + * Optional. Maximum number of suggestions to return for each suggestion type. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxSuggestions; -/** URI for the document. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** + * Optional. Suggestion type. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_Content + * Returns content suggestions. (Value: "CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_GoogleWorkspace + * Returns Google Workspace suggestions. (Value: "GOOGLE_WORKSPACE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_People + * Returns people suggestions. (Value: "PEOPLE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_Query + * Returns query suggestions. (Value: "QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_RecentSearch + * Returns recent search suggestions. (Value: "RECENT_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequestSuggestionTypeSpec_SuggestionType_SuggestionTypeUnspecified + * Default value. (Value: "SUGGESTION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *suggestionType; @end /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. - * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Response message for CompletionService.AdvancedCompleteQuery method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse : GTLRObject /** - * Structured search information. + * Results of the matched content suggestions. The result list is ordered and + * the first result is the top suggestion. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo : GTLRObject +@property(nonatomic, strong, nullable) NSArray *contentSuggestions; -/** Document resource name. */ -@property(nonatomic, copy, nullable) NSString *document; +/** + * Results of the matched people suggestions. The result list is ordered and + * the first result is the top suggestion. + */ +@property(nonatomic, strong, nullable) NSArray *peopleSuggestions; -/** Structured search data. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo_StructData *structData; +/** + * Results of the matched query suggestions. The result list is ordered and the + * first result is a top suggestion. + */ +@property(nonatomic, strong, nullable) NSArray *querySuggestions; -/** Output only. The title of the document. */ -@property(nonatomic, copy, nullable) NSString *title; +/** + * Results of the matched "recent search" suggestions. The result list is + * ordered and the first result is the top suggestion. + */ +@property(nonatomic, strong, nullable) NSArray *recentSearchSuggestions; -/** Output only. The URI of the document. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** + * True if the returned suggestions are all tail suggestions. For tail matching + * to be triggered, include_tail_suggestions in the request must be true and + * there must be no suggestions that match the full query. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *tailMatchTriggered; @end /** - * Structured search data. - * - * @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. + * Suggestions as content. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo_StructData : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion : GTLRObject /** - * Unstructured document information. + * The type of the content suggestion. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion_ContentType_ContentTypeUnspecified + * Default value. (Value: "CONTENT_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion_ContentType_GoogleWorkspace + * The suggestion is from a Google Workspace source. (Value: + * "GOOGLE_WORKSPACE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseContentSuggestion_ContentType_ThirdParty + * The suggestion is from a third party source. (Value: "THIRD_PARTY") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo : GTLRObject +@property(nonatomic, copy, nullable) NSString *contentType; -/** List of cited chunk contents derived from document content. */ -@property(nonatomic, strong, nullable) NSArray *chunkContents; +/** The name of the dataStore that this suggestion belongs to. */ +@property(nonatomic, copy, nullable) NSString *dataStore; -/** Document resource name. */ -@property(nonatomic, copy, nullable) NSString *document; +/** The destination uri of the content suggestion. */ +@property(nonatomic, copy, nullable) NSString *destinationUri; /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. + * The document data snippet in the suggestion. Only a subset of fields will be + * populated. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData *structData; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document *document; -/** Title. */ -@property(nonatomic, copy, nullable) NSString *title; +/** The icon uri of the content suggestion. */ +@property(nonatomic, copy, nullable) NSString *iconUri; -/** URI for the document. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** + * The score of each suggestion. The score is in the range of [0, 1]. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +/** The suggestion for the query. */ +@property(nonatomic, copy, nullable) NSString *suggestion; @end /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. - * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Suggestions as people. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData : GTLRObject -@end +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion : GTLRObject + +/** The name of the dataStore that this suggestion belongs to. */ +@property(nonatomic, copy, nullable) NSString *dataStore; + +/** The destination uri of the person suggestion. */ +@property(nonatomic, copy, nullable) NSString *destinationUri; +/** The photo uri of the person suggestion. */ +@property(nonatomic, copy, nullable) NSString *displayPhotoUri; /** - * Chunk content. + * The document data snippet in the suggestion. Only a subset of fields is + * populated. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent : GTLRObject +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Document *document; /** - * Output only. Stores indexes of blobattachments linked to this chunk. + * The type of the person. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion_PersonType_CloudIdentity + * The suggestion is from a GOOGLE_IDENTITY source. (Value: + * "CLOUD_IDENTITY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion_PersonType_PersonTypeUnspecified + * Default value. (Value: "PERSON_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponsePersonSuggestion_PersonType_ThirdPartyIdentity + * The suggestion is from a THIRD_PARTY_IDENTITY source. (Value: + * "THIRD_PARTY_IDENTITY") */ -@property(nonatomic, strong, nullable) NSArray *blobAttachmentIndexes; - -/** Chunk textual content. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Page identifier. */ -@property(nonatomic, copy, nullable) NSString *pageIdentifier; +@property(nonatomic, copy, nullable) NSString *personType; /** - * The relevance of the chunk for a given query. Values range from 0.0 - * (completely irrelevant) to 1.0 (completely relevant). This value is for - * informational purpose only. It may change for the same query and chunk at - * any time due to a model retraining or change in implementation. + * The score of each suggestion. The score is in the range of [0, 1]. * - * Uses NSNumber of floatValue. + * Uses NSNumber of doubleValue. */ -@property(nonatomic, strong, nullable) NSNumber *relevanceScore; +@property(nonatomic, strong, nullable) NSNumber *score; + +/** The suggestion for the query. */ +@property(nonatomic, copy, nullable) NSString *suggestion; @end /** - * Step information. + * Suggestions as search queries. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep : GTLRObject - -/** Actions. */ -@property(nonatomic, strong, nullable) NSArray *actions; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseQuerySuggestion : GTLRObject /** - * The description of the step. - * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + * The unique document field paths that serve as the source of this suggestion + * if it was generated from completable fields. This field is only populated + * for the document-completable model. */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; +@property(nonatomic, strong, nullable) NSArray *completableFieldPaths; + +/** The name of the dataStore that this suggestion belongs to. */ +@property(nonatomic, strong, nullable) NSArray *dataStore; /** - * The state of the step. + * The score of each suggestion. The score is in the range of [0, 1]. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_Failed - * Step currently failed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_InProgress - * Step is currently in progress. (Value: "IN_PROGRESS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_StateUnspecified - * Unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_Succeeded - * Step has succeeded. (Value: "SUCCEEDED") + * Uses NSNumber of doubleValue. */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, strong, nullable) NSNumber *score; -/** The thought of the step. */ -@property(nonatomic, copy, nullable) NSString *thought; +/** The suggestion for the query. */ +@property(nonatomic, copy, nullable) NSString *suggestion; @end /** - * Action. + * Suggestions from recent search history. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepAction : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponseRecentSearchSuggestion : GTLRObject -/** Observation. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation *observation; +/** The time when this recent rearch happened. */ +@property(nonatomic, strong, nullable) GTLRDateTime *recentSearchTime; -/** Search action. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction *searchAction; +/** + * The score of each suggestion. The score is in the range of [0, 1]. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +/** The suggestion for the query. */ +@property(nonatomic, copy, nullable) NSString *suggestion; @end /** - * Observation. + * Configuration data for advance site search. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig : GTLRObject /** - * Search results observed by the search action, it can be snippets info or - * chunk info, depending on the citation type set by the user. + * If set true, automatic refresh is disabled for the DataStore. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSArray *searchResults; +@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 /** - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult + * AlloyDB source import data from. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AlloyDbSource : GTLRObject /** - * If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate - * chunk info. + * Required. The AlloyDB cluster to copy the data from with a length limit of + * 256 characters. */ -@property(nonatomic, strong, nullable) NSArray *chunkInfo; - -/** Document resource name. */ -@property(nonatomic, copy, nullable) NSString *document; +@property(nonatomic, copy, nullable) NSString *clusterId; /** - * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level - * snippets. + * Required. The AlloyDB database to copy the data from with a length limit of + * 256 characters. */ -@property(nonatomic, strong, nullable) NSArray *snippetInfo; +@property(nonatomic, copy, nullable) NSString *databaseId; /** - * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document, or the Chunk in search - * result. + * Intermediate Cloud Storage directory used for the import with a length limit + * of 2,000 characters. Can be specified if one wants to have the AlloyDB + * export to a specific Cloud Storage directory. Ensure that the AlloyDB + * service account has the necessary Cloud Storage Admin permissions to access + * the specified Cloud Storage directory. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult_StructData *structData; - -/** Title. */ -@property(nonatomic, copy, nullable) NSString *title; - -/** URI for the document. */ -@property(nonatomic, copy, nullable) NSString *uri; - -@end - +@property(nonatomic, copy, nullable) NSString *gcsStagingDir; /** - * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document, or the Chunk in search - * result. - * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Required. The AlloyDB location to copy the data from with a length limit of + * 256 characters. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult_StructData : GTLRObject -@end - +@property(nonatomic, copy, nullable) NSString *locationId; /** - * Chunk information. + * The project ID that contains the AlloyDB source. Has a length limit of 128 + * characters. If not specified, inherits the project ID from the parent + * request. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo : GTLRObject - -/** Chunk resource name. */ -@property(nonatomic, copy, nullable) NSString *chunk; - -/** Chunk textual content. */ -@property(nonatomic, copy, nullable) NSString *content; +@property(nonatomic, copy, nullable) NSString *projectId; /** - * The relevance of the chunk for a given query. Values range from 0.0 - * (completely irrelevant) to 1.0 (completely relevant). This value is for - * informational purpose only. It may change for the same query and chunk at - * any time due to a model retraining or change in implementation. - * - * Uses NSNumber of floatValue. + * Required. The AlloyDB table to copy the data from with a length limit of 256 + * characters. */ -@property(nonatomic, strong, nullable) NSNumber *relevanceScore; +@property(nonatomic, copy, nullable) NSString *tableId; @end /** - * Snippet information. + * Access Control Configuration. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo : GTLRObject - -/** Snippet content. */ -@property(nonatomic, copy, nullable) NSString *snippet; - -/** Status of the snippet defined by the search team. */ -@property(nonatomic, copy, nullable) NSString *snippetStatus; - -@end +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAclConfig : GTLRObject +/** Identity provider config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig *idpConfig; /** - * Search action. + * Immutable. The full resource name of the acl configuration. Format: + * `projects/{project}/locations/{location}/aclConfig`. This field must be a + * UTF-8 encoded string with a length limit of 1024 characters. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction : GTLRObject - -/** The query to search. */ -@property(nonatomic, copy, nullable) NSString *query; +@property(nonatomic, copy, nullable) NSString *name; @end /** - * The configuration for the BAP connector. + * Informations to support actions on the connector. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig : GTLRObject /** - * Required. The supported connector modes for the associated BAP connection. + * 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) NSArray *supportedConnectorModes; - -@end - +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams *actionParams; /** - * Metadata related to the progress of the - * SiteSearchEngineService.BatchCreateTargetSites operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Output only. The connector contains the necessary parameters and is + * configured to support actions. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, strong, nullable) NSNumber *isActionConfigured; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Optional. The Service Directory resource name (projects/ * /locations/ * + * /namespaces/ * /services/ *) representing a VPC network endpoint used to + * connect to the data source's `instance_uri`, defined in + * DataConnector.params. Required when VPC Service Controls are enabled. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, copy, nullable) NSString *serviceName; /** - * Response message for SiteSearchEngineService.BatchCreateTargetSites method. + * Optional. Whether to use static secrets for the connector. If true, the + * secrets provided in the action_params will be ignored. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse : GTLRObject - -/** TargetSites created. */ -@property(nonatomic, strong, nullable) NSArray *targetSites; +@property(nonatomic, strong, nullable) NSNumber *useStaticSecrets; @end /** - * Metadata related to the progress of the - * UserLicenseService.BatchUpdateUserLicenses operation. This will be returned - * by the google.longrunning.Operation.metadata field. + * 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_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig_ActionParams : GTLRObject +@end -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Count of user licenses that failed to be updated. - * - * Uses NSNumber of longLongValue. + * Configuration data for advance site search. */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig : GTLRObject /** - * Count of user licenses successfully updated. + * If set true, automatic refresh is disabled for the DataStore. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@property(nonatomic, strong, nullable) NSNumber *disableAutomaticRefresh; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * If set true, initial indexing is disabled for the DataStore. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSNumber *disableInitialIndex; @end /** - * Response message for UserLicenseService.BatchUpdateUserLicenses method. + * The connector level alert config. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig : GTLRObject -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** Optional. The enrollment states of each alert. */ +@property(nonatomic, strong, nullable) NSArray *alertEnrollments; -/** UserLicenses successfully updated. */ -@property(nonatomic, strong, nullable) NSArray *userLicenses; +/** Immutable. The fully qualified resource name of the AlertPolicy. */ +@property(nonatomic, copy, nullable) NSString *alertPolicyName; @end /** - * Configurations used to enable CMEK data encryption with Cloud KMS keys. + * The alert enrollment status. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment : GTLRObject + +/** Immutable. The id of an alert. */ +@property(nonatomic, copy, nullable) NSString *alertId; /** - * Output only. The default CmekConfig for the Customer. + * Required. The enrollment status of a customer. * - * Uses NSNumber of boolValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment_EnrollState_Declined + * Customer declined this policy. (Value: "DECLINED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment_EnrollState_Enrolled + * Customer is enrolled in this policy. (Value: "ENROLLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment_EnrollState_EnrollStatesUnspecified + * Default value. Used for customers who have not responded to the alert + * policy. (Value: "ENROLL_STATES_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *isDefault; +@property(nonatomic, copy, nullable) NSString *enrollState; + +@end + /** - * KMS key resource name which will be used to encrypt resources - * `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. + * Defines an answer. */ -@property(nonatomic, copy, nullable) NSString *kmsKey; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer : GTLRObject /** - * KMS key version resource name which will be used to encrypt resources - * `/cryptoKeyVersions/{keyVersion}`. + * Additional answer-skipped reasons. This provides the reason for ignored + * cases. If nothing is skipped, this field is not set. */ -@property(nonatomic, copy, nullable) NSString *kmsKeyVersion; +@property(nonatomic, strong, nullable) NSArray *answerSkippedReasons; + +/** The textual answer. */ +@property(nonatomic, copy, nullable) NSString *answerText; + +/** List of blob attachments in the answer. */ +@property(nonatomic, strong, nullable) NSArray *blobAttachments; + +/** Citations. */ +@property(nonatomic, strong, nullable) NSArray *citations; + +/** Output only. Answer completed timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *completeTime; + +/** Output only. Answer creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The timestamp of the last key rotation. + * A score in the range of [0, 1] describing how grounded the answer is by the + * reference chunks. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of doubleValue. */ -@property(nonatomic, strong, nullable) NSNumber *lastRotationTimestampMicros; +@property(nonatomic, strong, nullable) NSNumber *groundingScore; + +/** Optional. Grounding supports. */ +@property(nonatomic, strong, nullable) NSArray *groundingSupports; /** - * Required. The name of the CmekConfig of the form - * `projects/{project}/locations/{location}/cmekConfig` or - * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * * /answers/ *` */ @property(nonatomic, copy, nullable) NSString *name; -/** - * Output only. Whether the NotebookLM Corpus is ready to be used. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmNotEnabled - * The NotebookLM is not enabled. (Value: "NOTEBOOK_LM_NOT_ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmNotReady - * The NotebookLM is not ready. (Value: "NOTEBOOK_LM_NOT_READY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmReady - * The NotebookLM is ready to be used. (Value: "NOTEBOOK_LM_READY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmStateUnspecified - * The NotebookLM state is unknown. (Value: - * "NOTEBOOK_LM_STATE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *notebooklmState; +/** Query understanding information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo *queryUnderstandingInfo; -/** - * Optional. Single-regional CMEKs that are required for some VAIS features. - */ -@property(nonatomic, strong, nullable) NSArray *singleRegionKeys; +/** References. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Suggested related questions. */ +@property(nonatomic, strong, nullable) NSArray *relatedQuestions; + +/** Optional. Safety ratings. */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; /** - * Output only. The states of the CmekConfig. + * The state of the answer generation. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Active - * The CmekConfig can be used with DataStores. (Value: "ACTIVE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_ActiveRotating - * The KMS key version is being rotated. (Value: "ACTIVE_ROTATING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Creating - * The CmekConfig is creating. (Value: "CREATING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleted - * The KMS key is soft deleted. Some cleanup policy will eventually be - * applied. (Value: "DELETED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_DeleteFailed - * The CmekConfig deletion process failed. (Value: "DELETE_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleting - * The CmekConfig is deleting. (Value: "DELETING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_KeyIssue - * The CmekConfig is unavailable, most likely due to the KMS Key being - * revoked. (Value: "KEY_ISSUE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_StateUnspecified - * The CmekConfig state is unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Unusable - * The CmekConfig is not usable, most likely due to some internal issue. - * (Value: "UNUSABLE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_Failed + * Answer generation currently failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer_State_InProgress + * 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") */ @property(nonatomic, copy, nullable) NSString *state; +/** Answer generation steps. */ +@property(nonatomic, strong, nullable) NSArray *steps; + @end /** - * Collection is a container for configuring resources and access to a set of - * DataStores. + * Stores binarydata attached to text answer, e.g. image, video, audio, etc. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCollection : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment : GTLRObject + +/** + * Output only. The attribution type of the blob. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment_AttributionType_AttributionTypeUnspecified + * Unspecified attribution type. (Value: "ATTRIBUTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment_AttributionType_Corpus + * The attachment data is from the corpus. (Value: "CORPUS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment_AttributionType_Generated + * The attachment data is generated by the model through code generation. + * (Value: "GENERATED") + */ +@property(nonatomic, copy, nullable) NSString *attributionType; + +/** Output only. The mime type and data of the blob. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob *data; + +@end -/** 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. + * The media type and data of the blob. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector *dataConnector; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob : GTLRObject /** - * 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. + * Output only. Raw bytes. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). */ -@property(nonatomic, copy, nullable) NSString *displayName; +@property(nonatomic, copy, nullable) NSString *data; /** - * 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. + * Output only. The media type (MIME type) of the generated or retrieved data. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *mimeType; @end /** - * Defines circumstances to be checked before allowing a behavior + * Citation info for a segment. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitation : GTLRObject /** - * Range of time(s) specifying when condition is active. Maximum of 10 time - * ranges. + * End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). + * If there are multi-byte characters,such as non-ASCII characters, the index + * measurement is longer than the string length. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSArray *activeTimeRange; +@property(nonatomic, strong, nullable) NSNumber *endIndex; + +/** Citation sources for the attributed segment. */ +@property(nonatomic, strong, nullable) NSArray *sources; /** - * Optional. Query regex to match the whole search query. Cannot be set when - * Condition.query_terms is set. Only supported for Basic Site Search promotion - * serving controls. + * Index indicates the start of the segment, measured in bytes (UTF-8 unicode). + * If there are multi-byte characters,such as non-ASCII characters, the index + * measurement is longer than the string length. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *queryRegex; +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + /** - * Search only A list of terms to match the query on. Cannot be set when - * Condition.query_regex is set. Maximum of 10 query terms. + * Citation source. */ -@property(nonatomic, strong, nullable) NSArray *queryTerms; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerCitationSource : GTLRObject + +/** ID of the citation source. */ +@property(nonatomic, copy, nullable) NSString *referenceId; @end /** - * Matcher for search request query + * Grounding support for a claim in `answer_text`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport : GTLRObject /** - * Whether the search query needs to exactly match the query term. + * 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 *fullMatch; +@property(nonatomic, strong, nullable) NSNumber *groundingCheckRequired; /** - * The specific query value to match against Must be lowercase, must be UTF-8. - * Can have at most 3 space separated terms if full_match is true. Cannot be an - * empty string. Maximum length of 5000 characters. + * 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, copy, nullable) NSString *value; +@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 /** - * Used for time-dependent conditions. + * Query understanding information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange : GTLRObject - -/** End of time range. Range is inclusive. Must be in the future. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo : GTLRObject -/** Start of time range. Range is inclusive. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; +/** Query classification information. */ +@property(nonatomic, strong, nullable) NSArray *queryClassificationInfo; @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. // + * Query classification information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun : GTLRObject - -/** Output only. The time when the connector run ended. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo : GTLRObject /** - * Output only. The details of the entities synced at the ConnectorRun. Each - * ConnectorRun consists of syncing one or more entities. + * Classification output. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSArray *entityRuns; +@property(nonatomic, strong, nullable) NSNumber *positive; /** - * 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. + * Query classification type. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery + * Adversarial query classification type. (Value: "ADVERSARIAL_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_JailBreakingQuery + * Jail-breaking query classification type. (Value: + * "JAIL_BREAKING_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQuery + * Non-answer-seeking query classification type, for chit chat. (Value: + * "NON_ANSWER_SEEKING_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQueryV2 + * Non-answer-seeking query classification type, for no clear intent. + * (Value: "NON_ANSWER_SEEKING_QUERY_V2") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_TypeUnspecified + * Unspecified query classification type. (Value: "TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo_Type_UserDefinedClassificationQuery + * User defined query classification type. (Value: + * "USER_DEFINED_CLASSIFICATION_QUERY") */ -@property(nonatomic, strong, nullable) NSArray *errors; +@property(nonatomic, copy, nullable) NSString *type; + +@end -/** 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. + * Reference. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReference : GTLRObject -/** Output only. The time when the connector run started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; +/** Chunk information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo *chunkInfo; -/** - * 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_Skipped - * An ongoing connector run has been running longer than expected, - * causing this run to be skipped. (Value: "SKIPPED") - * @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; +/** Structured document information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo *structuredDocumentInfo; -/** - * 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; +/** Unstructured document information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo *unstructuredDocumentInfo; @end /** - * Represents an entity that was synced in this ConnectorRun. + * Chunk information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo : GTLRObject /** - * Optional. The number of documents deleted. + * Output only. Stores indexes of blobattachments linked to this chunk. * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *deletedRecordCount; +@property(nonatomic, strong, nullable) NSArray *blobAttachmentIndexes; -/** - * The name of the source entity. - * - * Remapped to 'entityNameProperty' to avoid NSObject's 'entityName'. - */ -@property(nonatomic, copy, nullable) NSString *entityNameProperty; +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; + +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Document metadata. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata *documentMetadata; /** - * Optional. The total number of documents failed at sync at indexing stage. + * The relevance of the chunk for a given query. Values range from 0.0 + * (completely irrelevant) to 1.0 (completely relevant). This value is for + * informational purpose only. It may change for the same query and chunk at + * any time due to a model retraining or change in implementation. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *errorRecordCount; +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; + +@end + /** - * The errors from the entity's sync run. Only exist if running into an error - * state. Contains error code and error message. + * Document metadata. */ -@property(nonatomic, strong, nullable) NSArray *errors; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata : GTLRObject + +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; /** - * Optional. The number of documents extracted from connector source, ready to - * be ingested to VAIS. - * - * Uses NSNumber of longLongValue. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. */ -@property(nonatomic, strong, nullable) NSNumber *extractedRecordCount; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData *structData; + +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + /** - * Optional. The number of documents indexed. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. * - * Uses NSNumber of longLongValue. + * @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, strong, nullable) NSNumber *indexedRecordCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata_StructData : GTLRObject +@end -/** Metadata to generate the progress bar. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress *progress; /** - * Optional. The number of documents scheduled to be crawled/extracted from - * connector source. This only applies to third party connectors. - * - * Uses NSNumber of longLongValue. + * Structured search information. */ -@property(nonatomic, strong, nullable) NSNumber *scheduledRecordCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo : GTLRObject + +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; + +/** Structured search data. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo_StructData *structData; + +/** Output only. The title of the document. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. The URI of the document. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + /** - * Optional. The number of requests sent to 3p API. + * Structured search data. * - * Uses NSNumber of longLongValue. + * @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, strong, nullable) NSNumber *sourceApiRequestCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo_StructData : GTLRObject +@end + /** - * 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_Skipped - * An ongoing connector run has been running longer than expected, - * causing this run to be skipped. (Value: "SKIPPED") - * @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") + * Unstructured document information. */ -@property(nonatomic, copy, nullable) NSString *state; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo : GTLRObject -/** Timestamp at which the entity sync state was last updated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *stateUpdateTime; +/** List of cited chunk contents derived from document content. */ +@property(nonatomic, strong, nullable) NSArray *chunkContents; + +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; /** - * The timestamp for either extracted_documents_count, indexed_documents_count - * and error_documents_count was last updated. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. */ -@property(nonatomic, strong, nullable) GTLRDateTime *statsUpdateTime; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData *structData; + +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + /** - * Sync type of this run. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. * - * 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_Realtime - * Realtime sync. (Value: "REALTIME") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_ScalaSync - * Scala sync. (Value: "SCALA_SYNC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_SyncTypeUnspecified - * Sync type unspecified. (Value: "SYNC_TYPE_UNSPECIFIED") + * @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 *syncType; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo_StructData : GTLRObject @end /** - * Represents the progress of a sync run. + * Chunk content. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent : GTLRObject /** - * The current progress. + * Output only. Stores indexes of blobattachments linked to this chunk. * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *currentCount; +@property(nonatomic, strong, nullable) NSArray *blobAttachmentIndexes; + +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; /** - * Derived. The percentile of the progress.current_count / total_count. The - * value is between [0, 1.0] inclusive. + * The relevance of the chunk for a given query. Values range from 0.0 + * (completely irrelevant) to 1.0 (completely relevant). This value is for + * informational purpose only. It may change for the same query and chunk at + * any time due to a model retraining or change in implementation. * * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *percentile; +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; + +@end + /** - * The total. - * - * Uses NSNumber of longLongValue. + * Step information. */ -@property(nonatomic, strong, nullable) NSNumber *totalCount; - -@end +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep : GTLRObject +/** Actions. */ +@property(nonatomic, strong, nullable) NSArray *actions; /** - * Defines a conditioned behavior to employ during serving. Must be attached to - * a ServingConfig to be considered at serving time. Permitted actions - * dependent on `SolutionType`. + * The description of the step. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl : GTLRObject +@property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Output only. List of all ServingConfig IDs this control is attached to. May - * take up to 10 minutes to update after changes. + * The state of the step. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_Failed + * Step currently failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_InProgress + * Step is currently in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_StateUnspecified + * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStep_State_Succeeded + * Step has succeeded. (Value: "SUCCEEDED") */ -@property(nonatomic, strong, nullable) NSArray *associatedServingConfigIds; +@property(nonatomic, copy, nullable) NSString *state; -/** Defines a boost-type control */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction *boostAction; +/** The thought of the step. */ +@property(nonatomic, copy, nullable) NSString *thought; + +@end -/** - * Determines when the associated action will trigger. Omit to always apply the - * action. Currently only a single condition may be specified. Otherwise an - * INVALID ARGUMENT error is thrown. - */ -@property(nonatomic, strong, nullable) NSArray *conditions; /** - * Required. Human readable name. The identifier used in UI views. Must be - * UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID - * ARGUMENT error is thrown. + * Action. */ -@property(nonatomic, copy, nullable) NSString *displayName; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepAction : GTLRObject -/** Defines a filter-type control Currently not supported by Recommendation */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction *filterAction; +/** Observation. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation *observation; -/** - * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * - * /controls/ *` - */ -@property(nonatomic, copy, nullable) NSString *name; +/** Search action. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction *searchAction; -/** Promote certain links based on predefined trigger queries. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlPromoteAction *promoteAction; +@end -/** Defines a redirect-type control. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction *redirectAction; /** - * Required. Immutable. What solution the control belongs to. Must be - * compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is - * thrown. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeChat - * Used for use cases related to the Generative AI agent. (Value: - * "SOLUTION_TYPE_CHAT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeGenerativeChat - * Used for use cases related to the Generative Chat agent. It's used for - * Generative chat engine only, the associated data stores must enrolled - * with `SOLUTION_TYPE_CHAT` solution. (Value: - * "SOLUTION_TYPE_GENERATIVE_CHAT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeRecommendation - * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeSearch - * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeUnspecified - * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") + * Observation. */ -@property(nonatomic, copy, nullable) NSString *solutionType; - -/** Treats a group of terms as synonyms of one another. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction *synonymsAction; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation : GTLRObject /** - * Specifies the use case for the control. Affects what condition fields can be - * set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case - * per control. Must be set when solution_type is - * SolutionType.SOLUTION_TYPE_SEARCH. + * Search results observed by the search action, it can be snippets info or + * chunk info, depending on the citation type set by the user. */ -@property(nonatomic, strong, nullable) NSArray *useCases; +@property(nonatomic, strong, nullable) NSArray *searchResults; @end /** - * Adjusts order of products in returned list. + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult : GTLRObject /** - * Strength of the boost, which should be in [-1, 1]. Negative boost means - * demotion. Default is 0.0 (No-op). - * - * Uses NSNumber of floatValue. + * If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate + * chunk info. */ -@property(nonatomic, strong, nullable) NSNumber *boost GTLR_DEPRECATED; +@property(nonatomic, strong, nullable) NSArray *chunkInfo; -/** - * Required. Specifies which data store's documents can be boosted by this - * control. Full data store name e.g. - * projects/123/locations/global/collections/default_collection/dataStores/default_data_store - */ -@property(nonatomic, copy, nullable) NSString *dataStore; +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; /** - * Required. Specifies which products to apply the boost to. If no filter is - * provided all products will be boosted (No-op). Syntax documentation: - * https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 - * characters. Otherwise an INVALID ARGUMENT error is thrown. + * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level + * snippets. */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, strong, nullable) NSArray *snippetInfo; /** - * 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. + * Data representation. The structured JSON data for the document. It's + * populated from the struct data from the Document, or the Chunk in search + * result. */ -@property(nonatomic, strong, nullable) NSNumber *fixedBoost; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult_StructData *structData; -/** - * Optional. Complex specification for custom ranking based on customer defined - * attribute value. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec *interpolationBoostSpec; +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; -@end +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; +@end -/** - * Specification for custom ranking based on customer specified attribute - * value. It provides more controls for customized ranking than the simple - * (condition, boost) combination above. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec : GTLRObject /** - * Optional. The attribute type to be used to determine the boost amount. The - * attribute value can be derived from the field value of the specified - * field_name. In the case of numerical it is straightforward i.e. - * attribute_value = numerical_field_value. In the case of freshness however, - * attribute_value = (time.now() - datetime_field_value). + * Data representation. The structured JSON data for the document. It's + * populated from the struct data from the Document, or the Chunk in search + * result. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_AttributeType_AttributeTypeUnspecified - * Unspecified AttributeType. (Value: "ATTRIBUTE_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_AttributeType_Freshness - * For the freshness use case the attribute value will be the duration - * between the current time and the date in the datetime field specified. - * The value must be formatted as an XSD `dayTimeDuration` value (a - * restricted subset of an ISO 8601 duration value). The pattern for this - * is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`. (Value: - * "FRESHNESS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_AttributeType_Numerical - * The value of the numerical field will be used to dynamically update - * the boost amount. In this case, the attribute_value (the x value) of - * the control point will be the actual value of the numerical field for - * which the boost_amount is specified. (Value: "NUMERICAL") + * @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 *attributeType; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult_StructData : GTLRObject +@end -/** - * Optional. The control points used to define the curve. The monotonic - * function (defined through the interpolation_type above) passes through the - * control points listed here. - */ -@property(nonatomic, strong, nullable) NSArray *controlPoints; /** - * Optional. The name of the field whose value will be used to determine the - * boost amount. + * Chunk information. */ -@property(nonatomic, copy, nullable) NSString *fieldName; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo : GTLRObject + +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; + +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; /** - * Optional. The interpolation type to be applied to connect the control points - * listed below. + * The relevance of the chunk for a given query. Values range from 0.0 + * (completely irrelevant) to 1.0 (completely relevant). This value is for + * informational purpose only. It may change for the same query and chunk at + * any time due to a model retraining or change in implementation. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_InterpolationType_InterpolationTypeUnspecified - * Interpolation type is unspecified. In this case, it defaults to - * Linear. (Value: "INTERPOLATION_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_InterpolationType_Linear - * Piecewise linear interpolation will be applied. (Value: "LINEAR") + * Uses NSNumber of floatValue. */ -@property(nonatomic, copy, nullable) NSString *interpolationType; +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; @end /** - * The control points used to define the curve. The curve defined through these - * control points can only be monotonically increasing or decreasing(constant - * values are acceptable). + * Snippet information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo : GTLRObject + +/** Snippet content. */ +@property(nonatomic, copy, nullable) NSString *snippet; + +/** Status of the snippet defined by the search team. */ +@property(nonatomic, copy, nullable) NSString *snippetStatus; + +@end -/** - * Optional. Can be one of: 1. The numerical field value. 2. The duration spec - * for freshness: The value must be formatted as an XSD `dayTimeDuration` value - * (a restricted subset of an ISO 8601 duration value). The pattern for this - * is: `nDnM]`. - */ -@property(nonatomic, copy, nullable) NSString *attributeValue; /** - * Optional. The value between -1 to 1 by which to boost the score if the - * attribute_value evaluates to the value specified above. - * - * Uses NSNumber of floatValue. + * Search action. */ -@property(nonatomic, strong, nullable) NSNumber *boostAmount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction : GTLRObject + +/** The query to search. */ +@property(nonatomic, copy, nullable) NSString *query; @end /** - * Specified which products may be included in results. Uses same filter as - * boost. + * The configuration for the BAP connector. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig : GTLRObject /** - * Required. Specifies which data store's documents can be filtered by this - * control. Full data store name e.g. - * projects/123/locations/global/collections/default_collection/dataStores/default_data_store + * Required. The supported connector modes for the associated BAP connection. */ -@property(nonatomic, copy, nullable) NSString *dataStore; - -/** - * Required. A filter to apply on the matching condition results. Required - * Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order - * Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is - * thrown. - */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, strong, nullable) NSArray *supportedConnectorModes; @end /** - * Promote certain links based on some trigger queries. Example: Promote shoe - * store link when searching for `shoe` keyword. The link can be outside of - * associated data store. + * Metadata related to the progress of the + * SiteSearchEngineService.BatchCreateTargetSites operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlPromoteAction : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata : GTLRObject -/** Required. Data store with which this promotion is attached to. */ -@property(nonatomic, copy, nullable) NSString *dataStore; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; -/** Required. Promotion attached to this action. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion *searchLinkPromotion; +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Redirects a shopper to the provided URI. + * Response message for SiteSearchEngineService.BatchCreateTargetSites method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse : GTLRObject + +/** TargetSites created. */ +@property(nonatomic, strong, nullable) NSArray *targetSites; + +@end + /** - * Required. The URI to which the shopper will be redirected. Required. URI - * must have length equal or less than 2000 characters. Otherwise an INVALID - * ARGUMENT error is thrown. + * Metadata related to the progress of the + * UserLicenseService.BatchUpdateUserLicenses operation. This will be returned + * by the google.longrunning.Operation.metadata field. */ -@property(nonatomic, copy, nullable) NSString *redirectUri; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata : GTLRObject -@end +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Count of user licenses that failed to be updated. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; /** - * Creates a set of terms that will act as synonyms of one another. Example: - * "happy" will also be considered as "glad", "glad" will also be considered as - * "happy". + * Count of user licenses successfully updated. + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *successCount; /** - * Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at - * least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) NSArray *synonyms; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * The historical crawl rate timeseries data, used for monitoring. + * Response message for UserLicenseService.BatchUpdateUserLicenses method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse : GTLRObject -/** The QPS of the crawl rate. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleMonitoringV3TimeSeries *qpsTimeSeries; +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** UserLicenses successfully updated. */ +@property(nonatomic, strong, nullable) NSArray *userLicenses; @end /** - * Metadata related to the progress of the DataStoreService.CreateDataStore - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Configurations used to enable CMEK data encryption with Cloud KMS keys. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Output only. The default CmekConfig for the Customer. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end +@property(nonatomic, strong, nullable) NSNumber *isDefault; +/** + * Required. 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; /** - * Metadata related to the progress of the EngineService.CreateEngine - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Output only. KMS key version resource name which will be used to encrypt + * resources `/cryptoKeyVersions/{keyVersion}`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata : GTLRObject +@property(nonatomic, copy, nullable) NSString *kmsKeyVersion; -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The timestamp of the last key rotation. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *lastRotationTimestampMicros; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Required. The name of the CmekConfig of the form + * `projects/{project}/locations/{location}/cmekConfig` or + * `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, copy, nullable) NSString *name; -@end +/** + * Output only. Whether the NotebookLM Corpus is ready to be used. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmNotEnabled + * The NotebookLM is not enabled. (Value: "NOTEBOOK_LM_NOT_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmNotReady + * The NotebookLM is not ready. (Value: "NOTEBOOK_LM_NOT_READY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmReady + * The NotebookLM is ready to be used. (Value: "NOTEBOOK_LM_READY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_NotebooklmState_NotebookLmStateUnspecified + * The NotebookLM state is unknown. (Value: + * "NOTEBOOK_LM_STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *notebooklmState; +/** + * Optional. Single-regional CMEKs that are required for some VAIS features. + */ +@property(nonatomic, strong, nullable) NSArray *singleRegionKeys; /** - * Metadata for EvaluationService.CreateEvaluation method. + * Output only. The states of the CmekConfig. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Active + * The CmekConfig can be used with DataStores. (Value: "ACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_ActiveRotating + * The KMS key version is being rotated. (Value: "ACTIVE_ROTATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Creating + * The CmekConfig is creating. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleted + * The KMS key is soft deleted. Some cleanup policy will eventually be + * applied. (Value: "DELETED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_DeleteFailed + * The CmekConfig deletion process failed. (Value: "DELETE_FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Deleting + * The CmekConfig is deleting. (Value: "DELETING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_KeyIssue + * The CmekConfig is unavailable, most likely due to the KMS Key being + * revoked. (Value: "KEY_ISSUE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_StateUnspecified + * The CmekConfig state is unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig_State_Unusable + * The CmekConfig is not usable, most likely due to some internal issue. + * (Value: "UNUSABLE") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata : GTLRObject +@property(nonatomic, copy, nullable) NSString *state; + @end /** - * Metadata for Create Schema LRO. + * Collection is a container for configuring resources and access to a set of + * DataStores. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCollection : GTLRObject -/** Operation create time. */ +/** Output only. Timestamp the Collection was created at. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * 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) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector *dataConnector; /** - * Metadata related to the progress of the - * SiteSearchEngineService.CreateSitemap operation. This will be returned by - * the google.longrunning.Operation.metadata field. + * 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. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, copy, nullable) NSString *displayName; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * 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, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, copy, nullable) NSString *name; @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.CreateTargetSite operation. This will be returned by - * the google.longrunning.Operation.metadata field. + * Defines circumstances to be checked before allowing a behavior */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCondition : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Range of time(s) specifying when condition is active. Maximum of 10 time + * ranges. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, strong, nullable) NSArray *activeTimeRange; /** - * Defines custom fine tuning spec. + * Optional. Query regex to match the whole search query. Cannot be set when + * Condition.query_terms is set. Only supported for Basic Site Search promotion + * serving controls. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec : GTLRObject +@property(nonatomic, copy, nullable) NSString *queryRegex; /** - * Whether or not to enable and include custom fine tuned search adaptor model. - * - * Uses NSNumber of boolValue. + * Search only A list of terms to match the query on. Cannot be set when + * Condition.query_regex is set. Maximum of 10 query terms. */ -@property(nonatomic, strong, nullable) NSNumber *enableSearchAdaptor; +@property(nonatomic, strong, nullable) NSArray *queryTerms; @end /** - * 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. + * Matcher for search request query */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionQueryTerm : GTLRObject /** - * Optional. Whether the connector will be created with an ACL config. - * Currently this field only affects Cloud Storage and BigQuery connectors. + * Whether the search query needs to exactly match the query term. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *aclEnabled; - -/** Optional. Action configurations to make the connector support actions. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig *actionConfig; +@property(nonatomic, strong, nullable) NSNumber *fullMatch; /** - * Output only. State of the action connector. This reflects whether the action - * connector is initializing, active or has encountered errors. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Active - * The connector is successfully set up and awaiting next sync run. - * (Value: "ACTIVE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Creating - * The connector is being set up. (Value: "CREATING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_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_ActionState_InitializationFailed - * Connector initialization failed. Potential causes include runtime - * errors or issues in the asynchronous pipeline, preventing the request - * from reaching downstream services (except for some connector types). - * (Value: "INITIALIZATION_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Running - * The connector is actively syncing records from the data source. - * (Value: "RUNNING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_StateUnspecified - * Default value. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Updating - * Connector is in the process of an update. (Value: "UPDATING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Warning - * The connector has completed a sync run, but encountered non-fatal - * errors. (Value: "WARNING") + * The specific query value to match against Must be lowercase, must be UTF-8. + * Can have at most 3 space separated terms if full_match is true. Cannot be an + * empty string. Maximum length of 5000 characters. */ -@property(nonatomic, copy, nullable) NSString *actionState; +@property(nonatomic, copy, nullable) NSString *value; + +@end -/** Optional. The connector level alert config. */ -@property(nonatomic, strong, nullable) NSArray *alertPolicyConfigs; /** - * Optional. Indicates whether the connector is disabled for auto run. It can - * be used to pause periodical and real time sync. Update: with the - * introduction of incremental_sync_disabled, auto_run_disabled is used to - * pause/disable only full syncs - * - * Uses NSNumber of boolValue. + * Used for time-dependent conditions. */ -@property(nonatomic, strong, nullable) NSNumber *autoRunDisabled; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConditionTimeRange : GTLRObject -/** Optional. The configuration for establishing a BAP connection. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig *bapConfig; +/** End of time range. Range is inclusive. Must be in the future. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; -/** - * Output only. User actions that must be completed before the connector can - * start syncing data. - */ -@property(nonatomic, strong, nullable) NSArray *blockingReasons; +/** Start of time range. Range is inclusive. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; -/** - * Optional. The modes enabled for this connector. Default state is - * CONNECTOR_MODE_UNSPECIFIED. - */ -@property(nonatomic, strong, nullable) NSArray *connectorModes; +@end -/** - * Output only. The type of connector. Each source can only map to one type. - * For example, salesforce, confluence and jira have THIRD_PARTY connector - * type. It is not mutable once set by system. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_BigQuery - * Big query connector. (Value: "BIG_QUERY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ConnectorTypeUnspecified - * Default value. (Value: "CONNECTOR_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcnv - * Google Cloud NetApp Volumes connector. (Value: "GCNV") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GcpFhir - * Data connector connects between FHIR store and VAIS datastore. (Value: - * "GCP_FHIR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcs - * Google Cloud Storage connector. (Value: "GCS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GoogleCalendar - * Google Calendar connector. (Value: "GOOGLE_CALENDAR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GoogleDrive - * Google Drive connector. (Value: "GOOGLE_DRIVE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GoogleMail - * Gmail connector. (Value: "GOOGLE_MAIL") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_NativeCloudIdentity - * Native Cloud Identity connector for people search powered by People - * API. (Value: "NATIVE_CLOUD_IDENTITY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ThirdParty - * Third party connector to connector to third party application. (Value: - * "THIRD_PARTY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ThirdPartyEua - * Connector utilized for End User Authentication features. (Value: - * "THIRD_PARTY_EUA") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ThirdPartyFederated - * Federated connector, it is a third party connector that doesn't - * ingestion data, and search is powered by third party application's - * API. (Value: "THIRD_PARTY_FEDERATED") - */ -@property(nonatomic, copy, nullable) NSString *connectorType; /** - * Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. - * - * Uses NSNumber of boolValue. + * 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. // */ -@property(nonatomic, strong, nullable) NSNumber *createEuaSaas; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRun : GTLRObject -/** Output only. Timestamp the DataConnector was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Output only. The time when the connector run ended. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * Required. The name of the data source. Supported values: `salesforce`, - * `jira`, `confluence`, `bigquery`. + * Output only. The details of the entities synced at the ConnectorRun. Each + * ConnectorRun consists of syncing one or more entities. */ -@property(nonatomic, copy, nullable) NSString *dataSource; +@property(nonatomic, strong, nullable) NSArray *entityRuns; /** - * Optional. Any target destinations used to connect to third-party services. + * 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 *destinationConfigs; +@property(nonatomic, strong, nullable) NSArray *errors; + +/** Output only. The time when the connector run was most recently paused. */ +@property(nonatomic, strong, nullable) GTLRDateTime *latestPauseTime; /** - * Optional. Any params and credentials used specifically for EUA connectors. + * 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, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig *endUserConfig; +@property(nonatomic, copy, nullable) NSString *name; -/** List of entities from the connected data source to ingest. */ -@property(nonatomic, strong, nullable) NSArray *entities; +/** Output only. The time when the connector run started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Output only. The errors from initialization or from the latest connector - * run. + * 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_Skipped + * An ongoing connector run has been running longer than expected, + * causing this run to be skipped. (Value: "SKIPPED") + * @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, strong, nullable) NSArray *errors; +@property(nonatomic, copy, nullable) NSString *state; + +/** Timestamp at which the connector run sync state was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *stateUpdateTime; /** - * 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. + * 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, strong, nullable) GTLRDuration *identityRefreshInterval GTLR_DEPRECATED; +@property(nonatomic, copy, nullable) NSString *trigger; + +@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. + * Represents an entity that was synced in this ConnectorRun. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig *identityScheduleConfig; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun : GTLRObject /** - * Optional. The refresh interval specifically for incremental data syncs. If - * unset, incremental syncs will use the default from env, set to 3hrs. The - * minimum is 30 minutes and maximum is 7 days. Applicable to only 3P - * connectors. When the refresh interval is set to the same value as the - * incremental refresh interval, incremental sync will be disabled. + * Optional. The number of documents deleted. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDuration *incrementalRefreshInterval; +@property(nonatomic, strong, nullable) NSNumber *deletedRecordCount; /** - * Optional. Indicates whether incremental syncs are paused for this connector. - * This is independent of auto_run_disabled. Applicable to only 3P connectors. - * When the refresh interval is set to the same value as the incremental - * refresh interval, incremental sync will be disabled, i.e. set to true. + * The name of the source entity. * - * Uses NSNumber of boolValue. + * Remapped to 'entityNameProperty' to avoid NSObject's 'entityName'. */ -@property(nonatomic, strong, nullable) NSNumber *incrementalSyncDisabled; +@property(nonatomic, copy, nullable) NSString *entityNameProperty; /** - * 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. + * Optional. The total number of documents failed at sync at indexing stage. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *kmsKeyName; +@property(nonatomic, strong, nullable) NSNumber *errorRecordCount; /** - * Output only. For periodic connectors only, the last time a data sync was - * completed. + * 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) GTLRDateTime *lastSyncTime; +@property(nonatomic, strong, nullable) NSArray *errors; /** - * 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. + * Optional. The number of documents extracted from connector source, ready to + * be ingested to VAIS. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *latestPauseTime; +@property(nonatomic, strong, nullable) NSNumber *extractedRecordCount; /** - * Output only. The full resource name of the Data Connector. Format: - * `projects/ * /locations/ * /collections/ * /dataConnector`. + * Optional. The number of documents indexed. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, strong, nullable) NSNumber *indexedRecordCount; + +/** Metadata to generate the progress bar. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress *progress; /** - * Defines the scheduled time for the next data synchronization. This field - * requires hour , minute, and time_zone from the [IANA Time Zone - * Database](https://www.iana.org/time-zones). This is utilized when the data - * connector has a refresh interval greater than 1 day. When the hours or - * minutes are not specified, we will assume a sync time of 0:00. The user must - * provide a time zone to avoid ambiguity. - */ -@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`. + * Optional. The number of documents scheduled to be crawled/extracted from + * connector source. This only applies to third party connectors. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params *params; +@property(nonatomic, strong, nullable) NSNumber *scheduledRecordCount; /** - * Output only. The tenant project ID associated with private connectivity - * connectors. This project must be allowlisted by in order for the connector - * to function. + * Optional. The number of requests sent to 3p API. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *privateConnectivityProjectId; +@property(nonatomic, strong, nullable) NSNumber *sourceApiRequestCount; /** - * Output only. real-time sync state + * The state of the entity's sync run. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Active - * The connector is successfully set up and awaiting next sync run. - * (Value: "ACTIVE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Creating - * The connector is being set up. (Value: "CREATING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_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_RealtimeState_InitializationFailed - * Connector initialization failed. Potential causes include runtime - * errors or issues in the asynchronous pipeline, preventing the request - * from reaching downstream services (except for some connector types). - * (Value: "INITIALIZATION_FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Running - * The connector is actively syncing records from the data source. - * (Value: "RUNNING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_StateUnspecified + * @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_Skipped + * An ongoing connector run has been running longer than expected, + * causing this run to be skipped. (Value: "SKIPPED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_State_StateUnspecified * Default value. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Updating - * Connector is in the process of an update. (Value: "UPDATING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Warning - * The connector has completed a sync run, but encountered non-fatal - * errors. (Value: "WARNING") + * @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 *realtimeState; +@property(nonatomic, copy, nullable) NSString *state; -/** Optional. The configuration for realtime sync. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig *realtimeSyncConfig; +/** Timestamp at which the entity sync state was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *stateUpdateTime; /** - * 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. When the refresh - * interval is set to the same value as the incremental refresh interval, - * incremental sync will be disabled. + * The timestamp for either extracted_documents_count, indexed_documents_count + * and error_documents_count was last updated. */ -@property(nonatomic, strong, nullable) GTLRDuration *refreshInterval; +@property(nonatomic, strong, nullable) GTLRDateTime *statsUpdateTime; /** - * Output only. State of the connector. + * Sync type of this run. * * 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_InitializationFailed - * Connector initialization failed. Potential causes include runtime - * errors or issues in the asynchronous pipeline, preventing the request - * from reaching downstream services (except for some connector types). - * (Value: "INITIALIZATION_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_Updating - * Connector is in the process of an update. (Value: "UPDATING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Warning - * The connector has completed a sync run, but encountered non-fatal - * errors. (Value: "WARNING") + * @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_Realtime + * Realtime sync. (Value: "REALTIME") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_ScalaSync + * Scala sync. (Value: "SCALA_SYNC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun_SyncType_SyncTypeUnspecified + * Sync type unspecified. (Value: "SYNC_TYPE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, copy, nullable) NSString *syncType; + +@end -/** 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. + * Represents the progress of a sync run. */ -@property(nonatomic, strong, nullable) NSNumber *staticIpEnabled; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress : GTLRObject /** - * The data synchronization mode supported by the data connector. + * The current progress. * - * 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") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_ScalaSync - * The data will be synced with Scala Sync, a data ingestion solution. - * (Value: "SCALA_SYNC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Streaming - * The data will be synced in real time. (Value: "STREAMING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Unspecified - * Connector that doesn't ingest data will have this value (Value: - * "UNSPECIFIED") + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *syncMode; - -/** Output only. Timestamp the DataConnector was last updated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, strong, nullable) NSNumber *currentCount; /** - * 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`. + * Derived. The percentile of the progress.current_count / total_count. The + * value is between [0, 1.0] inclusive. * - * @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. + * Uses NSNumber of floatValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params : GTLRObject -@end - +@property(nonatomic, strong, nullable) NSNumber *percentile; /** - * Any params and credentials used specifically for EUA connectors. + * The total. + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig : GTLRObject - -/** Optional. Any additional parameters needed for EUA. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AdditionalParams *additionalParams; - -/** Optional. Any authentication parameters specific to EUA connectors. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AuthParams *authParams; - -/** Optional. The tenant project the connector is connected to. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant *tenant; +@property(nonatomic, strong, nullable) NSNumber *totalCount; @end /** - * Optional. Any additional parameters needed for EUA. - * - * @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. + * Defines a conditioned behavior to employ during serving. Must be attached to + * a ServingConfig to be considered at serving time. Permitted actions + * dependent on `SolutionType`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AdditionalParams : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl : GTLRObject /** - * Optional. Any authentication parameters specific to EUA connectors. - * - * @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. List of all ServingConfig IDs this control is attached to. May + * take up to 10 minutes to update after changes. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AuthParams : GTLRObject -@end +@property(nonatomic, strong, nullable) NSArray *associatedServingConfigIds; +/** Defines a boost-type control */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction *boostAction; /** - * The configuration for realtime sync to store additional params for realtime - * sync. + * Determines when the associated action will trigger. Omit to always apply the + * action. Currently only a single condition may be specified. Otherwise an + * INVALID ARGUMENT error is thrown. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig : GTLRObject +@property(nonatomic, strong, nullable) NSArray *conditions; -/** Optional. The ID of the Secret Manager secret used for webhook secret. */ -@property(nonatomic, copy, nullable) NSString *realtimeSyncSecret; +/** + * Required. Human readable name. The identifier used in UI views. Must be + * UTF-8 encoded string. Length limit is 128 characters. Otherwise an INVALID + * ARGUMENT error is thrown. + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Defines a filter-type control Currently not supported by Recommendation */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction *filterAction; /** - * Optional. Webhook url for the connector to specify additional params for - * realtime sync. + * Immutable. Fully qualified name `projects/ * /locations/global/dataStore/ * + * /controls/ *` */ -@property(nonatomic, copy, nullable) NSString *webhookUri; +@property(nonatomic, copy, nullable) NSString *name; -@end +/** Promote certain links based on predefined trigger queries. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlPromoteAction *promoteAction; +/** Defines a redirect-type control. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction *redirectAction; /** - * Represents an entity in the data source. For example, the `Account` object - * in Salesforce. + * Required. Immutable. What solution the control belongs to. Must be + * compatible with vertical of resource. Otherwise an INVALID ARGUMENT error is + * thrown. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeGenerativeChat + * Used for use cases related to the Generative Chat agent. It's used for + * Generative chat engine only, the associated data stores must enrolled + * with `SOLUTION_TYPE_CHAT` solution. (Value: + * "SOLUTION_TYPE_GENERATIVE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControl_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity : GTLRObject +@property(nonatomic, copy, nullable) NSString *solutionType; + +/** Treats a group of terms as synonyms of one another. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction *synonymsAction; /** - * 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. + * Specifies the use case for the control. Affects what condition fields can be + * set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case + * per control. Must be set when solution_type is + * SolutionType.SOLUTION_TYPE_SEARCH. */ -@property(nonatomic, copy, nullable) NSString *dataStore; +@property(nonatomic, strong, nullable) NSArray *useCases; + +@end + /** - * The name of the entity. Supported values by data source: * Salesforce: - * `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` - * * Jira: `Issue` * Confluence: `Content`, `Space` + * Adjusts order of products in returned list. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostAction : GTLRObject + +/** + * Strength of the boost, which should be in [-1, 1]. Negative boost means + * demotion. Default is 0.0 (No-op). * - * Remapped to 'entityNameProperty' to avoid NSObject's 'entityName'. + * Uses NSNumber of floatValue. */ -@property(nonatomic, copy, nullable) NSString *entityNameProperty; +@property(nonatomic, strong, nullable) NSNumber *boost GTLR_DEPRECATED; -/** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig *healthcareFhirConfig; +/** + * Required. Specifies which data store's documents can be boosted by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store + */ +@property(nonatomic, copy, nullable) NSString *dataStore; /** - * 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. + * Required. Specifies which products to apply the boost to. If no filter is + * provided all products will be boosted (No-op). Syntax documentation: + * https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 + * characters. Otherwise an INVALID ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings *keyPropertyMappings; +@property(nonatomic, copy, nullable) NSString *filter; /** - * The parameters for the entity to facilitate data ingestion. E.g. for - * BigQuery connectors: * Key: `document_id_column` * Value: type STRING. The - * value of the column ID. + * 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) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params *params; +@property(nonatomic, strong, nullable) NSNumber *fixedBoost; /** - * Optional. The start schema to use for the DataStore created from this - * SourceEntity. If unset, a default vertical specialized schema will be used. - * This field is only used by SetUpDataConnector API, and will be ignored if - * used in other APIs. This field will be omitted from all API responses - * including GetDataConnector API. To retrieve a schema of a DataStore, use - * SchemaService.GetSchema API instead. The provided schema will be validated - * against certain rules on schema. Learn more from [this - * doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). + * Optional. Complex specification for custom ranking based on customer defined + * attribute value. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema *startingSchema; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec *interpolationBoostSpec; @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. + * Specification for custom ranking based on customer specified attribute + * value. It provides more controls for customized ranking than the simple + * (condition, boost) combination above. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec : GTLRObject /** - * The parameters for the entity to facilitate data ingestion. E.g. for - * BigQuery connectors: * Key: `document_id_column` * Value: type STRING. The - * value of the column ID. + * Optional. The attribute type to be used to determine the boost amount. The + * attribute value can be derived from the field value of the specified + * field_name. In the case of numerical it is straightforward i.e. + * attribute_value = numerical_field_value. In the case of freshness however, + * attribute_value = (time.now() - datetime_field_value). * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_AttributeType_AttributeTypeUnspecified + * Unspecified AttributeType. (Value: "ATTRIBUTE_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_AttributeType_Freshness + * For the freshness use case the attribute value will be the duration + * between the current time and the date in the datetime field specified. + * The value must be formatted as an XSD `dayTimeDuration` value (a + * restricted subset of an ISO 8601 duration value). The pattern for this + * is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`. (Value: + * "FRESHNESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_AttributeType_Numerical + * The value of the numerical field will be used to dynamically update + * the boost amount. In this case, the attribute_value (the x value) of + * the control point will be the actual value of the numerical field for + * which the boost_amount is specified. (Value: "NUMERICAL") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params : GTLRObject -@end +@property(nonatomic, copy, nullable) NSString *attributeType; +/** + * Optional. The control points used to define the curve. The monotonic + * function (defined through the interpolation_type above) passes through the + * control points listed here. + */ +@property(nonatomic, strong, nullable) NSArray *controlPoints; /** - * DataStore captures global settings and configs at the DataStore level. + * Optional. The name of the field whose value will be used to determine the + * boost amount. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore : GTLRObject +@property(nonatomic, copy, nullable) NSString *fieldName; /** - * 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. + * Optional. The interpolation type to be applied to connect the control points + * listed below. * - * Uses NSNumber of boolValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_InterpolationType_InterpolationTypeUnspecified + * Interpolation type is unspecified. In this case, it defaults to + * Linear. (Value: "INTERPOLATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpec_InterpolationType_Linear + * Piecewise linear interpolation will be applied. (Value: "LINEAR") */ -@property(nonatomic, strong, nullable) NSNumber *aclEnabled; - -/** Optional. Configuration for advanced site search. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig *advancedSiteSearchConfig; +@property(nonatomic, copy, nullable) NSString *interpolationType; -/** Output only. Data size estimation for billing. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation *billingEstimation; +@end -/** Output only. CMEK-related information for the DataStore. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig *cmekConfig; /** - * Immutable. The content config of the data store. If this field is unset, the - * server behavior defaults to ContentConfig.NO_CONTENT. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentConfigUnspecified - * Default value. (Value: "CONTENT_CONFIG_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentRequired - * Only contains documents with Document.content. (Value: - * "CONTENT_REQUIRED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_GoogleWorkspace - * The data store is used for workspace search. Details of workspace data - * store are specified in the WorkspaceConfig. (Value: - * "GOOGLE_WORKSPACE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_NoContent - * Only contains documents without any Document.content. (Value: - * "NO_CONTENT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_PublicWebsite - * The data store is used for public website search. (Value: - * "PUBLIC_WEBSITE") + * The control points used to define the curve. The curve defined through these + * control points can only be monotonically increasing or decreasing(constant + * values are acceptable). */ -@property(nonatomic, copy, nullable) NSString *contentConfig; - -/** Output only. Timestamp the DataStore was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlBoostActionInterpolationBoostSpecControlPoint : GTLRObject /** - * Output only. The id of the default Schema associated to this data store. + * Optional. Can be one of: 1. The numerical field value. 2. The duration spec + * for freshness: The value must be formatted as an XSD `dayTimeDuration` value + * (a restricted subset of an ISO 8601 duration value). The pattern for this + * is: `nDnM]`. */ -@property(nonatomic, copy, nullable) NSString *defaultSchemaId; +@property(nonatomic, copy, nullable) NSString *attributeValue; /** - * Required. The data store display name. This field must be a UTF-8 encoded - * string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT - * error is returned. + * Optional. The value between -1 to 1 by which to boost the score if the + * attribute_value evaluates to the value specified above. + * + * Uses NSNumber of floatValue. */ -@property(nonatomic, copy, nullable) NSString *displayName; +@property(nonatomic, strong, nullable) NSNumber *boostAmount; -/** Configuration for Document understanding and enrichment. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig *documentProcessingConfig; +@end -/** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig *healthcareFhirConfig; /** - * Immutable. The fully qualified resource name of the associated - * IdentityMappingStore. This field can only be set for acl_enabled DataStores - * with `THIRD_PARTY` or `GSUITE` IdP. Format: - * `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. + * Specified which products may be included in results. Uses same filter as + * boost. */ -@property(nonatomic, copy, nullable) NSString *identityMappingStore; - -/** Output only. Data store level identity provider config. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig *idpConfig; - -/** - * Immutable. The industry vertical that the data store registers. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Generic - * The generic vertical for documents that are not specific to any - * industry vertical. (Value: "GENERIC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_HealthcareFhir - * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_IndustryVerticalUnspecified - * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Media - * The media industry vertical. (Value: "MEDIA") - */ -@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; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlFilterAction : GTLRObject /** - * 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 - * protections. If this field is set and processed successfully, the DataStore - * will be protected by the KMS key, as indicated in the cmek_config field. + * Required. Specifies which data store's documents can be filtered by this + * control. Full data store name e.g. + * projects/123/locations/global/collections/default_collection/dataStores/default_data_store */ -@property(nonatomic, copy, nullable) NSString *kmsKeyName; - -/** Language info for DataStore. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLanguageInfo *languageInfo; +@property(nonatomic, copy, nullable) NSString *dataStore; /** - * Immutable. Identifier. The full resource name of the data store. Format: - * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. - * This field must be a UTF-8 encoded string with a length limit of 1024 - * characters. + * Required. A filter to apply on the matching condition results. Required + * Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order + * Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is + * thrown. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *filter; -/** Optional. Configuration for Natural Language Query Understanding. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig *naturalLanguageQueryUnderstandingConfig; +@end -/** Optional. Stores serving config at DataStore level. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore *servingConfigDataStore; /** - * The solutions that the data store enrolls. Available solutions for each - * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and - * `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is - * automatically enrolled. Other solutions cannot be enrolled. + * Promote certain links based on some trigger queries. Example: Promote shoe + * store link when searching for `shoe` keyword. The link can be outside of + * associated data store. */ -@property(nonatomic, strong, nullable) NSArray *solutionTypes; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlPromoteAction : GTLRObject -/** - * The start schema to use for this DataStore when provisioning it. If unset, a - * default vertical specialized schema will be used. This field is only used by - * CreateDataStore API, and will be ignored if used in other APIs. This field - * will be omitted from all API responses including CreateDataStore API. To - * retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. - * The provided schema will be validated against certain rules on schema. Learn - * more from [this - * doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema *startingSchema; +/** Required. Data store with which this promotion is attached to. */ +@property(nonatomic, copy, nullable) NSString *dataStore; -/** - * Config to store data store type configuration for workspace data. This must - * be set when DataStore.content_config is set as - * DataStore.ContentConfig.GOOGLE_WORKSPACE. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig *workspaceConfig; +/** Required. Promotion attached to this action. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion *searchLinkPromotion; @end /** - * Estimation of data size per data store. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation : GTLRObject - -/** - * Data size for structured data in terms of bytes. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *structuredDataSize; - -/** Last updated timestamp for structured data. */ -@property(nonatomic, strong, nullable) GTLRDateTime *structuredDataUpdateTime; - -/** - * Data size for unstructured data in terms of bytes. - * - * Uses NSNumber of longLongValue. + * Redirects a shopper to the provided URI. */ -@property(nonatomic, strong, nullable) NSNumber *unstructuredDataSize; - -/** Last updated timestamp for unstructured data. */ -@property(nonatomic, strong, nullable) GTLRDateTime *unstructuredDataUpdateTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlRedirectAction : GTLRObject /** - * Data size for websites in terms of bytes. - * - * Uses NSNumber of longLongValue. + * Required. The URI to which the shopper will be redirected. Required. URI + * must have length equal or less than 2000 characters. Otherwise an INVALID + * ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSNumber *websiteDataSize; - -/** Last updated timestamp for websites. */ -@property(nonatomic, strong, nullable) GTLRDateTime *websiteDataUpdateTime; +@property(nonatomic, copy, nullable) NSString *redirectUri; @end /** - * Stores information regarding the serving configurations at DataStore level. + * Creates a set of terms that will act as synonyms of one another. Example: + * "happy" will also be considered as "glad", "glad" will also be considered as + * "happy". */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaControlSynonymsAction : GTLRObject /** - * Optional. If set true, the DataStore will not be available for serving - * search requests. - * - * Uses NSNumber of boolValue. + * Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at + * least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. */ -@property(nonatomic, strong, nullable) NSNumber *disabledForServing; +@property(nonatomic, strong, nullable) NSArray *synonyms; @end /** - * The historical dedicated crawl rate timeseries data, used for monitoring. - * Dedicated crawl is used by Vertex AI to crawl the user's website when - * dedicate crawl is set. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries : GTLRObject - -/** Vertex AI's error rate time series of auto-refresh dedicated crawl. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *autoRefreshCrawlErrorRate; - -/** - * Vertex AI's dedicated crawl rate time series of auto-refresh, which is the - * crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the - * crawl rate is for best effort use cases like refreshing urls periodically. + * The historical crawl rate timeseries data, used for monitoring. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *autoRefreshCrawlRate; - -/** Vertex AI's error rate time series of user triggered dedicated crawl. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *userTriggeredCrawlErrorRate; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries : GTLRObject -/** - * Vertex AI's dedicated crawl rate time series of user triggered crawl, which - * is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and - * user triggered crawl rate is for deterministic use cases like crawling urls - * or sitemaps specified by users. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *userTriggeredCrawlRate; +/** The QPS of the crawl rate. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleMonitoringV3TimeSeries *qpsTimeSeries; @end /** - * Metadata related to the progress of the CmekConfigService.DeleteCmekConfig + * Metadata related to the progress of the DataStoreService.CreateDataStore * operation. This will be returned by the * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -9087,11 +9706,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Metadata related to the progress of the CollectionService.UpdateCollection + * Metadata related to the progress of the EngineService.CreateEngine * operation. This will be returned by the * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -9106,30 +9725,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Metadata related to the progress of the DataStoreService.DeleteDataStore - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata : 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. + * Metadata for EvaluationService.CreateEvaluation method. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata : GTLRObject @end /** - * Metadata related to the progress of the EngineService.DeleteEngine - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Metadata for Create Schema LRO. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -9145,10 +9750,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Metadata related to the progress of the - * IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will - * be returned by the google.longrunning.Operation.metadata field. + * SiteSearchEngineService.CreateSitemap operation. This will be returned by + * the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteIdentityMappingStoreMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -9163,9 +9768,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Metadata for DeleteSchema LRO. + * Metadata related to the progress of the + * SiteSearchEngineService.CreateTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -9180,2103 +9787,2400 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Request for DeleteSession method. + * Defines custom fine tuning spec. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec : GTLRObject /** - * Required. The resource name of the Session to delete. Format: - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * Whether or not to enable and include custom fine tuned search adaptor model. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, strong, nullable) NSNumber *enableSearchAdaptor; @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.DeleteSitemap operation. This will be returned by - * the google.longrunning.Operation.metadata field. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata : 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. + * 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. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector : GTLRObject /** - * Metadata related to the progress of the - * SiteSearchEngineService.DeleteTargetSite operation. This will be returned by - * the google.longrunning.Operation.metadata field. + * Optional. Whether the connector will be created with an ACL config. + * Currently this field only affects Cloud Storage and BigQuery connectors. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *aclEnabled; -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. Action configurations to make the connector support actions. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaActionConfig *actionConfig; /** - * Operation last update time. If the operation is done, this is also the - * finish time. - */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - - -/** - * Defines target endpoints used to connect to third-party sources. + * Output only. State of the action connector. This reflects whether the action + * connector is initializing, active or has encountered errors. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Active + * The connector is successfully set up and awaiting next sync run. + * (Value: "ACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Creating + * The connector is being set up. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_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_ActionState_InitializationFailed + * Connector initialization failed. Potential causes include runtime + * errors or issues in the asynchronous pipeline, preventing the request + * from reaching downstream services (except for some connector types). + * (Value: "INITIALIZATION_FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Running + * The connector is actively syncing records from the data source. + * (Value: "RUNNING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Updating + * Connector is in the process of an update. (Value: "UPDATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ActionState_Warning + * The connector has completed a sync run, but encountered non-fatal + * errors. (Value: "WARNING") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig : GTLRObject +@property(nonatomic, copy, nullable) NSString *actionState; -/** Optional. The destinations for the corresponding key. */ -@property(nonatomic, strong, nullable) NSArray *destinations; +/** Optional. The connector level alert config. */ +@property(nonatomic, strong, nullable) NSArray *alertPolicyConfigs; /** - * Optional. Unique destination identifier that is supported by the connector. + * Optional. Indicates whether the connector is disabled for auto run. It can + * be used to pause periodical and real time sync. Update: with the + * introduction of incremental_sync_disabled, auto_run_disabled is used to + * pause/disable only full syncs + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *key; - -/** Optional. Additional parameters for this destination config. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params *params; - -@end +@property(nonatomic, strong, nullable) NSNumber *autoRunDisabled; +/** Optional. The configuration for establishing a BAP connection. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaBAPConfig *bapConfig; /** - * 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. + * Output only. User actions that must be completed before the connector can + * start syncing data. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params : GTLRObject -@end - +@property(nonatomic, strong, nullable) NSArray *blockingReasons; /** - * Defines a target endpoint + * Optional. The modes enabled for this connector. Default state is + * CONNECTOR_MODE_UNSPECIFIED. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination : GTLRObject - -/** Publicly routable host. */ -@property(nonatomic, copy, nullable) NSString *host; +@property(nonatomic, strong, nullable) NSArray *connectorModes; /** - * Optional. Target port number accepted by the destination. + * Output only. The type of connector. Each source can only map to one type. + * For example, salesforce, confluence and jira have THIRD_PARTY connector + * type. It is not mutable once set by system. * - * Uses NSNumber of intValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_BigQuery + * Big query connector. (Value: "BIG_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ConnectorTypeUnspecified + * Default value. (Value: "CONNECTOR_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcnv + * Google Cloud NetApp Volumes connector. (Value: "GCNV") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GcpFhir + * Data connector connects between FHIR store and VAIS datastore. (Value: + * "GCP_FHIR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_Gcs + * Google Cloud Storage connector. (Value: "GCS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GoogleCalendar + * Google Calendar connector. (Value: "GOOGLE_CALENDAR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GoogleDrive + * Google Drive connector. (Value: "GOOGLE_DRIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_GoogleMail + * Gmail connector. (Value: "GOOGLE_MAIL") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_NativeCloudIdentity + * Native Cloud Identity connector for people search powered by People + * API. (Value: "NATIVE_CLOUD_IDENTITY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ThirdParty + * Third party connector to connector to third party application. (Value: + * "THIRD_PARTY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ThirdPartyEua + * Connector utilized for End User Authentication features. (Value: + * "THIRD_PARTY_EUA") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_ConnectorType_ThirdPartyFederated + * Federated connector, it is a third party connector that doesn't + * ingestion data, and search is powered by third party application's + * API. (Value: "THIRD_PARTY_FEDERATED") */ -@property(nonatomic, strong, nullable) NSNumber *port; - -@end - +@property(nonatomic, copy, nullable) NSString *connectorType; /** - * Metadata related to the progress of the - * SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Optional. Whether the END USER AUTHENTICATION connector is created in SaaS. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *createEuaSaas; -/** Operation create time. */ +/** Output only. Timestamp the DataConnector was created at. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Required. The name of the data source. Supported values: `salesforce`, + * `jira`, `confluence`, `bigquery`. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, copy, nullable) NSString *dataSource; /** - * Response message for SiteSearchEngineService.DisableAdvancedSiteSearch - * method. + * Optional. Any target destinations used to connect to third-party services. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse : GTLRObject -@end - +@property(nonatomic, strong, nullable) NSArray *destinationConfigs; /** - * A singleton resource of DataStore. If it's empty when DataStore is created - * and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the - * default parser will default to digital parser. + * Optional. Any params and credentials used specifically for EUA connectors. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig : GTLRObject +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig *endUserConfig; -/** Whether chunking mode is enabled. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig *chunkingConfig; +/** List of entities from the connected data source to ingest. */ +@property(nonatomic, strong, nullable) NSArray *entities; /** - * Configurations for default Document parser. If not specified, we will - * configure it as default DigitalParsingConfig, and the default parsing config - * will be applied to all file types for Document parsing. + * Output only. The errors from initialization or from the latest connector + * run. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig *defaultParsingConfig; +@property(nonatomic, strong, nullable) NSArray *errors; /** - * The full resource name of the Document Processing Config. Format: `projects/ - * * /locations/ * /collections/ * /dataStores/ * /documentProcessingConfig`. + * Optional. If the connector is a hybrid connector, determines whether + * ingestion is enabled and appropriate resources are provisioned during + * connector creation. If the connector is not a hybrid connector, this field + * is ignored. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, strong, nullable) NSNumber *hybridIngestionDisabled; /** - * Map from file type to override the default parsing configuration based on - * the file type. Supported keys: * `pdf`: Override parsing config for PDF - * files, either digital parsing, ocr parsing or layout parsing is supported. * - * `html`: Override parsing config for HTML files, only digital parsing and - * layout parsing are supported. * `docx`: Override parsing config for DOCX - * files, only digital parsing and layout parsing are supported. * `pptx`: - * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsm`: Override parsing config for XLSM files, - * only digital parsing and layout parsing are supported. * `xlsx`: Override - * parsing config for XLSX files, only digital parsing and layout parsing are - * supported. + * 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) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides *parsingConfigOverrides; +@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; +/** + * Optional. The refresh interval specifically for incremental data syncs. If + * unset, incremental syncs will use the default from env, set to 3hrs. The + * minimum is 30 minutes and maximum is 7 days. Applicable to only 3P + * connectors. When the refresh interval is set to the same value as the + * incremental refresh interval, incremental sync will be disabled. + */ +@property(nonatomic, strong, nullable) GTLRDuration *incrementalRefreshInterval; /** - * Map from file type to override the default parsing configuration based on - * the file type. Supported keys: * `pdf`: Override parsing config for PDF - * files, either digital parsing, ocr parsing or layout parsing is supported. * - * `html`: Override parsing config for HTML files, only digital parsing and - * layout parsing are supported. * `docx`: Override parsing config for DOCX - * files, only digital parsing and layout parsing are supported. * `pptx`: - * Override parsing config for PPTX files, only digital parsing and layout - * parsing are supported. * `xlsm`: Override parsing config for XLSM files, - * only digital parsing and layout parsing are supported. * `xlsx`: Override - * parsing config for XLSX files, only digital parsing and layout parsing are - * supported. + * Optional. Indicates whether incremental syncs are paused for this connector. + * This is independent of auto_run_disabled. Applicable to only 3P connectors. + * When the refresh interval is set to the same value as the incremental + * refresh interval, incremental sync will be disabled, i.e. set to true. * - * @note This class is documented as having more properties of - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig. - * Use @c -additionalJSONKeys and @c -additionalPropertyForName: to get - * the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides : GTLRObject -@end - +@property(nonatomic, strong, nullable) NSNumber *incrementalSyncDisabled; /** - * Configuration for chunking config. + * 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. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig : GTLRObject - -/** Configuration for the layout based chunking. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig *layoutBasedChunkingConfig; - -@end +@property(nonatomic, copy, nullable) NSString *kmsKeyName; +/** + * Output only. For periodic connectors only, the last time a data sync was + * completed. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastSyncTime; /** - * Configuration for the layout based chunking. + * 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. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig : GTLRObject +@property(nonatomic, strong, nullable) GTLRDateTime *latestPauseTime; /** - * The token size limit for each chunk. Supported values: 100-500 (inclusive). - * Default value: 500. - * - * Uses NSNumber of intValue. + * Output only. The full resource name of the Data Connector. Format: + * `projects/ * /locations/ * /collections/ * /dataConnector`. */ -@property(nonatomic, strong, nullable) NSNumber *chunkSize; +@property(nonatomic, copy, nullable) NSString *name; /** - * Whether to include appending different levels of headings to chunks from the - * middle of the document to prevent context loss. Default value: False. - * - * Uses NSNumber of boolValue. + * Defines the scheduled time for the next data synchronization. This field + * requires hour , minute, and time_zone from the [IANA Time Zone + * Database](https://www.iana.org/time-zones). This is utilized when the data + * connector has a refresh interval greater than 1 day. When the hours or + * minutes are not specified, we will assume a sync time of 0:00. The user must + * provide a time zone to avoid ambiguity. */ -@property(nonatomic, strong, nullable) NSNumber *includeAncestorHeadings; - -@end - +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleTypeDateTime *nextSyncTime; /** - * Related configurations applied to a specific type of document parser. + * 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`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig : GTLRObject - -/** Configurations applied to digital parser. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig *digitalParsingConfig; - -/** Configurations applied to layout parser. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig *layoutParsingConfig; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params *params; /** - * Configurations applied to OCR parser. Currently it only applies to PDFs. + * 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, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig *ocrParsingConfig; +@property(nonatomic, copy, nullable) NSString *privateConnectivityProjectId; -@end +/** + * Output only. real-time sync state + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Active + * The connector is successfully set up and awaiting next sync run. + * (Value: "ACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Creating + * The connector is being set up. (Value: "CREATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_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_RealtimeState_InitializationFailed + * Connector initialization failed. Potential causes include runtime + * errors or issues in the asynchronous pipeline, preventing the request + * from reaching downstream services (except for some connector types). + * (Value: "INITIALIZATION_FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Running + * The connector is actively syncing records from the data source. + * (Value: "RUNNING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_StateUnspecified + * Default value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Updating + * Connector is in the process of an update. (Value: "UPDATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_RealtimeState_Warning + * The connector has completed a sync run, but encountered non-fatal + * errors. (Value: "WARNING") + */ +@property(nonatomic, copy, nullable) NSString *realtimeState; +/** Optional. The configuration for realtime sync. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig *realtimeSyncConfig; /** - * The digital parsing configurations for documents. + * 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. When the refresh + * interval is set to the same value as the incremental refresh interval, + * incremental sync will be disabled. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig : GTLRObject -@end - +@property(nonatomic, strong, nullable) GTLRDuration *refreshInterval; /** - * The layout parsing configurations for documents. + * 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_InitializationFailed + * Connector initialization failed. Potential causes include runtime + * errors or issues in the asynchronous pipeline, preventing the request + * from reaching downstream services (except for some connector types). + * (Value: "INITIALIZATION_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_Updating + * Connector is in the process of an update. (Value: "UPDATING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_State_Warning + * The connector has completed a sync run, but encountered non-fatal + * errors. (Value: "WARNING") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig : GTLRObject +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The static IP addresses used by this connector. */ +@property(nonatomic, strong, nullable) NSArray *staticIpAddresses; /** - * Optional. If true, the LLM based annotation is added to the image during - * parsing. + * Optional. Whether customer has enabled static IP addresses for this + * connector. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *enableImageAnnotation; +@property(nonatomic, strong, nullable) NSNumber *staticIpEnabled; /** - * Optional. If true, the LLM based annotation is added to the table during - * parsing. + * The data synchronization mode supported by the data connector. * - * Uses NSNumber of boolValue. + * 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") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Streaming + * The data will be synced in real time. (Value: "STREAMING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_SyncMode_Unspecified + * Connector that doesn't ingest data will have this value (Value: + * "UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *enableTableAnnotation; +@property(nonatomic, copy, nullable) NSString *syncMode; -/** Optional. List of HTML classes to exclude from the parsed content. */ -@property(nonatomic, strong, nullable) NSArray *excludeHtmlClasses; +/** Output only. Timestamp the DataConnector was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; -/** Optional. List of HTML elements to exclude from the parsed content. */ -@property(nonatomic, strong, nullable) NSArray *excludeHtmlElements; +@end -/** Optional. List of HTML ids to exclude from the parsed content. */ -@property(nonatomic, strong, nullable) NSArray *excludeHtmlIds; /** - * Optional. Contains the required structure types to extract from the - * document. Supported values: * `shareholder-structure` + * 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. */ -@property(nonatomic, strong, nullable) NSArray *structuredContentTypes; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnector_Params : GTLRObject @end /** - * The OCR parsing configurations for documents. + * Any params and credentials used specifically for EUA connectors. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig : GTLRObject + +/** Optional. Any additional parameters needed for EUA. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AdditionalParams *additionalParams; + +/** Optional. Any authentication parameters specific to EUA connectors. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AuthParams *authParams; + +/** Optional. The tenant project the connector is connected to. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant *tenant; + +@end -/** - * [DEPRECATED] This field is deprecated. To use the additional enhanced - * document elements processing, please switch to `layout_parsing_config`. - */ -@property(nonatomic, strong, nullable) NSArray *enhancedDocumentElements GTLR_DEPRECATED; /** - * If true, will use native text instead of OCR text on pages containing native - * text. + * Optional. Any additional parameters needed for EUA. * - * Uses NSNumber of boolValue. + * @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, strong, nullable) NSNumber *useNativeText; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AdditionalParams : GTLRObject @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Optional. Any authentication parameters specific to EUA connectors. + * + * @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_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig_AuthParams : GTLRObject +@end -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * The configuration for realtime sync to store additional params for realtime + * sync. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig : GTLRObject -@end +/** Optional. The ID of the Secret Manager secret used for webhook secret. */ +@property(nonatomic, copy, nullable) NSString *realtimeSyncSecret; +/** Optional. Streaming error details. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError *streamingError; /** - * Response message for SiteSearchEngineService.EnableAdvancedSiteSearch - * method. + * Optional. Webhook url for the connector to specify additional params for + * realtime sync. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse : GTLRObject +@property(nonatomic, copy, nullable) NSString *webhookUri; + @end /** - * Metadata that describes the training and serving parameters of an Engine. + * Streaming error details. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError : GTLRObject -/** - * Configurations for the Chat Engine. Only applicable if solution_type is - * SOLUTION_TYPE_CHAT. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig *chatEngineConfig; +/** Optional. Error details. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; /** - * Output only. Additional information of the Chat Engine. Only applicable if - * solution_type is SOLUTION_TYPE_CHAT. + * Optional. Streaming error. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_IngressEndpointRequired + * Ingress endpoint is required when setting up realtime sync in private + * connectivity. (Value: "INGRESS_ENDPOINT_REQUIRED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_StreamingErrorReasonUnspecified + * Streaming error reason unspecified. (Value: + * "STREAMING_ERROR_REASON_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_StreamingSetupError + * Some error occurred while setting up resources for realtime sync. + * (Value: "STREAMING_SETUP_ERROR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError_StreamingErrorReason_StreamingSyncError + * Some error was encountered while running realtime sync for the + * connector. (Value: "STREAMING_SYNC_ERROR") */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata *chatEngineMetadata; - -/** Common config spec that specifies the metadata of the engine. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig *commonConfig; - -/** Output only. Timestamp the Recommendation Engine was created at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, copy, nullable) NSString *streamingErrorReason; -/** - * Optional. The data stores associated with this engine. For - * SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they - * can only associate with at most one data store. If solution_type is - * SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be - * associated here. Note that when used in CreateEngineRequest, one DataStore - * id must be provided as the system will use it for necessary initializations. - */ -@property(nonatomic, strong, nullable) NSArray *dataStoreIds; +@end -/** - * Optional. Whether to disable analytics for searches performed on this - * engine. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *disableAnalytics; /** - * Required. The display name of the engine. Should be human readable. UTF-8 - * encoded string with limit of 1024 characters. + * Represents an entity in the data source. For example, the `Account` object + * in Salesforce. */ -@property(nonatomic, copy, nullable) NSString *displayName; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity : GTLRObject /** - * Optional. Feature config for the engine to opt in or opt out of features. - * Supported keys: * `*`: all features, if it's present, all other feature - * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * - * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` * - * `session-sharing` + * 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, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features *features; +@property(nonatomic, copy, nullable) NSString *dataStore; /** - * Optional. The industry vertical that the engine registers. The restriction - * of the Engine industry vertical is based on DataStore: Vertical on Engine - * has to match vertical of the DataStore linked to the engine. + * The name of the entity. Supported values by data source: * Salesforce: + * `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` + * * Jira: `Issue` * Confluence: `Content`, `Space` * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic - * The generic vertical for documents that are not specific to any - * industry vertical. (Value: "GENERIC") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_HealthcareFhir - * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_IndustryVerticalUnspecified - * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Media - * The media industry vertical. (Value: "MEDIA") - */ -@property(nonatomic, copy, nullable) NSString *industryVertical; - -/** - * Configurations for the Media Engine. Only applicable on the data stores with - * solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA - * vertical. + * Remapped to 'entityNameProperty' to avoid NSObject's 'entityName'. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig *mediaRecommendationEngineConfig; +@property(nonatomic, copy, nullable) NSString *entityNameProperty; -/** - * Immutable. Identifier. The fully qualified resource name of the engine. This - * field must be a UTF-8 encoded string with a length limit of 1024 characters. - * Format: - * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` - * engine should be 1-63 characters, and valid characters are /a-z0-9* /. - * Otherwise, an INVALID_ARGUMENT error is returned. - */ -@property(nonatomic, copy, nullable) NSString *name; +/** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig *healthcareFhirConfig; /** - * Output only. Additional information of a recommendation engine. Only - * applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. + * 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_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata *recommendationMetadata; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings *keyPropertyMappings; /** - * Configurations for the Search Engine. Only applicable if solution_type is - * SOLUTION_TYPE_SEARCH. + * The parameters for the entity to facilitate data ingestion. E.g. for + * BigQuery connectors: * Key: `document_id_column` * Value: type STRING. The + * value of the column ID. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig *searchEngineConfig; - -/** Additional config specs for a `similar-items` engine. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig *similarDocumentsConfig; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params *params; /** - * Required. The solutions of the engine. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeChat - * Used for use cases related to the Generative AI agent. (Value: - * "SOLUTION_TYPE_CHAT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_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_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeRecommendation - * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeSearch - * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeUnspecified - * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") + * Optional. The start schema to use for the DataStore created from this + * SourceEntity. If unset, a default vertical specialized schema will be used. + * This field is only used by SetUpDataConnector API, and will be ignored if + * used in other APIs. This field will be omitted from all API responses + * including GetDataConnector API. To retrieve a schema of a DataStore, use + * SchemaService.GetSchema API instead. The provided schema will be validated + * against certain rules on schema. Learn more from [this + * doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */ -@property(nonatomic, copy, nullable) NSString *solutionType; - -/** Output only. Timestamp the Recommendation Engine was last updated. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema *startingSchema; @end /** - * Optional. Feature config for the engine to opt in or opt out of features. - * Supported keys: * `*`: all features, if it's present, all other feature - * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * - * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * - * `people-search-org-chart` * `bi-directional-audio` * `feedback` * - * `session-sharing` + * 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_GoogleCloudDiscoveryengineV1alphaEngine_Features : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_KeyPropertyMappings : GTLRObject @end /** - * Configurations for a Chat Engine. + * The parameters for the entity to facilitate data ingestion. E.g. for + * BigQuery 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_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity_Params : GTLRObject +@end + /** - * The configurationt generate the Dialogflow agent that is associated to this - * Engine. Note that these configurations are one-time consumed by and passed - * to Dialogflow service. It means they cannot be retrieved using - * EngineService.GetEngine or EngineService.ListEngines API after engine - * creation. + * DataStore captures global settings and configs at the DataStore level. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig *agentCreationConfig; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore : GTLRObject /** - * Optional. If the flag set to true, we allow the agent and engine are in - * different locations, otherwise the agent and engine are required to be in - * the same location. The flag is set to false by default. Note that the - * `allow_cross_region` are one-time consumed by and passed to - * EngineService.CreateEngine. It means they cannot be retrieved using - * EngineService.GetEngine or EngineService.ListEngines API after engine - * creation. + * 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. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *allowCrossRegion; +@property(nonatomic, strong, nullable) NSNumber *aclEnabled; -/** - * The resource name of an exist Dialogflow agent to link to this Chat Engine. - * Customers can either provide `agent_creation_config` to create agent or - * provide an agent name that links the agent with the Chat engine. Format: - * `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are - * one-time consumed by and passed to Dialogflow service. It means they cannot - * be retrieved using EngineService.GetEngine or EngineService.ListEngines API - * after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual - * agent association after Engine is created. - */ -@property(nonatomic, copy, nullable) NSString *dialogflowAgentToLink; +/** Optional. Configuration for advanced site search. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig *advancedSiteSearchConfig; -@end +/** Output only. Data size estimation for billing. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation *billingEstimation; +/** Output only. CMEK-related information for the DataStore. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCmekConfig *cmekConfig; /** - * Configurations for generating a Dialogflow agent. Note that these - * configurations are one-time consumed by and passed to Dialogflow service. It - * means they cannot be retrieved using EngineService.GetEngine or - * EngineService.ListEngines API after engine creation. + * Immutable. The content config of the data store. If this field is unset, the + * server behavior defaults to ContentConfig.NO_CONTENT. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentConfigUnspecified + * Default value. (Value: "CONTENT_CONFIG_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_ContentRequired + * Only contains documents with Document.content. (Value: + * "CONTENT_REQUIRED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_GoogleWorkspace + * The data store is used for workspace search. Details of workspace data + * store are specified in the WorkspaceConfig. (Value: + * "GOOGLE_WORKSPACE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_NoContent + * Only contains documents without any Document.content. (Value: + * "NO_CONTENT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_ContentConfig_PublicWebsite + * The data store is used for public website search. (Value: + * "PUBLIC_WEBSITE") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig : GTLRObject +@property(nonatomic, copy, nullable) NSString *contentConfig; -/** - * Name of the company, organization or other entity that the agent represents. - * Used for knowledge connector LLM prompt and for knowledge search. - */ -@property(nonatomic, copy, nullable) NSString *business; +/** Output only. Timestamp the DataStore was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Required. The default language of the agent as a language tag. See [Language - * Support](https://cloud.google.com/dialogflow/docs/reference/language) for a - * list of the currently supported language codes. + * Output only. The id of the default Schema associated to this data store. */ -@property(nonatomic, copy, nullable) NSString *defaultLanguageCode; +@property(nonatomic, copy, nullable) NSString *defaultSchemaId; /** - * Agent location for Agent creation, supported values: global/us/eu. If not - * provided, us Engine will create Agent using us-central-1 by default; eu - * Engine will create Agent using eu-west-1 by default. + * Required. The data store display name. This field must be a UTF-8 encoded + * string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT + * error is returned. */ -@property(nonatomic, copy, nullable) NSString *location; +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Configuration for Document understanding and enrichment. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig *documentProcessingConfig; + +/** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig *healthcareFhirConfig; /** - * Required. The time zone of the agent from the [time zone - * database](https://www.iana.org/time-zones), e.g., America/New_York, - * Europe/Paris. + * Immutable. The fully qualified resource name of the associated + * IdentityMappingStore. This field can only be set for acl_enabled DataStores + * with `THIRD_PARTY` or `GSUITE` IdP. Format: + * `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. */ -@property(nonatomic, copy, nullable) NSString *timeZone; - -@end +@property(nonatomic, copy, nullable) NSString *identityMappingStore; +/** Output only. Data store level identity provider config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig *idpConfig; /** - * Additional information of a Chat Engine. Fields in this message are output - * only. + * Immutable. The industry vertical that the data store registers. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Generic + * The generic vertical for documents that are not specific to any + * industry vertical. (Value: "GENERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_HealthcareFhir + * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_IndustryVerticalUnspecified + * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStore_IndustryVertical_Media + * The media industry vertical. (Value: "MEDIA") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata : GTLRObject +@property(nonatomic, copy, nullable) NSString *industryVertical; /** - * The resource name of a Dialogflow agent, that this Chat Engine refers to. - * Format: `projects//locations//agents/`. + * Optional. If set, this DataStore is an Infobot FAQ DataStore. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *dialogflowAgent; - -@end - +@property(nonatomic, strong, nullable) NSNumber *isInfobotFaqDataStore; /** - * Common configurations for an Engine. + * 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 + * protections. If this field is set and processed successfully, the DataStore + * will be protected by the KMS key, as indicated in the cmek_config field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig : GTLRObject +@property(nonatomic, copy, nullable) NSString *kmsKeyName; + +/** Language info for DataStore. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLanguageInfo *languageInfo; /** - * The name of the company, business or entity that is associated with the - * engine. Setting this may help improve LLM related features. + * Immutable. Identifier. The full resource name of the data store. Format: + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * This field must be a UTF-8 encoded string with a length limit of 1024 + * characters. */ -@property(nonatomic, copy, nullable) NSString *companyName; +@property(nonatomic, copy, nullable) NSString *name; -@end +/** Optional. Configuration for Natural Language Query Understanding. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig *naturalLanguageQueryUnderstandingConfig; +/** Optional. Stores serving config at DataStore level. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore *servingConfigDataStore; /** - * Additional config specs for a Media Recommendation engine. + * The solutions that the data store enrolls. Available solutions for each + * industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and + * `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is + * automatically enrolled. Other solutions cannot be enrolled. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig : GTLRObject +@property(nonatomic, strong, nullable) NSArray *solutionTypes; -/** Optional. Additional engine features config. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig *engineFeaturesConfig; +/** + * The start schema to use for this DataStore when provisioning it. If unset, a + * default vertical specialized schema will be used. This field is only used by + * CreateDataStore API, and will be ignored if used in other APIs. This field + * will be omitted from all API responses including CreateDataStore API. To + * retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. + * The provided schema will be validated against certain rules on schema. Learn + * more from [this + * doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema *startingSchema; /** - * The optimization objective. e.g., `cvr`. This field together with - * optimization_objective describe engine metadata to use to control engine - * training and serving. Currently supported values: `ctr`, `cvr`. If not - * specified, we choose default based on engine type. Default depends on type - * of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => - * `ctr` + * Config to store data store type configuration for workspace data. This must + * be set when DataStore.content_config is set as + * DataStore.ContentConfig.GOOGLE_WORKSPACE. */ -@property(nonatomic, copy, nullable) NSString *optimizationObjective; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig *workspaceConfig; + +@end + /** - * Name and value of the custom threshold for cvr optimization_objective. For - * target_field `watch-time`, target_field_value must be an integer value - * indicating the media progress time in seconds between (0, 86400] (excludes - * 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the - * target_field_value must be a valid float value between (0, 1.0] (excludes 0, - * includes 1.0) (e.g., 0.5). + * Estimation of data size per data store. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig *optimizationObjectiveConfig; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation : GTLRObject /** - * The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). - * Since part of the cost of running the service is frequency of training - - * this can be used to determine when to train engine in order to control cost. - * If not specified: the default value for `CreateEngine` method is `TRAINING`. - * The default value for `UpdateEngine` method is to keep the state the same as - * before. + * Data size for structured data in terms of bytes. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Paused - * The engine training is paused. (Value: "PAUSED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Training - * The engine is training. (Value: "TRAINING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_TrainingStateUnspecified - * Unspecified training state. (Value: "TRAINING_STATE_UNSPECIFIED") + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *trainingState; +@property(nonatomic, strong, nullable) NSNumber *structuredDataSize; + +/** Last updated timestamp for structured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *structuredDataUpdateTime; /** - * Required. The type of engine. e.g., `recommended-for-you`. This field - * together with optimization_objective describe engine metadata to use to - * control engine training and serving. Currently supported values: - * `recommended-for-you`, `others-you-may-like`, `more-like-this`, - * `most-popular-items`. + * Data size for unstructured data in terms of bytes. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *type; - -@end +@property(nonatomic, strong, nullable) NSNumber *unstructuredDataSize; +/** Last updated timestamp for unstructured data. */ +@property(nonatomic, strong, nullable) GTLRDateTime *unstructuredDataUpdateTime; /** - * More feature configs of the selected engine type. + * Data size for websites in terms of bytes. + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig : GTLRObject - -/** Most popular engine feature config. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig *mostPopularConfig; +@property(nonatomic, strong, nullable) NSNumber *websiteDataSize; -/** Recommended for you engine feature config. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig *recommendedForYouConfig; +/** Last updated timestamp for websites. */ +@property(nonatomic, strong, nullable) GTLRDateTime *websiteDataUpdateTime; @end /** - * Feature configurations that are required for creating a Most Popular engine. + * Stores information regarding the serving configurations at DataStore level. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore : GTLRObject /** - * The time window of which the engine is queried at training and prediction - * time. Positive integers only. The value translates to the last X days of - * events. Currently required for the `most-popular-items` engine. + * Optional. If set true, the DataStore will not be available for serving + * search requests. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *timeWindowDays; +@property(nonatomic, strong, nullable) NSNumber *disabledForServing; @end /** - * Custom threshold for `cvr` optimization_objective. + * The historical dedicated crawl rate timeseries data, used for monitoring. + * Dedicated crawl is used by Vertex AI to crawl the user's website when + * dedicate crawl is set. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries : GTLRObject + +/** Vertex AI's error rate time series of auto-refresh dedicated crawl. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *autoRefreshCrawlErrorRate; /** - * Required. The name of the field to target. Currently supported values: - * `watch-percentage`, `watch-time`. + * Vertex AI's dedicated crawl rate time series of auto-refresh, which is the + * crawl rate of Google-CloudVertexBot when dedicate crawl is set, and the + * crawl rate is for best effort use cases like refreshing urls periodically. */ -@property(nonatomic, copy, nullable) NSString *targetField; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *autoRefreshCrawlRate; + +/** Vertex AI's error rate time series of user triggered dedicated crawl. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *userTriggeredCrawlErrorRate; /** - * Required. The threshold to be applied to the target (e.g., 0.5). - * - * Uses NSNumber of floatValue. + * Vertex AI's dedicated crawl rate time series of user triggered crawl, which + * is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and + * user triggered crawl rate is for deterministic use cases like crawling urls + * or sitemaps specified by users. */ -@property(nonatomic, strong, nullable) NSNumber *targetFieldValueFloat; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *userTriggeredCrawlRate; @end /** - * Additional feature configurations for creating a `recommended-for-you` - * engine. + * Metadata related to the progress of the CmekConfigService.DeleteCmekConfig + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteCmekConfigMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The type of event with which the engine is queried at prediction time. If - * set to `generic`, only `view-item`, `media-play`,and `media-complete` will - * be used as `context-event` in engine training. If set to `view-home-page`, - * `view-home-page` will also be used as `context-events` in addition to - * `view-item`, `media-play`, and `media-complete`. Currently supported for the - * `recommended-for-you` engine. Currently supported values: `view-home-page`, - * `generic`. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *contextEventType; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Additional information of a recommendation engine. + * Metadata related to the progress of the CollectionService.UpdateCollection + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata : GTLRObject -/** - * Output only. The state of data requirements for this engine: `DATA_OK` and - * `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. - * Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: - * engines were trained successfully before, but cannot be refreshed because - * the underlying engine no longer has sufficient data for training. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataError - * The engine does not have sufficient training data. Error messages can - * be queried via Stackdriver. (Value: "DATA_ERROR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataOk - * The engine has sufficient training data. (Value: "DATA_OK") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataStateUnspecified - * Unspecified default value, should never be explicitly set. (Value: - * "DATA_STATE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *dataState; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The timestamp when the latest successful training finished. - * Only applicable on Media Recommendation engines. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *lastTrainTime; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + /** - * Output only. The timestamp when the latest successful tune finished. Only - * applicable on Media Recommendation engines. + * Metadata related to the progress of the DataStoreService.DeleteDataStore + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@property(nonatomic, strong, nullable) GTLRDateTime *lastTuneTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata : GTLRObject -/** - * Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Active - * The engine is serving and can be queried. (Value: "ACTIVE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Inactive - * The engine is not serving. (Value: "INACTIVE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_ServingStateUnspecified - * Unspecified serving state. (Value: "SERVING_STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Tuned - * The engine is trained on tuned hyperparameters and can be queried. - * (Value: "TUNED") - */ -@property(nonatomic, copy, nullable) NSString *servingState; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The latest tune operation id associated with the engine. Only - * applicable on Media Recommendation engines. If present, this operation id - * can be used to determine if there is an ongoing tune for this engine. To - * check the operation status, send the GetOperation request with this - * operation id in the engine resource format. If no tuning has happened for - * this engine, the string is empty. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *tuningOperation; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Configurations for a Search Engine. + * Metadata related to the progress of the EngineService.DeleteEngine + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata : GTLRObject -/** The add-on that this search engine enables. */ -@property(nonatomic, strong, nullable) NSArray *searchAddOns; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The search feature tier of this engine. Different tiers might have different - * pricing. To learn more, check the pricing documentation. Defaults to - * SearchTier.SEARCH_TIER_STANDARD if not specified. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierEnterprise - * Enterprise tier. (Value: "SEARCH_TIER_ENTERPRISE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierStandard - * Standard tier. (Value: "SEARCH_TIER_STANDARD") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified - * Default value when the enum is unspecified. This is invalid to use. - * (Value: "SEARCH_TIER_UNSPECIFIED") + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *searchTier; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Additional config specs for a `similar-items` engine. + * Metadata related to the progress of the + * IdentityMappingStoreService.DeleteIdentityMappingStore operation. This will + * be returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig : GTLRObject +@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 related to the progress of the EstimateDataSize operation. This is - * returned by the google.longrunning.Operation.metadata field. + * Metadata for DeleteSchema LRO. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + @end /** - * Response of the EstimateDataSize request. If the long running operation was - * successful, then this message is returned by the - * google.longrunning.Operations.response field if the operation was - * successful. + * Request for DeleteSession method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest : GTLRObject /** - * Data size in terms of bytes. - * - * Uses NSNumber of longLongValue. + * 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, strong, nullable) NSNumber *dataSizeBytes; +@property(nonatomic, copy, nullable) NSString *name; + +@end + /** - * Total number of documents. - * - * Uses NSNumber of longLongValue. + * Metadata related to the progress of the + * SiteSearchEngineService.DeleteSitemap operation. This will be returned by + * the google.longrunning.Operation.metadata field. */ -@property(nonatomic, strong, nullable) NSNumber *documentCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata : 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 /** - * An evaluation is a single execution (or run) of an evaluation process. It - * encapsulates the state of the evaluation and the resulting data. + * Metadata related to the progress of the + * SiteSearchEngineService.DeleteTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata : GTLRObject -/** Output only. Timestamp the Evaluation was created at. */ +/** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; -/** Output only. Timestamp the Evaluation was completed at. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + /** - * Output only. The error that occurred during evaluation. Only populated when - * the evaluation's state is FAILED. + * Defines target endpoints used to connect to third-party sources. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig : GTLRObject + +/** Optional. The destinations for the corresponding key. */ +@property(nonatomic, strong, nullable) NSArray *destinations; /** - * Output only. A sample of errors encountered while processing the request. + * Optional. Unique destination identifier that is supported by the connector. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +@property(nonatomic, copy, nullable) NSString *key; + +/** Optional. Additional parameters for this destination config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params *params; + +@end -/** Required. The specification of the evaluation. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec *evaluationSpec; /** - * Identifier. The full resource name of the Evaluation, in the format of - * `projects/{project}/locations/{location}/evaluations/{evaluation}`. This - * field must be a UTF-8 encoded string with a length limit of 1024 characters. + * 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. */ -@property(nonatomic, copy, nullable) NSString *name; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfig_Params : GTLRObject +@end + /** - * Output only. The metrics produced by the evaluation, averaged across all - * SampleQuerys in the SampleQuerySet. Only populated when the evaluation's - * state is SUCCEEDED. + * Defines a target endpoint */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetrics *qualityMetrics; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination : GTLRObject + +/** Publicly routable host. */ +@property(nonatomic, copy, nullable) NSString *host; /** - * Output only. The state of the evaluation. + * Optional. Target port number accepted by the destination. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Failed - * The evaluation failed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Pending - * The service is preparing to run the evaluation. (Value: "PENDING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Running - * The evaluation is in progress. (Value: "RUNNING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_StateUnspecified - * The evaluation is unspecified. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Succeeded - * The evaluation completed successfully. (Value: "SUCCEEDED") + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, strong, nullable) NSNumber *port; @end /** - * Describes the specification of the evaluation. + * Metadata related to the progress of the + * SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata : GTLRObject -/** Optional. The specification of the query set. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec *querySetSpec; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Required. The search request that is used to perform the evaluation. Only - * the following fields within SearchRequest are supported; if any other fields - * are provided, an UNSUPPORTED error will be returned: * - * SearchRequest.serving_config * SearchRequest.branch * - * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * - * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * - * SearchRequest.user_pseudo_id + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest *searchRequest; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Describes the specification of the query set. + * Response message for SiteSearchEngineService.DisableAdvancedSiteSearch + * method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse : GTLRObject +@end + /** - * Optional. The full resource name of the SampleQuerySet used for the - * evaluation, in the format of - * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. + * A singleton resource of DataStore. If it's empty when DataStore is created + * and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the + * default parser will default to digital parser. */ -@property(nonatomic, copy, nullable) NSString *sampleQuerySet; - -@end +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig : GTLRObject +/** Whether chunking mode is enabled. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig *chunkingConfig; /** - * Configurations for fields of a schema. For example, configuring a field is - * indexable, or searchable. + * Configurations for default Document parser. If not specified, we will + * configure it as default DigitalParsingConfig, and the default parsing config + * will be applied to all file types for Document parsing. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig : GTLRObject +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig *defaultParsingConfig; /** - * If this field is set, only the corresponding source will be indexed for this - * field. Otherwise, the values from different sources are merged. Assuming a - * page with `` in meta tag, and `` in page map: if this enum is set to - * METATAGS, we will only index ``; if this enum is not set, we will merge them - * and index ``. + * The full resource name of the Document Processing Config. Format: `projects/ + * * /locations/ * /collections/ * /dataStores/ * /documentProcessingConfig`. */ -@property(nonatomic, strong, nullable) NSArray *advancedSiteSearchDataSources; +@property(nonatomic, copy, nullable) NSString *name; /** - * If completable_option is COMPLETABLE_ENABLED, field values are directly used - * and returned as suggestions for Autocomplete in - * CompletionService.CompleteQuery. If completable_option is unset, the server - * behavior defaults to COMPLETABLE_DISABLED for fields that support setting - * completable options, which are just `string` fields. For those fields that - * do not support setting completable options, the server will skip completable - * option setting, and setting completable_option for those fields will throw - * `INVALID_ARGUMENT` error. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableDisabled - * Completable option disabled for a schema field. (Value: - * "COMPLETABLE_DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableEnabled - * Completable option enabled for a schema field. (Value: - * "COMPLETABLE_ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableOptionUnspecified - * Value used when unset. (Value: "COMPLETABLE_OPTION_UNSPECIFIED") + * Map from file type to override the default parsing configuration based on + * the file type. Supported keys: * `pdf`: Override parsing config for PDF + * files, either digital parsing, ocr parsing or layout parsing is supported. * + * `html`: Override parsing config for HTML files, only digital parsing and + * layout parsing are supported. * `docx`: Override parsing config for DOCX + * files, only digital parsing and layout parsing are supported. * `pptx`: + * Override parsing config for PPTX files, only digital parsing and layout + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. */ -@property(nonatomic, copy, nullable) NSString *completableOption; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides *parsingConfigOverrides; -/** - * If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are - * available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if - * FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an - * `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is - * unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields - * that support setting dynamic facetable options. For those fields that do not - * support setting dynamic facetable options, such as `object` and `boolean`, - * the server will skip dynamic facetable option setting, and setting - * dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` - * error. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_DynamicFacetableOption_DynamicFacetableDisabled - * Dynamic facetable option disabled for a schema field. (Value: - * "DYNAMIC_FACETABLE_DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_DynamicFacetableOption_DynamicFacetableEnabled - * Dynamic facetable option enabled for a schema field. (Value: - * "DYNAMIC_FACETABLE_ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_DynamicFacetableOption_DynamicFacetableOptionUnspecified - * Value used when unset. (Value: "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *dynamicFacetableOption; +@end -/** - * Required. Field path of the schema field. For example: `title`, - * `description`, `release_info.release_year`. - */ -@property(nonatomic, copy, nullable) NSString *fieldPath; /** - * Output only. Raw type of the field. + * Map from file type to override the default parsing configuration based on + * the file type. Supported keys: * `pdf`: Override parsing config for PDF + * files, either digital parsing, ocr parsing or layout parsing is supported. * + * `html`: Override parsing config for HTML files, only digital parsing and + * layout parsing are supported. * `docx`: Override parsing config for DOCX + * files, only digital parsing and layout parsing are supported. * `pptx`: + * Override parsing config for PPTX files, only digital parsing and layout + * parsing are supported. * `xlsm`: Override parsing config for XLSM files, + * only digital parsing and layout parsing are supported. * `xlsx`: Override + * parsing config for XLSX files, only digital parsing and layout parsing are + * supported. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Boolean - * Field value type is Boolean. (Value: "BOOLEAN") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Datetime - * Field value type is Datetime. Datetime can be expressed as either: * a - * number representing milliseconds-since-the-epoch * a string - * representing milliseconds-since-the-epoch. e.g. `"1420070400001"` * a - * string representing the [ISO - * 8601](https://en.wikipedia.org/wiki/ISO_8601) date or date and time. - * e.g. `"2015-01-01"` or `"2015-01-01T12:10:30Z"` (Value: "DATETIME") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_FieldTypeUnspecified - * Field type is unspecified. (Value: "FIELD_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Geolocation - * Field value type is Geolocation. Geolocation is expressed as an object - * with the following keys: * `id`: a string representing the location id - * * `longitude`: a number representing the longitude coordinate of the - * location * `latitude`: a number repesenting the latitude coordinate of - * the location * `address`: a string representing the full address of - * the location `latitude` and `longitude` must always be provided - * together. At least one of a) `address` or b) `latitude`-`longitude` - * pair must be provided. (Value: "GEOLOCATION") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Integer - * Field value type is Integer. (Value: "INTEGER") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Number - * Field value type is Number. (Value: "NUMBER") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Object - * Field value type is Object. (Value: "OBJECT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_String - * Field value type is String. (Value: "STRING") + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig. + * Use @c -additionalJSONKeys and @c -additionalPropertyForName: to get + * the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. */ -@property(nonatomic, copy, nullable) NSString *fieldType; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig_ParsingConfigOverrides : GTLRObject +@end -/** - * If indexable_option is INDEXABLE_ENABLED, field values are indexed so that - * it can be filtered or faceted in SearchService.Search. If indexable_option - * is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that - * support setting indexable options. For those fields that do not support - * setting indexable options, such as `object` and `boolean` and key - * properties, the server will skip indexable_option setting, and setting - * indexable_option for those fields will throw `INVALID_ARGUMENT` error. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_IndexableOption_IndexableDisabled - * Indexable option disabled for a schema field. (Value: - * "INDEXABLE_DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_IndexableOption_IndexableEnabled - * Indexable option enabled for a schema field. (Value: - * "INDEXABLE_ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_IndexableOption_IndexableOptionUnspecified - * Value used when unset. (Value: "INDEXABLE_OPTION_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *indexableOption; /** - * Output only. Type of the key property that this field is mapped to. Empty - * string if this is not annotated as mapped to a key property. Example types - * are `title`, `description`. Full list is defined by `keyPropertyMapping` in - * the schema field annotation. If the schema field has a `KeyPropertyMapping` - * annotation, `indexable_option` and `searchable_option` of this field cannot - * be modified. + * Configuration for chunking config. */ -@property(nonatomic, copy, nullable) NSString *keyPropertyType; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig : GTLRObject + +/** Configuration for the layout based chunking. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig *layoutBasedChunkingConfig; + +@end + /** - * Optional. The metatag name found in the HTML page. If user defines this - * field, the value of this metatag name will be used to extract metatag. If - * the user does not define this field, the FieldConfig.field_path will be used - * to extract metatag. + * Configuration for the layout based chunking. */ -@property(nonatomic, copy, nullable) NSString *metatagName; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig : GTLRObject /** - * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable - * by filter expression in RecommendationService.Recommend. If - * FILTERABLE_ENABLED but the field type is numerical, field values are not - * filterable by text queries in RecommendationService.Recommend. Only textual - * fields are supported. If recs_filterable_option is unset, the default - * setting is FILTERABLE_DISABLED for fields that support setting filterable - * options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is - * generated and an empty result is returned. + * The token size limit for each chunk. Supported values: 100-500 (inclusive). + * Default value: 500. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RecsFilterableOption_FilterableDisabled - * Filterable option disabled for a schema field. (Value: - * "FILTERABLE_DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RecsFilterableOption_FilterableEnabled - * Filterable option enabled for a schema field. (Value: - * "FILTERABLE_ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RecsFilterableOption_FilterableOptionUnspecified - * Value used when unset. (Value: "FILTERABLE_OPTION_UNSPECIFIED") + * Uses NSNumber of intValue. */ -@property(nonatomic, copy, nullable) NSString *recsFilterableOption; +@property(nonatomic, strong, nullable) NSNumber *chunkSize; /** - * If retrievable_option is RETRIEVABLE_ENABLED, field values are included in - * the search results. If retrievable_option is unset, the server behavior - * defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable - * options. For those fields that do not support setting retrievable options, - * such as `object` and `boolean`, the server will skip retrievable option - * setting, and setting retrievable_option for those fields will throw - * `INVALID_ARGUMENT` error. + * Whether to include appending different levels of headings to chunks from the + * middle of the document to prevent context loss. Default value: False. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RetrievableOption_RetrievableDisabled - * Retrievable option disabled for a schema field. (Value: - * "RETRIEVABLE_DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RetrievableOption_RetrievableEnabled - * Retrievable option enabled for a schema field. (Value: - * "RETRIEVABLE_ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RetrievableOption_RetrievableOptionUnspecified - * Value used when unset. (Value: "RETRIEVABLE_OPTION_UNSPECIFIED") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *retrievableOption; +@property(nonatomic, strong, nullable) NSNumber *includeAncestorHeadings; + +@end + /** - * Field paths for indexing custom attribute from schema.org data. More details - * of schema.org and its defined types can be found at - * [schema.org](https://schema.org). It is only used on advanced site search - * schema. Currently only support full path from root. The full path to a field - * is constructed by concatenating field names, starting from `_root`, with a - * period `.` as the delimiter. Examples: * Publish date of the root: - * _root.datePublished * Publish date of the reviews: - * _root.review.datePublished + * Related configurations applied to a specific type of document parser. */ -@property(nonatomic, strong, nullable) NSArray *schemaOrgPaths; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig : GTLRObject + +/** Configurations applied to digital parser. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig *digitalParsingConfig; + +/** Configurations applied to layout parser. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig *layoutParsingConfig; /** - * If searchable_option is SEARCHABLE_ENABLED, field values are searchable by - * text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type - * is numerical, field values will not be searchable by text queries in - * SearchService.Search, as there are no text values associated to numerical - * fields. If searchable_option is unset, the server behavior defaults to - * SEARCHABLE_DISABLED for fields that support setting searchable options. Only - * `string` fields that have no key property mapping support setting - * searchable_option. For those fields that do not support setting searchable - * options, the server will skip searchable option setting, and setting - * searchable_option for those fields will throw `INVALID_ARGUMENT` error. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_SearchableOption_SearchableDisabled - * Searchable option disabled for a schema field. (Value: - * "SEARCHABLE_DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_SearchableOption_SearchableEnabled - * Searchable option enabled for a schema field. (Value: - * "SEARCHABLE_ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_SearchableOption_SearchableOptionUnspecified - * Value used when unset. (Value: "SEARCHABLE_OPTION_UNSPECIFIED") + * Configurations applied to OCR parser. Currently it only applies to PDFs. */ -@property(nonatomic, copy, nullable) NSString *searchableOption; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig *ocrParsingConfig; @end /** - * Request for GetSession method. + * The digital parsing configurations for documents. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetSessionRequest : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig : GTLRObject +@end + /** - * Optional. If set to true, the full session including all answer details will - * be returned. - * - * Uses NSNumber of boolValue. + * The layout parsing configurations for documents. */ -@property(nonatomic, strong, nullable) NSNumber *includeAnswerDetails; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig : GTLRObject /** - * Required. The resource name of the Session to get. Format: - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` + * Optional. If true, the processed document will be made available for the + * GetProcessedDocument API. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *name; - -@end - +@property(nonatomic, strong, nullable) NSNumber *enableGetProcessedDocument; /** - * Response message for SiteSearchEngineService.GetUriPatternDocumentData - * method. + * Optional. If true, the LLM based annotation is added to the image during + * parsing. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *enableImageAnnotation; /** - * Document data keyed by URI pattern. For example: document_data_map = { - * "www.url1.com/ *": { "Categories": ["category1", "category2"] }, - * "www.url2.com/ *": { "Categories": ["category3"] } } + * Optional. If true, the LLM based annotation is added to the table during + * parsing. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap *documentDataMap; - -@end +@property(nonatomic, strong, nullable) NSNumber *enableTableAnnotation; +/** Optional. List of HTML classes to exclude from the parsed content. */ +@property(nonatomic, strong, nullable) NSArray *excludeHtmlClasses; -/** - * Document data keyed by URI pattern. For example: document_data_map = { - * "www.url1.com/ *": { "Categories": ["category1", "category2"] }, - * "www.url2.com/ *": { "Categories": ["category3"] } } - * - * @note This class is documented as having more properties of - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap_DocumentDataMap. - * 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_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap : GTLRObject -@end +/** Optional. List of HTML elements to exclude from the parsed content. */ +@property(nonatomic, strong, nullable) NSArray *excludeHtmlElements; +/** Optional. List of HTML ids to exclude from the parsed content. */ +@property(nonatomic, strong, nullable) NSArray *excludeHtmlIds; /** - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap_DocumentDataMap - * - * @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. + * Optional. Contains the required structure types to extract from the + * document. Supported values: * `shareholder-structure` */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap_DocumentDataMap : GTLRObject +@property(nonatomic, strong, nullable) NSArray *structuredContentTypes; + @end /** - * Config to data store for `HEALTHCARE_FHIR` vertical. + * The OCR parsing configurations for documents. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig : GTLRObject /** - * Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set - * to `true`, the predefined healthcare fhir schema can be extended for more - * customized searching and filtering. - * - * Uses NSNumber of boolValue. + * [DEPRECATED] This field is deprecated. To use the additional enhanced + * document elements processing, please switch to `layout_parsing_config`. */ -@property(nonatomic, strong, nullable) NSNumber *enableConfigurableSchema; +@property(nonatomic, strong, nullable) NSArray *enhancedDocumentElements GTLR_DEPRECATED; /** - * Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If - * set to `true`, the batch ingestion will be processed in a static indexing - * mode which is slower but more capable of handling larger volume. + * If true, will use native text instead of OCR text on pages containing native + * text. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *enableStaticIndexingForBatchIngestion; +@property(nonatomic, strong, nullable) NSNumber *useNativeText; @end /** - * IdentityMappingEntry LongRunningOperation metadata for - * IdentityMappingStoreService.ImportIdentityMappings and - * IdentityMappingStoreService.PurgeIdentityMappings + * Metadata related to the progress of the + * SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata : GTLRObject -/** - * The number of IdentityMappingEntries that failed to be processed. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The number of IdentityMappingEntries that were successfully processed. - * - * Uses NSNumber of longLongValue. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + /** - * The total number of IdentityMappingEntries that were processed. - * - * Uses NSNumber of longLongValue. + * Response message for SiteSearchEngineService.EnableAdvancedSiteSearch + * method. */ -@property(nonatomic, strong, nullable) NSNumber *totalCount; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse : GTLRObject @end /** - * The configuration for the identity data synchronization runs. + * Metadata that describes the training and serving parameters of an Engine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine : 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. + * Configurations for the Chat Engine. Only applicable if solution_type is + * SOLUTION_TYPE_CHAT. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleTypeDateTime *nextSyncTime; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig *chatEngineConfig; /** - * 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. + * Output only. Additional information of the Chat Engine. Only applicable if + * solution_type is SOLUTION_TYPE_CHAT. */ -@property(nonatomic, strong, nullable) GTLRDuration *refreshInterval; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata *chatEngineMetadata; -@end +/** Common config spec that specifies the metadata of the engine. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig *commonConfig; +/** Output only. Timestamp the Recommendation Engine was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Identity Provider Config. + * Optional. The data stores associated with this engine. For + * SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they + * can only associate with at most one data store. If solution_type is + * SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be + * associated here. Note that when used in CreateEngineRequest, one DataStore + * id must be provided as the system will use it for necessary initializations. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig : GTLRObject - -/** External Identity provider config. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig *externalIdpConfig; +@property(nonatomic, strong, nullable) NSArray *dataStoreIds; /** - * Identity provider type configured. + * Optional. Whether to disable analytics for searches performed on this + * engine. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_Gsuite - * Google 1P provider. (Value: "GSUITE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_IdpTypeUnspecified - * Default value. ACL search not enabled. (Value: "IDP_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_ThirdParty - * Third party provider. (Value: "THIRD_PARTY") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *idpType; - -@end - +@property(nonatomic, strong, nullable) NSNumber *disableAnalytics; /** - * Third party IDP Config. + * Required. The display name of the engine. Should be human readable. UTF-8 + * encoded string with limit of 1024 characters. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig : GTLRObject - -/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */ -@property(nonatomic, copy, nullable) NSString *workforcePoolName; - -@end - +@property(nonatomic, copy, nullable) NSString *displayName; /** - * Metadata related to the progress of the ImportCompletionSuggestions - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` * `personalization-memory` - Enables personalization based + * on user preferences. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features *features; /** - * Count of CompletionSuggestions that failed to be imported. + * Optional. The industry vertical that the engine registers. The restriction + * of the Engine industry vertical is based on DataStore: Vertical on Engine + * has to match vertical of the DataStore linked to the engine. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Generic + * The generic vertical for documents that are not specific to any + * industry vertical. (Value: "GENERIC") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_HealthcareFhir + * The healthcare FHIR vertical. (Value: "HEALTHCARE_FHIR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_IndustryVerticalUnspecified + * Value used when unset. (Value: "INDUSTRY_VERTICAL_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_IndustryVertical_Media + * The media industry vertical. (Value: "MEDIA") */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@property(nonatomic, copy, nullable) NSString *industryVertical; /** - * Count of CompletionSuggestions successfully imported. - * - * Uses NSNumber of longLongValue. + * Configurations for the Media Engine. Only applicable on the data stores with + * solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA + * vertical. */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig *mediaRecommendationEngineConfig; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Immutable. Identifier. The fully qualified resource name of the engine. This + * field must be a UTF-8 encoded string with a length limit of 1024 characters. + * Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` + * engine should be 1-63 characters, and valid characters are /a-z0-9* /. + * Otherwise, an INVALID_ARGUMENT error is returned. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, copy, nullable) NSString *name; /** - * Response of the CompletionService.ImportCompletionSuggestions method. If the - * long running operation is done, this message is returned by the - * google.longrunning.Operations.response field if the operation is successful. + * Output only. Additional information of a recommendation engine. Only + * applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse : GTLRObject - -/** The desired location of errors incurred during the Import. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; - -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; - -@end - +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata *recommendationMetadata; /** - * Metadata related to the progress of the ImportDocuments operation. This is - * returned by the google.longrunning.Operation.metadata field. + * Configurations for the Search Engine. Only applicable if solution_type is + * SOLUTION_TYPE_SEARCH. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata : GTLRObject +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig *searchEngineConfig; -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Additional config specs for a `similar-items` engine. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig *similarDocumentsConfig; /** - * Count of entries that encountered errors while processing. + * Required. The solutions of the engine. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeChat + * Used for use cases related to the Generative AI agent. (Value: + * "SOLUTION_TYPE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_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_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeRecommendation + * Used for Recommendations AI. (Value: "SOLUTION_TYPE_RECOMMENDATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeSearch + * Used for Discovery Search. (Value: "SOLUTION_TYPE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_SolutionType_SolutionTypeUnspecified + * Default value. (Value: "SOLUTION_TYPE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@property(nonatomic, copy, nullable) NSString *solutionType; + +/** Output only. Timestamp the Recommendation Engine was last updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + /** - * Count of entries that were processed successfully. + * Optional. Feature config for the engine to opt in or opt out of features. + * Supported keys: * `*`: all features, if it's present, all other feature + * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * + * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * + * `people-search-org-chart` * `bi-directional-audio` * `feedback` * + * `session-sharing` * `personalization-memory` - Enables personalization based + * on user preferences. * - * Uses NSNumber of longLongValue. + * @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 *successCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngine_Features : GTLRObject +@end + /** - * Total count of entries that were processed. + * Configurations for a Chat Engine. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig : GTLRObject + +/** + * The configurationt generate the Dialogflow agent that is associated to this + * Engine. Note that these configurations are one-time consumed by and passed + * to Dialogflow service. It means they cannot be retrieved using + * EngineService.GetEngine or EngineService.ListEngines API after engine + * creation. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig *agentCreationConfig; + +/** + * Optional. If the flag set to true, we allow the agent and engine are in + * different locations, otherwise the agent and engine are required to be in + * the same location. The flag is set to false by default. Note that the + * `allow_cross_region` are one-time consumed by and passed to + * EngineService.CreateEngine. It means they cannot be retrieved using + * EngineService.GetEngine or EngineService.ListEngines API after engine + * creation. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *totalCount; +@property(nonatomic, strong, nullable) NSNumber *allowCrossRegion; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * The resource name of an exist Dialogflow agent to link to this Chat Engine. + * Customers can either provide `agent_creation_config` to create agent or + * provide an agent name that links the agent with the Chat engine. Format: + * `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are + * one-time consumed by and passed to Dialogflow service. It means they cannot + * be retrieved using EngineService.GetEngine or EngineService.ListEngines API + * after engine creation. Use ChatEngineMetadata.dialogflow_agent for actual + * agent association after Engine is created. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, copy, nullable) NSString *dialogflowAgentToLink; @end /** - * Response of the ImportDocumentsRequest. If the long running operation is - * done, then this message is returned by the - * google.longrunning.Operations.response field if the operation was - * successful. + * Configurations for generating a Dialogflow agent. Note that these + * configurations are one-time consumed by and passed to Dialogflow service. It + * means they cannot be retrieved using EngineService.GetEngine or + * EngineService.ListEngines API after engine creation. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig : GTLRObject -/** Echoes the destination for the complete errors in the request if set. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; +/** + * Name of the company, organization or other entity that the agent represents. + * Used for knowledge connector LLM prompt and for knowledge search. + */ +@property(nonatomic, copy, nullable) NSString *business; -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** + * Required. The default language of the agent as a language tag. See [Language + * Support](https://cloud.google.com/dialogflow/docs/reference/language) for a + * list of the currently supported language codes. + */ +@property(nonatomic, copy, nullable) NSString *defaultLanguageCode; + +/** + * Agent location for Agent creation, supported values: global/us/eu. If not + * provided, us Engine will create Agent using us-central-1 by default; eu + * Engine will create Agent using eu-west-1 by default. + */ +@property(nonatomic, copy, nullable) NSString *location; + +/** + * Required. The time zone of the agent from the [time zone + * database](https://www.iana.org/time-zones), e.g., America/New_York, + * Europe/Paris. + */ +@property(nonatomic, copy, nullable) NSString *timeZone; @end /** - * Configuration of destination for Import related errors. + * Additional information of a Chat Engine. Fields in this message are output + * only. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata : GTLRObject /** - * Cloud Storage prefix for import errors. This must be an empty, existing - * Cloud Storage directory. Import errors are written to sharded files in this - * directory, one per line, as a JSON-encoded `google.rpc.Status` message. + * The resource name of a Dialogflow agent, that this Chat Engine refers to. + * Format: `projects//locations//agents/`. */ -@property(nonatomic, copy, nullable) NSString *gcsPrefix; +@property(nonatomic, copy, nullable) NSString *dialogflowAgent; @end /** - * Response message for IdentityMappingStoreService.ImportIdentityMappings + * Common configurations for an Engine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineCommonConfig : GTLRObject -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** + * The name of the company, business or entity that is associated with the + * engine. Setting this may help improve LLM related features. + */ +@property(nonatomic, copy, nullable) NSString *companyName; @end /** - * Metadata related to the progress of the ImportSampleQueries operation. This - * will be returned by the google.longrunning.Operation.metadata field. + * Additional config specs for a Media Recommendation engine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig : GTLRObject -/** ImportSampleQueries operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. Additional engine features config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig *engineFeaturesConfig; /** - * Count of SampleQuerys that failed to be imported. - * - * Uses NSNumber of longLongValue. + * The optimization objective. e.g., `cvr`. This field together with + * optimization_objective describe engine metadata to use to control engine + * training and serving. Currently supported values: `ctr`, `cvr`. If not + * specified, we choose default based on engine type. Default depends on type + * of recommendation: `recommended-for-you` => `ctr` `others-you-may-like` => + * `ctr` */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@property(nonatomic, copy, nullable) NSString *optimizationObjective; /** - * Count of SampleQuerys successfully imported. - * - * Uses NSNumber of longLongValue. + * Name and value of the custom threshold for cvr optimization_objective. For + * target_field `watch-time`, target_field_value must be an integer value + * indicating the media progress time in seconds between (0, 86400] (excludes + * 0, includes 86400) (e.g., 90). For target_field `watch-percentage`, the + * target_field_value must be a valid float value between (0, 1.0] (excludes 0, + * includes 1.0) (e.g., 0.5). */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig *optimizationObjectiveConfig; /** - * Total count of SampleQuerys that were processed. + * The training state that the engine is in (e.g. `TRAINING` or `PAUSED`). + * Since part of the cost of running the service is frequency of training - + * this can be used to determine when to train engine in order to control cost. + * If not specified: the default value for `CreateEngine` method is `TRAINING`. + * The default value for `UpdateEngine` method is to keep the state the same as + * before. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Paused + * The engine training is paused. (Value: "PAUSED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_Training + * The engine is training. (Value: "TRAINING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig_TrainingState_TrainingStateUnspecified + * Unspecified training state. (Value: "TRAINING_STATE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *totalCount; +@property(nonatomic, copy, nullable) NSString *trainingState; /** - * ImportSampleQueries operation last update time. If the operation is done, - * this is also the finish time. + * Required. The type of engine. e.g., `recommended-for-you`. This field + * together with optimization_objective describe engine metadata to use to + * control engine training and serving. Currently supported values: + * `recommended-for-you`, `others-you-may-like`, `more-like-this`, + * `most-popular-items`. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, copy, nullable) NSString *type; @end /** - * Response of the SampleQueryService.ImportSampleQueries method. If the long - * running operation is done, this message is returned by the - * google.longrunning.Operations.response field if the operation is successful. + * More feature configs of the selected engine type. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigEngineFeaturesConfig : GTLRObject -/** The desired location of errors incurred during the Import. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; +/** Most popular engine feature config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig *mostPopularConfig; -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** Recommended for you engine feature config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig *recommendedForYouConfig; @end /** - * Metadata related to the progress of the ImportSuggestionDenyListEntries - * operation. This is returned by the google.longrunning.Operation.metadata - * field. + * Feature configurations that are required for creating a Most Popular engine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigMostPopularFeatureConfig : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * The time window of which the engine is queried at training and prediction + * time. Positive integers only. The value translates to the last X days of + * events. Currently required for the `most-popular-items` engine. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSNumber *timeWindowDays; @end /** - * Response message for CompletionService.ImportSuggestionDenyListEntries - * method. + * Custom threshold for `cvr` optimization_objective. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse : GTLRObject - -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig : GTLRObject /** - * Count of deny list entries that failed to be imported. - * - * Uses NSNumber of longLongValue. + * Required. The name of the field to target. Currently supported values: + * `watch-percentage`, `watch-time`. */ -@property(nonatomic, strong, nullable) NSNumber *failedEntriesCount; +@property(nonatomic, copy, nullable) NSString *targetField; /** - * Count of deny list entries successfully imported. + * Required. The threshold to be applied to the target (e.g., 0.5). * - * Uses NSNumber of longLongValue. + * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *importedEntriesCount; +@property(nonatomic, strong, nullable) NSNumber *targetFieldValueFloat; @end /** - * Metadata related to the progress of the Import operation. This is returned - * by the google.longrunning.Operation.metadata field. + * Additional feature configurations for creating a `recommended-for-you` + * engine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigRecommendedForYouFeatureConfig : GTLRObject /** - * Count of entries that encountered errors while processing. - * - * Uses NSNumber of longLongValue. + * The type of event with which the engine is queried at prediction time. If + * set to `generic`, only `view-item`, `media-play`,and `media-complete` will + * be used as `context-event` in engine training. If set to `view-home-page`, + * `view-home-page` will also be used as `context-events` in addition to + * `view-item`, `media-play`, and `media-complete`. Currently supported for the + * `recommended-for-you` engine. Currently supported values: `view-home-page`, + * `generic`. */ -@property(nonatomic, strong, nullable) NSNumber *failureCount; +@property(nonatomic, copy, nullable) NSString *contextEventType; + +@end + /** - * Count of entries that were processed successfully. - * - * Uses NSNumber of longLongValue. + * Additional information of a recommendation engine. */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Output only. The state of data requirements for this engine: `DATA_OK` and + * `DATA_ERROR`. Engine cannot be trained if the data is in `DATA_ERROR` state. + * Engine can have `DATA_ERROR` state even if serving state is `ACTIVE`: + * engines were trained successfully before, but cannot be refreshed because + * the underlying engine no longer has sufficient data for training. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataError + * The engine does not have sufficient training data. Error messages can + * be queried via Stackdriver. (Value: "DATA_ERROR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataOk + * The engine has sufficient training data. (Value: "DATA_OK") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_DataState_DataStateUnspecified + * Unspecified default value, should never be explicitly set. (Value: + * "DATA_STATE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, copy, nullable) NSString *dataState; /** - * Response of the ImportUserEventsRequest. If the long running operation was - * successful, then this message is returned by the - * google.longrunning.Operations.response field if the operation was - * successful. + * Output only. The timestamp when the latest successful training finished. + * Only applicable on Media Recommendation engines. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse : GTLRObject +@property(nonatomic, strong, nullable) GTLRDateTime *lastTrainTime; /** - * Echoes the destination for the complete errors if this field was set in the - * request. + * Output only. The timestamp when the latest successful tune finished. Only + * applicable on Media Recommendation engines. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; - -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +@property(nonatomic, strong, nullable) GTLRDateTime *lastTuneTime; /** - * Count of user events imported with complete existing Documents. + * Output only. The serving state of the engine: `ACTIVE`, `NOT_ACTIVE`. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Active + * The engine is serving and can be queried. (Value: "ACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Inactive + * The engine is not serving. (Value: "INACTIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_ServingStateUnspecified + * Unspecified serving state. (Value: "SERVING_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata_ServingState_Tuned + * The engine is trained on tuned hyperparameters and can be queried. + * (Value: "TUNED") */ -@property(nonatomic, strong, nullable) NSNumber *joinedEventsCount; +@property(nonatomic, copy, nullable) NSString *servingState; /** - * Count of user events imported, but with Document information not found in - * the existing Branch. - * - * Uses NSNumber of longLongValue. + * Output only. The latest tune operation id associated with the engine. Only + * applicable on Media Recommendation engines. If present, this operation id + * can be used to determine if there is an ongoing tune for this engine. To + * check the operation status, send the GetOperation request with this + * operation id in the engine resource format. If no tuning has happened for + * this engine, the string is empty. */ -@property(nonatomic, strong, nullable) NSNumber *unjoinedEventsCount; +@property(nonatomic, copy, nullable) NSString *tuningOperation; @end /** - * A floating point interval. + * Configurations for a Search Engine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaInterval : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig : GTLRObject -/** - * Exclusive upper bound. - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *exclusiveMaximum; +/** The add-on that this search engine enables. */ +@property(nonatomic, strong, nullable) NSArray *searchAddOns; /** - * Exclusive lower bound. + * The search feature tier of this engine. Different tiers might have different + * pricing. To learn more, check the pricing documentation. Defaults to + * SearchTier.SEARCH_TIER_STANDARD if not specified. * - * Uses NSNumber of doubleValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierEnterprise + * Enterprise tier. (Value: "SEARCH_TIER_ENTERPRISE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierStandard + * Standard tier. (Value: "SEARCH_TIER_STANDARD") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig_SearchTier_SearchTierUnspecified + * Default value when the enum is unspecified. This is invalid to use. + * (Value: "SEARCH_TIER_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *exclusiveMinimum; +@property(nonatomic, copy, nullable) NSString *searchTier; + +@end -/** - * Inclusive upper bound. - * - * Uses NSNumber of doubleValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maximum; /** - * Inclusive lower bound. - * - * Uses NSNumber of doubleValue. + * Additional config specs for a `similar-items` engine. */ -@property(nonatomic, strong, nullable) NSNumber *minimum; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig : GTLRObject @end /** - * Language info for DataStore. + * Metadata related to the progress of the EstimateDataSize operation. This is + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLanguageInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +@end + /** - * Output only. Language part of normalized_language_code. E.g.: `en-US` -> - * `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. + * Response of the EstimateDataSize request. If the long running operation was + * successful, then this message is returned by the + * google.longrunning.Operations.response field if the operation was + * successful. */ -@property(nonatomic, copy, nullable) NSString *language; - -/** The language code for the DataStore. */ -@property(nonatomic, copy, nullable) NSString *languageCode; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse : GTLRObject /** - * Output only. This is the normalized form of language_code. E.g.: - * language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have - * normalized_language_code of `en-GB`. + * Data size in terms of bytes. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *normalizedLanguageCode; +@property(nonatomic, strong, nullable) NSNumber *dataSizeBytes; /** - * Output only. Region part of normalized_language_code, if present. E.g.: - * `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. + * Total number of documents. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *region; +@property(nonatomic, strong, nullable) NSNumber *documentCount; @end /** - * Request for ListSessions method. + * An evaluation is a single execution (or run) of an evaluation process. It + * encapsulates the state of the evaluation and the resulting data. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsRequest : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation : GTLRObject + +/** Output only. Timestamp the Evaluation was created at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Timestamp the Evaluation was completed at. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; /** - * A filter to apply on the list results. The supported features are: - * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + * Output only. The error that occurred during evaluation. Only populated when + * the evaluation's state is FAILED. */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; /** - * 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. + * Output only. A sample of errors encountered while processing the request. */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** Required. The specification of the evaluation. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec *evaluationSpec; /** - * Maximum number of results to return. If unspecified, defaults to 50. Max - * allowed value is 1000. - * - * Uses NSNumber of intValue. + * Identifier. The full resource name of the Evaluation, in the format of + * `projects/{project}/locations/{location}/evaluations/{evaluation}`. This + * field must be a UTF-8 encoded string with a length limit of 1024 characters. */ -@property(nonatomic, strong, nullable) NSNumber *pageSize; +@property(nonatomic, copy, nullable) NSString *name; /** - * A page token, received from a previous `ListSessions` call. Provide this to - * retrieve the subsequent page. + * Output only. The metrics produced by the evaluation, averaged across all + * SampleQuerys in the SampleQuerySet. Only populated when the evaluation's + * state is SUCCEEDED. */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetrics *qualityMetrics; /** - * Required. The data store resource name. Format: - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` + * Output only. The state of the evaluation. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Failed + * The evaluation failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Pending + * The service is preparing to run the evaluation. (Value: "PENDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Running + * The evaluation is in progress. (Value: "RUNNING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_StateUnspecified + * The evaluation is unspecified. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluation_State_Succeeded + * The evaluation completed successfully. (Value: "SUCCEEDED") */ -@property(nonatomic, copy, nullable) NSString *parent; +@property(nonatomic, copy, nullable) NSString *state; @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). + * Describes the specification of the evaluation. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsResponse : GTLRCollectionObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec : GTLRObject -/** Pagination token, if not returned indicates the last page. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; +/** Optional. The specification of the query set. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec *querySetSpec; /** - * All the Sessions for a given data store. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. + * Required. The search request that is used to perform the evaluation. Only + * the following fields within SearchRequest are supported; if any other fields + * are provided, an UNSUPPORTED error will be returned: * + * SearchRequest.serving_config * SearchRequest.branch * + * SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * + * SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * + * SearchRequest.user_pseudo_id */ -@property(nonatomic, strong, nullable) NSArray *sessions; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest *searchRequest; @end /** - * Configuration for Natural Language Query Understanding. + * Describes the specification of the query set. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec : GTLRObject /** - * Mode of Natural Language Query Understanding. If this field is unset, the - * behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled - * Natural Language Query Understanding is disabled. (Value: "DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled - * Natural Language Query Understanding is enabled. (Value: "ENABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified - * Default value. (Value: "MODE_UNSPECIFIED") + * Optional. The full resource name of the SampleQuerySet used for the + * evaluation, in the format of + * `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */ -@property(nonatomic, copy, nullable) NSString *mode; +@property(nonatomic, copy, nullable) NSString *sampleQuerySet; @end /** - * Response message for CrawlRateManagementService.ObtainCrawlRate method. The - * response contains organcic or dedicated crawl rate time series data for - * monitoring, depending on whether dedicated crawl rate is set. + * Metadata related to the progress of the Export operation. This is returned + * by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse : GTLRObject - -/** - * The historical dedicated crawl rate timeseries data, used for monitoring. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries *dedicatedCrawlRateTimeSeries; - -/** Errors from service when handling the request. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata : GTLRObject -/** The historical organic crawl rate timeseries data, used for monitoring. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries *organicCrawlRateTimeSeries; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The state of the response. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse_State_Failed - * The state is failed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse_State_StateUnspecified - * The state is unspecified. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse_State_Succeeded - * The state is successful. (Value: "SUCCEEDED") + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * The historical organic crawl rate timeseries data, used for monitoring. - * Organic crawl is auto-determined by Google to crawl the user's website when - * dedicate crawl is not set. Crawl rate is the QPS of crawl request Google - * sends to the user's website. + * Response of the ExportMetricsRequest. If the long running operation was + * successful, then this message is returned by the + * google.longrunning.Operations.response field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaExportMetricsResponse : GTLRObject +@end + /** - * Google's organic crawl rate time series, which is the sum of all googlebots' - * crawl rate. Please refer to - * https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers - * for more details about googlebots. + * Configurations for fields of a schema. For example, configuring a field is + * indexable, or searchable. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *googleOrganicCrawlRate; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig : GTLRObject /** - * Vertex AI's organic crawl rate time series, which is the crawl rate of - * Google-CloudVertexBot when dedicate crawl is not set. Please refer to - * https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot - * for more details about Google-CloudVertexBot. + * If this field is set, only the corresponding source will be indexed for this + * field. Otherwise, the values from different sources are merged. Assuming a + * page with `` in meta tag, and `` in page map: if this enum is set to + * METATAGS, we will only index ``; if this enum is not set, we will merge them + * and index ``. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *vertexAiOrganicCrawlRate; - -@end - +@property(nonatomic, strong, nullable) NSArray *advancedSiteSearchDataSources; /** - * Metadata and configurations for a Google Cloud project in the service. + * If completable_option is COMPLETABLE_ENABLED, field values are directly used + * and returned as suggestions for Autocomplete in + * CompletionService.CompleteQuery. If completable_option is unset, the server + * behavior defaults to COMPLETABLE_DISABLED for fields that support setting + * completable options, which are just `string` fields. For those fields that + * do not support setting completable options, the server will skip completable + * option setting, and setting completable_option for those fields will throw + * `INVALID_ARGUMENT` error. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableDisabled + * Completable option disabled for a schema field. (Value: + * "COMPLETABLE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableEnabled + * Completable option enabled for a schema field. (Value: + * "COMPLETABLE_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_CompletableOption_CompletableOptionUnspecified + * Value used when unset. (Value: "COMPLETABLE_OPTION_UNSPECIFIED") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject : GTLRObject - -/** Output only. The timestamp when this project is created. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, copy, nullable) NSString *completableOption; /** - * Output only. Full resource name of the project, for example - * `projects/{project}`. Note that when making requests, project number and - * project id are both acceptable, but the server will always respond in - * project number. + * If dynamic_facetable_option is DYNAMIC_FACETABLE_ENABLED, field values are + * available for dynamic facet. Could only be DYNAMIC_FACETABLE_DISABLED if + * FieldConfig.indexable_option is INDEXABLE_DISABLED. Otherwise, an + * `INVALID_ARGUMENT` error will be returned. If dynamic_facetable_option is + * unset, the server behavior defaults to DYNAMIC_FACETABLE_DISABLED for fields + * that support setting dynamic facetable options. For those fields that do not + * support setting dynamic facetable options, such as `object` and `boolean`, + * the server will skip dynamic facetable option setting, and setting + * dynamic_facetable_option for those fields will throw `INVALID_ARGUMENT` + * error. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_DynamicFacetableOption_DynamicFacetableDisabled + * Dynamic facetable option disabled for a schema field. (Value: + * "DYNAMIC_FACETABLE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_DynamicFacetableOption_DynamicFacetableEnabled + * Dynamic facetable option enabled for a schema field. (Value: + * "DYNAMIC_FACETABLE_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_DynamicFacetableOption_DynamicFacetableOptionUnspecified + * Value used when unset. (Value: "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *name; +@property(nonatomic, copy, nullable) NSString *dynamicFacetableOption; /** - * Output only. The timestamp when this project is successfully provisioned. - * Empty value means this project is still provisioning and is not ready for - * use. + * Required. Field path of the schema field. For example: `title`, + * `description`, `release_info.release_year`. */ -@property(nonatomic, strong, nullable) GTLRDateTime *provisionCompletionTime; +@property(nonatomic, copy, nullable) NSString *fieldPath; /** - * Output only. A map of terms of services. The key is the `id` of - * ServiceTerms. + * Output only. Raw type of the field. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Boolean + * Field value type is Boolean. (Value: "BOOLEAN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Datetime + * Field value type is Datetime. Datetime can be expressed as either: * a + * number representing milliseconds-since-the-epoch * a string + * representing milliseconds-since-the-epoch. e.g. `"1420070400001"` * a + * string representing the [ISO + * 8601](https://en.wikipedia.org/wiki/ISO_8601) date or date and time. + * e.g. `"2015-01-01"` or `"2015-01-01T12:10:30Z"` (Value: "DATETIME") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_FieldTypeUnspecified + * Field type is unspecified. (Value: "FIELD_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Geolocation + * Field value type is Geolocation. Geolocation is expressed as an object + * with the following keys: * `id`: a string representing the location id + * * `longitude`: a number representing the longitude coordinate of the + * location * `latitude`: a number repesenting the latitude coordinate of + * the location * `address`: a string representing the full address of + * the location `latitude` and `longitude` must always be provided + * together. At least one of a) `address` or b) `latitude`-`longitude` + * pair must be provided. (Value: "GEOLOCATION") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Integer + * Field value type is Integer. (Value: "INTEGER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Number + * Field value type is Number. (Value: "NUMBER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_Object + * Field value type is Object. (Value: "OBJECT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_FieldType_String + * Field value type is String. (Value: "STRING") */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject_ServiceTermsMap *serviceTermsMap; - -@end - +@property(nonatomic, copy, nullable) NSString *fieldType; /** - * Output only. A map of terms of services. The key is the `id` of - * ServiceTerms. + * If indexable_option is INDEXABLE_ENABLED, field values are indexed so that + * it can be filtered or faceted in SearchService.Search. If indexable_option + * is unset, the server behavior defaults to INDEXABLE_DISABLED for fields that + * support setting indexable options. For those fields that do not support + * setting indexable options, such as `object` and `boolean` and key + * properties, the server will skip indexable_option setting, and setting + * indexable_option for those fields will throw `INVALID_ARGUMENT` error. * - * @note This class is documented as having more properties of - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms. - * 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. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_IndexableOption_IndexableDisabled + * Indexable option disabled for a schema field. (Value: + * "INDEXABLE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_IndexableOption_IndexableEnabled + * Indexable option enabled for a schema field. (Value: + * "INDEXABLE_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_IndexableOption_IndexableOptionUnspecified + * Value used when unset. (Value: "INDEXABLE_OPTION_UNSPECIFIED") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject_ServiceTermsMap : GTLRObject -@end - +@property(nonatomic, copy, nullable) NSString *indexableOption; /** - * Metadata about the terms of service. + * Output only. Type of the key property that this field is mapped to. Empty + * string if this is not annotated as mapped to a key property. Example types + * are `title`, `description`. Full list is defined by `keyPropertyMapping` in + * the schema field annotation. If the schema field has a `KeyPropertyMapping` + * annotation, `indexable_option` and `searchable_option` of this field cannot + * be modified. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms : GTLRObject - -/** The last time when the project agreed to the terms of service. */ -@property(nonatomic, strong, nullable) GTLRDateTime *acceptTime; +@property(nonatomic, copy, nullable) NSString *keyPropertyType; /** - * The last time when the project declined or revoked the agreement to terms of - * service. + * Optional. The metatag name found in the HTML page. If user defines this + * field, the value of this metatag name will be used to extract metatag. If + * the user does not define this field, the FieldConfig.field_path will be used + * to extract metatag. */ -@property(nonatomic, strong, nullable) GTLRDateTime *declineTime; +@property(nonatomic, copy, nullable) NSString *metatagName; /** - * The unique identifier of this terms of service. Available terms: * - * `GA_DATA_USE_TERMS`: [Terms for data - * use](https://cloud.google.com/retail/data-use-terms). When using this as - * `id`, the acceptable version to provide is `2022-11-23`. + * If recs_filterable_option is FILTERABLE_ENABLED, field values are filterable + * by filter expression in RecommendationService.Recommend. If + * FILTERABLE_ENABLED but the field type is numerical, field values are not + * filterable by text queries in RecommendationService.Recommend. Only textual + * fields are supported. If recs_filterable_option is unset, the default + * setting is FILTERABLE_DISABLED for fields that support setting filterable + * options. When a field set to [FILTERABLE_DISABLED] is filtered, a warning is + * generated and an empty result is returned. * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RecsFilterableOption_FilterableDisabled + * Filterable option disabled for a schema field. (Value: + * "FILTERABLE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RecsFilterableOption_FilterableEnabled + * Filterable option enabled for a schema field. (Value: + * "FILTERABLE_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RecsFilterableOption_FilterableOptionUnspecified + * Value used when unset. (Value: "FILTERABLE_OPTION_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *identifier; +@property(nonatomic, copy, nullable) NSString *recsFilterableOption; /** - * Whether the project has accepted/rejected the service terms or it is still - * pending. + * If retrievable_option is RETRIEVABLE_ENABLED, field values are included in + * the search results. If retrievable_option is unset, the server behavior + * defaults to RETRIEVABLE_DISABLED for fields that support setting retrievable + * options. For those fields that do not support setting retrievable options, + * such as `object` and `boolean`, the server will skip retrievable option + * setting, and setting retrievable_option for those fields will throw + * `INVALID_ARGUMENT` error. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_StateUnspecified - * The default value of the enum. This value is not actually used. - * (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_TermsAccepted - * The project has given consent to the terms of service. (Value: - * "TERMS_ACCEPTED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_TermsDeclined - * The project has declined or revoked the agreement to terms of service. - * (Value: "TERMS_DECLINED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_TermsPending - * The project is pending to review and accept the terms of service. - * (Value: "TERMS_PENDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RetrievableOption_RetrievableDisabled + * Retrievable option disabled for a schema field. (Value: + * "RETRIEVABLE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RetrievableOption_RetrievableEnabled + * Retrievable option enabled for a schema field. (Value: + * "RETRIEVABLE_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_RetrievableOption_RetrievableOptionUnspecified + * Value used when unset. (Value: "RETRIEVABLE_OPTION_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, copy, nullable) NSString *retrievableOption; /** - * The version string of the terms of service. For acceptable values, see the - * comments for id above. + * Field paths for indexing custom attribute from schema.org data. More details + * of schema.org and its defined types can be found at + * [schema.org](https://schema.org). It is only used on advanced site search + * schema. Currently only support full path from root. The full path to a field + * is constructed by concatenating field names, starting from `_root`, with a + * period `.` as the delimiter. Examples: * Publish date of the root: + * _root.datePublished * Publish date of the reviews: + * _root.review.datePublished */ -@property(nonatomic, copy, nullable) NSString *version; +@property(nonatomic, strong, nullable) NSArray *schemaOrgPaths; + +/** + * If searchable_option is SEARCHABLE_ENABLED, field values are searchable by + * text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type + * is numerical, field values will not be searchable by text queries in + * SearchService.Search, as there are no text values associated to numerical + * fields. If searchable_option is unset, the server behavior defaults to + * SEARCHABLE_DISABLED for fields that support setting searchable options. Only + * `string` fields that have no key property mapping support setting + * searchable_option. For those fields that do not support setting searchable + * options, the server will skip searchable option setting, and setting + * searchable_option for those fields will throw `INVALID_ARGUMENT` error. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_SearchableOption_SearchableDisabled + * Searchable option disabled for a schema field. (Value: + * "SEARCHABLE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_SearchableOption_SearchableEnabled + * Searchable option enabled for a schema field. (Value: + * "SEARCHABLE_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaFieldConfig_SearchableOption_SearchableOptionUnspecified + * Value used when unset. (Value: "SEARCHABLE_OPTION_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *searchableOption; @end /** - * Metadata associated with a project provision operation. + * Request for GetSession method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata : GTLRObject +@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 /** - * Metadata related to the progress of the PurgeCompletionSuggestions - * operation. This is returned by the google.longrunning.Operation.metadata - * field. + * Response message for SiteSearchEngineService.GetUriPatternDocumentData + * method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse : GTLRObject + +/** + * Document data keyed by URI pattern. For example: document_data_map = { + * "www.url1.com/ *": { "Categories": ["category1", "category2"] }, + * "www.url2.com/ *": { "Categories": ["category3"] } } + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap *documentDataMap; + +@end -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Document data keyed by URI pattern. For example: document_data_map = { + * "www.url1.com/ *": { "Categories": ["category1", "category2"] }, + * "www.url2.com/ *": { "Categories": ["category3"] } } + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap_DocumentDataMap. + * 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) GTLRDateTime *updateTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap : GTLRObject +@end + +/** + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap_DocumentDataMap + * + * @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_GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse_DocumentDataMap_DocumentDataMap : GTLRObject @end /** - * Response message for CompletionService.PurgeCompletionSuggestions method. + * Config to data store for `HEALTHCARE_FHIR` vertical. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig : GTLRObject -/** A sample of errors encountered while processing the request. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** + * Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical. If set + * to `true`, the predefined healthcare fhir schema can be extended for more + * customized searching and filtering. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableConfigurableSchema; /** - * Whether the completion suggestions were successfully purged. + * Whether to enable static indexing for `HEALTHCARE_FHIR` batch ingestion. If + * set to `true`, the batch ingestion will be processed in a static indexing + * mode which is slower but more capable of handling larger volume. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *purgeSucceeded; +@property(nonatomic, strong, nullable) NSNumber *enableStaticIndexingForBatchIngestion; @end /** - * Metadata related to the progress of the PurgeDocuments operation. This will - * be returned by the google.longrunning.Operation.metadata field. + * IdentityMappingEntry LongRunningOperation metadata for + * IdentityMappingStoreService.ImportIdentityMappings and + * IdentityMappingStoreService.PurgeIdentityMappings */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdentityMappingEntryOperationMetadata : GTLRObject /** - * Count of entries that encountered errors while processing. + * The number of IdentityMappingEntries that failed to be processed. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *failureCount; /** - * Count of entries that were ignored as entries were not found. + * The number of IdentityMappingEntries that were successfully processed. * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *ignoredCount; +@property(nonatomic, strong, nullable) NSNumber *successCount; /** - * Count of entries that were deleted successfully. + * The total number of IdentityMappingEntries that were processed. * * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *successCount; +@property(nonatomic, strong, nullable) NSNumber *totalCount; + +@end + /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * The configuration for the identity data synchronization runs. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@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 /** - * Response message for DocumentService.PurgeDocuments method. If the long - * running operation is successfully done, then this message is returned by the - * google.longrunning.Operations.response field. + * Identity Provider Config. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig : GTLRObject + +/** External Identity provider config. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig *externalIdpConfig; /** - * The total count of documents purged as a result of the operation. + * Identity provider type configured. * - * Uses NSNumber of longLongValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_Gsuite + * Google 1P provider. (Value: "GSUITE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_IdpTypeUnspecified + * Default value. ACL search not enabled. (Value: "IDP_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfig_IdpType_ThirdParty + * Third party provider. (Value: "THIRD_PARTY") */ -@property(nonatomic, strong, nullable) NSNumber *purgeCount; +@property(nonatomic, copy, nullable) NSString *idpType; + +@end + /** - * A sample of document names that will be deleted. Only populated if `force` - * is set to false. A max of 100 names will be returned and the names are - * chosen at random. + * Third party IDP Config. */ -@property(nonatomic, strong, nullable) NSArray *purgeSample; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig : GTLRObject + +/** Workforce pool name. Example: "locations/global/workforcePools/pool_id" */ +@property(nonatomic, copy, nullable) NSString *workforcePoolName; @end /** - * Metadata related to the progress of the PurgeSuggestionDenyListEntries - * operation. This is returned by the google.longrunning.Operation.metadata - * field. + * Metadata related to the progress of the ImportCompletionSuggestions + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Count of CompletionSuggestions that failed to be imported. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of CompletionSuggestions successfully imported. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + /** * Operation last update time. If the operation is done, this is also the * finish time. @@ -11287,29 +12191,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Response message for CompletionService.PurgeSuggestionDenyListEntries - * method. + * Response of the CompletionService.ImportCompletionSuggestions method. If the + * long running operation is done, this message is returned by the + * google.longrunning.Operations.response field if the operation is successful. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse : GTLRObject + +/** The desired location of errors incurred during the Import. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; /** A sample of errors encountered while processing the request. */ @property(nonatomic, strong, nullable) NSArray *errorSamples; -/** - * Number of suggestion deny list entries purged. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *purgeCount; - @end /** - * Metadata related to the progress of the PurgeUserEvents operation. This will - * be returned by the google.longrunning.Operation.metadata field. + * Metadata related to the progress of the ImportDocuments operation. This is + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -11322,12 +12223,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) NSNumber *failureCount; /** - * Count of entries that were deleted successfully. + * Count of entries that were processed successfully. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *successCount; +/** + * Total count of entries that were processed. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *totalCount; + /** * Operation last update time. If the operation is done, this is also the * finish time. @@ -11338,179 +12246,168 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Response of the PurgeUserEventsRequest. If the long running operation is - * successfully done, then this message is returned by the - * google.longrunning.Operations.response field. + * Response of the ImportDocumentsRequest. If the long running operation is + * done, then this message is returned by the + * google.longrunning.Operations.response field if the operation was + * successful. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse : GTLRObject -/** - * The total count of events purged as a result of the operation. - * - * Uses NSNumber of longLongValue. - */ -@property(nonatomic, strong, nullable) NSNumber *purgeCount; +/** Echoes the destination for the complete errors in the request if set. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; @end /** - * Describes the metrics produced by the evaluation. + * Configuration of destination for Import related errors. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetrics : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig : GTLRObject /** - * Normalized discounted cumulative gain (NDCG) per document, at various top-k - * cutoff levels. NDCG measures the ranking quality, giving higher relevance to - * top results. Example (top-3): Suppose SampleQuery with three retrieved - * documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 - * for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 - * (1), D3 (0)] Calculate NDCG\@3 for each SampleQuery: * DCG\@3: 0/log2(1+1) + - * 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG\@3: 1/log2(1+1) + 1/log2(2+1) + - * 0/log2(3+1) = 1.63 * NDCG\@3: 1.13/1.63 = 0.693 + * Cloud Storage prefix for import errors. This must be an empty, existing + * Cloud Storage directory. Import errors are written to sharded files in this + * directory, one per line, as a JSON-encoded `google.rpc.Status` message. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *docNdcg; +@property(nonatomic, copy, nullable) NSString *gcsPrefix; -/** - * Precision per document, at various top-k cutoff levels. Precision is the - * fraction of retrieved documents that are relevant. Example (top-5): * For a - * single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are - * relevant, precision\@5 = 4/5 = 0.8 - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *docPrecision; +@end -/** - * Recall per document, at various top-k cutoff levels. Recall is the fraction - * of relevant documents retrieved out of all relevant documents. Example - * (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are - * retrieved in the top-5, recall\@5 = 3/5 = 0.6 - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *docRecall; /** - * Normalized discounted cumulative gain (NDCG) per page, at various top-k - * cutoff levels. NDCG measures the ranking quality, giving higher relevance to - * top results. Example (top-3): Suppose SampleQuery with three retrieved pages - * (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not - * relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 - * (0)] Calculate NDCG\@3 for SampleQuery: * DCG\@3: 0/log2(1+1) + 1/log2(2+1) - * + 1/log2(3+1) = 1.13 * Ideal DCG\@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) - * = 1.63 * NDCG\@3: 1.13/1.63 = 0.693 + * Response message for IdentityMappingStoreService.ImportIdentityMappings */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *pageNdcg; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportIdentityMappingsResponse : GTLRObject -/** - * Recall per page, at various top-k cutoff levels. Recall is the fraction of - * relevant pages retrieved out of all relevant pages. Example (top-5): * For a - * single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, - * recall\@5 = 3/5 = 0.6 - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *pageRecall; +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; @end /** - * Stores the metric values at specific top-k levels. + * Metadata related to the progress of the ImportSampleQueries operation. This + * will be returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata : GTLRObject + +/** ImportSampleQueries operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The top-1 value. + * Count of SampleQuerys that failed to be imported. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *top1; +@property(nonatomic, strong, nullable) NSNumber *failureCount; /** - * The top-10 value. + * Count of SampleQuerys successfully imported. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *top10; +@property(nonatomic, strong, nullable) NSNumber *successCount; /** - * The top-3 value. + * Total count of SampleQuerys that were processed. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *top3; +@property(nonatomic, strong, nullable) NSNumber *totalCount; /** - * The top-5 value. - * - * Uses NSNumber of doubleValue. + * ImportSampleQueries operation last update time. If the operation is done, + * this is also the finish time. */ -@property(nonatomic, strong, nullable) NSNumber *top5; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Defines a user inputed query. + * Response of the SampleQueryService.ImportSampleQueries method. If the long + * running operation is done, this message is returned by the + * google.longrunning.Operations.response field if the operation is successful. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQuery : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse : GTLRObject -/** Output only. Unique Id for the query. */ -@property(nonatomic, copy, nullable) NSString *queryId; +/** The desired location of errors incurred during the Import. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; -/** Plain text. */ -@property(nonatomic, copy, nullable) NSString *text; +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; @end /** - * Metadata related to the progress of the SiteSearchEngineService.RecrawlUris - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Metadata related to the progress of the ImportSuggestionDenyListEntries + * operation. This is returned by the google.longrunning.Operation.metadata + * field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Unique URIs in the request that have invalid format. Sample limited to 1000. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) NSArray *invalidUris; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + /** - * Total number of unique URIs in the request that have invalid format. - * - * Uses NSNumber of intValue. + * Response message for CompletionService.ImportSuggestionDenyListEntries + * method. */ -@property(nonatomic, strong, nullable) NSNumber *invalidUrisCount; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse : GTLRObject -/** URIs that have no index meta tag. Sample limited to 1000. */ -@property(nonatomic, strong, nullable) NSArray *noindexUris; +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; /** - * Total number of URIs that have no index meta tag. + * Count of deny list entries that failed to be imported. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *noindexUrisCount; +@property(nonatomic, strong, nullable) NSNumber *failedEntriesCount; /** - * Total number of URIs that have yet to be crawled. + * Count of deny list entries successfully imported. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *pendingCount; +@property(nonatomic, strong, nullable) NSNumber *importedEntriesCount; + +@end + /** - * Total number of URIs that were rejected due to insufficient indexing - * resources. + * Metadata related to the progress of the Import operation. This is returned + * by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of entries that encountered errors while processing. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *quotaExceededCount; +@property(nonatomic, strong, nullable) NSNumber *failureCount; /** - * Total number of URIs that have been crawled so far. + * Count of entries that were processed successfully. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *successCount; @@ -11520,505 +12417,1225 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@end + + /** - * Unique URIs in the request that don't match any TargetSite in the DataStore, - * only match TargetSites that haven't been fully indexed, or match a - * TargetSite with type EXCLUDE. Sample limited to 1000. + * Response of the ImportUserEventsRequest. If the long running operation was + * successful, then this message is returned by the + * google.longrunning.Operations.response field if the operation was + * successful. */ -@property(nonatomic, strong, nullable) NSArray *urisNotMatchingTargetSites; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse : GTLRObject /** - * Total number of URIs that don't match any TargetSites. + * Echoes the destination for the complete errors if this field was set in the + * request. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** + * Count of user events imported with complete existing Documents. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *urisNotMatchingTargetSitesCount; +@property(nonatomic, strong, nullable) NSNumber *joinedEventsCount; /** - * Total number of unique URIs in the request that are not in invalid_uris. + * Count of user events imported, but with Document information not found in + * the existing Branch. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *validUrisCount; +@property(nonatomic, strong, nullable) NSNumber *unjoinedEventsCount; @end /** - * Response message for SiteSearchEngineService.RecrawlUris method. + * A floating point interval. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse : GTLRObject - -/** URIs that were not crawled before the LRO terminated. */ -@property(nonatomic, strong, nullable) NSArray *failedUris; - -/** Details for a sample of up to 10 `failed_uris`. */ -@property(nonatomic, strong, nullable) NSArray *failureSamples; - -@end +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaInterval : GTLRObject +/** + * Exclusive upper bound. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *exclusiveMaximum; /** - * Details about why a particular URI failed to be crawled. Each FailureInfo - * contains one FailureReason per CorpusType. + * Exclusive lower bound. + * + * Uses NSNumber of doubleValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *exclusiveMinimum; -/** List of failure reasons by corpus type (e.g. desktop, mobile). */ -@property(nonatomic, strong, nullable) NSArray *failureReasons; +/** + * Inclusive upper bound. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maximum; -/** URI that failed to be crawled. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** + * Inclusive lower bound. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minimum; @end /** - * Details about why crawling failed for a particular CorpusType, e.g., DESKTOP - * and MOBILE crawling may fail for different reasons. + * Language info for DataStore. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaLanguageInfo : GTLRObject /** - * DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_CorpusTypeUnspecified - * Default value. (Value: "CORPUS_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_Desktop - * Denotes a crawling attempt for the desktop version of a page. (Value: - * "DESKTOP") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_Mobile - * Denotes a crawling attempt for the mobile version of a page. (Value: - * "MOBILE") + * Output only. Language part of normalized_language_code. E.g.: `en-US` -> + * `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */ -@property(nonatomic, copy, nullable) NSString *corpusType; - -/** Reason why the URI was not crawled. */ -@property(nonatomic, copy, nullable) NSString *errorMessage; - -@end +@property(nonatomic, copy, nullable) NSString *language; +/** The language code for the DataStore. */ +@property(nonatomic, copy, nullable) NSString *languageCode; /** - * Metadata related to the progress of the - * CrawlRateManagementService.RemoveDedicatedCrawlRate operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Output only. This is the normalized form of language_code. E.g.: + * language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have + * normalized_language_code of `en-GB`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, copy, nullable) NSString *normalizedLanguageCode; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Output only. Region part of normalized_language_code, if present. E.g.: + * `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, copy, nullable) NSString *region; @end /** - * Response message for CrawlRateManagementService.RemoveDedicatedCrawlRate - * method. It simply returns the state of the response, and an error message if - * the state is FAILED. + * Request for ListSessions method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRemoveDedicatedCrawlRateResponse : GTLRObject - -/** Errors from service when handling the request. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsRequest : GTLRObject /** - * 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") + * A comma-separated list of fields to filter by, in EBNF grammar. The + * supported fields are: * `user_pseudo_id` * `state` * `display_name` * + * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: + * * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = + * true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > + * "1970-01-01T12:00:00Z"` */ -@property(nonatomic, copy, nullable) NSString *state; - -@end - +@property(nonatomic, copy, nullable) NSString *filter; /** - * Safety rating corresponding to the generated content. + * 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. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSafetyRating : GTLRObject +@property(nonatomic, copy, nullable) NSString *orderBy; /** - * Output only. Indicates whether the content was filtered out because of this - * rating. + * Maximum number of results to return. If unspecified, defaults to 50. Max + * allowed value is 1000. * - * Uses NSNumber of boolValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *blocked; +@property(nonatomic, strong, nullable) NSNumber *pageSize; /** - * 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") + * A page token, received from a previous `ListSessions` call. Provide this to + * retrieve the subsequent page. */ -@property(nonatomic, copy, nullable) NSString *category; +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * 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") + * Required. The data store resource name. Format: + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */ -@property(nonatomic, copy, nullable) NSString *probability; +@property(nonatomic, copy, nullable) NSString *parent; + +@end -/** - * Output only. Harm probability score. - * - * Uses NSNumber of floatValue. - */ -@property(nonatomic, strong, nullable) NSNumber *probabilityScore; /** - * Output only. Harm severity levels in the content. + * Response for ListSessions method. * - * 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") + * @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). */ -@property(nonatomic, copy, nullable) NSString *severity; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaListSessionsResponse : GTLRCollectionObject + +/** Pagination token, if not returned indicates the last page. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * Output only. Harm severity score. + * All the Sessions for a given data store. * - * Uses NSNumber of floatValue. + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. */ -@property(nonatomic, strong, nullable) NSNumber *severityScore; +@property(nonatomic, strong, nullable) NSArray *sessions; @end /** - * Defines the structure and layout of a type of document data. + * Configuration for Natural Language Query Understanding. */ -@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; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig : GTLRObject /** - * Immutable. The full resource name of the schema, in the format of - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. - * This field must be a UTF-8 encoded string with a length limit of 1024 - * characters. + * Mode of Natural Language Query Understanding. If this field is unset, the + * behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Disabled + * Natural Language Query Understanding is disabled. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_Enabled + * Natural Language Query Understanding is enabled. (Value: "ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig_Mode_ModeUnspecified + * Default value. (Value: "MODE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *name; - -/** The structured representation of the schema. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema_StructSchema *structSchema; +@property(nonatomic, copy, nullable) NSString *mode; @end /** - * The structured representation of the schema. - * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Response message for CrawlRateManagementService.ObtainCrawlRate method. The + * response contains organcic or dedicated crawl rate time series data for + * monitoring, depending on whether dedicated crawl rate is set. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema_StructSchema : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse : GTLRObject /** - * Promotion proto includes uri and other helping information to display the - * promotion. + * The historical dedicated crawl rate timeseries data, used for monitoring. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion : GTLRObject +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries *dedicatedCrawlRateTimeSeries; + +/** Errors from service when handling the request. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; + +/** The historical organic crawl rate timeseries data, used for monitoring. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries *organicCrawlRateTimeSeries; /** - * Optional. The Promotion description. Maximum length: 200 characters. + * Output only. The state of the response. * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse_State_Failed + * The state is failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse_State_StateUnspecified + * The state is unspecified. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse_State_Succeeded + * The state is successful. (Value: "SUCCEEDED") */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; +@property(nonatomic, copy, nullable) NSString *state; + +@end + /** - * Optional. The Document the user wants to promote. For site search, leave - * unset and only populate uri. Can be set along with uri. + * The historical organic crawl rate timeseries data, used for monitoring. + * Organic crawl is auto-determined by Google to crawl the user's website when + * dedicate crawl is not set. Crawl rate is the QPS of crawl request Google + * sends to the user's website. */ -@property(nonatomic, copy, nullable) NSString *document; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries : GTLRObject /** - * Optional. The enabled promotion will be returned for any serving configs - * associated with the parent of the control this promotion is attached to. - * This flag is used for basic site search only. - * - * Uses NSNumber of boolValue. + * Google's organic crawl rate time series, which is the sum of all googlebots' + * crawl rate. Please refer to + * https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers + * for more details about googlebots. */ -@property(nonatomic, strong, nullable) NSNumber *enabled; - -/** Optional. The promotion thumbnail image url. */ -@property(nonatomic, copy, nullable) NSString *imageUri; - -/** Required. The title of the promotion. Maximum length: 160 characters. */ -@property(nonatomic, copy, nullable) NSString *title; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *googleOrganicCrawlRate; /** - * Optional. The URL for the page the user wants to promote. Must be set for - * site search. For other verticals, this is optional. + * Vertex AI's organic crawl rate time series, which is the crawl rate of + * Google-CloudVertexBot when dedicate crawl is not set. Please refer to + * https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot + * for more details about Google-CloudVertexBot. */ -@property(nonatomic, copy, nullable) NSString *uri; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries *vertexAiOrganicCrawlRate; @end /** - * Request message for SearchService.Search method. + * Metadata and configurations for a Google Cloud project in the service. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject : GTLRObject + +/** Output only. The timestamp when this project is created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * 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) + * Output only. Full resource name of the project, for example + * `projects/{project}`. Note that when making requests, project number and + * project id are both acceptable, but the server will always respond in + * project number. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec *boostSpec; +@property(nonatomic, copy, nullable) NSString *name; /** - * The branch resource name, such as `projects/ * - * /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. - * Use `default_branch` as the branch ID or leave this field empty, to search - * documents under the default branch. + * Output only. The timestamp when this project is successfully provisioned. + * Empty value means this project is still provisioning and is not ready for + * use. */ -@property(nonatomic, copy, nullable) NSString *branch; +@property(nonatomic, strong, nullable) GTLRDateTime *provisionCompletionTime; /** - * The default filter that is applied when a user performs a search without - * checking any filters on the search page. The filter applied to every search - * request when quality improvement such as query expansion is needed. In the - * case a query does not have a sufficient amount of results this filter will - * be used to determine whether or not to enable the query expansion flow. The - * original filter will still be used for the query expanded search. This field - * is strongly recommended to achieve high search quality. For more information - * about filter syntax, see SearchRequest.filter. + * Output only. A map of terms of services. The key is the `id` of + * ServiceTerms. */ -@property(nonatomic, copy, nullable) NSString *canonicalFilter; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject_ServiceTermsMap *serviceTermsMap; + +@end -/** A specification for configuring the behavior of content search. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec *contentSearchSpec; /** - * Custom fine tuning configs. If set, it has higher priority than the configs - * set in ServingConfig.custom_fine_tuning_spec. + * Output only. A map of terms of services. The key is the `id` of + * ServiceTerms. + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms. + * 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) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec *customFineTuningSpec; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProject_ServiceTermsMap : GTLRObject +@end + /** - * Specifications that define the specific DataStores to be searched, along - * with configurations for those data stores. This is only considered for - * Engines with multiple data stores. For engines with a single data store, the - * specs directly under SearchRequest should be used. + * Metadata about the terms of service. */ -@property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms : GTLRObject + +/** The last time when the project agreed to the terms of service. */ +@property(nonatomic, strong, nullable) GTLRDateTime *acceptTime; /** - * Optional. Config for display feature, like match highlighting on search - * results. + * The last time when the project declined or revoked the agreement to terms of + * service. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec *displaySpec; +@property(nonatomic, strong, nullable) GTLRDateTime *declineTime; /** - * Uses the provided embedding to do additional semantic document retrieval. - * The retrieval is based on the dot product of - * SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document - * embedding that is provided in - * SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If - * SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it - * will use ServingConfig.EmbeddingConfig.field_path. + * The unique identifier of this terms of service. Available terms: * + * `GA_DATA_USE_TERMS`: [Terms for data + * use](https://cloud.google.com/retail/data-use-terms). When using this as + * `id`, the acceptable version to provide is `2022-11-23`. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec *embeddingSpec; +@property(nonatomic, copy, nullable) NSString *identifier; /** - * Facet specifications for faceted search. If empty, no facets are returned. A - * maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is - * returned. + * Whether the project has accepted/rejected the service terms or it is still + * pending. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_StateUnspecified + * The default value of the enum. This value is not actually used. + * (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_TermsAccepted + * The project has given consent to the terms of service. (Value: + * "TERMS_ACCEPTED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_TermsDeclined + * The project has declined or revoked the agreement to terms of service. + * (Value: "TERMS_DECLINED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProjectServiceTerms_State_TermsPending + * The project is pending to review and accept the terms of service. + * (Value: "TERMS_PENDING") */ -@property(nonatomic, strong, nullable) NSArray *facetSpecs; +@property(nonatomic, copy, nullable) NSString *state; /** - * The filter syntax consists of an expression language for constructing a - * predicate from one or more fields of the documents being filtered. Filter - * expression is case-sensitive. If this field is unrecognizable, an - * `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by - * mapping the LHS filter key to a key property defined in the Vertex AI Search - * backend -- this mapping is defined by the customer in their schema. For - * example a media customer might have a field 'name' in their schema. In this - * case the filter would look like this: filter --> name:'ANY("king kong")' For - * more information about filtering including syntax and filter operators, see - * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + * The version string of the terms of service. For acceptable values, see the + * comments for id above. */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, copy, nullable) NSString *version; + +@end -/** Raw image query. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery *imageQuery; /** - * The BCP-47 language code, such as "en-US" or "sr-Latn". For more - * information, see [Standard - * fields](https://cloud.google.com/apis/design/standard_fields). This field - * helps to better interpret the query. If a value isn't specified, the query - * language code is automatically detected, which may not be accurate. + * Metadata associated with a project provision operation. */ -@property(nonatomic, copy, nullable) NSString *languageCode; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata : GTLRObject +@end + + +/** + * Metadata related to the progress of the PurgeCompletionSuggestions + * operation. This is returned by the google.longrunning.Operation.metadata + * field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional - * natural language query understanding will be done. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec *naturalLanguageQueryUnderstandingSpec; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + /** - * A 0-indexed integer that specifies the current offset (that is, starting - * result location, amongst the Documents deemed by the API as relevant) in - * search results. This field is only considered if page_token is unset. If - * this field is negative, an `INVALID_ARGUMENT` is returned. - * - * Uses NSNumber of intValue. + * Response message for CompletionService.PurgeCompletionSuggestions method. */ -@property(nonatomic, strong, nullable) NSNumber *offset; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; /** - * The maximum number of results to return for OneBox. This applies to each - * OneBox type individually. Default number is 10. + * Whether the completion suggestions were successfully purged. * - * Uses NSNumber of intValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *oneBoxPageSize; +@property(nonatomic, strong, nullable) NSNumber *purgeSucceeded; + +@end + /** - * The order in which documents are returned. Documents can be ordered by a - * field in an Document object. Leave it unset if ordered by relevance. - * `order_by` expression is case-sensitive. For more information on ordering - * the website search results, see [Order web search - * results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). - * For more information on ordering the healthcare search results, see [Order - * healthcare search - * results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). - * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. + * Metadata related to the progress of the PurgeDocuments operation. This will + * be returned by the google.longrunning.Operation.metadata field. */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Maximum number of Documents to return. The maximum allowed value depends on - * the data type. Values above the maximum value are coerced to the maximum - * value. * Websites with basic indexing: Default `10`, Maximum `25`. * - * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: - * Default `50`, Maximum `100`. If this field is negative, an - * `INVALID_ARGUMENT` is returned. + * Count of entries that encountered errors while processing. * - * Uses NSNumber of intValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *pageSize; +@property(nonatomic, strong, nullable) NSNumber *failureCount; /** - * A page token received from a previous SearchService.Search call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to SearchService.Search must match the call that provided the page - * token. Otherwise, an `INVALID_ARGUMENT` error is returned. + * Count of entries that were ignored as entries were not found. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, strong, nullable) NSNumber *ignoredCount; /** - * Additional search parameters. For public website search only, supported - * values are: * `user_country_code`: string. Default empty. If set to - * non-empty, results are restricted or boosted based on the location provided. - * For example, `user_country_code: "au"` For available codes see [Country - * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) - * * `search_type`: double. Default empty. Enables non-webpage searching - * depending on the value. The only valid non-default value is 1, which enables - * image searching. For example, `search_type: 1` + * Count of entries that were deleted successfully. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_Params *params; +@property(nonatomic, strong, nullable) NSNumber *successCount; /** - * The specification for personalization. Notice that if both - * ServingConfig.personalization_spec and SearchRequest.personalization_spec - * are set, SearchRequest.personalization_spec overrides - * ServingConfig.personalization_spec. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec *personalizationSpec; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end -/** Raw search query. */ -@property(nonatomic, copy, nullable) NSString *query; /** - * The query expansion specification that specifies the conditions under which - * query expansion occurs. + * Response message for DocumentService.PurgeDocuments method. If the long + * running operation is successfully done, then this message is returned by the + * google.longrunning.Operations.response field. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec *queryExpansionSpec; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse : GTLRObject /** - * Optional. The ranking expression controls the customized ranking on - * retrieval documents. This overrides ServingConfig.ranking_expression. The - * syntax and supported features depend on the `ranking_expression_backend` - * value. If `ranking_expression_backend` is not provided, it defaults to - * `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to - * `RANK_BY_EMBEDDING`, it should be 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)`. If ranking_expression_backend is set to - * `RANK_BY_FORMULA`, the following expression types (and combinations of those - * chained using + or * operators) are supported: * `double` * `signal` * - * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank - * transformation with second argument being a denominator constant. * - * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * - * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 + * The total count of documents purged as a result of the operation. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *purgeCount; + +/** + * A sample of document names that will be deleted. Only populated if `force` + * is set to false. A max of 100 names will be returned and the names are + * chosen at random. + */ +@property(nonatomic, strong, nullable) NSArray *purgeSample; + +@end + + +/** + * Metadata related to the progress of the PurgeSuggestionDenyListEntries + * operation. This is returned by the google.longrunning.Operation.metadata + * field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response message for CompletionService.PurgeSuggestionDenyListEntries + * method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse : GTLRObject + +/** A sample of errors encountered while processing the request. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** + * Number of suggestion deny list entries purged. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *purgeCount; + +@end + + +/** + * Metadata related to the progress of the PurgeUserEvents operation. This will + * be returned by the google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Count of entries that encountered errors while processing. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *failureCount; + +/** + * Count of entries that were deleted successfully. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Response of the PurgeUserEventsRequest. If the long running operation is + * successfully done, then this message is returned by the + * google.longrunning.Operations.response field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse : GTLRObject + +/** + * The total count of events purged as a result of the operation. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *purgeCount; + +@end + + +/** + * Describes the metrics produced by the evaluation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetrics : GTLRObject + +/** + * Normalized discounted cumulative gain (NDCG) per document, at various top-k + * cutoff levels. NDCG measures the ranking quality, giving higher relevance to + * top results. Example (top-3): Suppose SampleQuery with three retrieved + * documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 + * for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 + * (1), D3 (0)] Calculate NDCG\@3 for each SampleQuery: * DCG\@3: 0/log2(1+1) + + * 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG\@3: 1/log2(1+1) + 1/log2(2+1) + + * 0/log2(3+1) = 1.63 * NDCG\@3: 1.13/1.63 = 0.693 + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *docNdcg; + +/** + * Precision per document, at various top-k cutoff levels. Precision is the + * fraction of retrieved documents that are relevant. Example (top-5): * For a + * single SampleQuery, If 4 out of 5 retrieved documents in the top-5 are + * relevant, precision\@5 = 4/5 = 0.8 + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *docPrecision; + +/** + * Recall per document, at various top-k cutoff levels. Recall is the fraction + * of relevant documents retrieved out of all relevant documents. Example + * (top-5): * For a single SampleQuery, If 3 out of 5 relevant documents are + * retrieved in the top-5, recall\@5 = 3/5 = 0.6 + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *docRecall; + +/** + * Normalized discounted cumulative gain (NDCG) per page, at various top-k + * cutoff levels. NDCG measures the ranking quality, giving higher relevance to + * top results. Example (top-3): Suppose SampleQuery with three retrieved pages + * (P1, P2, P3) and binary relevance judgements (1 for relevant, 0 for not + * relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: [P1 (1), P2 (1), P3 + * (0)] Calculate NDCG\@3 for SampleQuery: * DCG\@3: 0/log2(1+1) + 1/log2(2+1) + * + 1/log2(3+1) = 1.13 * Ideal DCG\@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) + * = 1.63 * NDCG\@3: 1.13/1.63 = 0.693 + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *pageNdcg; + +/** + * Recall per page, at various top-k cutoff levels. Recall is the fraction of + * relevant pages retrieved out of all relevant pages. Example (top-5): * For a + * single SampleQuery, if 3 out of 5 relevant pages are retrieved in the top-5, + * recall\@5 = 3/5 = 0.6 + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics *pageRecall; + +@end + + +/** + * Stores the metric values at specific top-k levels. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics : GTLRObject + +/** + * The top-1 value. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *top1; + +/** + * The top-10 value. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *top10; + +/** + * The top-3 value. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *top3; + +/** + * The top-5 value. + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *top5; + +@end + + +/** + * Defines a user inputed query. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQuery : GTLRObject + +/** Output only. Unique Id for the query. */ +@property(nonatomic, copy, nullable) NSString *queryId; + +/** Plain text. */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + +/** + * Metadata related to the progress of the SiteSearchEngineService.RecrawlUris + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Unique URIs in the request that have invalid format. Sample limited to 1000. + */ +@property(nonatomic, strong, nullable) NSArray *invalidUris; + +/** + * Total number of unique URIs in the request that have invalid format. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *invalidUrisCount; + +/** URIs that have no index meta tag. Sample limited to 1000. */ +@property(nonatomic, strong, nullable) NSArray *noindexUris; + +/** + * Total number of URIs that have no index meta tag. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *noindexUrisCount; + +/** + * Total number of URIs that have yet to be crawled. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pendingCount; + +/** + * Total number of URIs that were rejected due to insufficient indexing + * resources. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *quotaExceededCount; + +/** + * Total number of URIs that have been crawled so far. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *successCount; + +/** + * Operation last update time. If the operation is done, this is also the + * finish time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Unique URIs in the request that don't match any TargetSite in the DataStore, + * only match TargetSites that haven't been fully indexed, or match a + * TargetSite with type EXCLUDE. Sample limited to 1000. + */ +@property(nonatomic, strong, nullable) NSArray *urisNotMatchingTargetSites; + +/** + * Total number of URIs that don't match any TargetSites. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *urisNotMatchingTargetSitesCount; + +/** + * Total number of unique URIs in the request that are not in invalid_uris. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *validUrisCount; + +@end + + +/** + * Response message for SiteSearchEngineService.RecrawlUris method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse : GTLRObject + +/** URIs that were not crawled before the LRO terminated. */ +@property(nonatomic, strong, nullable) NSArray *failedUris; + +/** Details for a sample of up to 10 `failed_uris`. */ +@property(nonatomic, strong, nullable) NSArray *failureSamples; + +@end + + +/** + * Details about why a particular URI failed to be crawled. Each FailureInfo + * contains one FailureReason per CorpusType. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo : GTLRObject + +/** List of failure reasons by corpus type (e.g. desktop, mobile). */ +@property(nonatomic, strong, nullable) NSArray *failureReasons; + +/** URI that failed to be crawled. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Details about why crawling failed for a particular CorpusType, e.g., DESKTOP + * and MOBILE crawling may fail for different reasons. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason : GTLRObject + +/** + * DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_CorpusTypeUnspecified + * Default value. (Value: "CORPUS_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_Desktop + * Denotes a crawling attempt for the desktop version of a page. (Value: + * "DESKTOP") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason_CorpusType_Mobile + * Denotes a crawling attempt for the mobile version of a page. (Value: + * "MOBILE") + */ +@property(nonatomic, copy, nullable) NSString *corpusType; + +/** Reason why the URI was not crawled. */ +@property(nonatomic, copy, nullable) NSString *errorMessage; + +@end + + +/** + * Metadata related to the progress of the + * CrawlRateManagementService.RemoveDedicatedCrawlRate operation. This will be + * returned by the google.longrunning.Operation.metadata field. + */ +@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; + +/** + * Immutable. The full resource name of the schema, in the format of + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}`. + * This field must be a UTF-8 encoded string with a length limit of 1024 + * characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** The structured representation of the schema. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema_StructSchema *structSchema; + +@end + + +/** + * The structured representation of the schema. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSchema_StructSchema : GTLRObject +@end + + +/** + * Promotion proto includes uri and other helping information to display the + * promotion. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion : GTLRObject + +/** + * Optional. The Promotion description. Maximum length: 200 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. The Document the user wants to promote. For site search, leave + * unset and only populate uri. Can be set along with uri. + */ +@property(nonatomic, copy, nullable) NSString *document; + +/** + * Optional. The enabled promotion will be returned for any serving configs + * associated with the parent of the control this promotion is attached to. + * This flag is used for basic site search only. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +/** Optional. The promotion thumbnail image url. */ +@property(nonatomic, copy, nullable) NSString *imageUri; + +/** Required. The title of the promotion. Maximum length: 160 characters. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** + * Optional. The URL for the page the user wants to promote. Must be set for + * site search. For other verticals, this is optional. + */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + +/** + * Request message for SearchService.Search method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest : GTLRObject + +/** + * 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; + +/** + * The branch resource name, such as `projects/ * + * /locations/global/collections/default_collection/dataStores/default_data_store/branches/0`. + * Use `default_branch` as the branch ID or leave this field empty, to search + * documents under the default branch. + */ +@property(nonatomic, copy, nullable) NSString *branch; + +/** + * The default filter that is applied when a user performs a search without + * checking any filters on the search page. The filter applied to every search + * request when quality improvement such as query expansion is needed. In the + * case a query does not have a sufficient amount of results this filter will + * be used to determine whether or not to enable the query expansion flow. The + * original filter will still be used for the query expanded search. This field + * is strongly recommended to achieve high search quality. For more information + * about filter syntax, see SearchRequest.filter. + */ +@property(nonatomic, copy, nullable) NSString *canonicalFilter; + +/** A specification for configuring the behavior of content search. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec *contentSearchSpec; + +/** + * Custom fine tuning configs. If set, it has higher priority than the configs + * set in ServingConfig.custom_fine_tuning_spec. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec *customFineTuningSpec; + +/** + * Specifications that define the specific DataStores to be searched, along + * with configurations for those data stores. This is only considered for + * Engines with multiple data stores. For engines with a single data store, the + * specs directly under SearchRequest should be used. + */ +@property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; + +/** + * Optional. Config for display feature, like match highlighting on search + * results. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec *displaySpec; + +/** + * Uses the provided embedding to do additional semantic document retrieval. + * The retrieval is based on the dot product of + * SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document + * embedding that is provided in + * SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If + * SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it + * will use ServingConfig.EmbeddingConfig.field_path. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec *embeddingSpec; + +/** + * Facet specifications for faceted search. If empty, no facets are returned. A + * maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is + * returned. + */ +@property(nonatomic, strong, nullable) NSArray *facetSpecs; + +/** + * The filter syntax consists of an expression language for constructing a + * predicate from one or more fields of the documents being filtered. Filter + * expression is case-sensitive. If this field is unrecognizable, an + * `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by + * mapping the LHS filter key to a key property defined in the Vertex AI Search + * backend -- this mapping is defined by the customer in their schema. For + * example a media customer might have a field 'name' in their schema. In this + * case the filter would look like this: filter --> name:'ANY("king kong")' For + * more information about filtering including syntax and filter operators, see + * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Raw image query. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery *imageQuery; + +/** + * The BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see [Standard + * fields](https://cloud.google.com/apis/design/standard_fields). This field + * helps to better interpret the query. If a value isn't specified, the query + * language code is automatically detected, which may not be accurate. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** + * Config for natural language query understanding capabilities, such as + * extracting structured field filters from the query. Refer to [this + * documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) + * for more information. If `naturalLanguageQueryUnderstandingSpec` is not + * specified, no additional natural language query understanding will be done. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec *naturalLanguageQueryUnderstandingSpec; + +/** + * A 0-indexed integer that specifies the current offset (that is, starting + * result location, amongst the Documents deemed by the API as relevant) in + * search results. This field is only considered if page_token is unset. If + * this field is negative, an `INVALID_ARGUMENT` is returned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *offset; + +/** + * The maximum number of results to return for OneBox. This applies to each + * OneBox type individually. Default number is 10. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *oneBoxPageSize; + +/** + * The order in which documents are returned. Documents can be ordered by a + * field in an Document object. Leave it unset if ordered by relevance. + * `order_by` expression is case-sensitive. For more information on ordering + * the website search results, see [Order web search + * results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). + * For more information on ordering the healthcare search results, see [Order + * healthcare search + * results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). + * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Maximum number of Documents to return. The maximum allowed value depends on + * the data type. Values above the maximum value are coerced to the maximum + * value. * Websites with basic indexing: Default `10`, Maximum `25`. * + * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: + * Default `50`, Maximum `100`. If this field is negative, an + * `INVALID_ARGUMENT` is returned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pageSize; + +/** + * A page token received from a previous SearchService.Search call. Provide + * this to retrieve the subsequent page. When paginating, all other parameters + * provided to SearchService.Search must match the call that provided the page + * token. Otherwise, an `INVALID_ARGUMENT` error is returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Additional search parameters. For public website search only, supported + * values are: * `user_country_code`: string. Default empty. If set to + * non-empty, results are restricted or boosted based on the location provided. + * For example, `user_country_code: "au"` For available codes see [Country + * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) + * * `search_type`: double. Default empty. Enables non-webpage searching + * depending on the value. The only valid non-default value is 1, which enables + * image searching. For example, `search_type: 1` + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_Params *params; + +/** + * The specification for personalization. Notice that if both + * ServingConfig.personalization_spec and SearchRequest.personalization_spec + * are set, SearchRequest.personalization_spec overrides + * ServingConfig.personalization_spec. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec *personalizationSpec; + +/** Raw search query. */ +@property(nonatomic, copy, nullable) NSString *query; + +/** + * The query expansion specification that specifies the conditions under which + * query expansion occurs. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec *queryExpansionSpec; + +/** + * Optional. The ranking expression controls the customized ranking on + * retrieval documents. This overrides ServingConfig.ranking_expression. The + * syntax and supported features depend on the `ranking_expression_backend` + * value. If `ranking_expression_backend` is not provided, it defaults to + * `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to + * `RANK_BY_EMBEDDING`, it should be 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)`. If ranking_expression_backend is set to + * `RANK_BY_FORMULA`, the following expression types (and combinations of those + * chained using + or * operators) are supported: * `double` * `signal` * + * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank + * transformation with second argument being a denominator constant. * + * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * + * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 * | double, else returns signal1. Here are a few examples of ranking formulas * that use the supported ranking expression types: - `0.2 * * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly @@ -12046,1253 +13663,1568 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * from a user's perspective. A higher pCTR suggests that the result is more * likely to satisfy the user's query and intent, making it a valuable signal * for ranking. * `freshness_rank`: freshness adjustment as a rank * + * `document_age`: The time in hours elapsed since the document was last + * updated, a floating-point number (e.g., 0.25 means 15 minutes). * * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google * model to determine the keyword-based overlap between the query and the * document. * `base_rank`: the default rank of the result */ -@property(nonatomic, copy, nullable) NSString *rankingExpression; +@property(nonatomic, copy, nullable) NSString *rankingExpression; + +/** + * Optional. The backend to use for the ranking expression evaluation. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Byoe + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom + * embedding model, the default way to evaluate the ranking expression. + * Legacy enum option, `RANK_BY_EMBEDDING` should be used instead. + * (Value: "BYOE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Clearbox + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. + * Legacy enum option, `RANK_BY_FORMULA` should be used instead. (Value: + * "CLEARBOX") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByEmbedding + * Ranking by custom embedding model, the default way to evaluate the + * ranking expression. (Value: "RANK_BY_EMBEDDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByFormula + * Ranking by custom formula. (Value: "RANK_BY_FORMULA") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified + * Default option for unspecified/unknown values. (Value: + * "RANKING_EXPRESSION_BACKEND_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *rankingExpressionBackend; + +/** + * The Unicode country/region code (CLDR) of a location, such as "US" and + * "419". For more information, see [Standard + * fields](https://cloud.google.com/apis/design/standard_fields). If set, then + * results will be boosted based on the region_code provided. + */ +@property(nonatomic, copy, nullable) NSString *regionCode; + +/** Optional. The specification for returning the relevance score. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec *relevanceScoreSpec; + +/** + * 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. + * This feature is not supported for healthcare search. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_High + * High relevance threshold. (Value: "HIGH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_Low + * Low relevance threshold. (Value: "LOW") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_Lowest + * Lowest relevance threshold. (Value: "LOWEST") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_Medium + * Medium relevance threshold. (Value: "MEDIUM") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_RelevanceThresholdUnspecified + * Default value. In this case, server behavior defaults to Google + * defined threshold. (Value: "RELEVANCE_THRESHOLD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *relevanceThreshold; + +/** + * Whether to turn on safe search. This is only supported for website search. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *safeSearch; + +/** + * Search as you type configuration. Only supported for the + * IndustryVertical.MEDIA vertical. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec *searchAsYouTypeSpec; + +/** + * Required. The resource name of the Search serving config, such as `projects/ + * * /locations/global/collections/default_collection/engines/ * + * /servingConfigs/default_serving_config`, or `projects/ * + * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. + * This field is used to identify the serving configuration name, set of models + * used to make the search. + */ +@property(nonatomic, copy, nullable) NSString *servingConfig; + +/** + * The session resource name. Optional. Session allows users to do multi-turn + * /search API calls or coordination between /search API calls and /answer API + * calls. Example #1 (multi-turn /search API calls): Call /search API with the + * session ID generated in the first call. Here, the previous search query gets + * considered in query standing. I.e., if the first query is "How did Alphabet + * do in 2022?" and the current query is "How about 2023?", the current query + * will be interpreted as "How did Alphabet do in 2023?". Example #2 + * (coordination between /search API calls and /answer API calls): Call /answer + * API with the session ID generated in the first call. Here, the answer + * generation happens in the context of the search results from the first + * search call. Multi-turn Search feature is currently at private GA stage. + * Please use v1alpha or v1beta version instead before we launch this feature + * to public GA. Or ask for allowlisting through Google Support team. + */ +@property(nonatomic, copy, nullable) NSString *session; + +/** Session specification. Can be used only when `session` is set. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec *sessionSpec; + +/** + * The spell correction specification that specifies the mode under which spell + * correction takes effect. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec *spellCorrectionSpec; + +/** + * Uses the Engine, ServingConfig and Control freshly read from the database. + * Note: this skips config cache and introduces dependency on databases, which + * could significantly increase the API latency. It should only be used for + * testing, but not serving end users. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *useLatestData; + +/** + * Information about the end user. Highly recommended for analytics and + * personalization. UserInfo.user_agent is used to deduce `device_type` for + * analytics. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo *userInfo; + +/** + * 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_GoogleCloudDiscoveryengineV1alphaSearchRequest_UserLabels *userLabels; + +/** + * A unique identifier for tracking visitors. For example, this could be + * implemented with an HTTP cookie, which should be able to uniquely identify a + * visitor on a single device. This unique identifier should not change if the + * visitor logs in or out of the website. This field should NOT have a fixed + * value such as `unknown_visitor`. This should be the same identifier as + * UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field + * must be a UTF-8 encoded string with a length limit of 128 characters. + * Otherwise, an `INVALID_ARGUMENT` error is returned. + */ +@property(nonatomic, copy, nullable) NSString *userPseudoId; + +@end + + +/** + * Additional search parameters. For public website search only, supported + * values are: * `user_country_code`: string. Default empty. If set to + * non-empty, results are restricted or boosted based on the location provided. + * For example, `user_country_code: "au"` For available codes see [Country + * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) + * * `search_type`: double. Default empty. Enables non-webpage searching + * depending on the value. The only valid non-default value is 1, which enables + * image searching. For example, `search_type: 1` + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_Params : GTLRObject +@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_GoogleCloudDiscoveryengineV1alphaSearchRequest_UserLabels : GTLRObject +@end + + +/** + * Boost specification to boost certain documents. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec : GTLRObject + +/** + * Condition boost specifications. If a document matches multiple conditions in + * the specifications, boost scores from these specifications are all applied + * and combined in a non-linear way. Maximum number of specifications is 20. + */ +@property(nonatomic, strong, nullable) NSArray *conditionBoostSpecs; + +@end + + +/** + * Boost applies to documents which match a condition. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec : GTLRObject + +/** + * Strength of the condition boost, which should be in [-1, 1]. Negative boost + * means demotion. Default is 0.0. Setting to 1.0 gives the document a big + * promotion. However, it does not necessarily mean that the boosted document + * will be the top result at all times, nor that other documents will be + * excluded. Results could still be shown even when none of them matches the + * condition. And results that are significantly more relevant to the search + * query can still trump your heavily favored but irrelevant documents. Setting + * to -1.0 gives the document a big demotion. However, results that are deeply + * relevant might still be shown. The document will have an upstream battle to + * get a fairly high ranking, but it is not blocked out completely. Setting to + * 0.0 means no boost applied. The boosting condition is ignored. Only one of + * the (condition, boost) combination or the boost_control_spec below are set. + * If both are set then the global boost is ignored and the more fine-grained + * boost_control_spec is applied. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boost; + +/** + * Complex specification for custom ranking based on customer defined attribute + * value. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec *boostControlSpec; + +/** + * An expression which specifies a boost condition. The syntax and supported + * fields are the same as a filter expression. See SearchRequest.filter for + * detail syntax and limitations. Examples: * To boost documents with document + * ID "doc_1" or "doc_2", and color "Red" or "Blue": `(document_id: + * ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))` + */ +@property(nonatomic, copy, nullable) NSString *condition; + +@end + + +/** + * Specification for custom ranking based on customer specified attribute + * value. It provides more controls for customized ranking than the simple + * (condition, boost) combination above. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec : GTLRObject + +/** + * The attribute type to be used to determine the boost amount. The attribute + * value can be derived from the field value of the specified field_name. In + * the case of numerical it is straightforward i.e. attribute_value = + * numerical_field_value. In the case of freshness however, attribute_value = + * (time.now() - datetime_field_value). + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_AttributeTypeUnspecified + * Unspecified AttributeType. (Value: "ATTRIBUTE_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Freshness + * For the freshness use case the attribute value will be the duration + * between the current time and the date in the datetime field specified. + * The value must be formatted as an XSD `dayTimeDuration` value (a + * restricted subset of an ISO 8601 duration value). The pattern for this + * is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`. (Value: + * "FRESHNESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Numerical + * The value of the numerical field will be used to dynamically update + * the boost amount. In this case, the attribute_value (the x value) of + * the control point will be the actual value of the numerical field for + * which the boost_amount is specified. (Value: "NUMERICAL") + */ +@property(nonatomic, copy, nullable) NSString *attributeType; /** - * Optional. The backend to use for the ranking expression evaluation. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Byoe - * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom - * embedding model, the default way to evaluate the ranking expression. - * Legacy enum option, `RANK_BY_EMBEDDING` should be used instead. - * (Value: "BYOE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_Clearbox - * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. - * Legacy enum option, `RANK_BY_FORMULA` should be used instead. (Value: - * "CLEARBOX") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByEmbedding - * Ranking by custom embedding model, the default way to evaluate the - * ranking expression. (Value: "RANK_BY_EMBEDDING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankByFormula - * Ranking by custom formula. (Value: "RANK_BY_FORMULA") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified - * Default option for unspecified/unknown values. (Value: - * "RANKING_EXPRESSION_BACKEND_UNSPECIFIED") + * The control points used to define the curve. The monotonic function (defined + * through the interpolation_type above) passes through the control points + * listed here. */ -@property(nonatomic, copy, nullable) NSString *rankingExpressionBackend; +@property(nonatomic, strong, nullable) NSArray *controlPoints; /** - * The Unicode country/region code (CLDR) of a location, such as "US" and - * "419". For more information, see [Standard - * fields](https://cloud.google.com/apis/design/standard_fields). If set, then - * results will be boosted based on the region_code provided. + * The name of the field whose value will be used to determine the boost + * amount. */ -@property(nonatomic, copy, nullable) NSString *regionCode; - -/** Optional. The specification for returning the relevance score. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec *relevanceScoreSpec; +@property(nonatomic, copy, nullable) NSString *fieldName; /** - * 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. - * This feature is not supported for healthcare search. + * The interpolation type to be applied to connect the control points listed + * below. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_High - * High relevance threshold. (Value: "HIGH") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_Low - * Low relevance threshold. (Value: "LOW") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_Lowest - * Lowest relevance threshold. (Value: "LOWEST") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_Medium - * Medium relevance threshold. (Value: "MEDIUM") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_RelevanceThreshold_RelevanceThresholdUnspecified - * Default value. In this case, server behavior defaults to Google - * defined threshold. (Value: "RELEVANCE_THRESHOLD_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_InterpolationTypeUnspecified + * Interpolation type is unspecified. In this case, it defaults to + * Linear. (Value: "INTERPOLATION_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_Linear + * Piecewise linear interpolation will be applied. (Value: "LINEAR") */ -@property(nonatomic, copy, nullable) NSString *relevanceThreshold; +@property(nonatomic, copy, nullable) NSString *interpolationType; + +@end + /** - * Whether to turn on safe search. This is only supported for website search. - * - * Uses NSNumber of boolValue. + * The control points used to define the curve. The curve defined through these + * control points can only be monotonically increasing or decreasing(constant + * values are acceptable). */ -@property(nonatomic, strong, nullable) NSNumber *safeSearch; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint : GTLRObject /** - * Search as you type configuration. Only supported for the - * IndustryVertical.MEDIA vertical. + * Can be one of: 1. The numerical field value. 2. The duration spec for + * freshness: The value must be formatted as an XSD `dayTimeDuration` value (a + * restricted subset of an ISO 8601 duration value). The pattern for this is: + * `nDnM]`. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec *searchAsYouTypeSpec; +@property(nonatomic, copy, nullable) NSString *attributeValue; /** - * Required. The resource name of the Search serving config, such as `projects/ - * * /locations/global/collections/default_collection/engines/ * - * /servingConfigs/default_serving_config`, or `projects/ * - * /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. - * This field is used to identify the serving configuration name, set of models - * used to make the search. + * The value between -1 to 1 by which to boost the score if the attribute_value + * evaluates to the value specified above. + * + * Uses NSNumber of floatValue. */ -@property(nonatomic, copy, nullable) NSString *servingConfig; +@property(nonatomic, strong, nullable) NSNumber *boostAmount; + +@end + /** - * The session resource name. Optional. Session allows users to do multi-turn - * /search API calls or coordination between /search API calls and /answer API - * calls. Example #1 (multi-turn /search API calls): 1. Call /search API with - * the auto-session mode (see below). 2. Call /search API with the session ID - * generated in the first call. Here, the previous search query gets considered - * in query standing. I.e., if the first query is "How did Alphabet do in - * 2022?" and the current query is "How about 2023?", the current query will be - * interpreted as "How did Alphabet do in 2023?". Example #2 (coordination - * between /search API calls and /answer API calls): 1. Call /search API with - * the auto-session mode (see below). 2. Call /answer API with the session ID - * generated in the first call. Here, the answer generation happens in the - * context of the search results from the first search call. Auto-session mode: - * when `projects/.../sessions/-` is used, a new session gets automatically - * created. Otherwise, users can use the create-session API to create a session - * manually. Multi-turn Search feature is currently at private GA stage. Please - * use v1alpha or v1beta version instead before we launch this feature to - * public GA. Or ask for allowlisting through Google Support team. + * A specification for configuring the behavior of content search. */ -@property(nonatomic, copy, nullable) NSString *session; - -/** Session specification. Can be used only when `session` is set. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec *sessionSpec; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec : GTLRObject /** - * The spell correction specification that specifies the mode under which spell - * correction takes effect. + * Specifies the chunk spec to be returned from the search response. Only + * available if the SearchRequest.ContentSearchSpec.search_result_mode is set + * to CHUNKS */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec *spellCorrectionSpec; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec *chunkSpec; /** - * Uses the Engine, ServingConfig and Control freshly read from the database. - * Note: this skips config cache and introduces dependency on databases, which - * could significantly increase the API latency. It should only be used for - * testing, but not serving end users. - * - * Uses NSNumber of boolValue. + * If there is no extractive_content_spec provided, there will be no extractive + * answer in the search response. */ -@property(nonatomic, strong, nullable) NSNumber *useLatestData; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec *extractiveContentSpec; /** - * Information about the end user. Highly recommended for analytics and - * personalization. UserInfo.user_agent is used to deduce `device_type` for - * analytics. + * Specifies the search result mode. If unspecified, the search result mode + * defaults to `DOCUMENTS`. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec_SearchResultMode_Chunks + * Returns chunks in the search result. Only available if the + * DocumentProcessingConfig.chunking_config is specified. (Value: + * "CHUNKS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec_SearchResultMode_Documents + * Returns documents in the search result. (Value: "DOCUMENTS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec_SearchResultMode_SearchResultModeUnspecified + * Default value. (Value: "SEARCH_RESULT_MODE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo *userInfo; +@property(nonatomic, copy, nullable) NSString *searchResultMode; /** - * 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. + * If `snippetSpec` is not specified, snippets are not included in the search + * response. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_UserLabels *userLabels; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec *snippetSpec; /** - * A unique identifier for tracking visitors. For example, this could be - * implemented with an HTTP cookie, which should be able to uniquely identify a - * visitor on a single device. This unique identifier should not change if the - * visitor logs in or out of the website. This field should NOT have a fixed - * value such as `unknown_visitor`. This should be the same identifier as - * UserEvent.user_pseudo_id and CompleteQueryRequest.user_pseudo_id The field - * must be a UTF-8 encoded string with a length limit of 128 characters. - * Otherwise, an `INVALID_ARGUMENT` error is returned. + * If `summarySpec` is not specified, summaries are not included in the search + * response. */ -@property(nonatomic, copy, nullable) NSString *userPseudoId; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec *summarySpec; @end /** - * Additional search parameters. For public website search only, supported - * values are: * `user_country_code`: string. Default empty. If set to - * non-empty, results are restricted or boosted based on the location provided. - * For example, `user_country_code: "au"` For available codes see [Country - * Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) - * * `search_type`: double. Default empty. Enables non-webpage searching - * depending on the value. The only valid non-default value is 1, which enables - * image searching. For example, `search_type: 1` + * Specifies the chunk spec to be returned from the search response. Only + * available if the SearchRequest.ContentSearchSpec.search_result_mode is set + * to CHUNKS + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec : GTLRObject + +/** + * The number of next chunks to be returned of the current chunk. The maximum + * allowed value is 3. If not specified, no next chunks will be returned. * - * @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. + * Uses NSNumber of intValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_Params : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *numNextChunks; + +/** + * The number of previous chunks to be returned of the current chunk. The + * maximum allowed value is 3. If not specified, no previous chunks will be + * returned. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numPreviousChunks; + @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. + * A specification for configuring the extractive content in a search response. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec : GTLRObject + +/** + * The maximum number of extractive answers returned in each search result. An + * extractive answer is a verbatim answer extracted from the original document, + * which provides a precise and contextually relevant answer to the search + * query. If the number of matching answers is less than the + * `max_extractive_answer_count`, return all of the answers. Otherwise, return + * the `max_extractive_answer_count`. At most five answers are returned for + * each SearchResult. * - * @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. + * Uses NSNumber of intValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequest_UserLabels : GTLRObject -@end +@property(nonatomic, strong, nullable) NSNumber *maxExtractiveAnswerCount; + +/** + * The max number of extractive segments returned in each search result. Only + * applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED + * or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is + * a text segment extracted from the original document that is relevant to the + * search query, and, in general, more verbose than an extractive answer. The + * segment could then be used as input for LLMs to generate summaries and + * answers. If the number of matching segments is less than + * `max_extractive_segment_count`, return all of the segments. Otherwise, + * return the `max_extractive_segment_count`. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *maxExtractiveSegmentCount; +/** + * Return at most `num_next_segments` segments after each selected segments. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *numNextSegments; /** - * Boost specification to boost certain documents. + * Specifies whether to also include the adjacent from each selected segments. + * Return at most `num_previous_segments` segments before each selected + * segments. + * + * Uses NSNumber of intValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *numPreviousSegments; /** - * Condition boost specifications. If a document matches multiple conditions in - * the specifications, boost scores from these specifications are all applied - * and combined in a non-linear way. Maximum number of specifications is 20. + * Specifies whether to return the confidence score from the extractive + * segments in each search result. This feature is available only for new or + * allowlisted data stores. To allowlist your data store, contact your Customer + * Engineer. The default value is `false`. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSArray *conditionBoostSpecs; +@property(nonatomic, strong, nullable) NSNumber *returnExtractiveSegmentScore; @end /** - * Boost applies to documents which match a condition. + * A specification for configuring snippets in a search response. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec : GTLRObject /** - * Strength of the condition boost, which should be in [-1, 1]. Negative boost - * means demotion. Default is 0.0. Setting to 1.0 gives the document a big - * promotion. However, it does not necessarily mean that the boosted document - * will be the top result at all times, nor that other documents will be - * excluded. Results could still be shown even when none of them matches the - * condition. And results that are significantly more relevant to the search - * query can still trump your heavily favored but irrelevant documents. Setting - * to -1.0 gives the document a big demotion. However, results that are deeply - * relevant might still be shown. The document will have an upstream battle to - * get a fairly high ranking, but it is not blocked out completely. Setting to - * 0.0 means no boost applied. The boosting condition is ignored. Only one of - * the (condition, boost) combination or the boost_control_spec below are set. - * If both are set then the global boost is ignored and the more fine-grained - * boost_control_spec is applied. + * [DEPRECATED] This field is deprecated. To control snippet return, use + * `return_snippet` field. For backwards compatibility, we will return snippet + * if max_snippet_count > 0. * - * Uses NSNumber of floatValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *boost; +@property(nonatomic, strong, nullable) NSNumber *maxSnippetCount GTLR_DEPRECATED; /** - * Complex specification for custom ranking based on customer defined attribute - * value. + * [DEPRECATED] This field is deprecated and will have no affect on the + * snippet. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec *boostControlSpec; +@property(nonatomic, strong, nullable) NSNumber *referenceOnly GTLR_DEPRECATED; /** - * An expression which specifies a boost condition. The syntax and supported - * fields are the same as a filter expression. See SearchRequest.filter for - * detail syntax and limitations. Examples: * To boost documents with document - * ID "doc_1" or "doc_2", and color "Red" or "Blue": `(document_id: - * ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))` + * If `true`, then return snippet. If no snippet can be generated, we return + * "No snippet is available for this page." A `snippet_status` with `SUCCESS` + * or `NO_SNIPPET_AVAILABLE` will also be returned. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *condition; +@property(nonatomic, strong, nullable) NSNumber *returnSnippet; @end /** - * Specification for custom ranking based on customer specified attribute - * value. It provides more controls for customized ranking than the simple - * (condition, boost) combination above. + * A specification for configuring a summary returned in a search response. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec : GTLRObject /** - * The attribute type to be used to determine the boost amount. The attribute - * value can be derived from the field value of the specified field_name. In - * the case of numerical it is straightforward i.e. attribute_value = - * numerical_field_value. In the case of freshness however, attribute_value = - * (time.now() - datetime_field_value). + * Specifies whether to filter out adversarial queries. The default value is + * `false`. Google employs search-query classification to detect adversarial + * queries. No summary is returned if the search query is classified as an + * adversarial query. For example, a user might ask a question regarding + * negative comments about the company or submit a query designed to generate + * unsafe, policy-violating output. If this field is set to `true`, we skip + * generating summaries for adversarial queries and return fallback messages + * instead. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_AttributeTypeUnspecified - * Unspecified AttributeType. (Value: "ATTRIBUTE_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Freshness - * For the freshness use case the attribute value will be the duration - * between the current time and the date in the datetime field specified. - * The value must be formatted as an XSD `dayTimeDuration` value (a - * restricted subset of an ISO 8601 duration value). The pattern for this - * is: `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`. (Value: - * "FRESHNESS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_AttributeType_Numerical - * The value of the numerical field will be used to dynamically update - * the boost amount. In this case, the attribute_value (the x value) of - * the control point will be the actual value of the numerical field for - * which the boost_amount is specified. (Value: "NUMERICAL") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *attributeType; +@property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; /** - * The control points used to define the curve. The monotonic function (defined - * through the interpolation_type above) passes through the control points - * listed here. + * Optional. Specifies whether to filter out jail-breaking queries. The default + * value is `false`. Google employs search-query classification to detect + * jail-breaking queries. No summary is returned if the search query is + * classified as a jail-breaking query. A user might add instructions to the + * query to change the tone, style, language, content of the answer, or ask the + * model to act as a different entity, e.g. "Reply in the tone of a competing + * company's CEO". If this field is set to `true`, we skip generating summaries + * for jail-breaking queries and return fallback messages instead. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSArray *controlPoints; +@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; /** - * The name of the field whose value will be used to determine the boost - * amount. + * Specifies whether to filter out queries that have low relevance. The default + * value is `false`. If this field is set to `false`, all search results are + * used regardless of relevance to generate answers. If set to `true`, only + * queries with high relevance search results will generate answers. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *fieldName; +@property(nonatomic, strong, nullable) NSNumber *ignoreLowRelevantContent; /** - * The interpolation type to be applied to connect the control points listed - * below. + * Specifies whether to filter out queries that are not summary-seeking. The + * default value is `false`. Google employs search-query classification to + * detect summary-seeking queries. No summary is returned if the search query + * is classified as a non-summary seeking query. For example, `why is the sky + * blue` and `Who is the best soccer player in the world?` are summary-seeking + * queries, but `SFO airport` and `world cup 2026` are not. They are most + * likely navigational queries. If this field is set to `true`, we skip + * generating summaries for non-summary seeking queries and return fallback + * messages instead. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_InterpolationTypeUnspecified - * Interpolation type is unspecified. In this case, it defaults to - * Linear. (Value: "INTERPOLATION_TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec_InterpolationType_Linear - * Piecewise linear interpolation will be applied. (Value: "LINEAR") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *interpolationType; - -@end - +@property(nonatomic, strong, nullable) NSNumber *ignoreNonSummarySeekingQuery; /** - * The control points used to define the curve. The curve defined through these - * control points can only be monotonically increasing or decreasing(constant - * values are acceptable). + * Specifies whether to include citations in the summary. The default value is + * `false`. When this field is set to `true`, summaries include in-line + * citation numbers. Example summary including citations: BigQuery is Google + * Cloud's fully managed and completely serverless enterprise data warehouse + * [1]. BigQuery supports all data types, works across clouds, and has built-in + * machine learning and business intelligence, all within a unified platform + * [2, 3]. The citation numbers refer to the returned search results and are + * 1-indexed. For example, [1] means that the sentence is attributed to the + * first search result. [2, 3] means that the sentence is attributed to both + * the second and third search results. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *includeCitations; /** - * Can be one of: 1. The numerical field value. 2. The duration spec for - * freshness: The value must be formatted as an XSD `dayTimeDuration` value (a - * restricted subset of an ISO 8601 duration value). The pattern for this is: - * `nDnM]`. + * Language code for Summary. Use language tags defined by + * [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an + * experimental feature. */ -@property(nonatomic, copy, nullable) NSString *attributeValue; +@property(nonatomic, copy, nullable) NSString *languageCode; /** - * The value between -1 to 1 by which to boost the score if the attribute_value - * evaluates to the value specified above. - * - * Uses NSNumber of floatValue. + * If specified, the spec will be used to modify the prompt provided to the + * LLM. */ -@property(nonatomic, strong, nullable) NSNumber *boostAmount; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec *modelPromptSpec; -@end +/** + * If specified, the spec will be used to modify the model specification + * provided to the LLM. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec *modelSpec; +/** Optional. Multimodal specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec *multimodalSpec; /** - * A specification for configuring the behavior of content search. + * The number of top results to generate the summary from. If the number of + * results returned is less than `summaryResultCount`, the summary is generated + * from all of the results. At most 10 results for documents mode, or 50 for + * chunks mode, can be used to generate a summary. The chunks mode is used when + * SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. + * + * Uses NSNumber of intValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *summaryResultCount; /** - * Specifies the chunk spec to be returned from the search response. Only - * available if the SearchRequest.ContentSearchSpec.search_result_mode is set - * to CHUNKS + * If true, answer will be generated from most relevant chunks from top search + * results. This feature will improve summary quality. Note that with this + * feature enabled, not all top search results will be referenced and included + * in the reference list, so the citation source index only points to the + * search results listed in the reference list. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec *chunkSpec; +@property(nonatomic, strong, nullable) NSNumber *useSemanticChunks; + +@end + /** - * If there is no extractive_content_spec provided, there will be no extractive - * answer in the search response. + * Specification of the prompt to use with the model. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec *extractiveContentSpec; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec : GTLRObject /** - * Specifies the search result mode. If unspecified, the search result mode - * defaults to `DOCUMENTS`. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec_SearchResultMode_Chunks - * Returns chunks in the search result. Only available if the - * DocumentProcessingConfig.chunking_config is specified. (Value: - * "CHUNKS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec_SearchResultMode_Documents - * Returns documents in the search result. (Value: "DOCUMENTS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec_SearchResultMode_SearchResultModeUnspecified - * Default value. (Value: "SEARCH_RESULT_MODE_UNSPECIFIED") + * Text at the beginning of the prompt that instructs the assistant. Examples + * are available in the user guide. */ -@property(nonatomic, copy, nullable) NSString *searchResultMode; +@property(nonatomic, copy, nullable) NSString *preamble; + +@end + /** - * If `snippetSpec` is not specified, snippets are not included in the search - * response. + * Specification of the model. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec *snippetSpec; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec : GTLRObject /** - * If `summarySpec` is not specified, summaries are not included in the search - * response. + * The model version used to generate the summary. Supported values are: * + * `stable`: string. Default value when no value is specified. Uses a generally + * available, fine-tuned model. For more information, see [Answer generation + * model versions and + * lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). + * * `preview`: string. (Public preview) Uses a preview model. For more + * information, see [Answer generation model versions and + * lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec *summarySpec; +@property(nonatomic, copy, nullable) NSString *version; @end /** - * Specifies the chunk spec to be returned from the search response. Only - * available if the SearchRequest.ContentSearchSpec.search_result_mode is set - * to CHUNKS - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec : GTLRObject - -/** - * The number of next chunks to be returned of the current chunk. The maximum - * allowed value is 3. If not specified, no next chunks will be returned. - * - * Uses NSNumber of intValue. + * Multimodal specification: Will return an image from specified source. If + * multiple sources are specified, the pick is a quality based decision. */ -@property(nonatomic, strong, nullable) NSNumber *numNextChunks; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec : GTLRObject /** - * The number of previous chunks to be returned of the current chunk. The - * maximum allowed value is 3. If not specified, no previous chunks will be - * returned. + * Optional. Source of image returned in the answer. * - * Uses NSNumber of intValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_AllAvailableSources + * Behavior when service determines the pick from all available sources. + * (Value: "ALL_AVAILABLE_SOURCES") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_CorpusImageOnly + * Includes image from corpus in the answer. (Value: "CORPUS_IMAGE_ONLY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_FigureGenerationOnly + * Triggers figure generation in the answer. (Value: + * "FIGURE_GENERATION_ONLY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_ImageSourceUnspecified + * Unspecified image source (multimodal feature is disabled by default). + * (Value: "IMAGE_SOURCE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *numPreviousChunks; +@property(nonatomic, copy, nullable) NSString *imageSource; @end /** - * A specification for configuring the extractive content in a search response. + * A struct to define data stores to filter on in a search call and + * configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error + * is returned. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec : GTLRObject /** - * The maximum number of extractive answers returned in each search result. An - * extractive answer is a verbatim answer extracted from the original document, - * which provides a precise and contextually relevant answer to the search - * query. If the number of matching answers is less than the - * `max_extractive_answer_count`, return all of the answers. Otherwise, return - * the `max_extractive_answer_count`. At most five answers are returned for - * each SearchResult. - * - * Uses NSNumber of intValue. + * 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) NSNumber *maxExtractiveAnswerCount; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec *boostSpec; /** - * The max number of extractive segments returned in each search result. Only - * applied if the DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED - * or DataStore.solution_types is SOLUTION_TYPE_CHAT. An extractive segment is - * a text segment extracted from the original document that is relevant to the - * search query, and, in general, more verbose than an extractive answer. The - * segment could then be used as input for LLMs to generate summaries and - * answers. If the number of matching segments is less than - * `max_extractive_segment_count`, return all of the segments. Otherwise, - * return the `max_extractive_segment_count`. - * - * Uses NSNumber of intValue. + * Optional. Custom search operators which if specified will be used to filter + * results from workspace data stores. For more information on custom search + * operators, see + * [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). */ -@property(nonatomic, strong, nullable) NSNumber *maxExtractiveSegmentCount; +@property(nonatomic, copy, nullable) NSString *customSearchOperators; /** - * Return at most `num_next_segments` segments after each selected segments. - * - * Uses NSNumber of intValue. + * Required. Full resource name of DataStore, such as + * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * The path must include the project number, project id is not supported for + * this field. */ -@property(nonatomic, strong, nullable) NSNumber *numNextSegments; +@property(nonatomic, copy, nullable) NSString *dataStore; /** - * Specifies whether to also include the adjacent from each selected segments. - * Return at most `num_previous_segments` segments before each selected - * segments. - * - * Uses NSNumber of intValue. + * Optional. Filter specification to filter documents in the data store + * specified by data_store field. For more information on filtering, see + * [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */ -@property(nonatomic, strong, nullable) NSNumber *numPreviousSegments; +@property(nonatomic, copy, nullable) NSString *filter; + +@end + /** - * Specifies whether to return the confidence score from the extractive - * segments in each search result. This feature is available only for new or - * allowlisted data stores. To allowlist your data store, contact your Customer - * Engineer. The default value is `false`. + * Specifies features for display, like match highlighting. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec : GTLRObject + +/** + * The condition under which match highlighting should occur. * - * Uses NSNumber of boolValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingConditionUnspecified + * Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`. (Value: + * "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingDisabled + * Disables match highlighting on all documents. (Value: + * "MATCH_HIGHLIGHTING_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingEnabled + * Enables match highlighting on all documents. (Value: + * "MATCH_HIGHLIGHTING_ENABLED") */ -@property(nonatomic, strong, nullable) NSNumber *returnExtractiveSegmentScore; +@property(nonatomic, copy, nullable) NSString *matchHighlightingCondition; @end /** - * A specification for configuring snippets in a search response. + * The specification that uses customized query embedding vector to do semantic + * document retrieval. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec : GTLRObject + +/** The embedding vector used for retrieval. Limit to 1. */ +@property(nonatomic, strong, nullable) NSArray *embeddingVectors; + +@end -/** - * [DEPRECATED] This field is deprecated. To control snippet return, use - * `return_snippet` field. For backwards compatibility, we will return snippet - * if max_snippet_count > 0. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maxSnippetCount GTLR_DEPRECATED; /** - * [DEPRECATED] This field is deprecated and will have no affect on the - * snippet. - * - * Uses NSNumber of boolValue. + * Embedding vector. */ -@property(nonatomic, strong, nullable) NSNumber *referenceOnly GTLR_DEPRECATED; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector : GTLRObject + +/** Embedding field path in schema. */ +@property(nonatomic, copy, nullable) NSString *fieldPath; /** - * If `true`, then return snippet. If no snippet can be generated, we return - * "No snippet is available for this page." A `snippet_status` with `SUCCESS` - * or `NO_SNIPPET_AVAILABLE` will also be returned. + * Query embedding vector. * - * Uses NSNumber of boolValue. + * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *returnSnippet; +@property(nonatomic, strong, nullable) NSArray *vector; @end /** - * A specification for configuring a summary returned in a search response. + * A facet specification to perform faceted search. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec : GTLRObject /** - * Specifies whether to filter out adversarial queries. The default value is - * `false`. Google employs search-query classification to detect adversarial - * queries. No summary is returned if the search query is classified as an - * adversarial query. For example, a user might ask a question regarding - * negative comments about the company or submit a query designed to generate - * unsafe, policy-violating output. If this field is set to `true`, we skip - * generating summaries for adversarial queries and return fallback messages - * instead. + * Enables dynamic position for this facet. If set to true, the position of + * this facet among all facets in the response is determined automatically. If + * dynamic facets are enabled, it is ordered together. If set to false, the + * position of this facet in the response is the same as in the request, and it + * is ranked before the facets with dynamic position enable and all dynamic + * facets. For example, you may always want to have rating facet returned in + * the response, but it's not necessarily to always display the rating facet at + * the top. In that case, you can set enable_dynamic_position to true so that + * the position of rating facet in response is determined automatically. + * Another example, assuming you have the following facets in the request: * + * "rating", enable_dynamic_position = true * "price", enable_dynamic_position + * = false * "brands", enable_dynamic_position = false And also you have a + * dynamic facets enabled, which generates a facet `gender`. Then the final + * order of the facets in the response can be ("price", "brands", "rating", + * "gender") or ("price", "brands", "gender", "rating") depends on how API + * orders "gender" and "rating" facets. However, notice that "price" and + * "brands" are always ranked at first and second position because their + * enable_dynamic_position is false. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; +@property(nonatomic, strong, nullable) NSNumber *enableDynamicPosition; /** - * Optional. Specifies whether to filter out jail-breaking queries. The default - * value is `false`. Google employs search-query classification to detect - * jail-breaking queries. No summary is returned if the search query is - * classified as a jail-breaking query. A user might add instructions to the - * query to change the tone, style, language, content of the answer, or ask the - * model to act as a different entity, e.g. "Reply in the tone of a competing - * company's CEO". If this field is set to `true`, we skip generating summaries - * for jail-breaking queries and return fallback messages instead. - * - * Uses NSNumber of boolValue. + * List of keys to exclude when faceting. By default, FacetKey.key is not + * excluded from the filter unless it is listed in this field. Listing a facet + * key in this field allows its values to appear as facet results, even when + * they are filtered out of search results. Using this field does not affect + * what search results are returned. For example, suppose there are 100 + * documents with the color facet "Red" and 200 documents with the color facet + * "Blue". A query containing the filter "color:ANY("Red")" and having "color" + * as FacetKey.key would by default return only "Red" documents in the search + * results, and also return "Red" with count 100 as the only color facet. + * Although there are also blue documents available, "Blue" would not be shown + * as an available facet value. If "color" is listed in "excludedFilterKeys", + * then the query returns the facet values "Red" with count 100 and "Blue" with + * count 200, because the "color" key is now excluded from the filter. Because + * this field doesn't affect search results, the search results are still + * correctly filtered to return only "Red" documents. A maximum of 100 values + * are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. */ -@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; +@property(nonatomic, strong, nullable) NSArray *excludedFilterKeys; -/** - * Specifies whether to filter out queries that have low relevance. The default - * value is `false`. If this field is set to `false`, all search results are - * used regardless of relevance to generate answers. If set to `true`, only - * queries with high relevance search results will generate answers. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *ignoreLowRelevantContent; +/** Required. The facet key specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey *facetKey; /** - * Specifies whether to filter out queries that are not summary-seeking. The - * default value is `false`. Google employs search-query classification to - * detect summary-seeking queries. No summary is returned if the search query - * is classified as a non-summary seeking query. For example, `why is the sky - * blue` and `Who is the best soccer player in the world?` are summary-seeking - * queries, but `SFO airport` and `world cup 2026` are not. They are most - * likely navigational queries. If this field is set to `true`, we skip - * generating summaries for non-summary seeking queries and return fallback - * messages instead. + * Maximum facet values that are returned for this facet. If unspecified, + * defaults to 20. The maximum allowed value is 300. Values above 300 are + * coerced to 300. For aggregation in healthcare search, when the + * [FacetKey.key] is "healthcare_aggregation_key", the limit will be overridden + * to 10,000 internally, regardless of the value set here. If this field is + * negative, an `INVALID_ARGUMENT` is returned. * - * Uses NSNumber of boolValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *ignoreNonSummarySeekingQuery; +@property(nonatomic, strong, nullable) NSNumber *limit; + +@end + /** - * Specifies whether to include citations in the summary. The default value is - * `false`. When this field is set to `true`, summaries include in-line - * citation numbers. Example summary including citations: BigQuery is Google - * Cloud's fully managed and completely serverless enterprise data warehouse - * [1]. BigQuery supports all data types, works across clouds, and has built-in - * machine learning and business intelligence, all within a unified platform - * [2, 3]. The citation numbers refer to the returned search results and are - * 1-indexed. For example, [1] means that the sentence is attributed to the - * first search result. [2, 3] means that the sentence is attributed to both - * the second and third search results. + * Specifies how a facet is computed. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey : GTLRObject + +/** + * True to make facet keys case insensitive when getting faceting values with + * prefixes or contains; false otherwise. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *includeCitations; +@property(nonatomic, strong, nullable) NSNumber *caseInsensitive; /** - * Language code for Summary. Use language tags defined by - * [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an - * experimental feature. + * Only get facet values that contain the given strings. For example, suppose + * "category" has three values "Action > 2022", "Action > 2021" and "Sci-Fi > + * 2022". If set "contains" to "2022", the "category" facet only contains + * "Action > 2022" and "Sci-Fi > 2022". Only supported on textual fields. + * Maximum is 10. */ -@property(nonatomic, copy, nullable) NSString *languageCode; +@property(nonatomic, strong, nullable) NSArray *contains; /** - * If specified, the spec will be used to modify the prompt provided to the - * LLM. + * Set only if values should be bucketed into intervals. Must be set for facets + * with numerical values. Must not be set for facet with text values. Maximum + * number of intervals is 30. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec *modelPromptSpec; +@property(nonatomic, strong, nullable) NSArray *intervals; /** - * If specified, the spec will be used to modify the model specification - * provided to the LLM. + * Required. Supported textual and numerical facet keys in Document object, + * over which the facet values are computed. Facet key is case-sensitive. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec *modelSpec; +@property(nonatomic, copy, nullable) NSString *key; -/** Optional. Multimodal specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec *multimodalSpec; +/** + * The order in which documents are returned. Allowed values are: * "count + * desc", which means order by SearchResponse.Facet.values.count descending. * + * "value desc", which means order by SearchResponse.Facet.values.value + * descending. Only applies to textual facets. If not set, textual values are + * sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); + * numerical intervals are sorted in the order given by + * FacetSpec.FacetKey.intervals. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; /** - * The number of top results to generate the summary from. If the number of - * results returned is less than `summaryResultCount`, the summary is generated - * from all of the results. At most 10 results for documents mode, or 50 for - * chunks mode, can be used to generate a summary. The chunks mode is used when - * SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. - * - * Uses NSNumber of intValue. + * Only get facet values that start with the given string prefix. For example, + * suppose "category" has three values "Action > 2022", "Action > 2021" and + * "Sci-Fi > 2022". If set "prefixes" to "Action", the "category" facet only + * contains "Action > 2022" and "Action > 2021". Only supported on textual + * fields. Maximum is 10. */ -@property(nonatomic, strong, nullable) NSNumber *summaryResultCount; +@property(nonatomic, strong, nullable) NSArray *prefixes; /** - * If true, answer will be generated from most relevant chunks from top search - * results. This feature will improve summary quality. Note that with this - * feature enabled, not all top search results will be referenced and included - * in the reference list, so the citation source index only points to the - * search results listed in the reference list. - * - * Uses NSNumber of boolValue. + * Only get facet for the given restricted values. Only supported on textual + * fields. For example, suppose "category" has three values "Action > 2022", + * "Action > 2021" and "Sci-Fi > 2022". If set "restricted_values" to "Action > + * 2022", the "category" facet only contains "Action > 2022". Only supported on + * textual fields. Maximum is 10. */ -@property(nonatomic, strong, nullable) NSNumber *useSemanticChunks; +@property(nonatomic, strong, nullable) NSArray *restrictedValues; @end /** - * Specification of the prompt to use with the model. + * Specifies the image query input. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery : GTLRObject /** - * Text at the beginning of the prompt that instructs the assistant. Examples - * are available in the user guide. + * Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP. */ -@property(nonatomic, copy, nullable) NSString *preamble; +@property(nonatomic, copy, nullable) NSString *imageBytes; @end /** - * Specification of the model. + * Specification to enable natural language understanding capabilities for + * search requests. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec : GTLRObject /** - * The model version used to generate the summary. Supported values are: * - * `stable`: string. Default value when no value is specified. Uses a generally - * available, fine-tuned model. For more information, see [Answer generation - * model versions and - * lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). - * * `preview`: string. (Public preview) Uses a preview model. For more - * information, see [Answer generation model versions and - * lifecycle](https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). + * Optional. Controls behavior of how extracted filters are applied to the + * search. The default behavior depends on the request. For single datastore + * structured search, the default is `HARD_FILTER`. For multi-datastore search, + * the default behavior is `SOFT_BOOST`. Location-based filters are always + * applied as hard filters, and the `SOFT_BOOST` setting will not affect them. + * This field is only used if + * SearchRequest.natural_language_query_understanding_spec.filter_extraction_condition + * is set to FilterExtractionCondition.ENABLED. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_ExtractedFilterBehaviorUnspecified + * `EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior + * for extracted filters. For single datastore search, the default is to + * apply as hard filters. For multi-datastore search, the default is to + * apply as soft boosts. (Value: "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_HardFilter + * Applies all extracted filters as hard filters on the results. Results + * that do not pass the extracted filters will not be returned in the + * result set. (Value: "HARD_FILTER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_SoftBoost + * Applies all extracted filters as soft boosts. Results that pass the + * filters will be boosted up to higher ranks in the result set. (Value: + * "SOFT_BOOST") + */ +@property(nonatomic, copy, nullable) NSString *extractedFilterBehavior; + +/** + * 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 `DISABLED`. (Value: + * "CONDITION_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled + * Disables NL filter extraction. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Enabled + * Enables NL filter extraction. (Value: "ENABLED") */ -@property(nonatomic, copy, nullable) NSString *version; +@property(nonatomic, copy, nullable) NSString *filterExtractionCondition; + +/** + * Field names used for location-based filtering, where geolocation filters are + * detected in natural language search queries. Only valid when the + * FilterExtractionCondition is set to `ENABLED`. If this field is set, it + * overrides the field names set in + * ServingConfig.geo_search_query_detection_field_names. + */ +@property(nonatomic, strong, nullable) NSArray *geoSearchQueryDetectionFieldNames; @end /** - * Multimodal specification: Will return an image from specified source. If - * multiple sources are specified, the pick is a quality based decision. + * The specification for personalization. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec : GTLRObject /** - * Optional. Source of image returned in the answer. + * The personalization mode of the search request. Defaults to Mode.AUTO. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_AllAvailableSources - * Behavior when service determines the pick from all available sources. - * (Value: "ALL_AVAILABLE_SOURCES") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_CorpusImageOnly - * Includes image from corpus in the answer. (Value: "CORPUS_IMAGE_ONLY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_FigureGenerationOnly - * Triggers figure generation in the answer. (Value: - * "FIGURE_GENERATION_ONLY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec_ImageSource_ImageSourceUnspecified - * Unspecified image source (multimodal feature is disabled by default). - * (Value: "IMAGE_SOURCE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Auto + * Personalization is enabled if data quality requirements are met. + * (Value: "AUTO") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Disabled + * Disable personalization. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_ModeUnspecified + * Default value. In this case, server behavior defaults to Mode.AUTO. + * (Value: "MODE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *imageSource; +@property(nonatomic, copy, nullable) NSString *mode; @end /** - * A struct to define data stores to filter on in a search call and - * configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error - * is returned. + * Specification to determine under which conditions query expansion should + * occur. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec : 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) + * The condition under which query expansion should occur. Default to + * Condition.DISABLED. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_Auto + * Automatic query expansion built by the Search API. (Value: "AUTO") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_ConditionUnspecified + * Unspecified query expansion condition. In this case, server behavior + * defaults to Condition.DISABLED. (Value: "CONDITION_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_Disabled + * Disabled query expansion. Only the exact search query is used, even if + * SearchResponse.total_size is zero. (Value: "DISABLED") */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec *boostSpec; +@property(nonatomic, copy, nullable) NSString *condition; /** - * Optional. Custom search operators which if specified will be used to filter - * results from workspace data stores. For more information on custom search - * operators, see - * [SearchOperators](https://support.google.com/cloudsearch/answer/6172299). + * Whether to pin unexpanded results. If this field is set to true, unexpanded + * products are always at the top of the search results, followed by the + * expanded results. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *customSearchOperators; +@property(nonatomic, strong, nullable) NSNumber *pinUnexpandedResults; + +@end + /** - * Required. Full resource name of DataStore, such as - * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * The specification for returning the document relevance score. */ -@property(nonatomic, copy, nullable) NSString *dataStore; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec : GTLRObject /** - * Optional. Filter specification to filter documents in the data store - * specified by data_store field. For more information on filtering, see - * [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + * Optional. Whether to return the relevance score for search results. The + * higher the score, the more relevant the document is to the query. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *filter; +@property(nonatomic, strong, nullable) NSNumber *returnRelevanceScore; @end /** - * Specifies features for display, like match highlighting. + * Specification for search as you type in search requests. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec : GTLRObject /** - * The condition under which match highlighting should occur. + * The condition under which search as you type should occur. Default to + * Condition.DISABLED. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingConditionUnspecified - * Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`. (Value: - * "MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingDisabled - * Disables match highlighting on all documents. (Value: - * "MATCH_HIGHLIGHTING_DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec_MatchHighlightingCondition_MatchHighlightingEnabled - * Enables match highlighting on all documents. (Value: - * "MATCH_HIGHLIGHTING_ENABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_Auto + * Automatic switching between search-as-you-type and standard search + * modes, ideal for single-API implementations (e.g., debouncing). + * (Value: "AUTO") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_ConditionUnspecified + * Server behavior defaults to Condition.DISABLED. (Value: + * "CONDITION_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_Disabled + * Disables Search As You Type. (Value: "DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_Enabled + * Enables Search As You Type. (Value: "ENABLED") */ -@property(nonatomic, copy, nullable) NSString *matchHighlightingCondition; +@property(nonatomic, copy, nullable) NSString *condition; @end /** - * The specification that uses customized query embedding vector to do semantic - * document retrieval. + * Session specification. Multi-turn Search feature is currently at private GA + * stage. Please use v1alpha or v1beta version instead before we launch this + * feature to public GA. Or ask for allowlisting through Google Support team. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec : GTLRObject + +/** + * If set, the search result gets stored to the "turn" specified by this query + * ID. Example: Let's say the session looks like this: session { name: + * ".../sessions/xxx" turns { query { text: "What is foo?" query_id: + * ".../questions/yyy" } answer: "Foo is ..." } turns { query { text: "How + * about bar then?" query_id: ".../questions/zzz" } } } The user can call + * /search API with a request like this: session: ".../sessions/xxx" + * session_spec { query_id: ".../questions/zzz" } Then, the API stores the + * search result, associated with the last turn. The stored search result can + * be used by a subsequent /answer API call (with the session ID and the query + * ID specified). Also, it is possible to call /search and /answer in parallel + * with the same session ID & query ID. + */ +@property(nonatomic, copy, nullable) NSString *queryId; + +/** + * The number of top search results to persist. The persisted search results + * can be used for the subsequent /answer api call. This field is similar to + * the `summary_result_count` field in + * SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 + * results for documents mode, or 50 for chunks mode. + * + * Uses NSNumber of intValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec : GTLRObject - -/** The embedding vector used for retrieval. Limit to 1. */ -@property(nonatomic, strong, nullable) NSArray *embeddingVectors; +@property(nonatomic, strong, nullable) NSNumber *searchResultPersistenceCount; @end /** - * Embedding vector. + * The specification for query spell correction. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector : GTLRObject - -/** Embedding field path in schema. */ -@property(nonatomic, copy, nullable) NSString *fieldPath; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec : GTLRObject /** - * Query embedding vector. + * The mode under which spell correction replaces the original search query. + * Defaults to Mode.AUTO. * - * Uses NSNumber of floatValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec_Mode_Auto + * Automatic spell correction built by the Search API. Search will be + * based on the corrected query if found. (Value: "AUTO") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec_Mode_ModeUnspecified + * Unspecified spell correction mode. In this case, server behavior + * defaults to Mode.AUTO. (Value: "MODE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec_Mode_SuggestionOnly + * Search API tries to find a spelling suggestion. If a suggestion is + * found, it is put in the SearchResponse.corrected_query. The spelling + * suggestion won't be used as the search query. (Value: + * "SUGGESTION_ONLY") */ -@property(nonatomic, strong, nullable) NSArray *vector; +@property(nonatomic, copy, nullable) NSString *mode; @end /** - * A facet specification to perform faceted search. + * External session proto definition. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession : GTLRObject /** - * Enables dynamic position for this facet. If set to true, the position of - * this facet among all facets in the response is determined automatically. If - * dynamic facets are enabled, it is ordered together. If set to false, the - * position of this facet in the response is the same as in the request, and it - * is ranked before the facets with dynamic position enable and all dynamic - * facets. For example, you may always want to have rating facet returned in - * the response, but it's not necessarily to always display the rating facet at - * the top. In that case, you can set enable_dynamic_position to true so that - * the position of rating facet in response is determined automatically. - * Another example, assuming you have the following facets in the request: * - * "rating", enable_dynamic_position = true * "price", enable_dynamic_position - * = false * "brands", enable_dynamic_position = false And also you have a - * dynamic facets enabled, which generates a facet `gender`. Then the final - * order of the facets in the response can be ("price", "brands", "rating", - * "gender") or ("price", "brands", "gender", "rating") depends on how API - * orders "gender" and "rating" facets. However, notice that "price" and - * "brands" are always ranked at first and second position because their - * enable_dynamic_position is false. + * 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 *enableDynamicPosition; +@property(nonatomic, strong, nullable) NSNumber *isPinned; /** - * List of keys to exclude when faceting. By default, FacetKey.key is not - * excluded from the filter unless it is listed in this field. Listing a facet - * key in this field allows its values to appear as facet results, even when - * they are filtered out of search results. Using this field does not affect - * what search results are returned. For example, suppose there are 100 - * documents with the color facet "Red" and 200 documents with the color facet - * "Blue". A query containing the filter "color:ANY("Red")" and having "color" - * as FacetKey.key would by default return only "Red" documents in the search - * results, and also return "Red" with count 100 as the only color facet. - * Although there are also blue documents available, "Blue" would not be shown - * as an available facet value. If "color" is listed in "excludedFilterKeys", - * then the query returns the facet values "Red" with count 100 and "Blue" with - * count 200, because the "color" key is now excluded from the filter. Because - * this field doesn't affect search results, the search results are still - * correctly filtered to return only "Red" documents. A maximum of 100 values - * are allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * *` */ -@property(nonatomic, strong, nullable) NSArray *excludedFilterKeys; +@property(nonatomic, copy, nullable) NSString *name; -/** Required. The facet key specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey *facetKey; +/** Output only. The time the session started. */ +@property(nonatomic, strong, nullable) GTLRDateTime *startTime; /** - * Maximum facet values that are returned for this facet. If unspecified, - * defaults to 20. The maximum allowed value is 300. Values above 300 are - * coerced to 300. For aggregation in healthcare search, when the - * [FacetKey.key] is "healthcare_aggregation_key", the limit will be overridden - * to 10,000 internally, regardless of the value set here. If this field is - * negative, an `INVALID_ARGUMENT` is returned. + * The state of the session. * - * Uses NSNumber of intValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession_State_InProgress + * The session is currently open. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession_State_StateUnspecified + * State is unspecified. (Value: "STATE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *limit; +@property(nonatomic, copy, nullable) NSString *state; + +/** Turns. */ +@property(nonatomic, strong, nullable) NSArray *turns; + +/** A unique identifier for tracking users. */ +@property(nonatomic, copy, nullable) NSString *userPseudoId; @end /** - * Specifies how a facet is computed. + * Represents a turn, including a query from the user and a answer from + * service. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn : GTLRObject /** - * True to make facet keys case insensitive when getting faceting values with - * prefixes or contains; false otherwise. - * - * Uses NSNumber of boolValue. + * Optional. The resource name of the answer to the user query. Only set if the + * answer generation (/answer API call) happened in this turn. */ -@property(nonatomic, strong, nullable) NSNumber *caseInsensitive; +@property(nonatomic, copy, nullable) NSString *answer; /** - * Only get facet values that contain the given strings. For example, suppose - * "category" has three values "Action > 2022", "Action > 2021" and "Sci-Fi > - * 2022". If set "contains" to "2022", the "category" facet only contains - * "Action > 2022" and "Sci-Fi > 2022". Only supported on textual fields. - * Maximum is 10. + * Output only. In ConversationalSearchService.GetSession API, if + * GetSessionRequest.include_answer_details is set to true, this field will be + * populated when getting answer query session. */ -@property(nonatomic, strong, nullable) NSArray *contains; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer *detailedAnswer; /** - * Set only if values should be bucketed into intervals. Must be set for facets - * with numerical values. Must not be set for facet with text values. Maximum - * number of intervals is 30. + * Optional. The user query. May not be set if this turn is merely regenerating + * an answer to a different turn */ -@property(nonatomic, strong, nullable) NSArray *intervals; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQuery *query; /** - * Required. Supported textual and numerical facet keys in Document object, - * over which the facet values are computed. Facet key is case-sensitive. + * Optional. Represents metadata related to the query config, for example LLM + * model and version used, model parameters (temperature, grounding parameters, + * etc.). The prefix "google." is reserved for Google-developed functionality. */ -@property(nonatomic, copy, nullable) NSString *key; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig *queryConfig; -/** - * The order in which documents are returned. Allowed values are: * "count - * desc", which means order by SearchResponse.Facet.values.count descending. * - * "value desc", which means order by SearchResponse.Facet.values.value - * descending. Only applies to textual facets. If not set, textual values are - * sorted in [natural order](https://en.wikipedia.org/wiki/Natural_sort_order); - * numerical intervals are sorted in the order given by - * FacetSpec.FacetKey.intervals. - */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@end -/** - * Only get facet values that start with the given string prefix. For example, - * suppose "category" has three values "Action > 2022", "Action > 2021" and - * "Sci-Fi > 2022". If set "prefixes" to "Action", the "category" facet only - * contains "Action > 2022" and "Action > 2021". Only supported on textual - * fields. Maximum is 10. - */ -@property(nonatomic, strong, nullable) NSArray *prefixes; /** - * Only get facet for the given restricted values. Only supported on textual - * fields. For example, suppose "category" has three values "Action > 2022", - * "Action > 2021" and "Sci-Fi > 2022". If set "restricted_values" to "Action > - * 2022", the "category" facet only contains "Action > 2022". Only supported on - * textual fields. Maximum is 10. + * Optional. Represents metadata related to the query config, for example LLM + * model and version used, model parameters (temperature, grounding parameters, + * etc.). The prefix "google." is reserved for Google-developed functionality. + * + * @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) NSArray *restrictedValues; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig : GTLRObject @end /** - * Specifies the image query input. + * Metadata related to the progress of the + * CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *imageBytes; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Specification to enable natural language understanding capabilities for - * search requests. + * 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_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse : GTLRObject + +/** Errors from service when handling the request. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; /** - * The condition under which filter extraction should occur. Server behavior - * defaults to `DISABLED`. + * Output only. The state of the response. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_ConditionUnspecified - * Server behavior defaults to `DISABLED`. (Value: - * "CONDITION_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Disabled - * Disables NL filter extraction. (Value: "DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec_FilterExtractionCondition_Enabled - * Enables NL filter extraction. (Value: "ENABLED") - */ -@property(nonatomic, copy, nullable) NSString *filterExtractionCondition; - -/** - * Field names used for location-based filtering, where geolocation filters are - * detected in natural language search queries. Only valid when the - * FilterExtractionCondition is set to `ENABLED`. If this field is set, it - * overrides the field names set in - * ServingConfig.geo_search_query_detection_field_names. + * @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, strong, nullable) NSArray *geoSearchQueryDetectionFieldNames; +@property(nonatomic, copy, nullable) NSString *state; @end /** - * The specification for personalization. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec : GTLRObject - -/** - * The personalization mode of the search request. Defaults to Mode.AUTO. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Auto - * Personalization is enabled if data quality requirements are met. - * (Value: "AUTO") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_Disabled - * Disable personalization. (Value: "DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec_Mode_ModeUnspecified - * Default value. In this case, server behavior defaults to Mode.AUTO. - * (Value: "MODE_UNSPECIFIED") + * Metadata for DataConnectorService.SetUpDataConnector method. */ -@property(nonatomic, copy, nullable) NSString *mode; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata : GTLRObject @end /** - * Specification to determine under which conditions query expansion should - * occur. + * Metadata related to the progress of the + * SiteSearchEngineService.SetUriPatternDocumentData operation. This will be + * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata : GTLRObject -/** - * The condition under which query expansion should occur. Default to - * Condition.DISABLED. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_Auto - * Automatic query expansion built by the Search API. (Value: "AUTO") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_ConditionUnspecified - * Unspecified query expansion condition. In this case, server behavior - * defaults to Condition.DISABLED. (Value: "CONDITION_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec_Condition_Disabled - * Disabled query expansion. Only the exact search query is used, even if - * SearchResponse.total_size is zero. (Value: "DISABLED") - */ -@property(nonatomic, copy, nullable) NSString *condition; +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Whether to pin unexpanded results. If this field is set to true, unexpanded - * products are always at the top of the search results, followed by the - * expanded results. - * - * Uses NSNumber of boolValue. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) NSNumber *pinUnexpandedResults; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * The specification for returning the document relevance score. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec : GTLRObject - -/** - * Optional. Whether to return the relevance score for search results. The - * higher the score, the more relevant the document is to the query. - * - * Uses NSNumber of boolValue. + * Response message for SiteSearchEngineService.SetUriPatternDocumentData + * method. */ -@property(nonatomic, strong, nullable) NSNumber *returnRelevanceScore; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse : GTLRObject @end /** - * Specification for search as you type in search requests. + * Metadata for single-regional CMEKs. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey : GTLRObject /** - * The condition under which search as you type should occur. Default to - * Condition.DISABLED. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_Auto - * Automatic switching between search-as-you-type and standard search - * modes, ideal for single-API implementations (e.g., debouncing). - * (Value: "AUTO") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_ConditionUnspecified - * Server behavior defaults to Condition.DISABLED. (Value: - * "CONDITION_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_Disabled - * Disables Search As You Type. (Value: "DISABLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec_Condition_Enabled - * Enables Search As You Type. (Value: "ENABLED") + * 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 *condition; +@property(nonatomic, copy, nullable) NSString *kmsKey; @end /** - * Session specification. Multi-turn Search feature is currently at private GA - * stage. Please use v1alpha or v1beta version instead before we launch this - * feature to public GA. Or ask for allowlisting through Google Support team. + * A sitemap for the SiteSearchEngine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSitemap : GTLRObject -/** - * If set, the search result gets stored to the "turn" specified by this query - * ID. Example: Let's say the session looks like this: session { name: - * ".../sessions/xxx" turns { query { text: "What is foo?" query_id: - * ".../questions/yyy" } answer: "Foo is ..." } turns { query { text: "How - * about bar then?" query_id: ".../questions/zzz" } } } The user can call - * /search API with a request like this: session: ".../sessions/xxx" - * session_spec { query_id: ".../questions/zzz" } Then, the API stores the - * search result, associated with the last turn. The stored search result can - * be used by a subsequent /answer API call (with the session ID and the query - * ID specified). Also, it is possible to call /search and /answer in parallel - * with the same session ID & query ID. - */ -@property(nonatomic, copy, nullable) NSString *queryId; +/** Output only. The sitemap's creation time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * The number of top search results to persist. The persisted search results - * can be used for the subsequent /answer api call. This field is similar to - * the `summary_result_count` field in - * SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 - * results for documents mode, or 50 for chunks mode. - * - * Uses NSNumber of intValue. + * Output only. The fully qualified resource name of the sitemap. `projects/ * + * /locations/ * /collections/ * /dataStores/ * /siteSearchEngine/sitemaps/ *` + * The `sitemap_id` suffix is system-generated. */ -@property(nonatomic, strong, nullable) NSNumber *searchResultPersistenceCount; +@property(nonatomic, copy, nullable) NSString *name; + +/** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */ +@property(nonatomic, copy, nullable) NSString *uri; @end /** - * The specification for query spell correction. + * Verification information for target sites in advanced site search. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo : GTLRObject /** - * The mode under which spell correction replaces the original search query. - * Defaults to Mode.AUTO. + * Site verification state indicating the ownership and validity. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec_Mode_Auto - * Automatic spell correction built by the Search API. Search will be - * based on the corrected query if found. (Value: "AUTO") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec_Mode_ModeUnspecified - * Unspecified spell correction mode. In this case, server behavior - * defaults to Mode.AUTO. (Value: "MODE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec_Mode_SuggestionOnly - * Search API tries to find a spelling suggestion. If a suggestion is - * found, it is put in the SearchResponse.corrected_query. The spelling - * suggestion won't be used as the search query. (Value: - * "SUGGESTION_ONLY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_Exempted + * Site exempt from verification, e.g., a public website that opens to + * all. (Value: "EXEMPTED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_SiteVerificationStateUnspecified + * Defaults to VERIFIED. (Value: "SITE_VERIFICATION_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_Unverified + * Site ownership pending verification or verification failed. (Value: + * "UNVERIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_Verified + * Site ownership verified. (Value: "VERIFIED") */ -@property(nonatomic, copy, nullable) NSString *mode; +@property(nonatomic, copy, nullable) NSString *siteVerificationState; + +/** Latest site verification time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *verifyTime; @end /** - * External session proto definition. + * A target site for the SiteSearchEngine. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite : 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. + * 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 + * is a specific one. provided_uri_pattern is always normalized to generate the + * URI pattern to be used by the search engine. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *displayName; +@property(nonatomic, strong, nullable) NSNumber *exactMatch; -/** Output only. The time the session finished. */ -@property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** Output only. Failure reason. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason *failureReason; /** - * Optional. Whether the session is pinned, pinned session will be displayed on - * the top of the session list. + * Output only. This is system-generated based on the provided_uri_pattern. + */ +@property(nonatomic, copy, nullable) NSString *generatedUriPattern; + +/** + * Output only. Indexing status. * - * Uses NSNumber of boolValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Cancellable + * The target site change is pending but cancellable. (Value: + * "CANCELLABLE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Cancelled + * The target site change is cancelled. (Value: "CANCELLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Deleting + * The previously indexed target site has been marked to be deleted. This + * is a transitioning state which will resulted in either: 1. target site + * deleted if unindexing is successful; 2. state reverts to SUCCEEDED if + * the unindexing fails. (Value: "DELETING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Failed + * The target site fails to be indexed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_IndexingStatusUnspecified + * Defaults to SUCCEEDED. (Value: "INDEXING_STATUS_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Pending + * The target site is in the update queue and will be picked up by + * indexing pipeline. (Value: "PENDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Succeeded + * The target site has been indexed. (Value: "SUCCEEDED") */ -@property(nonatomic, strong, nullable) NSNumber *isPinned; +@property(nonatomic, copy, nullable) NSString *indexingStatus; /** - * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ - * *` + * Output only. The fully qualified resource name of the target site. + * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` + * The `target_site_id` is system-generated. */ @property(nonatomic, copy, nullable) NSString *name; -/** Output only. The time the session started. */ -@property(nonatomic, strong, nullable) GTLRDateTime *startTime; +/** + * Required. Input only. The user provided URI pattern from which the + * `generated_uri_pattern` is generated. + */ +@property(nonatomic, copy, nullable) NSString *providedUriPattern; + +/** Output only. Root domain of the provided_uri_pattern. */ +@property(nonatomic, copy, nullable) NSString *rootDomainUri; + +/** Output only. Site ownership and validity verification status. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo *siteVerificationInfo; /** - * The state of the session. + * The type of the target site, e.g., whether the site is to be included or + * excluded. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession_State_InProgress - * The session is currently open. (Value: "IN_PROGRESS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession_State_StateUnspecified - * State is unspecified. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_Exclude + * Exclude the target site. (Value: "EXCLUDE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_Include + * Include the target site. (Value: "INCLUDE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_TypeUnspecified + * This value is unused. In this case, server behavior defaults to + * Type.INCLUDE. (Value: "TYPE_UNSPECIFIED") */ -@property(nonatomic, copy, nullable) NSString *state; - -/** Turns. */ -@property(nonatomic, strong, nullable) NSArray *turns; +@property(nonatomic, copy, nullable) NSString *type; -/** A unique identifier for tracking users. */ -@property(nonatomic, copy, nullable) NSString *userPseudoId; +/** Output only. The target site's last updated time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Represents a turn, including a query from the user and a answer from - * service. + * Site search indexing failure reasons. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason : GTLRObject -/** - * Optional. The resource name of the answer to the user query. Only set if the - * answer generation (/answer API call) happened in this turn. - */ -@property(nonatomic, copy, nullable) NSString *answer; +/** Failed due to insufficient quota. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure *quotaFailure; + +@end -/** - * Output only. In ConversationalSearchService.GetSession API, if - * GetSessionRequest.include_answer_details is set to true, this field will be - * populated when getting answer query session. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaAnswer *detailedAnswer; /** - * Optional. The user query. May not be set if this turn is merely regenerating - * an answer to a different turn + * Failed due to insufficient quota. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaQuery *query; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure : GTLRObject /** - * Optional. Represents metadata related to the query config, for example LLM - * model and version used, model parameters (temperature, grounding parameters, - * etc.). The prefix "google." is reserved for Google-developed functionality. + * This number is an estimation on how much total quota this project needs to + * successfully complete indexing. + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig *queryConfig; +@property(nonatomic, strong, nullable) NSNumber *totalRequiredQuota; @end /** - * Optional. Represents metadata related to the query config, for example LLM - * model and version used, model parameters (temperature, grounding parameters, - * etc.). The prefix "google." is reserved for Google-developed functionality. + * Tenant information for a connector source. This includes some of the same + * information stored in the Credential message, but is limited to only what is + * needed to provide a list of accessible tenants to the user. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant : GTLRObject + +/** Optional display name for the tenant, e.g. "My Slack Team". */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * The tenant's instance ID. Examples: Jira + * ("8594f221-9797-5f78-1fa4-485e198d7cd0"), Slack ("T123456"). * - * @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. + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSessionTurn_QueryConfig : GTLRObject +@property(nonatomic, copy, nullable) NSString *identifier; + +/** + * The URI of the tenant, if applicable. For example, the URI of a Jira + * instance is https://my-jira-instance.atlassian.net, and a Slack tenant does + * not have a URI. + */ +@property(nonatomic, copy, nullable) NSString *uri; + @end /** - * Metadata related to the progress of the - * CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be + * Metadata related to the progress of the TrainCustomModel operation. This is * returned by the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -13307,44 +15239,75 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Response message for CrawlRateManagementService.SetDedicatedCrawlRate - * method. It simply returns the state of the response, and an error message if - * the state is FAILED. + * Response of the TrainCustomModelRequest. This message is returned by the + * google.longrunning.Operations.response field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetDedicatedCrawlRateResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse : GTLRObject -/** Errors from service when handling the request. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleRpcStatus *error; +/** Echoes the destination for the complete errors in the request if set. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; + +/** A sample of errors encountered while processing the data. */ +@property(nonatomic, strong, nullable) NSArray *errorSamples; + +/** The metrics of the trained model. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse_Metrics *metrics; + +/** Fully qualified name of the CustomTuningModel. */ +@property(nonatomic, copy, nullable) NSString *modelName; /** - * Output only. The state of the response. + * The trained model status. Possible values are: * **bad-data**: The training + * data quality is bad. * **no-improvement**: Tuning didn't improve + * performance. Won't deploy. * **in-progress**: Model training job creation is + * in progress. * **training**: Model is actively training. * **evaluating**: + * The model is evaluating trained metrics. * **indexing**: The model trained + * metrics are indexing. * **ready**: The model is ready for serving. + */ +@property(nonatomic, copy, nullable) NSString *modelStatus; + +@end + + +/** + * The metrics of the trained model. * - * 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") + * @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. */ -@property(nonatomic, copy, nullable) NSString *state; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse_Metrics : GTLRObject +@end + + +/** + * Metadata associated with a tune operation. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata : GTLRObject + +/** + * Required. The resource name of the engine that this tune applies to. Format: + * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` + */ +@property(nonatomic, copy, nullable) NSString *engine; @end /** - * Metadata for DataConnectorService.SetUpDataConnector method. + * Response associated with a tune operation. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineResponse : GTLRObject @end /** - * Metadata related to the progress of the - * SiteSearchEngineService.SetUriPatternDocumentData operation. This will be - * returned by the google.longrunning.Operation.metadata field. + * Metadata related to the progress of the CmekConfigService.UpdateCmekConfig + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata : GTLRObject /** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; @@ -13359,1394 +15322,1475 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Response message for SiteSearchEngineService.SetUriPatternDocumentData - * method. + * Metadata related to the progress of the CollectionService.UpdateCollection + * operation. This will be returned by the + * google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata : GTLRObject -/** - * Metadata for single-regional CMEKs. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSingleRegionKey : GTLRObject +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Required. Single-regional kms key resource name which will be used to - * encrypt resources - * `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *kmsKey; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * A sitemap for the SiteSearchEngine. + * Metadata for UpdateSchema LRO. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSitemap : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata : GTLRObject -/** Output only. The sitemap's creation time. */ +/** Operation create time. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The fully qualified resource name of the sitemap. `projects/ * - * /locations/ * /collections/ * /dataStores/ * /siteSearchEngine/sitemaps/ *` - * The `sitemap_id` suffix is system-generated. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. */ -@property(nonatomic, copy, nullable) NSString *uri; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; @end /** - * Verification information for target sites in advanced site search. + * Request for UpdateSession method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest : GTLRObject + +/** Required. The Session to update. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession *session; /** - * Site verification state indicating the ownership and validity. + * 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. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_Exempted - * Site exempt from verification, e.g., a public website that opens to - * all. (Value: "EXEMPTED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_SiteVerificationStateUnspecified - * Defaults to VERIFIED. (Value: "SITE_VERIFICATION_STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_Unverified - * Site ownership pending verification or verification failed. (Value: - * "UNVERIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo_SiteVerificationState_Verified - * Site ownership verified. (Value: "VERIFIED") + * String format is a comma-separated list of fields. */ -@property(nonatomic, copy, nullable) NSString *siteVerificationState; - -/** Latest site verification time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *verifyTime; +@property(nonatomic, copy, nullable) NSString *updateMask; @end /** - * A target site for the SiteSearchEngine. + * Metadata related to the progress of the + * SiteSearchEngineService.UpdateTargetSite operation. This will be returned by + * the google.longrunning.Operation.metadata field. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata : GTLRObject + +/** Operation create time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * 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 - * is a specific one. provided_uri_pattern is always normalized to generate the - * URI pattern to be used by the search engine. - * - * Uses NSNumber of boolValue. + * Operation last update time. If the operation is done, this is also the + * finish time. */ -@property(nonatomic, strong, nullable) NSNumber *exactMatch; +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end -/** Output only. Failure reason. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason *failureReason; /** - * Output only. This is system-generated based on the provided_uri_pattern. + * Information of an end user. */ -@property(nonatomic, copy, nullable) NSString *generatedUriPattern; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo : GTLRObject + +/** Optional. IANA time zone, e.g. Europe/Budapest. */ +@property(nonatomic, copy, nullable) NSString *timeZone; /** - * Output only. Indexing status. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Cancellable - * The target site change is pending but cancellable. (Value: - * "CANCELLABLE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Cancelled - * The target site change is cancelled. (Value: "CANCELLED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Deleting - * The previously indexed target site has been marked to be deleted. This - * is a transitioning state which will resulted in either: 1. target site - * deleted if unindexing is successful; 2. state reverts to SUCCEEDED if - * the unindexing fails. (Value: "DELETING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Failed - * The target site fails to be indexed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_IndexingStatusUnspecified - * Defaults to SUCCEEDED. (Value: "INDEXING_STATUS_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Pending - * The target site is in the update queue and will be picked up by - * indexing pipeline. (Value: "PENDING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_IndexingStatus_Succeeded - * The target site has been indexed. (Value: "SUCCEEDED") + * User agent as included in the HTTP header. The field must be a UTF-8 encoded + * string with a length limit of 1,000 characters. Otherwise, an + * `INVALID_ARGUMENT` error is returned. This should not be set when using the + * client side event reporting with GTM or JavaScript tag in + * UserEventService.CollectUserEvent or if UserEvent.direct_user_request is + * set. + */ +@property(nonatomic, copy, nullable) NSString *userAgent; + +/** + * Highly recommended for logged-in users. Unique identifier for logged-in + * user, such as a user name. Don't set for anonymous users. Always use a + * hashed value for this ID. Don't set the field to the same fixed ID for + * different users. This mixes the event history of those users together, which + * results in degraded model quality. The field must be a UTF-8 encoded string + * with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` + * error is returned. */ -@property(nonatomic, copy, nullable) NSString *indexingStatus; +@property(nonatomic, copy, nullable) NSString *userId; + +@end -/** - * Output only. The fully qualified resource name of the target site. - * `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}` - * The `target_site_id` is system-generated. - */ -@property(nonatomic, copy, nullable) NSString *name; /** - * Required. Input only. The user provided URI pattern from which the - * `generated_uri_pattern` is generated. + * User License information assigned by the admin. */ -@property(nonatomic, copy, nullable) NSString *providedUriPattern; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense : GTLRObject -/** Output only. Root domain of the provided_uri_pattern. */ -@property(nonatomic, copy, nullable) NSString *rootDomainUri; +/** Output only. User created timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; -/** Output only. Site ownership and validity verification status. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo *siteVerificationInfo; +/** + * Output only. User last logged in time. If the user has not logged in yet, + * this field will be empty. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *lastLoginTime; /** - * The type of the target site, e.g., whether the site is to be included or - * excluded. + * Output only. License assignment state of the user. If the user is assigned + * with a license config, the user login will be assigned with the license; If + * the user's license assignment state is unassigned or unspecified, no license + * config will be associated to the user; * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_Exclude - * Exclude the target site. (Value: "EXCLUDE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_Include - * Include the target site. (Value: "INCLUDE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSite_Type_TypeUnspecified - * This value is unused. In this case, server behavior defaults to - * Type.INCLUDE. (Value: "TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Assigned + * License assigned to the user. (Value: "ASSIGNED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Blocked + * User is blocked from assigning a license. (Value: "BLOCKED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified + * Default value. (Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicense + * No license assigned to the user. (Value: "NO_LICENSE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin + * User attempted to login but no license assigned to the user. This + * state is only used for no user first time login attempt but cannot get + * license assigned. Users already logged in but cannot get license + * assigned will be assigned NO_LICENSE state(License could be unassigned + * by admin). (Value: "NO_LICENSE_ATTEMPTED_LOGIN") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Unassigned + * No license assigned to the user. Deprecated, translated to NO_LICENSE. + * (Value: "UNASSIGNED") */ -@property(nonatomic, copy, nullable) NSString *type; - -/** Output only. The target site's last updated time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, copy, nullable) NSString *licenseAssignmentState; /** - * Site search indexing failure reasons. + * Optional. The full resource name of the Subscription(LicenseConfig) assigned + * to the user. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason : GTLRObject - -/** Failed due to insufficient quota. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure *quotaFailure; - -@end +@property(nonatomic, copy, nullable) NSString *licenseConfig; +/** Output only. User update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; /** - * Failed due to insufficient quota. + * Required. Immutable. The user principal of the User, could be email address + * or other prinical identifier. This field is immutable. Admin assign licenses + * based on the user principal. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure : GTLRObject +@property(nonatomic, copy, nullable) NSString *userPrincipal; /** - * This number is an estimation on how much total quota this project needs to - * successfully complete indexing. - * - * Uses NSNumber of longLongValue. + * Optional. The user profile. We user user full name(First name + Last name) + * as user profile. */ -@property(nonatomic, strong, nullable) NSNumber *totalRequiredQuota; +@property(nonatomic, copy, nullable) NSString *userProfile; @end /** - * Tenant information for a connector source. This includes some of the same - * information stored in the Credential message, but is limited to only what is - * needed to provide a list of accessible tenants to the user. + * Config to store data store type configuration for workspace data */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTenant : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig : GTLRObject -/** Optional display name for the tenant, e.g. "My Slack Team". */ -@property(nonatomic, copy, nullable) NSString *displayName; +/** Obfuscated Dasher customer ID. */ +@property(nonatomic, copy, nullable) NSString *dasherCustomerId; /** - * The tenant's instance ID. Examples: Jira - * ("8594f221-9797-5f78-1fa4-485e198d7cd0"), Slack ("T123456"). - * - * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + * Optional. The super admin email address for the workspace that will be used + * for access token generation. For now we only use it for Native Google Drive + * connector data ingestion. */ -@property(nonatomic, copy, nullable) NSString *identifier; +@property(nonatomic, copy, nullable) NSString *superAdminEmailAddress; /** - * The URI of the tenant, if applicable. For example, the URI of a Jira - * instance is https://my-jira-instance.atlassian.net, and a Slack tenant does - * not have a URI. + * Optional. The super admin service account for the workspace that will be + * used for access token generation. For now we only use it for Native Google + * Drive connector data ingestion. */ -@property(nonatomic, copy, nullable) NSString *uri; +@property(nonatomic, copy, nullable) NSString *superAdminServiceAccount; + +/** + * The Google Workspace data source. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleCalendar + * Workspace Data Store contains Calendar data (Value: "GOOGLE_CALENDAR") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleChat + * Workspace Data Store contains Chat data (Value: "GOOGLE_CHAT") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleDrive + * Workspace Data Store contains Drive data (Value: "GOOGLE_DRIVE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleGroups + * Workspace Data Store contains Groups data (Value: "GOOGLE_GROUPS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleKeep + * Workspace Data Store contains Keep data (Value: "GOOGLE_KEEP") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleMail + * Workspace Data Store contains Mail data (Value: "GOOGLE_MAIL") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GooglePeople + * Workspace Data Store contains People data (Value: "GOOGLE_PEOPLE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleSites + * Workspace Data Store contains Sites data (Value: "GOOGLE_SITES") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_TypeUnspecified + * Defaults to an unspecified Workspace type. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; @end /** - * Metadata related to the progress of the TrainCustomModel operation. This is - * returned by the google.longrunning.Operation.metadata field. + * Defines an answer. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer : GTLRObject -/** Operation create time. */ +/** + * Additional answer-skipped reasons. This provides the reason for ignored + * cases. If nothing is skipped, this field is not set. + */ +@property(nonatomic, strong, nullable) NSArray *answerSkippedReasons; + +/** The textual answer. */ +@property(nonatomic, copy, nullable) NSString *answerText; + +/** Citations. */ +@property(nonatomic, strong, nullable) NSArray *citations; + +/** Output only. Answer completed timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *completeTime; + +/** Output only. Answer creation timestamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * 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) GTLRDateTime *updateTime; - -@end +@property(nonatomic, strong, nullable) NSNumber *groundingScore; +/** Optional. Grounding supports. */ +@property(nonatomic, strong, nullable) NSArray *groundingSupports; /** - * Response of the TrainCustomModelRequest. This message is returned by the - * google.longrunning.Operations.response field. + * Immutable. Fully qualified name + * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ + * * /answers/ *` */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse : GTLRObject +@property(nonatomic, copy, nullable) NSString *name; -/** Echoes the destination for the complete errors in the request if set. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaImportErrorConfig *errorConfig; +/** Query understanding information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo *queryUnderstandingInfo; -/** A sample of errors encountered while processing the data. */ -@property(nonatomic, strong, nullable) NSArray *errorSamples; +/** References. */ +@property(nonatomic, strong, nullable) NSArray *references; -/** The metrics of the trained model. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse_Metrics *metrics; +/** Suggested related questions. */ +@property(nonatomic, strong, nullable) NSArray *relatedQuestions; -/** Fully qualified name of the CustomTuningModel. */ -@property(nonatomic, copy, nullable) NSString *modelName; +/** Optional. Safety ratings. */ +@property(nonatomic, strong, nullable) NSArray *safetyRatings; /** - * The trained model status. Possible values are: * **bad-data**: The training - * data quality is bad. * **no-improvement**: Tuning didn't improve - * performance. Won't deploy. * **in-progress**: Model training job creation is - * in progress. * **training**: Model is actively training. * **evaluating**: - * The model is evaluating trained metrics. * **indexing**: The model trained - * metrics are indexing. * **ready**: The model is ready for serving. + * The state of the answer generation. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Failed + * Answer generation currently failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_InProgress + * Answer generation is currently in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified + * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Streaming + * Answer generation is currently in progress. (Value: "STREAMING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Succeeded + * Answer generation has succeeded. (Value: "SUCCEEDED") */ -@property(nonatomic, copy, nullable) NSString *modelStatus; +@property(nonatomic, copy, nullable) NSString *state; + +/** Answer generation steps. */ +@property(nonatomic, strong, nullable) NSArray *steps; @end /** - * The metrics of the trained model. + * Citation info for a segment. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation : GTLRObject + +/** + * End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). + * If there are multi-byte characters,such as non-ASCII characters, the index + * measurement is longer than the string length. * - * @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. + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse_Metrics : GTLRObject -@end +@property(nonatomic, strong, nullable) NSNumber *endIndex; +/** Citation sources for the attributed segment. */ +@property(nonatomic, strong, nullable) NSArray *sources; /** - * Metadata associated with a tune operation. + * Index indicates the start of the segment, measured in bytes (UTF-8 unicode). + * If there are multi-byte characters,such as non-ASCII characters, the index + * measurement is longer than the string length. + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +@end + /** - * Required. The resource name of the engine that this tune applies to. Format: - * `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` + * Citation source. */ -@property(nonatomic, copy, nullable) NSString *engine; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource : GTLRObject + +/** ID of the citation source. */ +@property(nonatomic, copy, nullable) NSString *referenceId; @end /** - * Response associated with a tune operation. + * The specification for answer generation. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaTuneEngineResponse : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGenerationSpec : GTLRObject + +/** Optional. The specification for user specified classifier spec. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec *userDefinedClassifierSpec; + @end /** - * Metadata related to the progress of the CmekConfigService.UpdateCmekConfig - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * The specification for user defined classifier. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec : GTLRObject /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Optional. Whether or not to enable and include user defined classifier. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSNumber *enableUserDefinedClassifier; -@end +/** Optional. The model id to be used for the user defined classifier. */ +@property(nonatomic, copy, nullable) NSString *modelId; +/** Optional. The preamble to be used for the user defined classifier. */ +@property(nonatomic, copy, nullable) NSString *preamble; /** - * Metadata related to the progress of the CollectionService.UpdateCollection - * operation. This will be returned by the - * google.longrunning.Operation.metadata field. + * Optional. The seed value to be used for the user defined classifier. + * + * Uses NSNumber of intValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *seed; -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. The task marker to be used for the user defined classifier. */ +@property(nonatomic, copy, nullable) NSString *taskMarker; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Optional. The temperature value to be used for the user defined classifier. + * + * Uses NSNumber of doubleValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; - -@end - +@property(nonatomic, strong, nullable) NSNumber *temperature; /** - * Metadata for UpdateSchema LRO. + * Optional. The top-k value to be used for the user defined classifier. + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata : GTLRObject - -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +@property(nonatomic, strong, nullable) NSNumber *topK; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Optional. The top-p value to be used for the user defined classifier. + * + * Uses NSNumber of doubleValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSNumber *topP; @end /** - * Request for UpdateSession method. + * Grounding support for a claim in `answer_text`. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest : GTLRObject - -/** Required. The Session to update. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaSession *session; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGroundingSupport : GTLRObject /** - * 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. + * Required. End of the claim, exclusive. * - * String format is a comma-separated list of fields. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -@end +@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; /** - * Metadata related to the progress of the - * SiteSearchEngineService.UpdateTargetSite operation. This will be returned by - * the google.longrunning.Operation.metadata field. + * 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. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *groundingScore; -/** Operation create time. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Optional. Citation sources for the claim. */ +@property(nonatomic, strong, nullable) NSArray *sources; /** - * Operation last update time. If the operation is done, this is also the - * finish time. + * Required. Index indicates the start of the claim, measured in bytes (UTF-8 + * unicode). + * + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@property(nonatomic, strong, nullable) NSNumber *startIndex; @end /** - * Information of an end user. + * Request message for ConversationalSearchService.AnswerQuery method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest : GTLRObject -/** Optional. IANA time zone, e.g. Europe/Budapest. */ -@property(nonatomic, copy, nullable) NSString *timeZone; +/** Answer generation specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec *answerGenerationSpec; /** - * User agent as included in the HTTP header. The field must be a UTF-8 encoded - * string with a length limit of 1,000 characters. Otherwise, an - * `INVALID_ARGUMENT` error is returned. This should not be set when using the - * client side event reporting with GTM or JavaScript tag in - * UserEventService.CollectUserEvent or if UserEvent.direct_user_request is - * set. + * Deprecated: This field is deprecated. Streaming Answer API will be + * supported. Asynchronous mode control. If enabled, the response will be + * returned with answer/session resource name without final answer. The API + * users need to do the polling to get the latest status of answer/session by + * calling ConversationalSearchService.GetAnswer or + * ConversationalSearchService.GetSession method. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *userAgent; +@property(nonatomic, strong, nullable) NSNumber *asynchronousMode GTLR_DEPRECATED; -/** - * Highly recommended for logged-in users. Unique identifier for logged-in - * user, such as a user name. Don't set for anonymous users. Always use a - * hashed value for this ID. Don't set the field to the same fixed ID for - * different users. This mixes the event history of those users together, which - * results in degraded model quality. The field must be a UTF-8 encoded string - * with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` - * error is returned. - */ -@property(nonatomic, copy, nullable) NSString *userId; +/** Optional. End user specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec *endUserSpec; -@end +/** Optional. Grounding specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec *groundingSpec; +/** Required. Current user query. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query *query; -/** - * User License information assigned by the admin. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense : GTLRObject +/** Query understanding specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec *queryUnderstandingSpec; -/** Output only. User created timestamp. */ -@property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** Related questions specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec *relatedQuestionsSpec; + +/** Model specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec *safetySpec; + +/** Search specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec *searchSpec; /** - * Output only. User last logged in time. If the user has not logged in yet, - * this field will be empty. + * The session resource name. Not required. When session field is not set, the + * API is in sessionless mode. We support auto session mode: users can use the + * wildcard symbol `-` as session ID. A new ID will be automatically generated + * and assigned. */ -@property(nonatomic, strong, nullable) GTLRDateTime *lastLoginTime; +@property(nonatomic, copy, nullable) NSString *session; /** - * Output only. License assignment state of the user. If the user is assigned - * with a license config, the user login will be assigned with the license; If - * the user's license assignment state is unassigned or unspecified, no license - * config will be associated to the user; - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Assigned - * License assigned to the user. (Value: "ASSIGNED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified - * Default value. (Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicense - * No license assigned to the user. (Value: "NO_LICENSE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_NoLicenseAttemptedLogin - * User attempted to login but no license assigned to the user. This - * state is only used for no user first time login attempt but cannot get - * license assigned. Users already logged in but cannot get license - * assigned will be assigned NO_LICENSE state(License could be unassigned - * by admin). (Value: "NO_LICENSE_ATTEMPTED_LOGIN") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaUserLicense_LicenseAssignmentState_Unassigned - * No license assigned to the user. Deprecated, translated to NO_LICENSE. - * (Value: "UNASSIGNED") + * 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, copy, nullable) NSString *licenseAssignmentState; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest_UserLabels *userLabels; /** - * Optional. The full resource name of the Subscription(LicenseConfig) assigned - * to the user. + * A unique identifier for tracking visitors. For example, this could be + * implemented with an HTTP cookie, which should be able to uniquely identify a + * visitor on a single device. This unique identifier should not change if the + * visitor logs in or out of the website. This field should NOT have a fixed + * value such as `unknown_visitor`. The field must be a UTF-8 encoded string + * with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` + * error is returned. */ -@property(nonatomic, copy, nullable) NSString *licenseConfig; +@property(nonatomic, copy, nullable) NSString *userPseudoId; -/** Output only. User update timestamp. */ -@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; +@end -/** - * Required. Immutable. The user principal of the User, could be email address - * or other prinical identifier. This field is immutable. Admin assign licenses - * based on the user principal. - */ -@property(nonatomic, copy, nullable) NSString *userPrincipal; /** - * Optional. The user profile. We user user full name(First name + Last name) - * as user profile. + * 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. */ -@property(nonatomic, copy, nullable) NSString *userProfile; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest_UserLabels : GTLRObject @end /** - * Config to store data store type configuration for workspace data + * Answer generation specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig : GTLRObject - -/** Obfuscated Dasher customer ID. */ -@property(nonatomic, copy, nullable) NSString *dasherCustomerId; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec : GTLRObject /** - * Optional. The super admin email address for the workspace that will be used - * for access token generation. For now we only use it for Native Google Drive - * connector data ingestion. + * Language code for Answer. Use language tags defined by + * [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an + * experimental feature. */ -@property(nonatomic, copy, nullable) NSString *superAdminEmailAddress; +@property(nonatomic, copy, nullable) NSString *answerLanguageCode; /** - * Optional. The super admin service account for the workspace that will be - * used for access token generation. For now we only use it for Native Google - * Drive connector data ingestion. + * Specifies whether to filter out adversarial queries. The default value is + * `false`. Google employs search-query classification to detect adversarial + * queries. No answer is returned if the search query is classified as an + * adversarial query. For example, a user might ask a question regarding + * negative comments about the company or submit a query designed to generate + * unsafe, policy-violating output. If this field is set to `true`, we skip + * generating answers for adversarial queries and return fallback messages + * instead. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *superAdminServiceAccount; +@property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; /** - * The Google Workspace data source. + * Optional. Specifies whether to filter out jail-breaking queries. The default + * value is `false`. Google employs search-query classification to detect + * jail-breaking queries. No summary is returned if the search query is + * classified as a jail-breaking query. A user might add instructions to the + * query to change the tone, style, language, content of the answer, or ask the + * model to act as a different entity, e.g. "Reply in the tone of a competing + * company's CEO". If this field is set to `true`, we skip generating summaries + * for jail-breaking queries and return fallback messages instead. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleCalendar - * Workspace Data Store contains Calendar data (Value: "GOOGLE_CALENDAR") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleChat - * Workspace Data Store contains Chat data (Value: "GOOGLE_CHAT") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleDrive - * Workspace Data Store contains Drive data (Value: "GOOGLE_DRIVE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleGroups - * Workspace Data Store contains Groups data (Value: "GOOGLE_GROUPS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleKeep - * Workspace Data Store contains Keep data (Value: "GOOGLE_KEEP") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleMail - * Workspace Data Store contains Mail data (Value: "GOOGLE_MAIL") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GooglePeople - * Workspace Data Store contains People data (Value: "GOOGLE_PEOPLE") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_GoogleSites - * Workspace Data Store contains Sites data (Value: "GOOGLE_SITES") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1alphaWorkspaceConfig_Type_TypeUnspecified - * Defaults to an unspecified Workspace type. (Value: "TYPE_UNSPECIFIED") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *type; - -@end +@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; +/** + * Specifies whether to filter out queries that have low relevance. If this + * field is set to `false`, all search results are used regardless of relevance + * to generate answers. If set to `true` or unset, the behavior will be + * determined automatically by the service. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreLowRelevantContent; /** - * Defines an answer. + * Specifies whether to filter out queries that are not answer-seeking. The + * default value is `false`. Google employs search-query classification to + * detect answer-seeking queries. No answer is returned if the search query is + * classified as a non-answer seeking query. If this field is set to `true`, we + * skip generating answers for non-answer seeking queries and return fallback + * messages instead. + * + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *ignoreNonAnswerSeekingQuery; /** - * Additional answer-skipped reasons. This provides the reason for ignored - * cases. If nothing is skipped, this field is not set. + * Specifies whether to include citation metadata in the answer. The default + * value is `false`. + * + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSArray *answerSkippedReasons; +@property(nonatomic, strong, nullable) NSNumber *includeCitations; -/** The textual answer. */ -@property(nonatomic, copy, nullable) NSString *answerText; +/** Answer generation model specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec *modelSpec; -/** Citations. */ -@property(nonatomic, strong, nullable) NSArray *citations; +/** Answer generation prompt specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec *promptSpec; -/** Output only. Answer completed timestamp. */ -@property(nonatomic, strong, nullable) GTLRDateTime *completeTime; +@end -/** 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. + * Answer Generation Model specification. */ -@property(nonatomic, strong, nullable) NSNumber *groundingScore; - -/** Optional. Grounding supports. */ -@property(nonatomic, strong, nullable) NSArray *groundingSupports; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec : GTLRObject /** - * Immutable. Fully qualified name - * `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/ - * * /answers/ *` + * Model version. If not set, it will use the default stable model. Allowed + * values are: stable, preview. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** Query understanding information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo *queryUnderstandingInfo; - -/** References. */ -@property(nonatomic, strong, nullable) NSArray *references; +@property(nonatomic, copy, nullable) NSString *modelVersion; -/** Suggested related questions. */ -@property(nonatomic, strong, nullable) NSArray *relatedQuestions; +@end -/** Optional. Safety ratings. */ -@property(nonatomic, strong, nullable) NSArray *safetyRatings; /** - * The state of the answer generation. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Failed - * Answer generation currently failed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_InProgress - * Answer generation is currently in progress. (Value: "IN_PROGRESS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_StateUnspecified - * Unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Streaming - * Answer generation is currently in progress. (Value: "STREAMING") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer_State_Succeeded - * Answer generation has succeeded. (Value: "SUCCEEDED") + * Answer generation prompt specification. */ -@property(nonatomic, copy, nullable) NSString *state; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec : GTLRObject -/** Answer generation steps. */ -@property(nonatomic, strong, nullable) NSArray *steps; +/** Customized preamble. */ +@property(nonatomic, copy, nullable) NSString *preamble; @end /** - * Citation info for a segment. + * End user specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitation : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec : GTLRObject + +/** Optional. End user metadata. */ +@property(nonatomic, strong, nullable) NSArray *endUserMetadata; + +@end + /** - * End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). - * If there are multi-byte characters,such as non-ASCII characters, the index - * measurement is longer than the string length. - * - * Uses NSNumber of longLongValue. + * End user metadata. */ -@property(nonatomic, strong, nullable) NSNumber *endIndex; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData : GTLRObject + +/** Chunk information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo *chunkInfo; + +@end -/** Citation sources for the attributed segment. */ -@property(nonatomic, strong, nullable) NSArray *sources; /** - * Index indicates the start of the segment, measured in bytes (UTF-8 unicode). - * If there are multi-byte characters,such as non-ASCII characters, the index - * measurement is longer than the string length. - * - * Uses NSNumber of longLongValue. + * Chunk information. */ -@property(nonatomic, strong, nullable) NSNumber *startIndex; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo : GTLRObject + +/** Chunk textual content. It is limited to 8000 characters. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Metadata of the document from the current chunk. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata *documentMetadata; @end /** - * Citation source. + * Document metadata contains the information of the document of the current + * chunk. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerCitationSource : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata : GTLRObject -/** ID of the citation source. */ -@property(nonatomic, copy, nullable) NSString *referenceId; +/** Title of the document. */ +@property(nonatomic, copy, nullable) NSString *title; @end /** - * The specification for answer generation. + * Grounding specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGenerationSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec : GTLRObject -/** Optional. The specification for user specified classifier spec. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec *userDefinedClassifierSpec; +/** + * Optional. Specifies whether to enable the filtering based on grounding score + * and at what level. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec_FilteringLevel_FilteringLevelHigh + * Filter answers based on a high threshold. (Value: + * "FILTERING_LEVEL_HIGH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec_FilteringLevel_FilteringLevelLow + * Filter answers based on a low threshold. (Value: + * "FILTERING_LEVEL_LOW") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec_FilteringLevel_FilteringLevelUnspecified + * Default is no filter (Value: "FILTERING_LEVEL_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *filteringLevel; + +/** + * Optional. Specifies whether to include grounding_supports in the answer. The + * default value is `false`. When this field is set to `true`, returned answer + * will have `grounding_score` and will contain GroundingSupports for each + * claim. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeGroundingSupports; @end /** - * The specification for user defined classifier. + * Query understanding specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec : GTLRObject /** - * Optional. Whether or not to enable and include user defined classifier. + * Optional. Whether to disable spell correction. The default value is `false`. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *enableUserDefinedClassifier; +@property(nonatomic, strong, nullable) NSNumber *disableSpellCorrection; -/** Optional. The model id to be used for the user defined classifier. */ -@property(nonatomic, copy, nullable) NSString *modelId; +/** Query classification specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec *queryClassificationSpec; + +/** Query rephraser specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec *queryRephraserSpec; + +@end -/** Optional. The preamble to be used for the user defined classifier. */ -@property(nonatomic, copy, nullable) NSString *preamble; /** - * Optional. The seed value to be used for the user defined classifier. - * - * Uses NSNumber of intValue. + * Query classification specification. */ -@property(nonatomic, strong, nullable) NSNumber *seed; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec : GTLRObject + +/** Enabled query classification types. */ +@property(nonatomic, strong, nullable) NSArray *types; + +@end -/** Optional. The task marker to be used for the user defined classifier. */ -@property(nonatomic, copy, nullable) NSString *taskMarker; /** - * Optional. The temperature value to be used for the user defined classifier. - * - * Uses NSNumber of doubleValue. + * Query rephraser specification. */ -@property(nonatomic, strong, nullable) NSNumber *temperature; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec : GTLRObject /** - * Optional. The top-k value to be used for the user defined classifier. + * Disable query rephraser. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *topK; +@property(nonatomic, strong, nullable) NSNumber *disable; /** - * Optional. The top-p value to be used for the user defined classifier. + * Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it + * will be set to 1 by default. * - * Uses NSNumber of doubleValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *topP; +@property(nonatomic, strong, nullable) NSNumber *maxRephraseSteps; + +/** Optional. Query Rephraser Model specification. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec *modelSpec; @end /** - * Grounding support for a claim in `answer_text`. + * Query Rephraser Model specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerGroundingSupport : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec : GTLRObject /** - * Required. End of the claim, exclusive. + * Optional. Enabled query rephraser model type. If not set, it will use LARGE + * by default. * - * Uses NSNumber of longLongValue. + * 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, strong, nullable) NSNumber *endIndex; +@property(nonatomic, copy, nullable) NSString *modelType; + +@end -/** - * 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. + * Related questions specification. */ -@property(nonatomic, strong, nullable) NSNumber *groundingScore; - -/** Optional. Citation sources for the claim. */ -@property(nonatomic, strong, nullable) NSArray *sources; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec : GTLRObject /** - * Required. Index indicates the start of the claim, measured in bytes (UTF-8 - * unicode). + * Enable related questions feature if true. * - * Uses NSNumber of longLongValue. + * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *startIndex; +@property(nonatomic, strong, nullable) NSNumber *enable; @end /** - * Request message for ConversationalSearchService.AnswerQuery method. + * 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_GoogleCloudDiscoveryengineV1AnswerQueryRequest : GTLRObject - -/** Answer generation specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec *answerGenerationSpec; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec : GTLRObject /** - * Deprecated: This field is deprecated. Streaming Answer API will be - * supported. Asynchronous mode control. If enabled, the response will be - * returned with answer/session resource name without final answer. The API - * users need to do the polling to get the latest status of answer/session by - * calling ConversationalSearchService.GetAnswer or - * ConversationalSearchService.GetSession method. + * Enable the safety filtering on the answer response. It is false by default. * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *asynchronousMode GTLR_DEPRECATED; - -/** Optional. End user specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec *endUserSpec; - -/** Optional. Grounding specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec *groundingSpec; - -/** Required. Current user query. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query *query; - -/** Query understanding specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec *queryUnderstandingSpec; +@property(nonatomic, strong, nullable) NSNumber *enable; -/** Related questions specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec *relatedQuestionsSpec; +/** + * Optional. Safety settings. This settings are effective only when the + * safety_spec.enable is true. + */ +@property(nonatomic, strong, nullable) NSArray *safetySettings; -/** Model specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec *safetySpec; +@end -/** Search specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec *searchSpec; /** - * The session resource name. Not required. When session field is not set, the - * API is in sessionless mode. We support auto session mode: users can use the - * wildcard symbol `-` as session ID. A new ID will be automatically generated - * and assigned. + * Safety settings. */ -@property(nonatomic, copy, nullable) NSString *session; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting : GTLRObject /** - * 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. + * 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, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest_UserLabels *userLabels; +@property(nonatomic, copy, nullable) NSString *category; /** - * A unique identifier for tracking visitors. For example, this could be - * implemented with an HTTP cookie, which should be able to uniquely identify a - * visitor on a single device. This unique identifier should not change if the - * visitor logs in or out of the website. This field should NOT have a fixed - * value such as `unknown_visitor`. The field must be a UTF-8 encoded string - * with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` - * error is returned. + * 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 *userPseudoId; +@property(nonatomic, copy, nullable) NSString *threshold; @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. + * Search specification. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequest_UserLabels : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec : GTLRObject + +/** Search parameters. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams *searchParams; + +/** Search result list. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList *searchResultList; + @end /** - * Answer generation specification. + * Search parameters. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams : GTLRObject /** - * Language code for Answer. Use language tags defined by - * [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an - * experimental feature. + * Boost specification to boost certain documents in search results which may + * affect the answer query response. For more information on boosting, see + * [Boosting](https://cloud.google.com/retail/docs/boosting#boost) */ -@property(nonatomic, copy, nullable) NSString *answerLanguageCode; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpec *boostSpec; /** - * Specifies whether to filter out adversarial queries. The default value is - * `false`. Google employs search-query classification to detect adversarial - * queries. No answer is returned if the search query is classified as an - * adversarial query. For example, a user might ask a question regarding - * negative comments about the company or submit a query designed to generate - * unsafe, policy-violating output. If this field is set to `true`, we skip - * generating answers for adversarial queries and return fallback messages - * instead. - * - * Uses NSNumber of boolValue. + * Specs defining dataStores to filter on in a search call and configurations + * for those dataStores. This is only considered for engines with multiple + * dataStores use case. For single dataStore within an engine, they should use + * the specs at the top level. + */ +@property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; + +/** + * The filter syntax consists of an expression language for constructing a + * predicate from one or more fields of the documents being filtered. Filter + * expression is case-sensitive. This will be used to filter search results + * which may affect the Answer response. If this field is unrecognizable, an + * `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by + * mapping the LHS filter key to a key property defined in the Vertex AI Search + * backend -- this mapping is defined by the customer in their schema. For + * example a media customers might have a field 'name' in their schema. In this + * case the filter would look like this: filter --> name:'ANY("king kong")' For + * more information about filtering including syntax and filter operators, see + * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */ -@property(nonatomic, strong, nullable) NSNumber *ignoreAdversarialQuery; +@property(nonatomic, copy, nullable) NSString *filter; /** - * Optional. Specifies whether to filter out jail-breaking queries. The default - * value is `false`. Google employs search-query classification to detect - * jail-breaking queries. No summary is returned if the search query is - * classified as a jail-breaking query. A user might add instructions to the - * query to change the tone, style, language, content of the answer, or ask the - * model to act as a different entity, e.g. "Reply in the tone of a competing - * company's CEO". If this field is set to `true`, we skip generating summaries - * for jail-breaking queries and return fallback messages instead. + * Number of search results to return. The default value is 10. * - * Uses NSNumber of boolValue. + * Uses NSNumber of intValue. */ -@property(nonatomic, strong, nullable) NSNumber *ignoreJailBreakingQuery; +@property(nonatomic, strong, nullable) NSNumber *maxReturnResults; /** - * Specifies whether to filter out queries that have low relevance. If this - * field is set to `false`, all search results are used regardless of relevance - * to generate answers. If set to `true` or unset, the behavior will be - * determined automatically by the service. - * - * Uses NSNumber of boolValue. + * The order in which documents are returned. Documents can be ordered by a + * field in an Document object. Leave it unset if ordered by relevance. + * `order_by` expression is case-sensitive. For more information on ordering, + * see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) + * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */ -@property(nonatomic, strong, nullable) NSNumber *ignoreLowRelevantContent; +@property(nonatomic, copy, nullable) NSString *orderBy; /** - * Specifies whether to filter out queries that are not answer-seeking. The - * default value is `false`. Google employs search-query classification to - * detect answer-seeking queries. No answer is returned if the search query is - * classified as a non-answer seeking query. If this field is set to `true`, we - * skip generating answers for non-answer seeking queries and return fallback - * messages instead. + * Specifies the search result mode. If unspecified, the search result mode + * defaults to `DOCUMENTS`. See [parse and chunk + * documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) * - * Uses NSNumber of boolValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Chunks + * Returns chunks in the search result. Only available if the + * DocumentProcessingConfig.chunking_config is specified. (Value: + * "CHUNKS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Documents + * Returns documents in the search result. (Value: "DOCUMENTS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_SearchResultModeUnspecified + * Default value. (Value: "SEARCH_RESULT_MODE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *ignoreNonAnswerSeekingQuery; +@property(nonatomic, copy, nullable) NSString *searchResultMode; + +@end + /** - * Specifies whether to include citation metadata in the answer. The default - * value is `false`. - * - * Uses NSNumber of boolValue. + * Search result list. */ -@property(nonatomic, strong, nullable) NSNumber *includeCitations; - -/** Answer generation model specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec *modelSpec; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList : GTLRObject -/** Answer generation prompt specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec *promptSpec; +/** Search results. */ +@property(nonatomic, strong, nullable) NSArray *searchResults; @end /** - * Answer Generation Model specification. + * Search result. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult : GTLRObject + +/** Chunk information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo *chunkInfo; + +/** Unstructured document information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo *unstructuredDocumentInfo; + +@end + /** - * Model version. If not set, it will use the default stable model. Allowed - * values are: stable, preview. + * Chunk information. */ -@property(nonatomic, copy, nullable) NSString *modelVersion; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo : GTLRObject + +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; + +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Metadata of the document from the current chunk. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata *documentMetadata; @end /** - * Answer generation prompt specification. + * Document metadata contains the information of the document of the current + * chunk. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata : GTLRObject -/** Customized preamble. */ -@property(nonatomic, copy, nullable) NSString *preamble; +/** Title of the document. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Uri of the document. */ +@property(nonatomic, copy, nullable) NSString *uri; @end /** - * End user specification. + * Unstructured document information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo : GTLRObject -/** Optional. End user metadata. */ -@property(nonatomic, strong, nullable) NSArray *endUserMetadata; +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; + +/** + * List of document contexts. The content will be used for Answer Generation. + * This is supposed to be the main content of the document that can be long and + * comprehensive. + */ +@property(nonatomic, strong, nullable) NSArray *documentContexts; + +/** + * Deprecated: This field is deprecated and will have no effect on the Answer + * generation. Please use document_contexts and extractive_segments fields. + * List of extractive answers. + */ +@property(nonatomic, strong, nullable) NSArray *extractiveAnswers GTLR_DEPRECATED; + +/** List of extractive segments. */ +@property(nonatomic, strong, nullable) NSArray *extractiveSegments; + +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; @end /** - * End user metadata. + * Document context. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaData : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext : GTLRObject -/** Chunk information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo *chunkInfo; +/** Document content to be used for answer generation. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; @end /** - * Chunk information. + * Extractive answer. + * [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#get-answers) */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer : GTLRObject -/** Chunk textual content. It is limited to 8000 characters. */ +/** Extractive answer content. */ @property(nonatomic, copy, nullable) NSString *content; -/** Metadata of the document from the current chunk. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata *documentMetadata; +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; @end /** - * Document metadata contains the information of the document of the current - * chunk. + * Extractive segment. + * [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments) + * Answer generation will only use it if document_contexts is empty. This is + * supposed to be shorter snippets. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestEndUserSpecEndUserMetaDataChunkInfoDocumentMetadata : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment : GTLRObject -/** Title of the document. */ -@property(nonatomic, copy, nullable) NSString *title; +/** Extractive segment content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; @end /** - * Grounding specification. + * Response message for ConversationalSearchService.AnswerQuery method. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse : GTLRObject /** - * Optional. Specifies whether to enable the filtering based on grounding score - * and at what level. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec_FilteringLevel_FilteringLevelHigh - * Filter answers based on a high threshold. (Value: - * "FILTERING_LEVEL_HIGH") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec_FilteringLevel_FilteringLevelLow - * Filter answers based on a low threshold. (Value: - * "FILTERING_LEVEL_LOW") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec_FilteringLevel_FilteringLevelUnspecified - * Default is no filter (Value: "FILTERING_LEVEL_UNSPECIFIED") + * Answer resource object. If + * AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps + * is greater than 1, use Answer.name to fetch answer information using + * ConversationalSearchService.GetAnswer API. */ -@property(nonatomic, copy, nullable) NSString *filteringLevel; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer *answer; + +/** A global unique ID used for logging. */ +@property(nonatomic, copy, nullable) NSString *answerQueryToken; /** - * Optional. Specifies whether to include grounding_supports in the answer. The - * default value is `false`. When this field is set to `true`, returned answer - * will have `grounding_score` and will contain GroundingSupports for each - * claim. - * - * Uses NSNumber of boolValue. + * Session resource object. It will be only available when session field is set + * and valid in the AnswerQueryRequest request. */ -@property(nonatomic, strong, nullable) NSNumber *includeGroundingSupports; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *session; @end /** - * Query understanding specification. + * Query understanding information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo : GTLRObject -/** - * Optional. Whether to disable spell correction. The default value is `false`. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *disableSpellCorrection; +/** Query classification information. */ +@property(nonatomic, strong, nullable) NSArray *queryClassificationInfo; -/** Query classification specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec *queryClassificationSpec; +@end -/** Query rephraser specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec *queryRephraserSpec; -@end +/** + * Query classification information. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo : GTLRObject +/** + * Classification output. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *positive; /** - * Query classification specification. + * Query classification type. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery + * Adversarial query classification type. (Value: "ADVERSARIAL_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_JailBreakingQuery + * Jail-breaking query classification type. (Value: + * "JAIL_BREAKING_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQuery + * Non-answer-seeking query classification type, for chit chat. (Value: + * "NON_ANSWER_SEEKING_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQueryV2 + * Non-answer-seeking query classification type, for no clear intent. + * (Value: "NON_ANSWER_SEEKING_QUERY_V2") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_TypeUnspecified + * Unspecified query classification type. (Value: "TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_UserDefinedClassificationQuery + * User defined query classification type. (Value: + * "USER_DEFINED_CLASSIFICATION_QUERY") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec : GTLRObject - -/** Enabled query classification types. */ -@property(nonatomic, strong, nullable) NSArray *types; +@property(nonatomic, copy, nullable) NSString *type; @end /** - * Query rephraser specification. + * Reference. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference : GTLRObject -/** - * Disable query rephraser. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *disable; +/** Chunk information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo *chunkInfo; -/** - * Max rephrase steps. The max number is 5 steps. If not set or set to < 1, it - * will be set to 1 by default. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maxRephraseSteps; +/** Structured document information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo *structuredDocumentInfo; -/** Optional. Query Rephraser Model specification. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec *modelSpec; +/** Unstructured document information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo *unstructuredDocumentInfo; @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") + * Chunk information. */ -@property(nonatomic, copy, nullable) NSString *modelType; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo : GTLRObject -@end +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; -/** - * Related questions specification. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec : GTLRObject +/** Document metadata. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata *documentMetadata; /** - * Enable related questions feature if true. + * The relevance of the chunk for a given query. Values range from 0.0 + * (completely irrelevant) to 1.0 (completely relevant). This value is for + * informational purpose only. It may change for the same query and chunk at + * any time due to a model retraining or change in implementation. * - * Uses NSNumber of boolValue. + * Uses NSNumber of floatValue. */ -@property(nonatomic, strong, nullable) NSNumber *enable; +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; @end /** - * 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. + * Document metadata. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata : GTLRObject -/** - * Enable the safety filtering on the answer response. It is false by default. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *enable; +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; /** - * Optional. Safety settings. This settings are effective only when the - * safety_spec.enable is true. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. */ -@property(nonatomic, strong, nullable) NSArray *safetySettings; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData *structData; -@end +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; -/** - * Safety settings. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpecSafetySetting : GTLRObject +@end -/** - * 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. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. * - * 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") + * @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 *threshold; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData : GTLRObject @end /** - * Search specification. + * Structured search information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo : GTLRObject -/** Search parameters. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams *searchParams; +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; -/** Search result list. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList *searchResultList; +/** Structured search data. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo_StructData *structData; + +/** Output only. The title of the document. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. The URI of the document. */ +@property(nonatomic, copy, nullable) NSString *uri; @end /** - * Search parameters. + * Structured search data. + * + * @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_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo_StructData : GTLRObject +@end -/** - * Boost specification to boost certain documents in search results which may - * affect the answer query response. For more information on boosting, see - * [Boosting](https://cloud.google.com/retail/docs/boosting#boost) - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestBoostSpec *boostSpec; /** - * Specs defining dataStores to filter on in a search call and configurations - * for those dataStores. This is only considered for engines with multiple - * dataStores use case. For single dataStore within an engine, they should use - * the specs at the top level. + * Unstructured document information. */ -@property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo : GTLRObject -/** - * The filter syntax consists of an expression language for constructing a - * predicate from one or more fields of the documents being filtered. Filter - * expression is case-sensitive. This will be used to filter search results - * which may affect the Answer response. If this field is unrecognizable, an - * `INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by - * mapping the LHS filter key to a key property defined in the Vertex AI Search - * backend -- this mapping is defined by the customer in their schema. For - * example a media customers might have a field 'name' in their schema. In this - * case the filter would look like this: filter --> name:'ANY("king kong")' For - * more information about filtering including syntax and filter operators, see - * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) - */ -@property(nonatomic, copy, nullable) NSString *filter; +/** List of cited chunk contents derived from document content. */ +@property(nonatomic, strong, nullable) NSArray *chunkContents; -/** - * Number of search results to return. The default value is 10. - * - * Uses NSNumber of intValue. - */ -@property(nonatomic, strong, nullable) NSNumber *maxReturnResults; +/** Document resource name. */ +@property(nonatomic, copy, nullable) NSString *document; /** - * The order in which documents are returned. Documents can be ordered by a - * field in an Document object. Leave it unset if ordered by relevance. - * `order_by` expression is case-sensitive. For more information on ordering, - * see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) - * If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData *structData; + +/** Title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** URI for the document. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + /** - * Specifies the search result mode. If unspecified, the search result mode - * defaults to `DOCUMENTS`. See [parse and chunk - * documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) + * The structured JSON metadata for the document. It is populated from the + * struct data from the Chunk in search result. * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Chunks - * Returns chunks in the search result. Only available if the - * DocumentProcessingConfig.chunking_config is specified. (Value: - * "CHUNKS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_Documents - * Returns documents in the search result. (Value: "DOCUMENTS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams_SearchResultMode_SearchResultModeUnspecified - * Default value. (Value: "SEARCH_RESULT_MODE_UNSPECIFIED") + * @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 *searchResultMode; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData : GTLRObject @end /** - * Search result list. + * Chunk content. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent : GTLRObject -/** Search results. */ -@property(nonatomic, strong, nullable) NSArray *searchResults; +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; + +/** + * The relevance of the chunk for a given query. Values range from 0.0 + * (completely irrelevant) to 1.0 (completely relevant). This value is for + * informational purpose only. It may change for the same query and chunk at + * any time due to a model retraining or change in implementation. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; @end /** - * Search result. + * Step information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep : GTLRObject -/** Chunk information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo *chunkInfo; +/** Actions. */ +@property(nonatomic, strong, nullable) NSArray *actions; -/** Unstructured document information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo *unstructuredDocumentInfo; +/** + * The description of the step. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * The state of the step. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Failed + * Step currently failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_InProgress + * Step is currently in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_StateUnspecified + * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded + * Step has succeeded. (Value: "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** The thought of the step. */ +@property(nonatomic, copy, nullable) NSString *thought; @end /** - * Chunk information. + * Action. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo : GTLRObject - -/** Chunk resource name. */ -@property(nonatomic, copy, nullable) NSString *chunk; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction : GTLRObject -/** Chunk textual content. */ -@property(nonatomic, copy, nullable) NSString *content; +/** Observation. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation *observation; -/** Metadata of the document from the current chunk. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata *documentMetadata; +/** Search action. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction *searchAction; @end /** - * Document metadata contains the information of the document of the current - * chunk. + * Observation. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata : GTLRObject - -/** Title of the document. */ -@property(nonatomic, copy, nullable) NSString *title; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation : GTLRObject -/** Uri of the document. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** + * Search results observed by the search action, it can be snippets info or + * chunk info, depending on the citation type set by the user. + */ +@property(nonatomic, strong, nullable) NSArray *searchResults; @end /** - * Unstructured document information. + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult : GTLRObject + +/** + * If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate + * chunk info. + */ +@property(nonatomic, strong, nullable) NSArray *chunkInfo; /** Document resource name. */ @property(nonatomic, copy, nullable) NSString *document; /** - * List of document contexts. The content will be used for Answer Generation. - * This is supposed to be the main content of the document that can be long and - * comprehensive. + * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level + * snippets. */ -@property(nonatomic, strong, nullable) NSArray *documentContexts; +@property(nonatomic, strong, nullable) NSArray *snippetInfo; /** - * Deprecated: This field is deprecated and will have no effect on the Answer - * generation. Please use document_contexts and extractive_segments fields. - * List of extractive answers. + * Data representation. The structured JSON data for the document. It's + * populated from the struct data from the Document, or the Chunk in search + * result. */ -@property(nonatomic, strong, nullable) NSArray *extractiveAnswers GTLR_DEPRECATED; - -/** List of extractive segments. */ -@property(nonatomic, strong, nullable) NSArray *extractiveSegments; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult_StructData *structData; /** Title. */ @property(nonatomic, copy, nullable) NSString *title; @@ -14758,462 +16802,541 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** - * Document context. + * Data representation. The structured JSON data for the document. It's + * populated from the struct data from the Document, or the Chunk in search + * result. + * + * @note This class is documented as having more properties of any valid JSON + * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to + * get the list of properties and then fetch them; or @c + * -additionalProperties to fetch them all at once. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext : GTLRObject - -/** Document content to be used for answer generation. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Page identifier. */ -@property(nonatomic, copy, nullable) NSString *pageIdentifier; - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult_StructData : GTLRObject @end /** - * Extractive answer. - * [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#get-answers) + * Chunk information. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer : GTLRObject - -/** Extractive answer content. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Page identifier. */ -@property(nonatomic, copy, nullable) NSString *pageIdentifier; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo : GTLRObject -@end +/** Chunk resource name. */ +@property(nonatomic, copy, nullable) NSString *chunk; +/** Chunk textual content. */ +@property(nonatomic, copy, nullable) NSString *content; /** - * Extractive segment. - * [Guide](https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments) - * Answer generation will only use it if document_contexts is empty. This is - * supposed to be shorter snippets. + * The relevance of the chunk for a given query. Values range from 0.0 + * (completely irrelevant) to 1.0 (completely relevant). This value is for + * informational purpose only. It may change for the same query and chunk at + * any time due to a model retraining or change in implementation. + * + * Uses NSNumber of floatValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment : GTLRObject - -/** Extractive segment content. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Page identifier. */ -@property(nonatomic, copy, nullable) NSString *pageIdentifier; +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; @end /** - * Response message for ConversationalSearchService.AnswerQuery method. - */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryResponse : GTLRObject - -/** - * Answer resource object. If - * AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_steps - * is greater than 1, use Answer.name to fetch answer information using - * ConversationalSearchService.GetAnswer API. + * Snippet information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Answer *answer; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo : GTLRObject -/** A global unique ID used for logging. */ -@property(nonatomic, copy, nullable) NSString *answerQueryToken; +/** Snippet content. */ +@property(nonatomic, copy, nullable) NSString *snippet; -/** - * Session resource object. It will be only available when session field is set - * and valid in the AnswerQueryRequest request. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Session *session; +/** Status of the snippet defined by the search team. */ +@property(nonatomic, copy, nullable) NSString *snippetStatus; @end /** - * Query understanding information. + * Search action. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction : GTLRObject -/** Query classification information. */ -@property(nonatomic, strong, nullable) NSArray *queryClassificationInfo; +/** The query to search. */ +@property(nonatomic, copy, nullable) NSString *query; @end /** - * Query classification information. + * AssistAnswer resource, main part of AssistResponse. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer : GTLRObject + +/** Reasons for not answering the assist call. */ +@property(nonatomic, strong, nullable) NSArray *assistSkippedReasons; /** - * Classification output. - * - * Uses NSNumber of boolValue. + * Immutable. Identifier. Resource name of the `AssistAnswer`. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` + * This field must be a UTF-8 encoded string with a length limit of 1024 + * characters. */ -@property(nonatomic, strong, nullable) NSNumber *positive; +@property(nonatomic, copy, nullable) NSString *name; + +/** Replies of the assistant. */ +@property(nonatomic, strong, nullable) NSArray *replies; /** - * Query classification type. + * State of the answer generation. * * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_AdversarialQuery - * Adversarial query classification type. (Value: "ADVERSARIAL_QUERY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_JailBreakingQuery - * Jail-breaking query classification type. (Value: - * "JAIL_BREAKING_QUERY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQuery - * Non-answer-seeking query classification type, for chit chat. (Value: - * "NON_ANSWER_SEEKING_QUERY") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_NonAnswerSeekingQueryV2 - * Non-answer-seeking query classification type, for no clear intent. - * (Value: "NON_ANSWER_SEEKING_QUERY_V2") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_TypeUnspecified - * Unspecified query classification type. (Value: "TYPE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo_Type_UserDefinedClassificationQuery - * User defined query classification type. (Value: - * "USER_DEFINED_CLASSIFICATION_QUERY") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Failed + * Assist operation has failed. (Value: "FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_InProgress + * Assist operation is currently in progress. (Value: "IN_PROGRESS") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Skipped + * Assist operation has been skipped. (Value: "SKIPPED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_StateUnspecified + * Unknown. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer_State_Succeeded + * Assist operation has succeeded. (Value: "SUCCEEDED") */ -@property(nonatomic, copy, nullable) NSString *type; +@property(nonatomic, copy, nullable) NSString *state; @end /** - * Reference. + * One part of the multi-part response of the assist call. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReference : GTLRObject - -/** Chunk information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo *chunkInfo; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswerReply : GTLRObject -/** Structured document information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo *structuredDocumentInfo; - -/** Unstructured document information. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo *unstructuredDocumentInfo; +/** Possibly grounded response text or media from the assistant. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent *groundedContent; @end /** - * Chunk information. + * Discovery Engine Assistant resource. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant : GTLRObject -/** Chunk resource name. */ -@property(nonatomic, copy, nullable) NSString *chunk; +/** Optional. Customer policy for the assistant. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy *customerPolicy; -/** Chunk textual content. */ -@property(nonatomic, copy, nullable) NSString *content; +/** + * Optional. Note: not implemented yet. Use enabled_actions instead. The + * enabled tools on this assistant. The keys are connector name, for example + * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector + * The values consist of admin enabled tools towards the connector instance. + * Admin can selectively enable multiple tools on any of the connector + * instances that they created in the project. For example + * {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, + * "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools *enabledTools; -/** Document metadata. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata *documentMetadata; +/** Optional. Configuration for the generation of the assistant response. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig *generationConfig; /** - * The relevance of the chunk for a given query. Values range from 0.0 - * (completely irrelevant) to 1.0 (completely relevant). This value is for - * informational purpose only. It may change for the same query and chunk at - * any time due to a model retraining or change in implementation. + * Immutable. Resource name of the assistant. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + * It must be a UTF-8 encoded string with a length limit of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. The type of web grounding to use. * - * Uses NSNumber of floatValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeDisabled + * Web grounding is disabled. (Value: "WEB_GROUNDING_TYPE_DISABLED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeEnterpriseWebSearch + * Grounding with Enterprise Web Search is enabled. (Value: + * "WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeGoogleSearch + * Grounding with Google Search is enabled. (Value: + * "WEB_GROUNDING_TYPE_GOOGLE_SEARCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_WebGroundingType_WebGroundingTypeUnspecified + * Default, unspecified setting. This is the same as disabled. (Value: + * "WEB_GROUNDING_TYPE_UNSPECIFIED") */ -@property(nonatomic, strong, nullable) NSNumber *relevanceScore; +@property(nonatomic, copy, nullable) NSString *webGroundingType; @end /** - * Document metadata. + * Optional. Note: not implemented yet. Use enabled_actions instead. The + * enabled tools on this assistant. The keys are connector name, for example + * "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector + * The values consist of admin enabled tools towards the connector instance. + * Admin can selectively enable multiple tools on any of the connector + * instances that they created in the project. For example + * {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, + * "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } + * + * @note This class is documented as having more properties of + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList. 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_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata : GTLRObject - -/** Document resource name. */ -@property(nonatomic, copy, nullable) NSString *document; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant_EnabledTools : GTLRObject +@end -/** Page identifier. */ -@property(nonatomic, copy, nullable) NSString *pageIdentifier; /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. + * Multi-modal content. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData *structData; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent : GTLRObject -/** Title. */ -@property(nonatomic, copy, nullable) NSString *title; +/** Result of executing an ExecutableCode. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult *codeExecutionResult; -/** URI for the document. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** Code generated by the model that is meant to be executed. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentExecutableCode *executableCode; -@end +/** A file, e.g., an audio summary. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentFile *file; + +/** Inline binary data. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentBlob *inlineData; +/** The producer of the content. Can be "model" or "user". */ +@property(nonatomic, copy, nullable) NSString *role; + +/** Inline text. */ +@property(nonatomic, copy, nullable) NSString *text; /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. + * Optional. Indicates if the part is thought from the model. * - * @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. + * Uses NSNumber of boolValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata_StructData : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *thought; + @end /** - * Structured search information. + * Inline blob. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo : GTLRObject - -/** Document resource name. */ -@property(nonatomic, copy, nullable) NSString *document; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentBlob : GTLRObject -/** Structured search data. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo_StructData *structData; - -/** Output only. The title of the document. */ -@property(nonatomic, copy, nullable) NSString *title; +/** + * Required. Raw bytes. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *data; -/** Output only. The URI of the document. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** Required. The media type (MIME type) of the generated data. */ +@property(nonatomic, copy, nullable) NSString *mimeType; @end /** - * Structured search data. + * Result of executing ExecutableCode. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult : GTLRObject + +/** + * Required. Outcome of the code execution. * - * @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. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeDeadlineExceeded + * Code execution ran for too long, and was cancelled. There may or may + * not be a partial output present. (Value: "OUTCOME_DEADLINE_EXCEEDED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeFailed + * Code execution finished but with a failure. `stderr` should contain + * the reason. (Value: "OUTCOME_FAILED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeOk + * Code execution completed successfully. (Value: "OUTCOME_OK") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentCodeExecutionResult_Outcome_OutcomeUnspecified + * Unspecified status. This value should not be used. (Value: + * "OUTCOME_UNSPECIFIED") */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo_StructData : GTLRObject +@property(nonatomic, copy, nullable) NSString *outcome; + +/** + * Optional. Contains stdout when code execution is successful, stderr or other + * description otherwise. + */ +@property(nonatomic, copy, nullable) NSString *output; + @end /** - * Unstructured document information. + * Code generated by the model that is meant to be executed by the model. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentExecutableCode : GTLRObject -/** List of cited chunk contents derived from document content. */ -@property(nonatomic, strong, nullable) NSArray *chunkContents; +/** Required. The code content. Currently only supports Python. */ +@property(nonatomic, copy, nullable) NSString *code; + +@end -/** Document resource name. */ -@property(nonatomic, copy, nullable) NSString *document; /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. + * A file, e.g., an audio summary. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData *structData; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContentFile : GTLRObject -/** Title. */ -@property(nonatomic, copy, nullable) NSString *title; +/** Required. The file ID. */ +@property(nonatomic, copy, nullable) NSString *fileId; -/** URI for the document. */ -@property(nonatomic, copy, nullable) NSString *uri; +/** Required. The media type (MIME type) of the file. */ +@property(nonatomic, copy, nullable) NSString *mimeType; @end /** - * The structured JSON metadata for the document. It is populated from the - * struct data from the Chunk in search result. - * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Customer-defined policy for the assistant. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo_StructData : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicy : GTLRObject + +/** Optional. List of banned phrases. */ +@property(nonatomic, strong, nullable) NSArray *bannedPhrases; + @end /** - * Chunk content. + * Definition of a customer-defined banned phrase. A banned phrase is not + * allowed to appear in the user query or the LLM response, or else the answer + * will be refused. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase : GTLRObject -/** Chunk textual content. */ -@property(nonatomic, copy, nullable) NSString *content; - -/** Page identifier. */ -@property(nonatomic, copy, nullable) NSString *pageIdentifier; +/** + * Optional. If true, diacritical marks (e.g., accents, umlauts) are ignored + * when matching banned phrases. For example, "cafe" would match "café". + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ignoreDiacritics; /** - * The relevance of the chunk for a given query. Values range from 0.0 - * (completely irrelevant) to 1.0 (completely relevant). This value is for - * informational purpose only. It may change for the same query and chunk at - * any time due to a model retraining or change in implementation. + * Optional. Match type for the banned phrase. * - * Uses NSNumber of floatValue. + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_BannedPhraseMatchTypeUnspecified + * Defaults to SIMPLE_STRING_MATCH. (Value: + * "BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_SimpleStringMatch + * The banned phrase matches if it is found anywhere in the text as an + * exact substring. (Value: "SIMPLE_STRING_MATCH") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase_MatchType_WordBoundaryStringMatch + * Banned phrase only matches if the pattern found in the text is + * surrounded by word delimiters. The phrase itself may still contain + * word delimiters. (Value: "WORD_BOUNDARY_STRING_MATCH") */ -@property(nonatomic, strong, nullable) NSNumber *relevanceScore; +@property(nonatomic, copy, nullable) NSString *matchType; + +/** Required. The raw string content to be banned. */ +@property(nonatomic, copy, nullable) NSString *phrase; @end /** - * Step information. + * Configuration for the generation of the assistant response. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfig : GTLRObject -/** Actions. */ -@property(nonatomic, strong, nullable) NSArray *actions; +/** + * The default language to use for the generation of the assistant response. + * Use an ISO 639-1 language code such as `en`. If not specified, the language + * will be automatically detected. + */ +@property(nonatomic, copy, nullable) NSString *defaultLanguage; /** - * The description of the step. - * - * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + * System instruction, also known as the prompt preamble for LLM calls. See + * also + * https://cloud.google.com/vertex-ai/generative-ai/docs/learn/prompts/system-instructions */ -@property(nonatomic, copy, nullable) NSString *descriptionProperty; +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction *systemInstruction; + +@end + /** - * The state of the step. - * - * Likely values: - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Failed - * Step currently failed. (Value: "FAILED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_InProgress - * Step is currently in progress. (Value: "IN_PROGRESS") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_StateUnspecified - * Unknown. (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStep_State_Succeeded - * Step has succeeded. (Value: "SUCCEEDED") + * System instruction, also known as the prompt preamble for LLM calls. */ -@property(nonatomic, copy, nullable) NSString *state; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction : GTLRObject -/** The thought of the step. */ -@property(nonatomic, copy, nullable) NSString *thought; +/** + * Optional. Additional system instruction that will be added to the default + * system instruction. + */ +@property(nonatomic, copy, nullable) NSString *additionalSystemInstruction; @end /** - * Action. + * A piece of content and possibly its grounding information. Not all content + * needs grounding. Phrases like "Of course, I will gladly search it for you." + * do not need grounding. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepAction : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContent : GTLRObject -/** Observation. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation *observation; +/** The content. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantContent *content; -/** Search action. */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction *searchAction; +/** Metadata for grounding based on text sources. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata *textGroundingMetadata; @end /** - * Observation. + * Grounding details for text sources. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservation : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadata : GTLRObject -/** - * Search results observed by the search action, it can be snippets info or - * chunk info, depending on the citation type set by the user. - */ -@property(nonatomic, strong, nullable) NSArray *searchResults; +/** References for the grounded text. */ +@property(nonatomic, strong, nullable) NSArray *references; + +/** Grounding information for parts of the text. */ +@property(nonatomic, strong, nullable) NSArray *segments; @end /** - * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult + * Referenced content and related document metadata. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReference : GTLRObject + +/** Referenced text content. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** Document metadata. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata *documentMetadata; + +@end + /** - * If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate - * chunk info. + * Document metadata. */ -@property(nonatomic, strong, nullable) NSArray *chunkInfo; +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata : GTLRObject /** Document resource name. */ @property(nonatomic, copy, nullable) NSString *document; /** - * If citation_type is DOCUMENT_LEVEL_CITATION, populate document level - * snippets. + * Domain name from the document URI. Note that the `uri` field may contain a + * URL that redirects to the actual website, in which case this will contain + * the domain name of the target site. */ -@property(nonatomic, strong, nullable) NSArray *snippetInfo; +@property(nonatomic, copy, nullable) NSString *domain; -/** - * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document, or the Chunk in search - * result. - */ -@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult_StructData *structData; +/** Page identifier. */ +@property(nonatomic, copy, nullable) NSString *pageIdentifier; /** Title. */ @property(nonatomic, copy, nullable) NSString *title; -/** URI for the document. */ +/** + * URI for the document. It may contain a URL that redirects to the actual + * website. + */ @property(nonatomic, copy, nullable) NSString *uri; @end /** - * Data representation. The structured JSON data for the document. It's - * populated from the struct data from the Document, or the Chunk in search - * result. - * - * @note This class is documented as having more properties of any valid JSON - * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to - * get the list of properties and then fetch them; or @c - * -additionalProperties to fetch them all at once. + * Grounding information for a segment of the text. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult_StructData : GTLRObject -@end - +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantGroundedContentTextGroundingMetadataSegment : GTLRObject /** - * Chunk information. + * End of the segment, exclusive. + * + * Uses NSNumber of longLongValue. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo : GTLRObject +@property(nonatomic, strong, nullable) NSNumber *endIndex; -/** Chunk resource name. */ -@property(nonatomic, copy, nullable) NSString *chunk; +/** + * Score for the segment. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *groundingScore; -/** Chunk textual content. */ -@property(nonatomic, copy, nullable) NSString *content; +/** + * References for the segment. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *referenceIndices; /** - * The relevance of the chunk for a given query. Values range from 0.0 - * (completely irrelevant) to 1.0 (completely relevant). This value is for - * informational purpose only. It may change for the same query and chunk at - * any time due to a model retraining or change in implementation. + * Zero-based index indicating the start of the segment, measured in bytes of a + * UTF-8 string (i.e. characters encoded on multiple bytes have a length of + * more than one). * - * Uses NSNumber of floatValue. + * Uses NSNumber of longLongValue. */ -@property(nonatomic, strong, nullable) NSNumber *relevanceScore; +@property(nonatomic, strong, nullable) NSNumber *startIndex; + +/** The text segment itself. */ +@property(nonatomic, copy, nullable) NSString *text; @end /** - * Snippet information. + * Information to identify a tool. */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolInfo : GTLRObject -/** Snippet content. */ -@property(nonatomic, copy, nullable) NSString *snippet; +/** The display name of the tool. */ +@property(nonatomic, copy, nullable) NSString *toolDisplayName; -/** Status of the snippet defined by the search team. */ -@property(nonatomic, copy, nullable) NSString *snippetStatus; +/** + * The name of the tool as defined by + * DataConnectorService.QueryAvailableActions. Note: it's using `action` in the + * DataConnectorService apis, but they are the same as the `tool` here. + */ +@property(nonatomic, copy, nullable) NSString *toolName; @end /** - * Search action. + * The enabled tools on a connector */ -@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction : GTLRObject +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistantToolList : GTLRObject -/** The query to search. */ -@property(nonatomic, copy, nullable) NSString *query; +/** The list of tools with corresponding tool information. */ +@property(nonatomic, strong, nullable) NSArray *toolInfo; + +@end + + +/** + * User metadata of the request. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistUserMetadata : GTLRObject + +/** + * Optional. Preferred language to be used for answering if language detection + * fails. Also used as the language of error messages created by actions, + * regardless of language detection results. + */ +@property(nonatomic, copy, nullable) NSString *preferredLanguageCode; + +/** Optional. IANA time zone, e.g. Europe/Budapest. */ +@property(nonatomic, copy, nullable) NSString *timeZone; @end @@ -15534,14 +17657,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) NSNumber *isDefault; /** - * KMS key resource name which will be used to encrypt resources + * Required. 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; /** - * KMS key version resource name which will be used to encrypt resources - * `/cryptoKeyVersions/{keyVersion}`. + * Output only. KMS key version resource name which will be used to encrypt + * resources `/cryptoKeyVersions/{keyVersion}`. */ @property(nonatomic, copy, nullable) NSString *kmsKeyVersion; @@ -16581,6 +18704,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig : GTLRObject +/** + * Optional. If true, the processed document will be made available for the + * GetProcessedDocument API. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableGetProcessedDocument; + /** * Optional. If true, the LLM based annotation is added to the image during * parsing. @@ -16717,7 +18848,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * * `people-search-org-chart` * `bi-directional-audio` * `feedback` * - * `session-sharing` + * `session-sharing` * `personalization-memory` - Enables personalization based + * on user preferences. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaEngine_Features *features; @@ -16795,7 +18927,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * * `people-search-org-chart` * `bi-directional-audio` * `feedback` * - * `session-sharing` + * `session-sharing` * `personalization-memory` - Enables personalization based + * on user preferences. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -18188,8 +20321,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, copy, nullable) NSString *languageCode; /** - * If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional - * natural language query understanding will be done. + * Config for natural language query understanding capabilities, such as + * extracting structured field filters from the query. Refer to [this + * documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) + * for more information. If `naturalLanguageQueryUnderstandingSpec` is not + * specified, no additional natural language query understanding will be done. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec *naturalLanguageQueryUnderstandingSpec; @@ -18323,6 +20459,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * from a user's perspective. A higher pCTR suggests that the result is more * likely to satisfy the user's query and intent, making it a valuable signal * for ranking. * `freshness_rank`: freshness adjustment as a rank * + * `document_age`: The time in hours elapsed since the document was last + * updated, a floating-point number (e.g., 0.25 means 15 minutes). * * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google * model to determine the keyword-based overlap between the query and the * document. * `base_rank`: the default rank of the result @@ -18411,21 +20549,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * The session resource name. Optional. Session allows users to do multi-turn * /search API calls or coordination between /search API calls and /answer API - * calls. Example #1 (multi-turn /search API calls): 1. Call /search API with - * the auto-session mode (see below). 2. Call /search API with the session ID - * generated in the first call. Here, the previous search query gets considered - * in query standing. I.e., if the first query is "How did Alphabet do in - * 2022?" and the current query is "How about 2023?", the current query will be - * interpreted as "How did Alphabet do in 2023?". Example #2 (coordination - * between /search API calls and /answer API calls): 1. Call /search API with - * the auto-session mode (see below). 2. Call /answer API with the session ID - * generated in the first call. Here, the answer generation happens in the - * context of the search results from the first search call. Auto-session mode: - * when `projects/.../sessions/-` is used, a new session gets automatically - * created. Otherwise, users can use the create-session API to create a session - * manually. Multi-turn Search feature is currently at private GA stage. Please - * use v1alpha or v1beta version instead before we launch this feature to - * public GA. Or ask for allowlisting through Google Support team. + * calls. Example #1 (multi-turn /search API calls): Call /search API with the + * session ID generated in the first call. Here, the previous search query gets + * considered in query standing. I.e., if the first query is "How did Alphabet + * do in 2022?" and the current query is "How about 2023?", the current query + * will be interpreted as "How did Alphabet do in 2023?". Example #2 + * (coordination between /search API calls and /answer API calls): Call /answer + * API with the session ID generated in the first call. Here, the answer + * generation happens in the context of the search results from the first + * search call. Multi-turn Search feature is currently at private GA stage. + * Please use v1alpha or v1beta version instead before we launch this feature + * to public GA. Or ask for allowlisting through Google Support team. */ @property(nonatomic, copy, nullable) NSString *session; @@ -19042,6 +21176,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * The path must include the project number, project id is not supported for + * this field. */ @property(nonatomic, copy, nullable) NSString *dataStore; @@ -19262,6 +21398,33 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec : GTLRObject +/** + * Optional. Controls behavior of how extracted filters are applied to the + * search. The default behavior depends on the request. For single datastore + * structured search, the default is `HARD_FILTER`. For multi-datastore search, + * the default behavior is `SOFT_BOOST`. Location-based filters are always + * applied as hard filters, and the `SOFT_BOOST` setting will not affect them. + * This field is only used if + * SearchRequest.natural_language_query_understanding_spec.filter_extraction_condition + * is set to FilterExtractionCondition.ENABLED. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_ExtractedFilterBehaviorUnspecified + * `EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior + * for extracted filters. For single datastore search, the default is to + * apply as hard filters. For multi-datastore search, the default is to + * apply as soft boosts. (Value: "EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_HardFilter + * Applies all extracted filters as hard filters on the results. Results + * that do not pass the extracted filters will not be returned in the + * result set. (Value: "HARD_FILTER") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec_ExtractedFilterBehavior_SoftBoost + * Applies all extracted filters as soft boosts. Results that pass the + * filters will be boosted up to higher ranks in the result set. (Value: + * "SOFT_BOOST") + */ +@property(nonatomic, copy, nullable) NSString *extractedFilterBehavior; + /** * The condition under which filter extraction should occur. Server behavior * defaults to `DISABLED`. @@ -19852,6 +22015,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Assigned * License assigned to the user. (Value: "ASSIGNED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_Blocked + * User is blocked from assigning a license. (Value: "BLOCKED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified * Default value. (Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1betaUserLicense_LicenseAssignmentState_NoLicense @@ -20514,6 +22679,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ChunkDocumentMetadata : GTLRObject +/** + * The mime type of the document. + * https://www.iana.org/assignments/media-types/media-types.xhtml. + */ +@property(nonatomic, copy, nullable) NSString *mimeType; + /** * Data representation. The structured JSON data for the document. It should * conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. @@ -20654,14 +22825,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @property(nonatomic, strong, nullable) NSNumber *isDefault; /** - * KMS key resource name which will be used to encrypt resources + * Required. 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; /** - * KMS key version resource name which will be used to encrypt resources - * `/cryptoKeyVersions/{keyVersion}`. + * Output only. KMS key version resource name which will be used to encrypt + * resources `/cryptoKeyVersions/{keyVersion}`. */ @property(nonatomic, copy, nullable) NSString *kmsKeyVersion; @@ -22369,6 +24540,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig : GTLRObject +/** + * Optional. If true, the processed document will be made available for the + * GetProcessedDocument API. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enableGetProcessedDocument; + /** * Optional. If true, the LLM based annotation is added to the image during * parsing. @@ -22527,7 +24706,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * * `people-search-org-chart` * `bi-directional-audio` * `feedback` * - * `session-sharing` + * `session-sharing` * `personalization-memory` - Enables personalization based + * on user preferences. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Engine_Features *features; @@ -22605,7 +24785,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * * `people-search-org-chart` * `bi-directional-audio` * `feedback` * - * `session-sharing` + * `session-sharing` * `personalization-memory` - Enables personalization based + * on user preferences. * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -23437,7 +25618,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. * BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an * INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * - * FirestoreSource. * BigtableSource. + * BigtableSource. */ @property(nonatomic, copy, nullable) NSString *idField; @@ -24353,6 +26534,25 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, copy, nullable) NSString *dataUseTermsVersion; +/** Optional. Parameters for Agentspace. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams *saasParams; + +@end + + +/** + * Parameters for Agentspace. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams : GTLRObject + +/** + * Optional. Set to `true` to specify that caller has read and would like to + * give consent to the [Terms for Agent Space quality of service]. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *acceptBizQos; + @end @@ -24730,7 +26930,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** The query to use. */ @property(nonatomic, copy, nullable) NSString *query; -/** Required. A list of records to rank. At most 200 records to rank. */ +/** Required. A list of records to rank. */ @property(nonatomic, strong, nullable) NSArray *records; /** @@ -25398,6 +27598,88 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec *queryExpansionSpec; +/** + * Optional. The ranking expression controls the customized ranking on + * retrieval documents. This overrides ServingConfig.ranking_expression. The + * syntax and supported features depend on the `ranking_expression_backend` + * value. If `ranking_expression_backend` is not provided, it defaults to + * `RANK_BY_EMBEDDING`. If ranking_expression_backend is not provided or set to + * `RANK_BY_EMBEDDING`, it should be 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)`. If ranking_expression_backend is set to + * `RANK_BY_FORMULA`, the following expression types (and combinations of those + * chained using + or * operators) are supported: * `double` * `signal` * + * `log(signal)` * `exp(signal)` * `rr(signal, double > 0)` -- reciprocal rank + * transformation with second argument being a denominator constant. * + * `is_nan(signal)` -- returns 0 if signal is NaN, 1 otherwise. * + * `fill_nan(signal1, signal2 | double)` -- if signal1 is NaN, returns signal2 + * | double, else returns signal1. Here are a few examples of ranking formulas + * that use the supported ranking expression types: - `0.2 * + * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` -- mostly + * rank by the logarithm of `keyword_similarity_score` with slight + * `semantic_smilarity_score` adjustment. - `0.2 * + * exp(fill_nan(semantic_similarity_score, 0)) + 0.3 * + * is_nan(keyword_similarity_score)` -- rank by the exponent of + * `semantic_similarity_score` filling the value with 0 if it's NaN, also add + * constant 0.3 adjustment to the final score if `semantic_similarity_score` is + * NaN. - `0.2 * rr(semantic_similarity_score, 16) + 0.8 * + * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank of + * `keyword_similarity_score` with slight adjustment of reciprocal rank of + * `semantic_smilarity_score`. The following signals are supported: * + * `semantic_similarity_score`: semantic similarity adjustment that is + * calculated using the embeddings generated by a proprietary Google model. + * This score determines how semantically similar a search query is to a + * document. * `keyword_similarity_score`: keyword match adjustment uses the + * Best Match 25 (BM25) ranking function. This score is calculated using a + * probabilistic model to estimate the probability that a document is relevant + * to a given query. * `relevance_score`: semantic relevance adjustment that + * uses a proprietary Google model to determine the meaning and intent behind a + * user's query in context with the content in the documents. * `pctr_rank`: + * predicted conversion rate adjustment as a rank use predicted Click-through + * rate (pCTR) to gauge the relevance and attractiveness of a search result + * from a user's perspective. A higher pCTR suggests that the result is more + * likely to satisfy the user's query and intent, making it a valuable signal + * for ranking. * `freshness_rank`: freshness adjustment as a rank * + * `document_age`: The time in hours elapsed since the document was last + * updated, a floating-point number (e.g., 0.25 means 15 minutes). * + * `topicality_rank`: topicality adjustment as a rank. Uses proprietary Google + * model to determine the keyword-based overlap between the query and the + * document. * `base_rank`: the default rank of the result + */ +@property(nonatomic, copy, nullable) NSString *rankingExpression; + +/** + * Optional. The backend to use for the ranking expression evaluation. + * + * Likely values: + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Byoe + * Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom + * embedding model, the default way to evaluate the ranking expression. + * Legacy enum option, `RANK_BY_EMBEDDING` should be used instead. + * (Value: "BYOE") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_Clearbox + * Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. + * Legacy enum option, `RANK_BY_FORMULA` should be used instead. (Value: + * "CLEARBOX") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByEmbedding + * Ranking by custom embedding model, the default way to evaluate the + * ranking expression. (Value: "RANK_BY_EMBEDDING") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankByFormula + * Ranking by custom formula. (Value: "RANK_BY_FORMULA") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequest_RankingExpressionBackend_RankingExpressionBackendUnspecified + * Default option for unspecified/unknown values. (Value: + * "RANKING_EXPRESSION_BACKEND_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *rankingExpressionBackend; + /** Optional. The specification for returning the relevance score. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec *relevanceScoreSpec; @@ -25438,21 +27720,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * The session resource name. Optional. Session allows users to do multi-turn * /search API calls or coordination between /search API calls and /answer API - * calls. Example #1 (multi-turn /search API calls): 1. Call /search API with - * the auto-session mode (see below). 2. Call /search API with the session ID - * generated in the first call. Here, the previous search query gets considered - * in query standing. I.e., if the first query is "How did Alphabet do in - * 2022?" and the current query is "How about 2023?", the current query will be - * interpreted as "How did Alphabet do in 2023?". Example #2 (coordination - * between /search API calls and /answer API calls): 1. Call /search API with - * the auto-session mode (see below). 2. Call /answer API with the session ID - * generated in the first call. Here, the answer generation happens in the - * context of the search results from the first search call. Auto-session mode: - * when `projects/.../sessions/-` is used, a new session gets automatically - * created. Otherwise, users can use the create-session API to create a session - * manually. Multi-turn Search feature is currently at private GA stage. Please - * use v1alpha or v1beta version instead before we launch this feature to - * public GA. Or ask for allowlisting through Google Support team. + * calls. Example #1 (multi-turn /search API calls): Call /search API with the + * session ID generated in the first call. Here, the previous search query gets + * considered in query standing. I.e., if the first query is "How did Alphabet + * do in 2022?" and the current query is "How about 2023?", the current query + * will be interpreted as "How did Alphabet do in 2023?". Example #2 + * (coordination between /search API calls and /answer API calls): Call /answer + * API with the session ID generated in the first call. Here, the answer + * generation happens in the context of the search results from the first + * search call. Multi-turn Search feature is currently at private GA stage. + * Please use v1alpha or v1beta version instead before we launch this feature + * to public GA. Or ask for allowlisting through Google Support team. */ @property(nonatomic, copy, nullable) NSString *session; @@ -26039,6 +28317,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** * Required. Full resource name of DataStore, such as * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. + * The path must include the project number, project id is not supported for + * this field. */ @property(nonatomic, copy, nullable) NSString *dataStore; @@ -26531,6 +28811,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe /** Output only. Google provided available scores. */ @property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResult_ModelScores *modelScores; +/** Optional. A set of ranking signals associated with the result. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals *rankSignals; + @end @@ -26547,6 +28830,91 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * A set of ranking signals. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals : GTLRObject + +/** + * Optional. Combined custom boosts for a doc. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *boostingFactor; + +/** Optional. A list of custom clearbox signals. */ +@property(nonatomic, strong, nullable) NSArray *customSignals; + +/** + * Optional. The default rank of the result. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *defaultRank; + +/** + * Optional. Age of the document in hours. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *documentAge; + +/** + * Optional. Keyword matching adjustment. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *keywordSimilarityScore; + +/** + * Optional. Predicted conversion rate adjustment as a rank. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *pctrRank; + +/** + * Optional. Semantic relevance adjustment. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *relevanceScore; + +/** + * Optional. Semantic similarity adjustment. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *semanticSimilarityScore; + +/** + * Optional. Topicality adjustment as a rank. + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *topicalityRank; + +@end + + +/** + * Custom clearbox signal represented by name and value pair. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal : GTLRObject + +/** Optional. Name of the signal. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Float value representing the ranking signal (e.g. 1.25 for BM25). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *value; + +@end + + /** * Information about the session. */ @@ -27177,6 +29545,176 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe @end +/** + * Request for the AssistantService.StreamAssist method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequest : GTLRObject + +/** + * Optional. Specification of the generation configuration for the request. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec *generationSpec; + +/** + * Optional. Current user query. Empty query is only supported if `file_ids` + * are provided. In this case, the answer will be generated based on those + * context files. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Query *query; + +/** + * Optional. The session to use for the request. If specified, the assistant + * has access to the session history, and the query and the answer are stored + * there. If `-` is specified as the session ID, or it is left empty, then a + * new session is created with an automatically generated ID. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` + */ +@property(nonatomic, copy, nullable) NSString *session; + +/** Optional. Specification of tools that are used to serve the request. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec *toolsSpec; + +/** Optional. Information about the user initiating the query. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistUserMetadata *userMetadata; + +@end + + +/** + * Assistant generation specification for the request. This allows to override + * the default generation configuration at the engine level. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestGenerationSpec : GTLRObject + +/** + * Optional. The Vertex AI model_id used for the generative model. If not set, + * the default Assistant model will be used. + */ +@property(nonatomic, copy, nullable) NSString *modelId; + +@end + + +/** + * Specification of tools that are used to serve the request. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpec : GTLRObject + +/** Optional. Specification of the image generation tool. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec *imageGenerationSpec; + +/** Optional. Specification of the Vertex AI Search tool. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec *vertexAiSearchSpec; + +/** Optional. Specification of the video generation tool. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec *videoGenerationSpec; + +/** + * Optional. Specification of the web grounding tool. If field is present, + * enables grounding with web search. Works only if + * Assistant.web_grounding_type is WEB_GROUNDING_TYPE_GOOGLE_SEARCH or + * WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec *webGroundingSpec; + +@end + + +/** + * Specification of the image generation tool. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec : GTLRObject +@end + + +/** + * Specification of the Vertex AI Search tool. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec : GTLRObject + +/** + * Optional. Specs defining DataStores to filter on in a search call and + * configurations for those data stores. This is only considered for Engines + * with multiple data stores. + */ +@property(nonatomic, strong, nullable) NSArray *dataStoreSpecs; + +/** + * Optional. The filter syntax consists of an expression language for + * constructing a predicate from one or more fields of the documents being + * filtered. Filter expression is case-sensitive. If this field is + * unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI + * Search is done by mapping the LHS filter key to a key property defined in + * the Vertex AI Search backend -- this mapping is defined by the customer in + * their schema. For example a media customer might have a field 'name' in + * their schema. In this case the filter would look like this: filter --> + * name:'ANY("king kong")' For more information about filtering including + * syntax and filter operators, see + * [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) + */ +@property(nonatomic, copy, nullable) NSString *filter; + +@end + + +/** + * Specification of the video generation tool. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVideoGenerationSpec : GTLRObject +@end + + +/** + * Specification of the web grounding tool. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec : GTLRObject +@end + + +/** + * Response for the AssistantService.StreamAssist method. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponse : GTLRObject + +/** + * Assist answer resource object containing parts of the assistant's final + * answer for the user's query. Not present if the current response doesn't add + * anything to previously sent AssistAnswer.replies. Observe AssistAnswer.state + * to see if more parts are to be expected. While the state is `IN_PROGRESS`, + * the AssistAnswer.replies field in each response will contain replies (reply + * fragments) to be appended to the ones received in previous responses. + * AssistAnswer.name won't be filled. If the state is `SUCCEEDED`, `FAILED` or + * `SKIPPED`, the response is the last response and AssistAnswer.name will have + * a value. + */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AssistAnswer *answer; + +/** + * A global unique ID that identifies the current pair of request and stream of + * responses. Used for feedback and support. + */ +@property(nonatomic, copy, nullable) NSString *assistToken; + +/** Session information. */ +@property(nonatomic, strong, nullable) GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo *sessionInfo; + +@end + + +/** + * Information about the session. + */ +@interface GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo : GTLRObject + +/** + * Name of the newly generated or continued session. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`. + */ +@property(nonatomic, copy, nullable) NSString *session; + +@end + + /** * Suggestion deny list entry identifying the phrase to block from suggestions * and the applied operation for the phrase. @@ -27870,6 +30408,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDiscoveryEngine_GoogleMonitoringV3TimeSe * Likely values: * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Assigned * License assigned to the user. (Value: "ASSIGNED") + * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_Blocked + * User is blocked from assigning a license. (Value: "BLOCKED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_LicenseAssignmentStateUnspecified * Default value. (Value: "LICENSE_ASSIGNMENT_STATE_UNSPECIFIED") * @arg @c kGTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1UserLicense_LicenseAssignmentState_NoLicense diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h index ec68989c5..e0d214611 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineQuery.h @@ -33,6 +33,54 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Downloads a file from the session. + * + * Method: discoveryengine.media.download + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_MediaDownload : GTLRDiscoveryEngineQuery + +/** Required. The ID of the file to be downloaded. */ +@property(nonatomic, copy, nullable) NSString *fileId; + +/** + * Required. The resource name of the Session. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. The ID of the view to be downloaded. */ +@property(nonatomic, copy, nullable) NSString *viewId; + +/** + * Fetches a @c GTLRDiscoveryEngine_GdataMedia. + * + * Downloads a file from the session. + * + * @param name Required. The resource name of the Session. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` + * + * @return GTLRDiscoveryEngineQuery_MediaDownload + */ ++ (instancetype)queryWithName:(NSString *)name; + +/** + * Fetches the requested resource data as a @c GTLRDataObject. + * + * Downloads a file from the session. + * + * @param name Required. The resource name of the Session. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` + * + * @return GTLRDiscoveryEngineQuery_MediaDownload + */ ++ (instancetype)queryForMediaWithName:(NSString *)name; + +@end + /** * De-provisions a CmekConfig. * @@ -796,6 +844,51 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Completes the user input with advanced keyword suggestions. + * + * Method: discoveryengine.projects.locations.collections.dataStores.completionConfig.completeQuery + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + * @c kGTLRAuthScopeDiscoveryEngineCloudSearchQuery + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQuery : GTLRDiscoveryEngineQuery + +/** + * Required. The completion_config of the parent dataStore or engine resource + * name for which the completion is performed, such as `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /completionConfig` `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /completionConfig`. + */ +@property(nonatomic, copy, nullable) NSString *completionConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse. + * + * Completes the user input with advanced keyword suggestions. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest + * to include in the query. + * @param completionConfig Required. The completion_config of the parent + * dataStore or engine resource name for which the completion is performed, + * such as `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /completionConfig` `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /completionConfig`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQuery + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest *)object + completionConfig:(NSString *)completionConfig; + +@end + /** * Imports CompletionSuggestions for a DataStore. * @@ -2502,16 +2595,20 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsDataStoresSessionsList : GTLRDiscoveryEngineQuery /** - * A filter to apply on the list results. The supported features are: - * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + * A comma-separated list of fields to filter by, in EBNF grammar. The + * supported fields are: * `user_pseudo_id` * `state` * `display_name` * + * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: + * * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = + * true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > + * "1970-01-01T12:00:00Z"` */ @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 + * * `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; @@ -3591,6 +3688,159 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Gets an Assistant. + * + * Method: discoveryengine.projects.locations.collections.engines.assistants.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsGet : GTLRDiscoveryEngineQuery + +/** + * Required. Resource name of Assistant. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant. + * + * Gets an Assistant. + * + * @param name Required. Resource name of Assistant. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Updates an Assistant + * + * Method: discoveryengine.projects.locations.collections.engines.assistants.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsPatch : GTLRDiscoveryEngineQuery + +/** + * Immutable. Resource name of the assistant. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + * It must be a UTF-8 encoded string with a length limit of 1024 characters. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * The list of fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant. + * + * Updates an Assistant + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant to include in + * the query. + * @param name Immutable. Resource name of the assistant. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + * It must be a UTF-8 encoded string with a length limit of 1024 characters. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsPatch + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1Assistant *)object + name:(NSString *)name; + +@end + +/** + * Assists the user with a query in a streaming fashion. + * + * Method: discoveryengine.projects.locations.collections.engines.assistants.streamAssist + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsStreamAssist : GTLRDiscoveryEngineQuery + +/** + * Required. The resource name of the Assistant. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistResponse. + * + * Assists the user with a query in a streaming fashion. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequest to + * include in the query. + * @param name Required. The resource name of the Assistant. Format: + * `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesAssistantsStreamAssist + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1StreamAssistRequest *)object + name:(NSString *)name; + +@end + +/** + * Completes the user input with advanced keyword suggestions. + * + * Method: discoveryengine.projects.locations.collections.engines.completionConfig.completeQuery + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + * @c kGTLRAuthScopeDiscoveryEngineCloudSearchQuery + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQuery : GTLRDiscoveryEngineQuery + +/** + * Required. The completion_config of the parent dataStore or engine resource + * name for which the completion is performed, such as `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /completionConfig` `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /completionConfig`. + */ +@property(nonatomic, copy, nullable) NSString *completionConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse. + * + * Completes the user input with advanced keyword suggestions. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest + * to include in the query. + * @param completionConfig Required. The completion_config of the parent + * dataStore or engine resource name for which the completion is performed, + * such as `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /completionConfig` `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /completionConfig`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQuery + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest *)object + completionConfig:(NSString *)completionConfig; + +@end + /** * Creates a Control. By default 1000 controls are allowed for a data store. A * request can be submitted to adjust this limit. If the Control to create @@ -4807,16 +5057,20 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsCollectionsEnginesSessionsList : GTLRDiscoveryEngineQuery /** - * A filter to apply on the list results. The supported features are: - * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + * A comma-separated list of fields to filter by, in EBNF grammar. The + * supported fields are: * `user_pseudo_id` * `state` * `display_name` * + * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: + * * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = + * true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > + * "1970-01-01T12:00:00Z"` */ @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 + * * `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; @@ -5521,6 +5775,51 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Completes the user input with advanced keyword suggestions. + * + * Method: discoveryengine.projects.locations.dataStores.completionConfig.completeQuery + * + * Authorization scope(s): + * @c kGTLRAuthScopeDiscoveryEngineCloudPlatform + * @c kGTLRAuthScopeDiscoveryEngineCloudSearchQuery + */ +@interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompletionConfigCompleteQuery : GTLRDiscoveryEngineQuery + +/** + * Required. The completion_config of the parent dataStore or engine resource + * name for which the completion is performed, such as `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /completionConfig` `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /completionConfig`. + */ +@property(nonatomic, copy, nullable) NSString *completionConfig; + +/** + * Fetches a @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryResponse. + * + * Completes the user input with advanced keyword suggestions. + * + * @param object The @c + * GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest + * to include in the query. + * @param completionConfig Required. The completion_config of the parent + * dataStore or engine resource name for which the completion is performed, + * such as `projects/ * + * /locations/global/collections/default_collection/dataStores/ * + * /completionConfig` `projects/ * + * /locations/global/collections/default_collection/engines/ * + * /completionConfig`. + * + * @return GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresCompletionConfigCompleteQuery + */ ++ (instancetype)queryWithObject:(GTLRDiscoveryEngine_GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest *)object + completionConfig:(NSString *)completionConfig; + +@end + /** * Imports CompletionSuggestions for a DataStore. * @@ -7120,16 +7419,20 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRDiscoveryEngineQuery_ProjectsLocationsDataStoresSessionsList : GTLRDiscoveryEngineQuery /** - * A filter to apply on the list results. The supported features are: - * user_pseudo_id, state. Example: "user_pseudo_id = some_id" + * A comma-separated list of fields to filter by, in EBNF grammar. The + * supported fields are: * `user_pseudo_id` * `state` * `display_name` * + * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: + * * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = + * true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > + * "1970-01-01T12:00:00Z"` */ @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 + * * `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; diff --git a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h index 0ebaa34ec..8808f7a36 100644 --- a/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h +++ b/Sources/GeneratedServices/DiscoveryEngine/Public/GoogleAPIClientForREST/GTLRDiscoveryEngineService.h @@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN // ---------------------------------------------------------------------------- -// Authorization scope +// Authorization scopes /** * Authorization scope: See, edit, configure, and delete your Google Cloud data @@ -31,6 +31,13 @@ NS_ASSUME_NONNULL_BEGIN * Value "https://www.googleapis.com/auth/cloud-platform" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDiscoveryEngineCloudPlatform; +/** + * Authorization scope: Search your organization's data in the Cloud Search + * index + * + * Value "https://www.googleapis.com/auth/cloud_search.query" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDiscoveryEngineCloudSearchQuery; // ---------------------------------------------------------------------------- // GTLRDiscoveryEngineService diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m index 52dae616e..0c4f9271d 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoObjects.m @@ -920,6 +920,11 @@ NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_EntityStatus_EntityStatusScheduledForDeletion = @"ENTITY_STATUS_SCHEDULED_FOR_DELETION"; NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_EntityStatus_EntityStatusUnspecified = @"ENTITY_STATUS_UNSPECIFIED"; +// GTLRDisplayVideo_CustomBiddingAlgorithm.thirdPartyOptimizationPartner +NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Adelaide = @"ADELAIDE"; +NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Scibids = @"SCIBIDS"; +NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Unknown = @"UNKNOWN"; + // GTLRDisplayVideo_CustomBiddingAlgorithmRules.state NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithmRules_State_Accepted = @"ACCEPTED"; NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithmRules_State_Rejected = @"REJECTED"; @@ -3703,6 +3708,50 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse +// + +@implementation GTLRDisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse +@dynamic assignedTargetingOptions, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assignedTargetingOptions" : [GTLRDisplayVideo_AssignedTargetingOption class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"assignedTargetingOptions"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDisplayVideo_BulkListInsertionOrderAssignedTargetingOptionsResponse +// + +@implementation GTLRDisplayVideo_BulkListInsertionOrderAssignedTargetingOptionsResponse +@dynamic assignedTargetingOptions, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assignedTargetingOptions" : [GTLRDisplayVideo_AssignedTargetingOption class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"assignedTargetingOptions"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDisplayVideo_BulkUpdateLineItemsRequest @@ -4277,7 +4326,7 @@ @implementation GTLRDisplayVideo_CreativeConfig @implementation GTLRDisplayVideo_CustomBiddingAlgorithm @dynamic advertiserId, customBiddingAlgorithmId, customBiddingAlgorithmType, displayName, entityStatus, modelDetails, name, partnerId, - sharedAdvertiserIds; + sharedAdvertiserIds, thirdPartyOptimizationPartner; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -5656,6 +5705,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDisplayVideo_ListCampaignAssignedTargetingOptionsResponse +// + +@implementation GTLRDisplayVideo_ListCampaignAssignedTargetingOptionsResponse +@dynamic assignedTargetingOptions, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assignedTargetingOptions" : [GTLRDisplayVideo_AssignedTargetingOption class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"assignedTargetingOptions"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDisplayVideo_ListCampaignsResponse @@ -5920,6 +5991,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRDisplayVideo_ListInsertionOrderAssignedTargetingOptionsResponse +// + +@implementation GTLRDisplayVideo_ListInsertionOrderAssignedTargetingOptionsResponse +@dynamic assignedTargetingOptions, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"assignedTargetingOptions" : [GTLRDisplayVideo_AssignedTargetingOption class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"assignedTargetingOptions"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDisplayVideo_ListInsertionOrdersResponse @@ -7264,6 +7357,16 @@ @implementation GTLRDisplayVideo_UserRewardedContentTargetingOptionDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRDisplayVideo_VideoAdInventoryControl +// + +@implementation GTLRDisplayVideo_VideoAdInventoryControl +@dynamic allowInFeed, allowInStream, allowShorts; +@end + + // ---------------------------------------------------------------------------- // // GTLRDisplayVideo_VideoAdSequenceSettings @@ -7410,8 +7513,8 @@ @implementation GTLRDisplayVideo_YoutubeAndPartnersInventorySourceConfig @implementation GTLRDisplayVideo_YoutubeAndPartnersSettings @dynamic contentCategory, effectiveContentCategory, inventorySourceSettings, leadFormId, linkedMerchantId, relatedVideoIds, targetFrequency, - thirdPartyMeasurementConfigs, videoAdSequenceSettings, - viewFrequencyCap; + thirdPartyMeasurementConfigs, videoAdInventoryControl, + videoAdSequenceSettings, viewFrequencyCap; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoQuery.m b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoQuery.m index 0d776adb6..902ac8880 100644 --- a/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoQuery.m +++ b/Sources/GeneratedServices/DisplayVideo/GTLRDisplayVideoQuery.m @@ -386,6 +386,29 @@ + (instancetype)queryWithAdvertiserId:(long long)advertiserId { @end +@implementation GTLRDisplayVideoQuery_AdvertisersCampaignsListAssignedTargetingOptions + +@dynamic advertiserId, campaignId, filter, orderBy, pageSize, pageToken; + ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + campaignId:(long long)campaignId { + NSArray *pathParams = @[ + @"advertiserId", @"campaignId" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/campaigns/{+campaignId}:listAssignedTargetingOptions"; + GTLRDisplayVideoQuery_AdvertisersCampaignsListAssignedTargetingOptions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.advertiserId = advertiserId; + query.campaignId = campaignId; + query.expectedObjectClass = [GTLRDisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse class]; + query.loggingName = @"displayvideo.advertisers.campaigns.listAssignedTargetingOptions"; + return query; +} + +@end + @implementation GTLRDisplayVideoQuery_AdvertisersCampaignsPatch @dynamic advertiserId, campaignId, updateMask; @@ -417,6 +440,60 @@ + (instancetype)queryWithObject:(GTLRDisplayVideo_Campaign *)object @end +@implementation GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGet + +@dynamic advertiserId, assignedTargetingOptionId, campaignId, targetingType; + ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + campaignId:(long long)campaignId + targetingType:(NSString *)targetingType + assignedTargetingOptionId:(NSString *)assignedTargetingOptionId { + NSArray *pathParams = @[ + @"advertiserId", @"assignedTargetingOptionId", @"campaignId", + @"targetingType" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; + GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.advertiserId = advertiserId; + query.campaignId = campaignId; + query.targetingType = targetingType; + query.assignedTargetingOptionId = assignedTargetingOptionId; + query.expectedObjectClass = [GTLRDisplayVideo_AssignedTargetingOption class]; + query.loggingName = @"displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.get"; + return query; +} + +@end + +@implementation GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsList + +@dynamic advertiserId, campaignId, filter, orderBy, pageSize, pageToken, + targetingType; + ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + campaignId:(long long)campaignId + targetingType:(NSString *)targetingType { + NSArray *pathParams = @[ + @"advertiserId", @"campaignId", @"targetingType" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/campaigns/{+campaignId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; + GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.advertiserId = advertiserId; + query.campaignId = campaignId; + query.targetingType = targetingType; + query.expectedObjectClass = [GTLRDisplayVideo_ListCampaignAssignedTargetingOptionsResponse class]; + query.loggingName = @"displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.list"; + return query; +} + +@end + @implementation GTLRDisplayVideoQuery_AdvertisersChannelsCreate @dynamic advertiserId, partnerId; @@ -961,6 +1038,29 @@ + (instancetype)queryWithAdvertiserId:(long long)advertiserId { @end +@implementation GTLRDisplayVideoQuery_AdvertisersInsertionOrdersListAssignedTargetingOptions + +@dynamic advertiserId, filter, insertionOrderId, orderBy, pageSize, pageToken; + ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId { + NSArray *pathParams = @[ + @"advertiserId", @"insertionOrderId" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}:listAssignedTargetingOptions"; + GTLRDisplayVideoQuery_AdvertisersInsertionOrdersListAssignedTargetingOptions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.advertiserId = advertiserId; + query.insertionOrderId = insertionOrderId; + query.expectedObjectClass = [GTLRDisplayVideo_BulkListInsertionOrderAssignedTargetingOptionsResponse class]; + query.loggingName = @"displayvideo.advertisers.insertionOrders.listAssignedTargetingOptions"; + return query; +} + +@end + @implementation GTLRDisplayVideoQuery_AdvertisersInsertionOrdersPatch @dynamic advertiserId, insertionOrderId, updateMask; @@ -992,6 +1092,123 @@ + (instancetype)queryWithObject:(GTLRDisplayVideo_InsertionOrder *)object @end +@implementation GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsCreate + +@dynamic advertiserId, insertionOrderId, targetingType; + ++ (instancetype)queryWithObject:(GTLRDisplayVideo_AssignedTargetingOption *)object + advertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"advertiserId", @"insertionOrderId", @"targetingType" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; + GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.advertiserId = advertiserId; + query.insertionOrderId = insertionOrderId; + query.targetingType = targetingType; + query.expectedObjectClass = [GTLRDisplayVideo_AssignedTargetingOption class]; + query.loggingName = @"displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.create"; + return query; +} + +@end + +@implementation GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsDelete + +@dynamic advertiserId, assignedTargetingOptionId, insertionOrderId, + targetingType; + ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType + assignedTargetingOptionId:(NSString *)assignedTargetingOptionId { + NSArray *pathParams = @[ + @"advertiserId", @"assignedTargetingOptionId", @"insertionOrderId", + @"targetingType" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; + GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.advertiserId = advertiserId; + query.insertionOrderId = insertionOrderId; + query.targetingType = targetingType; + query.assignedTargetingOptionId = assignedTargetingOptionId; + query.expectedObjectClass = [GTLRDisplayVideo_Empty class]; + query.loggingName = @"displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.delete"; + return query; +} + +@end + +@implementation GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGet + +@dynamic advertiserId, assignedTargetingOptionId, insertionOrderId, + targetingType; + ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType + assignedTargetingOptionId:(NSString *)assignedTargetingOptionId { + NSArray *pathParams = @[ + @"advertiserId", @"assignedTargetingOptionId", @"insertionOrderId", + @"targetingType" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}"; + GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.advertiserId = advertiserId; + query.insertionOrderId = insertionOrderId; + query.targetingType = targetingType; + query.assignedTargetingOptionId = assignedTargetingOptionId; + query.expectedObjectClass = [GTLRDisplayVideo_AssignedTargetingOption class]; + query.loggingName = @"displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.get"; + return query; +} + +@end + +@implementation GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsList + +@dynamic advertiserId, filter, insertionOrderId, orderBy, pageSize, pageToken, + targetingType; + ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType { + NSArray *pathParams = @[ + @"advertiserId", @"insertionOrderId", @"targetingType" + ]; + NSString *pathURITemplate = @"v4/advertisers/{+advertiserId}/insertionOrders/{+insertionOrderId}/targetingTypes/{+targetingType}/assignedTargetingOptions"; + GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.advertiserId = advertiserId; + query.insertionOrderId = insertionOrderId; + query.targetingType = targetingType; + query.expectedObjectClass = [GTLRDisplayVideo_ListInsertionOrderAssignedTargetingOptionsResponse class]; + query.loggingName = @"displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.list"; + return query; +} + +@end + @implementation GTLRDisplayVideoQuery_AdvertisersInvoicesList @dynamic advertiserId, issueMonth, loiSapinInvoiceType, pageSize, pageToken; diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h index cea59af74..6febe5418 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoObjects.h @@ -263,6 +263,7 @@ @class GTLRDisplayVideo_User; @class GTLRDisplayVideo_UserRewardedContentAssignedTargetingOptionDetails; @class GTLRDisplayVideo_UserRewardedContentTargetingOptionDetails; +@class GTLRDisplayVideo_VideoAdInventoryControl; @class GTLRDisplayVideo_VideoAdSequenceSettings; @class GTLRDisplayVideo_VideoAdSequenceStep; @class GTLRDisplayVideo_VideoDiscoveryAd; @@ -4844,7 +4845,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskReques * * Value: "SDF_VERSION_6" */ -FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion6; +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CreateSdfDownloadTaskRequest_Version_SdfVersion6 GTLR_DEPRECATED; /** * SDF version 7. Read the [v7 migration * guide](/display-video/api/structured-data-file/v7-migration-guide) before @@ -5378,6 +5379,30 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_Enti */ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_EntityStatus_EntityStatusUnspecified; +// ---------------------------------------------------------------------------- +// GTLRDisplayVideo_CustomBiddingAlgorithm.thirdPartyOptimizationPartner + +/** + * Third party attention measurement service provider that DV3 + * partners/advertisers can partner with. + * + * Value: "ADELAIDE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Adelaide; +/** + * Third party data science service provider that DV3 partners/advertisers can + * partner with. + * + * Value: "SCIBIDS" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Scibids; +/** + * Type value is not specified or is unknown in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Unknown; + // ---------------------------------------------------------------------------- // GTLRDisplayVideo_CustomBiddingAlgorithmRules.state @@ -14148,7 +14173,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersio * * Value: "SDF_VERSION_6" */ -FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion6; +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfConfig_Version_SdfVersion6 GTLR_DEPRECATED; /** * SDF version 7. Read the [v7 migration * guide](/display-video/api/structured-data-file/v7-migration-guide) before @@ -14254,7 +14279,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Ver * * Value: "SDF_VERSION_6" */ -FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion6; +FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_SdfDownloadTaskMetadata_Version_SdfVersion6 GTLR_DEPRECATED; /** * SDF version 7. Read the [v7 migration * guide](/display-video/api/structured-data-file/v7-migration-guide) before @@ -19477,6 +19502,66 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail @end +/** + * GTLRDisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "assignedTargetingOptions" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRDisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse : GTLRCollectionObject + +/** + * The list of assigned targeting options. This list will be absent if empty. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *assignedTargetingOptions; + +/** + * A token identifying the next page of results. This value should be specified + * as the pageToken in a subsequent + * BulkListCampaignAssignedTargetingOptionsRequest to fetch the next page of + * results. This token will be absent if there are no more + * assigned_targeting_options to return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * GTLRDisplayVideo_BulkListInsertionOrderAssignedTargetingOptionsResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "assignedTargetingOptions" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRDisplayVideo_BulkListInsertionOrderAssignedTargetingOptionsResponse : GTLRCollectionObject + +/** + * The list of assigned targeting options. This list will be absent if empty. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *assignedTargetingOptions; + +/** + * A token identifying the next page of results. This value should be specified + * as the pageToken in a subsequent + * BulkListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page + * of results. This token will be absent if there are no more + * assigned_targeting_options to return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Request message for LineItemService.BulkUpdateLineItems. */ @@ -19497,7 +19582,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** * Required. A field mask identifying which fields to update. Only the - * following fields are currently supported: * entityStatus + * following fields are currently supported: * entityStatus * + * containsEuPoliticalAdvertising * * String format is a comma-separated list of fields. */ @@ -22043,6 +22129,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail */ @property(nonatomic, strong, nullable) NSArray *sharedAdvertiserIds; +/** + * Optional. Immutable. Designates the third party optimization partner that + * manages this algorithm. + * + * Likely values: + * @arg @c kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Adelaide + * Third party attention measurement service provider that DV3 + * partners/advertisers can partner with. (Value: "ADELAIDE") + * @arg @c kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Scibids + * Third party data science service provider that DV3 + * partners/advertisers can partner with. (Value: "SCIBIDS") + * @arg @c kGTLRDisplayVideo_CustomBiddingAlgorithm_ThirdPartyOptimizationPartner_Unknown + * Type value is not specified or is unknown in this version. (Value: + * "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *thirdPartyOptimizationPartner; + @end @@ -28124,6 +28227,35 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail @end +/** + * Response message for ListCampaignAssignedTargetingOptions. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "assignedTargetingOptions" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRDisplayVideo_ListCampaignAssignedTargetingOptionsResponse : GTLRCollectionObject + +/** + * The list of assigned targeting options. This list will be absent if empty. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *assignedTargetingOptions; + +/** + * A token identifying the next page of results. This value should be specified + * as the pageToken in a subsequent ListCampaignAssignedTargetingOptionsRequest + * to fetch the next page of results. This token will be absent if there are no + * more assigned_targeting_options to return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * GTLRDisplayVideo_ListCampaignsResponse * @@ -28467,6 +28599,36 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail @end +/** + * GTLRDisplayVideo_ListInsertionOrderAssignedTargetingOptionsResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "assignedTargetingOptions" property. If returned as the result of + * a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRDisplayVideo_ListInsertionOrderAssignedTargetingOptionsResponse : GTLRCollectionObject + +/** + * The list of assigned targeting options. This list will be absent if empty. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *assignedTargetingOptions; + +/** + * A token identifying the next page of results. This value should be specified + * as the pageToken in a subsequent + * ListInsertionOrderAssignedTargetingOptionsRequest to fetch the next page of + * results. This token will be absent if there are no more + * assigned_targeting_options to return. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * GTLRDisplayVideo_ListInsertionOrdersResponse * @@ -32387,6 +32549,35 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail @end +/** + * The video ad inventory control used in certain YouTube line item types. + */ +@interface GTLRDisplayVideo_VideoAdInventoryControl : GTLRObject + +/** + * Optional. Whether ads can serve as in-feed format. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowInFeed; + +/** + * Optional. Whether ads can serve as in-stream format. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowInStream; + +/** + * Optional. Whether ads can serve as shorts format. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowShorts; + +@end + + /** * Settings related to VideoAdSequence. */ @@ -32953,6 +33144,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideo_YoutubeVideoDetails_Unavail /** Optional. The third-party measurement configs of the line item. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_ThirdPartyMeasurementConfigs *thirdPartyMeasurementConfigs; +/** + * Optional. The settings to control which inventory is allowed for this line + * item. + */ +@property(nonatomic, strong, nullable) GTLRDisplayVideo_VideoAdInventoryControl *videoAdInventoryControl; + /** Optional. The settings related to VideoAdSequence. */ @property(nonatomic, strong, nullable) GTLRDisplayVideo_VideoAdSequenceSettings *videoAdSequenceSettings; diff --git a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h index 4c730fd3a..9f8e23044 100644 --- a/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h +++ b/Sources/GeneratedServices/DisplayVideo/Public/GoogleAPIClientForREST/GTLRDisplayVideoQuery.h @@ -1775,132 +1775,35 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo @end /** - * Updates an existing campaign. Returns the updated campaign if successful. - * - * Method: displayvideo.advertisers.campaigns.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo - * @c kGTLRAuthScopeDisplayVideoDisplayVideoMediaplanning - */ -@interface GTLRDisplayVideoQuery_AdvertisersCampaignsPatch : GTLRDisplayVideoQuery - -/** Output only. The unique ID of the advertiser the campaign belongs to. */ -@property(nonatomic, assign) long long advertiserId; - -/** Output only. The unique ID of the campaign. Assigned by the system. */ -@property(nonatomic, assign) long long campaignId; - -/** - * Required. The mask to control which fields to update. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRDisplayVideo_Campaign. - * - * Updates an existing campaign. Returns the updated campaign if successful. - * - * @param object The @c GTLRDisplayVideo_Campaign to include in the query. - * @param advertiserId Output only. The unique ID of the advertiser the - * campaign belongs to. - * @param campaignId Output only. The unique ID of the campaign. Assigned by - * the system. - * - * @return GTLRDisplayVideoQuery_AdvertisersCampaignsPatch - */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_Campaign *)object - advertiserId:(long long)advertiserId - campaignId:(long long)campaignId; - -@end - -/** - * Creates a new channel. Returns the newly created channel if successful. - * - * Method: displayvideo.advertisers.channels.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo - */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsCreate : GTLRDisplayVideoQuery - -/** The ID of the advertiser that owns the created channel. */ -@property(nonatomic, assign) long long advertiserId; - -/** The ID of the partner that owns the created channel. */ -@property(nonatomic, assign) long long partnerId; - -/** - * Fetches a @c GTLRDisplayVideo_Channel. - * - * Creates a new channel. Returns the newly created channel if successful. - * - * @param object The @c GTLRDisplayVideo_Channel to include in the query. - * @param advertiserId The ID of the advertiser that owns the created channel. - * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsCreate - */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_Channel *)object - advertiserId:(long long)advertiserId; - -@end - -/** - * Gets a channel for a partner or advertiser. + * Lists assigned targeting options of a campaign across targeting types. * - * Method: displayvideo.advertisers.channels.get + * Method: displayvideo.advertisers.campaigns.listAssignedTargetingOptions * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsGet : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersCampaignsListAssignedTargetingOptions : GTLRDisplayVideoQuery -/** The ID of the advertiser that owns the fetched channel. */ +/** Required. The ID of the advertiser the campaign belongs to. */ @property(nonatomic, assign) long long advertiserId; -/** Required. The ID of the channel to fetch. */ -@property(nonatomic, assign) long long channelId; - -/** The ID of the partner that owns the fetched channel. */ -@property(nonatomic, assign) long long partnerId; - -/** - * Fetches a @c GTLRDisplayVideo_Channel. - * - * Gets a channel for a partner or advertiser. - * - * @param advertiserId The ID of the advertiser that owns the fetched channel. - * @param channelId Required. The ID of the channel to fetch. - * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsGet - */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId - channelId:(long long)channelId; - -@end - /** - * Lists channels for a partner or advertiser. - * - * Method: displayvideo.advertisers.channels.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * Required. The ID of the campaign to list assigned targeting options for. */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsList : GTLRDisplayVideoQuery - -/** The ID of the advertiser that owns the channels. */ -@property(nonatomic, assign) long long advertiserId; +@property(nonatomic, assign) long long campaignId; /** - * Allows filtering by channel fields. Supported syntax: * Filter expressions - * for channel can only contain at most one restriction. * A restriction has - * the form of `{field} {operator} {value}`. * All fields must use the `HAS - * (:)` operator. Supported fields: * `displayName` Examples: * All channels - * for which the display name contains "google": `displayName : "google"`. The + * Allows filtering by assigned targeting option fields. Supported syntax: * + * Filter expressions are made up of one or more restrictions. * Restrictions + * can be combined by the `OR` logical operator. * A restriction has the form + * of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` + * operator. Supported fields: * `targetingType` * `inheritance` Examples: * + * `AssignedTargetingOption` resources of targeting type + * `TARGETING_TYPE_LANGUAGE` or `TARGETING_TYPE_GENDER`: + * `targetingType="TARGETING_TYPE_LANGUAGE" OR + * targetingType="TARGETING_TYPE_GENDER"` * `AssignedTargetingOption` resources + * with inheritance status of `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: + * `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"` The * length of this field should be no more than 500 characters. Reference our * [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide * for more information. @@ -1908,66 +1811,66 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo @property(nonatomic, copy, nullable) NSString *filter; /** - * Field by which to sort the list. Acceptable values are: * `displayName` - * (default) * `channelId` The default sorting order is ascending. To specify - * descending order for a field, a suffix " desc" should be added to the field - * name. Example: `displayName desc`. + * Field by which to sort the list. Acceptable values are: * `targetingType` + * (default) The default sorting order is ascending. To specify descending + * order for a field, a suffix "desc" should be added to the field name. + * Example: `targetingType desc`. */ @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. The size must be an integer between `1` and `5000`. If + * unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if + * an invalid value is specified. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A token identifying a page of results the server should return. Typically, - * this is the value of next_page_token returned from the previous call to - * `ListChannels` method. If not specified, the first page of results will be - * returned. + * A token that lets the client fetch the next page of results. Typically, this + * is the value of next_page_token returned from the previous call to + * `BulkListCampaignAssignedTargetingOptions` method. If not specified, the + * first page of results will be returned. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** The ID of the partner that owns the channels. */ -@property(nonatomic, assign) long long partnerId; - /** - * Fetches a @c GTLRDisplayVideo_ListChannelsResponse. + * Fetches a @c + * GTLRDisplayVideo_BulkListCampaignAssignedTargetingOptionsResponse. * - * Lists channels for a partner or advertiser. + * Lists assigned targeting options of a campaign across targeting types. * - * @param advertiserId The ID of the advertiser that owns the channels. + * @param advertiserId Required. The ID of the advertiser the campaign belongs + * to. + * @param campaignId Required. The ID of the campaign to list assigned + * targeting options for. * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsList + * @return GTLRDisplayVideoQuery_AdvertisersCampaignsListAssignedTargetingOptions * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more * information. */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId; ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + campaignId:(long long)campaignId; @end /** - * Updates a channel. Returns the updated channel if successful. + * Updates an existing campaign. Returns the updated campaign if successful. * - * Method: displayvideo.advertisers.channels.patch + * Method: displayvideo.advertisers.campaigns.patch * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * @c kGTLRAuthScopeDisplayVideoDisplayVideoMediaplanning */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsPatch : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersCampaignsPatch : GTLRDisplayVideoQuery -/** The ID of the advertiser that owns the created channel. */ +/** Output only. The unique ID of the advertiser the campaign belongs to. */ @property(nonatomic, assign) long long advertiserId; -/** Output only. The unique ID of the channel. Assigned by the system. */ -@property(nonatomic, assign) long long channelId; - -/** The ID of the partner that owns the created channel. */ -@property(nonatomic, assign) long long partnerId; +/** Output only. The unique ID of the campaign. Assigned by the system. */ +@property(nonatomic, assign) long long campaignId; /** * Required. The mask to control which fields to update. @@ -1977,776 +1880,3270 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo @property(nonatomic, copy, nullable) NSString *updateMask; /** - * Fetches a @c GTLRDisplayVideo_Channel. + * Fetches a @c GTLRDisplayVideo_Campaign. * - * Updates a channel. Returns the updated channel if successful. + * Updates an existing campaign. Returns the updated campaign if successful. * - * @param object The @c GTLRDisplayVideo_Channel to include in the query. - * @param advertiserId The ID of the advertiser that owns the created channel. - * @param channelId Output only. The unique ID of the channel. Assigned by the - * system. + * @param object The @c GTLRDisplayVideo_Campaign to include in the query. + * @param advertiserId Output only. The unique ID of the advertiser the + * campaign belongs to. + * @param campaignId Output only. The unique ID of the campaign. Assigned by + * the system. * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsPatch + * @return GTLRDisplayVideoQuery_AdvertisersCampaignsPatch */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_Channel *)object ++ (instancetype)queryWithObject:(GTLRDisplayVideo_Campaign *)object advertiserId:(long long)advertiserId - channelId:(long long)channelId; + campaignId:(long long)campaignId; @end /** - * Bulk edits sites under a single channel. The operation will delete the sites - * provided in BulkEditSitesRequest.deleted_sites and then create the sites - * provided in BulkEditSitesRequest.created_sites. + * Gets a single targeting option assigned to a campaign. * - * Method: displayvideo.advertisers.channels.sites.bulkEdit + * Method: displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.get * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesBulkEdit : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGet : GTLRDisplayVideoQuery -/** The ID of the advertiser that owns the parent channel. */ +/** Required. The ID of the advertiser the campaign belongs to. */ @property(nonatomic, assign) long long advertiserId; -/** Required. The ID of the parent channel to which the sites belong. */ -@property(nonatomic, assign) long long channelId; - -/** - * Fetches a @c GTLRDisplayVideo_BulkEditSitesResponse. - * - * Bulk edits sites under a single channel. The operation will delete the sites - * provided in BulkEditSitesRequest.deleted_sites and then create the sites - * provided in BulkEditSitesRequest.created_sites. - * - * @param object The @c GTLRDisplayVideo_BulkEditSitesRequest to include in the - * query. - * @param advertiserId The ID of the advertiser that owns the parent channel. - * @param channelId Required. The ID of the parent channel to which the sites - * belong. - * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesBulkEdit - */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_BulkEditSitesRequest *)object - advertiserId:(long long)advertiserId - channelId:(long long)channelId; - -@end - /** - * Creates a site in a channel. - * - * Method: displayvideo.advertisers.channels.sites.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * Required. An identifier unique to the targeting type in this campaign that + * identifies the assigned targeting option being requested. */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesCreate : GTLRDisplayVideoQuery - -/** The ID of the advertiser that owns the parent channel. */ -@property(nonatomic, assign) long long advertiserId; +@property(nonatomic, copy, nullable) NSString *assignedTargetingOptionId; /** - * Required. The ID of the parent channel in which the site will be created. + * Required. The ID of the campaign the assigned targeting option belongs to. */ -@property(nonatomic, assign) long long channelId; - -/** The ID of the partner that owns the parent channel. */ -@property(nonatomic, assign) long long partnerId; +@property(nonatomic, assign) long long campaignId; /** - * Fetches a @c GTLRDisplayVideo_Site. - * - * Creates a site in a channel. - * - * @param object The @c GTLRDisplayVideo_Site to include in the query. - * @param advertiserId The ID of the advertiser that owns the parent channel. - * @param channelId Required. The ID of the parent channel in which the site - * will be created. + * Required. Identifies the type of this assigned targeting option. Supported + * targeting types: * `TARGETING_TYPE_AGE_RANGE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_VIEWABILITY` * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesCreate - */ + * Likely values: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") + */ +@property(nonatomic, copy, nullable) NSString *targetingType; + +/** + * Fetches a @c GTLRDisplayVideo_AssignedTargetingOption. + * + * Gets a single targeting option assigned to a campaign. + * + * @param advertiserId Required. The ID of the advertiser the campaign belongs + * to. + * @param campaignId Required. The ID of the campaign the assigned targeting + * option belongs to. + * @param targetingType Required. Identifies the type of this assigned + * targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` + * * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_VIEWABILITY` + * @param assignedTargetingOptionId Required. An identifier unique to the + * targeting type in this campaign that identifies the assigned targeting + * option being requested. + * + * Likely values for @c targetingType: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") + * + * @return GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsGet + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + campaignId:(long long)campaignId + targetingType:(NSString *)targetingType + assignedTargetingOptionId:(NSString *)assignedTargetingOptionId; + +@end + +/** + * Lists the targeting options assigned to a campaign for a specified targeting + * type. + * + * Method: displayvideo.advertisers.campaigns.targetingTypes.assignedTargetingOptions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsList : GTLRDisplayVideoQuery + +/** Required. The ID of the advertiser the campaign belongs to. */ +@property(nonatomic, assign) long long advertiserId; + +/** + * Required. The ID of the campaign to list assigned targeting options for. + */ +@property(nonatomic, assign) long long campaignId; + +/** + * Allows filtering by assigned targeting option fields. Supported syntax: * + * Filter expressions are made up of one or more restrictions. * Restrictions + * can be combined by the `OR` logical operator. * A restriction has the form + * of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` + * operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` + * Examples: * `AssignedTargetingOption` resources with ID 1 or 2 + * `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * + * `AssignedTargetingOption` resources with inheritance status of + * `NOT_INHERITED` or `INHERITED_FROM_PARTNER` `inheritance="NOT_INHERITED" OR + * inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no + * more than 500 characters. Reference our [filter `LIST` + * requests](/display-video/api/guides/how-tos/filters) guide for more + * information. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Field by which to sort the list. Acceptable values are: * + * `assignedTargetingOptionId` (default) The default sorting order is + * ascending. To specify descending order for a field, a suffix "desc" should + * be added to the field name. Example: `assignedTargetingOptionId desc`. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Requested page size. Must be between `1` and `5000`. If unspecified will + * default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value + * is specified. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of next_page_token returned from the previous call to + * `ListCampaignAssignedTargetingOptions` method. If not specified, the first + * page of results will be returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Identifies the type of assigned targeting options to list. + * Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_VIEWABILITY` + * + * Likely values: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") + */ +@property(nonatomic, copy, nullable) NSString *targetingType; + +/** + * Fetches a @c GTLRDisplayVideo_ListCampaignAssignedTargetingOptionsResponse. + * + * Lists the targeting options assigned to a campaign for a specified targeting + * type. + * + * @param advertiserId Required. The ID of the advertiser the campaign belongs + * to. + * @param campaignId Required. The ID of the campaign to list assigned + * targeting options for. + * @param targetingType Required. Identifies the type of assigned targeting + * options to list. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_VIEWABILITY` + * + * Likely values for @c targetingType: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") + * + * @return GTLRDisplayVideoQuery_AdvertisersCampaignsTargetingTypesAssignedTargetingOptionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + campaignId:(long long)campaignId + targetingType:(NSString *)targetingType; + +@end + +/** + * Creates a new channel. Returns the newly created channel if successful. + * + * Method: displayvideo.advertisers.channels.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsCreate : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the created channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** The ID of the partner that owns the created channel. */ +@property(nonatomic, assign) long long partnerId; + +/** + * Fetches a @c GTLRDisplayVideo_Channel. + * + * Creates a new channel. Returns the newly created channel if successful. + * + * @param object The @c GTLRDisplayVideo_Channel to include in the query. + * @param advertiserId The ID of the advertiser that owns the created channel. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsCreate + */ ++ (instancetype)queryWithObject:(GTLRDisplayVideo_Channel *)object + advertiserId:(long long)advertiserId; + +@end + +/** + * Gets a channel for a partner or advertiser. + * + * Method: displayvideo.advertisers.channels.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsGet : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the fetched channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** Required. The ID of the channel to fetch. */ +@property(nonatomic, assign) long long channelId; + +/** The ID of the partner that owns the fetched channel. */ +@property(nonatomic, assign) long long partnerId; + +/** + * Fetches a @c GTLRDisplayVideo_Channel. + * + * Gets a channel for a partner or advertiser. + * + * @param advertiserId The ID of the advertiser that owns the fetched channel. + * @param channelId Required. The ID of the channel to fetch. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsGet + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + channelId:(long long)channelId; + +@end + +/** + * Lists channels for a partner or advertiser. + * + * Method: displayvideo.advertisers.channels.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsList : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the channels. */ +@property(nonatomic, assign) long long advertiserId; + +/** + * Allows filtering by channel fields. Supported syntax: * Filter expressions + * for channel can only contain at most one restriction. * A restriction has + * the form of `{field} {operator} {value}`. * All fields must use the `HAS + * (:)` operator. Supported fields: * `displayName` Examples: * All channels + * for which the display name contains "google": `displayName : "google"`. The + * length of this field should be no more than 500 characters. Reference our + * [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide + * for more information. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Field by which to sort the list. Acceptable values are: * `displayName` + * (default) * `channelId` The default sorting order is ascending. To specify + * descending order for a field, a suffix " desc" should be added to the field + * name. Example: `displayName desc`. + */ +@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. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of next_page_token returned from the previous call to + * `ListChannels` method. If not specified, the first page of results will be + * returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** The ID of the partner that owns the channels. */ +@property(nonatomic, assign) long long partnerId; + +/** + * Fetches a @c GTLRDisplayVideo_ListChannelsResponse. + * + * Lists channels for a partner or advertiser. + * + * @param advertiserId The ID of the advertiser that owns the channels. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId; + +@end + +/** + * Updates a channel. Returns the updated channel if successful. + * + * Method: displayvideo.advertisers.channels.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsPatch : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the created channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** Output only. The unique ID of the channel. Assigned by the system. */ +@property(nonatomic, assign) long long channelId; + +/** The ID of the partner that owns the created channel. */ +@property(nonatomic, assign) long long partnerId; + +/** + * Required. The mask to control which fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDisplayVideo_Channel. + * + * Updates a channel. Returns the updated channel if successful. + * + * @param object The @c GTLRDisplayVideo_Channel to include in the query. + * @param advertiserId The ID of the advertiser that owns the created channel. + * @param channelId Output only. The unique ID of the channel. Assigned by the + * system. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsPatch + */ ++ (instancetype)queryWithObject:(GTLRDisplayVideo_Channel *)object + advertiserId:(long long)advertiserId + channelId:(long long)channelId; + +@end + +/** + * Bulk edits sites under a single channel. The operation will delete the sites + * provided in BulkEditSitesRequest.deleted_sites and then create the sites + * provided in BulkEditSitesRequest.created_sites. + * + * Method: displayvideo.advertisers.channels.sites.bulkEdit + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesBulkEdit : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the parent channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** Required. The ID of the parent channel to which the sites belong. */ +@property(nonatomic, assign) long long channelId; + +/** + * Fetches a @c GTLRDisplayVideo_BulkEditSitesResponse. + * + * Bulk edits sites under a single channel. The operation will delete the sites + * provided in BulkEditSitesRequest.deleted_sites and then create the sites + * provided in BulkEditSitesRequest.created_sites. + * + * @param object The @c GTLRDisplayVideo_BulkEditSitesRequest to include in the + * query. + * @param advertiserId The ID of the advertiser that owns the parent channel. + * @param channelId Required. The ID of the parent channel to which the sites + * belong. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesBulkEdit + */ ++ (instancetype)queryWithObject:(GTLRDisplayVideo_BulkEditSitesRequest *)object + advertiserId:(long long)advertiserId + channelId:(long long)channelId; + +@end + +/** + * Creates a site in a channel. + * + * Method: displayvideo.advertisers.channels.sites.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesCreate : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the parent channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** + * Required. The ID of the parent channel in which the site will be created. + */ +@property(nonatomic, assign) long long channelId; + +/** The ID of the partner that owns the parent channel. */ +@property(nonatomic, assign) long long partnerId; + +/** + * Fetches a @c GTLRDisplayVideo_Site. + * + * Creates a site in a channel. + * + * @param object The @c GTLRDisplayVideo_Site to include in the query. + * @param advertiserId The ID of the advertiser that owns the parent channel. + * @param channelId Required. The ID of the parent channel in which the site + * will be created. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesCreate + */ + (instancetype)queryWithObject:(GTLRDisplayVideo_Site *)object advertiserId:(long long)advertiserId - channelId:(long long)channelId; + channelId:(long long)channelId; + +@end + +/** + * Deletes a site from a channel. + * + * Method: displayvideo.advertisers.channels.sites.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesDelete : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the parent channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** Required. The ID of the parent channel to which the site belongs. */ +@property(nonatomic, assign) long long channelId; + +/** The ID of the partner that owns the parent channel. */ +@property(nonatomic, assign) long long partnerId; + +/** Required. The URL or app ID of the site to delete. */ +@property(nonatomic, copy, nullable) NSString *urlOrAppId; + +/** + * Fetches a @c GTLRDisplayVideo_Empty. + * + * Deletes a site from a channel. + * + * @param advertiserId The ID of the advertiser that owns the parent channel. + * @param channelId Required. The ID of the parent channel to which the site + * belongs. + * @param urlOrAppId Required. The URL or app ID of the site to delete. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesDelete + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + channelId:(long long)channelId + urlOrAppId:(NSString *)urlOrAppId; + +@end + +/** + * Lists sites in a channel. + * + * Method: displayvideo.advertisers.channels.sites.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesList : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the parent channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** + * Required. The ID of the parent channel to which the requested sites belong. + */ +@property(nonatomic, assign) long long channelId; + +/** + * Allows filtering by site fields. Supported syntax: * Filter expressions for + * site retrieval can only contain at most one restriction. * A restriction has + * the form of `{field} {operator} {value}`. * All fields must use the `HAS + * (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for + * which the URL or app ID contains "google": `urlOrAppId : "google"` The + * length of this field should be no more than 500 characters. Reference our + * [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide + * for more information. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Field by which to sort the list. Acceptable values are: * `urlOrAppId` + * (default) The default sorting order is ascending. To specify descending + * order for a field, a suffix " desc" should be added to the field name. + * Example: `urlOrAppId desc`. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Requested page size. Must be between `1` and `10000`. If unspecified will + * default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value + * is specified. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of next_page_token returned from the previous call to + * `ListSites` method. If not specified, the first page of results will be + * returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** The ID of the partner that owns the parent channel. */ +@property(nonatomic, assign) long long partnerId; + +/** + * Fetches a @c GTLRDisplayVideo_ListSitesResponse. + * + * Lists sites in a channel. + * + * @param advertiserId The ID of the advertiser that owns the parent channel. + * @param channelId Required. The ID of the parent channel to which the + * requested sites belong. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + channelId:(long long)channelId; + +@end + +/** + * Replaces all of the sites under a single channel. The operation will replace + * the sites under a channel with the sites provided in + * ReplaceSitesRequest.new_sites. **This method regularly experiences high + * latency.** We recommend [increasing your default + * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) + * to avoid errors. + * + * Method: displayvideo.advertisers.channels.sites.replace + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesReplace : GTLRDisplayVideoQuery + +/** The ID of the advertiser that owns the parent channel. */ +@property(nonatomic, assign) long long advertiserId; + +/** Required. The ID of the parent channel whose sites will be replaced. */ +@property(nonatomic, assign) long long channelId; + +/** + * Fetches a @c GTLRDisplayVideo_ReplaceSitesResponse. + * + * Replaces all of the sites under a single channel. The operation will replace + * the sites under a channel with the sites provided in + * ReplaceSitesRequest.new_sites. **This method regularly experiences high + * latency.** We recommend [increasing your default + * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) + * to avoid errors. + * + * @param object The @c GTLRDisplayVideo_ReplaceSitesRequest to include in the + * query. + * @param advertiserId The ID of the advertiser that owns the parent channel. + * @param channelId Required. The ID of the parent channel whose sites will be + * replaced. + * + * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesReplace + */ ++ (instancetype)queryWithObject:(GTLRDisplayVideo_ReplaceSitesRequest *)object + advertiserId:(long long)advertiserId + channelId:(long long)channelId; + +@end + +/** + * Creates a new advertiser. Returns the newly created advertiser if + * successful. **This method regularly experiences high latency.** We recommend + * [increasing your default + * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) + * to avoid errors. + * + * Method: displayvideo.advertisers.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersCreate : GTLRDisplayVideoQuery + +/** + * Fetches a @c GTLRDisplayVideo_Advertiser. + * + * Creates a new advertiser. Returns the newly created advertiser if + * successful. **This method regularly experiences high latency.** We recommend + * [increasing your default + * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) + * to avoid errors. + * + * @param object The @c GTLRDisplayVideo_Advertiser to include in the query. + * + * @return GTLRDisplayVideoQuery_AdvertisersCreate + */ ++ (instancetype)queryWithObject:(GTLRDisplayVideo_Advertiser *)object; + +@end + +/** + * Creates a new creative. Returns the newly created creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. + * + * Method: displayvideo.advertisers.creatives.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersCreativesCreate : GTLRDisplayVideoQuery + +/** Output only. The unique ID of the advertiser the creative belongs to. */ +@property(nonatomic, assign) long long advertiserId; + +/** + * Fetches a @c GTLRDisplayVideo_Creative. + * + * Creates a new creative. Returns the newly created creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. + * + * @param object The @c GTLRDisplayVideo_Creative to include in the query. + * @param advertiserId Output only. The unique ID of the advertiser the + * creative belongs to. + * + * @return GTLRDisplayVideoQuery_AdvertisersCreativesCreate + */ ++ (instancetype)queryWithObject:(GTLRDisplayVideo_Creative *)object + advertiserId:(long long)advertiserId; + +@end + +/** + * Deletes a creative. Returns error code `NOT_FOUND` if the creative does not + * exist. The creative should be archived first, i.e. set entity_status to + * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user + * role](//support.google.com/displayvideo/answer/2723011) or greater for the + * parent advertiser or partner is required to make this request. + * + * Method: displayvideo.advertisers.creatives.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersCreativesDelete : GTLRDisplayVideoQuery + +/** The ID of the advertiser this creative belongs to. */ +@property(nonatomic, assign) long long advertiserId; + +/** The ID of the creative to be deleted. */ +@property(nonatomic, assign) long long creativeId; + +/** + * Fetches a @c GTLRDisplayVideo_Empty. + * + * Deletes a creative. Returns error code `NOT_FOUND` if the creative does not + * exist. The creative should be archived first, i.e. set entity_status to + * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user + * role](//support.google.com/displayvideo/answer/2723011) or greater for the + * parent advertiser or partner is required to make this request. + * + * @param advertiserId The ID of the advertiser this creative belongs to. + * @param creativeId The ID of the creative to be deleted. + * + * @return GTLRDisplayVideoQuery_AdvertisersCreativesDelete + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + creativeId:(long long)creativeId; + +@end + +/** + * Gets a creative. + * + * Method: displayvideo.advertisers.creatives.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersCreativesGet : GTLRDisplayVideoQuery + +/** Required. The ID of the advertiser this creative belongs to. */ +@property(nonatomic, assign) long long advertiserId; + +/** Required. The ID of the creative to fetch. */ +@property(nonatomic, assign) long long creativeId; + +/** + * Fetches a @c GTLRDisplayVideo_Creative. + * + * Gets a creative. + * + * @param advertiserId Required. The ID of the advertiser this creative belongs + * to. + * @param creativeId Required. The ID of the creative to fetch. + * + * @return GTLRDisplayVideoQuery_AdvertisersCreativesGet + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + creativeId:(long long)creativeId; + +@end + +/** + * Lists creatives in an advertiser. The order is defined by the order_by + * parameter. If a filter by entity_status is not specified, creatives with + * `ENTITY_STATUS_ARCHIVED` will not be included in the results. + * + * Method: displayvideo.advertisers.creatives.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersCreativesList : GTLRDisplayVideoQuery + +/** Required. The ID of the advertiser to list creatives for. */ +@property(nonatomic, assign) long long advertiserId; + +/** + * Allows filtering by creative fields. Supported syntax: * Filter expressions + * are made up of one or more restrictions. * Restrictions can be combined by + * `AND` or `OR` logical operators. A sequence of restrictions implicitly uses + * `AND`. * A restriction has the form of `{field} {operator} {value}`. * The + * `lineItemIds` field must use the `HAS (:)` operator. * The `updateTime` + * field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO + * (<=)` operators. * All other fields must use the `EQUALS (=)` operator. * + * For `entityStatus`, `minDuration`, `maxDuration`, `updateTime`, and + * `dynamic` fields, there may be at most one restriction. Supported Fields: * + * `approvalStatus` * `creativeId` * `creativeType` * `dimensions` (input in + * the form of `{width}x{height}`) * `dynamic` * `entityStatus` * + * `exchangeReviewStatus` (input in the form of `{exchange}-{reviewStatus}`) * + * `lineItemIds` * `maxDuration` (input in the form of `{duration}s`. Only + * seconds are supported) * `minDuration` (input in the form of `{duration}s`. + * Only seconds are supported) * `updateTime` (input in ISO 8601 format, or + * `YYYY-MM-DDTHH:MM:SSZ`) Notes: * For `updateTime`, a creative resource's + * field value reflects the last time that a creative has been updated, which + * includes updates made by the system (e.g. creative review updates). + * Examples: * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"` * + * All active creatives with 300x400 or 50x100 dimensions: + * `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR + * dimensions="50x100")` * All dynamic creatives that are approved by AdX or + * AppNexus, with a minimum duration of 5 seconds and 200ms: `dynamic="true" + * AND minDuration="5.2s" AND + * (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED" OR + * exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")` * All + * video creatives that are associated with line item ID 1 or 2: + * `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)` * + * Find creatives by multiple creative IDs: `creativeId=1 OR creativeId=2` * + * All creatives with an update time greater than or equal to + * 2020-11-04T18:54:47Z (format of ISO 8601): + * `updateTime>="2020-11-04T18:54:47Z"` The length of this field should be no + * more than 500 characters. Reference our [filter `LIST` + * requests](/display-video/api/guides/how-tos/filters) guide for more + * information. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Field by which to sort the list. Acceptable values are: * `creativeId` + * (default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width + * first, then by height) The default sorting order is ascending. To specify + * descending order for a field, a suffix "desc" should be added to the field + * name. Example: `createTime desc`. + */ +@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. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * A token identifying a page of results the server should return. Typically, + * this is the value of next_page_token returned from the previous call to + * `ListCreatives` method. If not specified, the first page of results will be + * returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRDisplayVideo_ListCreativesResponse. + * + * Lists creatives in an advertiser. The order is defined by the order_by + * parameter. If a filter by entity_status is not specified, creatives with + * `ENTITY_STATUS_ARCHIVED` will not be included in the results. + * + * @param advertiserId Required. The ID of the advertiser to list creatives + * for. + * + * @return GTLRDisplayVideoQuery_AdvertisersCreativesList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId; + +@end + +/** + * Updates an existing creative. Returns the updated creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. + * + * Method: displayvideo.advertisers.creatives.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersCreativesPatch : GTLRDisplayVideoQuery + +/** Output only. The unique ID of the advertiser the creative belongs to. */ +@property(nonatomic, assign) long long advertiserId; + +/** Output only. The unique ID of the creative. Assigned by the system. */ +@property(nonatomic, assign) long long creativeId; + +/** + * Required. The mask to control which fields to update. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRDisplayVideo_Creative. + * + * Updates an existing creative. Returns the updated creative if successful. A + * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or + * greater for the parent advertiser or partner is required to make this + * request. + * + * @param object The @c GTLRDisplayVideo_Creative to include in the query. + * @param advertiserId Output only. The unique ID of the advertiser the + * creative belongs to. + * @param creativeId Output only. The unique ID of the creative. Assigned by + * the system. + * + * @return GTLRDisplayVideoQuery_AdvertisersCreativesPatch + */ ++ (instancetype)queryWithObject:(GTLRDisplayVideo_Creative *)object + advertiserId:(long long)advertiserId + creativeId:(long long)creativeId; @end /** - * Deletes a site from a channel. + * Deletes an advertiser. Deleting an advertiser will delete all of its child + * resources, for example, campaigns, insertion orders and line items. A + * deleted advertiser cannot be recovered. * - * Method: displayvideo.advertisers.channels.sites.delete + * Method: displayvideo.advertisers.delete * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesDelete : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersDelete : GTLRDisplayVideoQuery -/** The ID of the advertiser that owns the parent channel. */ +/** The ID of the advertiser we need to delete. */ @property(nonatomic, assign) long long advertiserId; -/** Required. The ID of the parent channel to which the site belongs. */ -@property(nonatomic, assign) long long channelId; +/** + * Fetches a @c GTLRDisplayVideo_Empty. + * + * Deletes an advertiser. Deleting an advertiser will delete all of its child + * resources, for example, campaigns, insertion orders and line items. A + * deleted advertiser cannot be recovered. + * + * @param advertiserId The ID of the advertiser we need to delete. + * + * @return GTLRDisplayVideoQuery_AdvertisersDelete + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId; -/** The ID of the partner that owns the parent channel. */ -@property(nonatomic, assign) long long partnerId; +@end -/** Required. The URL or app ID of the site to delete. */ -@property(nonatomic, copy, nullable) NSString *urlOrAppId; +/** + * Edits targeting options under a single advertiser. The operation will delete + * the assigned targeting options provided in + * BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then + * create the assigned targeting options provided in + * BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests . + * + * Method: displayvideo.advertisers.editAssignedTargetingOptions + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersEditAssignedTargetingOptions : GTLRDisplayVideoQuery + +/** Required. The ID of the advertiser. */ +@property(nonatomic, assign) long long advertiserId; /** - * Fetches a @c GTLRDisplayVideo_Empty. + * Fetches a @c + * GTLRDisplayVideo_BulkEditAdvertiserAssignedTargetingOptionsResponse. * - * Deletes a site from a channel. + * Edits targeting options under a single advertiser. The operation will delete + * the assigned targeting options provided in + * BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then + * create the assigned targeting options provided in + * BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests . * - * @param advertiserId The ID of the advertiser that owns the parent channel. - * @param channelId Required. The ID of the parent channel to which the site - * belongs. - * @param urlOrAppId Required. The URL or app ID of the site to delete. + * @param object The @c + * GTLRDisplayVideo_BulkEditAdvertiserAssignedTargetingOptionsRequest to + * include in the query. + * @param advertiserId Required. The ID of the advertiser. * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesDelete + * @return GTLRDisplayVideoQuery_AdvertisersEditAssignedTargetingOptions */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId - channelId:(long long)channelId - urlOrAppId:(NSString *)urlOrAppId; ++ (instancetype)queryWithObject:(GTLRDisplayVideo_BulkEditAdvertiserAssignedTargetingOptionsRequest *)object + advertiserId:(long long)advertiserId; @end /** - * Lists sites in a channel. + * Gets an advertiser. * - * Method: displayvideo.advertisers.channels.sites.list + * Method: displayvideo.advertisers.get * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesList : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersGet : GTLRDisplayVideoQuery -/** The ID of the advertiser that owns the parent channel. */ +/** Required. The ID of the advertiser to fetch. */ @property(nonatomic, assign) long long advertiserId; /** - * Required. The ID of the parent channel to which the requested sites belong. + * Fetches a @c GTLRDisplayVideo_Advertiser. + * + * Gets an advertiser. + * + * @param advertiserId Required. The ID of the advertiser to fetch. + * + * @return GTLRDisplayVideoQuery_AdvertisersGet */ -@property(nonatomic, assign) long long channelId; ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId; + +@end /** - * Allows filtering by site fields. Supported syntax: * Filter expressions for - * site retrieval can only contain at most one restriction. * A restriction has - * the form of `{field} {operator} {value}`. * All fields must use the `HAS - * (:)` operator. Supported fields: * `urlOrAppId` Examples: * All sites for - * which the URL or app ID contains "google": `urlOrAppId : "google"` The - * length of this field should be no more than 500 characters. Reference our - * [filter `LIST` requests](/display-video/api/guides/how-tos/filters) guide - * for more information. + * Creates a new insertion order. Returns the newly created insertion order if + * successful. + * + * Method: displayvideo.advertisers.insertionOrders.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@property(nonatomic, copy, nullable) NSString *filter; +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersCreate : GTLRDisplayVideoQuery /** - * Field by which to sort the list. Acceptable values are: * `urlOrAppId` - * (default) The default sorting order is ascending. To specify descending - * order for a field, a suffix " desc" should be added to the field name. - * Example: `urlOrAppId desc`. + * Output only. The unique ID of the advertiser the insertion order belongs to. */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@property(nonatomic, assign) long long advertiserId; /** - * Requested page size. Must be between `1` and `10000`. If unspecified will - * default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value - * is specified. + * Fetches a @c GTLRDisplayVideo_InsertionOrder. + * + * Creates a new insertion order. Returns the newly created insertion order if + * successful. + * + * @param object The @c GTLRDisplayVideo_InsertionOrder to include in the + * query. + * @param advertiserId Output only. The unique ID of the advertiser the + * insertion order belongs to. + * + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersCreate */ -@property(nonatomic, assign) NSInteger pageSize; ++ (instancetype)queryWithObject:(GTLRDisplayVideo_InsertionOrder *)object + advertiserId:(long long)advertiserId; + +@end /** - * A token identifying a page of results the server should return. Typically, - * this is the value of next_page_token returned from the previous call to - * `ListSites` method. If not specified, the first page of results will be - * returned. + * Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion + * order does not exist. The insertion order should be archived first, i.e. set + * entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. + * + * Method: displayvideo.advertisers.insertionOrders.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersDelete : GTLRDisplayVideoQuery -/** The ID of the partner that owns the parent channel. */ -@property(nonatomic, assign) long long partnerId; +/** The ID of the advertiser this insertion order belongs to. */ +@property(nonatomic, assign) long long advertiserId; + +/** The ID of the insertion order to delete. */ +@property(nonatomic, assign) long long insertionOrderId; /** - * Fetches a @c GTLRDisplayVideo_ListSitesResponse. + * Fetches a @c GTLRDisplayVideo_Empty. * - * Lists sites in a channel. + * Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion + * order does not exist. The insertion order should be archived first, i.e. set + * entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. * - * @param advertiserId The ID of the advertiser that owns the parent channel. - * @param channelId Required. The ID of the parent channel to which the - * requested sites belong. + * @param advertiserId The ID of the advertiser this insertion order belongs + * to. + * @param insertionOrderId The ID of the insertion order to delete. * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesList + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersDelete + */ ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId; + +@end + +/** + * Gets an insertion order. Returns error code `NOT_FOUND` if the insertion + * order does not exist. * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * Method: displayvideo.advertisers.insertionOrders.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo + */ +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersGet : GTLRDisplayVideoQuery + +/** Required. The ID of the advertiser this insertion order belongs to. */ +@property(nonatomic, assign) long long advertiserId; + +/** Required. The ID of the insertion order to fetch. */ +@property(nonatomic, assign) long long insertionOrderId; + +/** + * Fetches a @c GTLRDisplayVideo_InsertionOrder. + * + * Gets an insertion order. Returns error code `NOT_FOUND` if the insertion + * order does not exist. + * + * @param advertiserId Required. The ID of the advertiser this insertion order + * belongs to. + * @param insertionOrderId Required. The ID of the insertion order to fetch. + * + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersGet */ + (instancetype)queryWithAdvertiserId:(long long)advertiserId - channelId:(long long)channelId; + insertionOrderId:(long long)insertionOrderId; @end /** - * Replaces all of the sites under a single channel. The operation will replace - * the sites under a channel with the sites provided in - * ReplaceSitesRequest.new_sites. **This method regularly experiences high - * latency.** We recommend [increasing your default - * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) - * to avoid errors. + * Lists insertion orders in an advertiser. The order is defined by the + * order_by parameter. If a filter by entity_status is not specified, insertion + * orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results. * - * Method: displayvideo.advertisers.channels.sites.replace + * Method: displayvideo.advertisers.insertionOrders.list * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersChannelsSitesReplace : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersList : GTLRDisplayVideoQuery -/** The ID of the advertiser that owns the parent channel. */ +/** Required. The ID of the advertiser to list insertion orders for. */ @property(nonatomic, assign) long long advertiserId; -/** Required. The ID of the parent channel whose sites will be replaced. */ -@property(nonatomic, assign) long long channelId; +/** + * Allows filtering by insertion order fields. Supported syntax: * Filter + * expressions are made up of one or more restrictions. * Restrictions can be + * combined by `AND` or `OR` logical operators. A sequence of restrictions + * implicitly uses `AND`. * A restriction has the form of `{field} {operator} + * {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO + * (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use + * the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` + * * `entityStatus` * `updateTime` (input in ISO 8601 format, or + * `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: + * `campaignId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` + * insertion orders under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" + * OR entityStatus="ENTITY_STATUS_PAUSED")` * All insertion orders with an + * update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): + * `updateTime<="2020-11-04T18:54:47Z"` * All insertion orders with an update + * time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): + * `updateTime>="2020-11-04T18:54:47Z"` The length of this field should be no + * more than 500 characters. Reference our [filter `LIST` + * requests](/display-video/api/guides/how-tos/filters) guide for more + * information. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Field by which to sort the list. Acceptable values are: * "displayName" + * (default) * "entityStatus" * "updateTime" The default sorting order is + * ascending. To specify descending order for a field, a suffix "desc" should + * be added to the field name. Example: `displayName desc`. + */ +@property(nonatomic, copy, nullable) NSString *orderBy; /** - * Fetches a @c GTLRDisplayVideo_ReplaceSitesResponse. - * - * Replaces all of the sites under a single channel. The operation will replace - * the sites under a channel with the sites provided in - * ReplaceSitesRequest.new_sites. **This method regularly experiences high - * latency.** We recommend [increasing your default - * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) - * to avoid errors. - * - * @param object The @c GTLRDisplayVideo_ReplaceSitesRequest to include in the - * query. - * @param advertiserId The ID of the advertiser that owns the parent channel. - * @param channelId Required. The ID of the parent channel whose sites will be - * replaced. - * - * @return GTLRDisplayVideoQuery_AdvertisersChannelsSitesReplace + * Requested page size. Must be between `1` and `100`. If unspecified will + * default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value + * is specified. */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_ReplaceSitesRequest *)object - advertiserId:(long long)advertiserId - channelId:(long long)channelId; - -@end +@property(nonatomic, assign) NSInteger pageSize; /** - * Creates a new advertiser. Returns the newly created advertiser if - * successful. **This method regularly experiences high latency.** We recommend - * [increasing your default - * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) - * to avoid errors. - * - * Method: displayvideo.advertisers.create - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * A token identifying a page of results the server should return. Typically, + * this is the value of next_page_token returned from the previous call to + * `ListInsertionOrders` method. If not specified, the first page of results + * will be returned. */ -@interface GTLRDisplayVideoQuery_AdvertisersCreate : GTLRDisplayVideoQuery +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Fetches a @c GTLRDisplayVideo_Advertiser. + * Fetches a @c GTLRDisplayVideo_ListInsertionOrdersResponse. * - * Creates a new advertiser. Returns the newly created advertiser if - * successful. **This method regularly experiences high latency.** We recommend - * [increasing your default - * timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) - * to avoid errors. + * Lists insertion orders in an advertiser. The order is defined by the + * order_by parameter. If a filter by entity_status is not specified, insertion + * orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results. * - * @param object The @c GTLRDisplayVideo_Advertiser to include in the query. + * @param advertiserId Required. The ID of the advertiser to list insertion + * orders for. * - * @return GTLRDisplayVideoQuery_AdvertisersCreate + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_Advertiser *)object; ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId; @end /** - * Creates a new creative. Returns the newly created creative if successful. A - * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or - * greater for the parent advertiser or partner is required to make this - * request. + * Lists assigned targeting options of an insertion order across targeting + * types. * - * Method: displayvideo.advertisers.creatives.create + * Method: displayvideo.advertisers.insertionOrders.listAssignedTargetingOptions * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersCreativesCreate : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersListAssignedTargetingOptions : GTLRDisplayVideoQuery -/** Output only. The unique ID of the advertiser the creative belongs to. */ +/** Required. The ID of the advertiser the insertion order belongs to. */ @property(nonatomic, assign) long long advertiserId; /** - * Fetches a @c GTLRDisplayVideo_Creative. - * - * Creates a new creative. Returns the newly created creative if successful. A - * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or - * greater for the parent advertiser or partner is required to make this - * request. - * - * @param object The @c GTLRDisplayVideo_Creative to include in the query. - * @param advertiserId Output only. The unique ID of the advertiser the - * creative belongs to. - * - * @return GTLRDisplayVideoQuery_AdvertisersCreativesCreate + * Allows filtering by assigned targeting option fields. Supported syntax: * + * Filter expressions are made up of one or more restrictions. * Restrictions + * can be combined by the logical operator `OR`. * A restriction has the form + * of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` + * operator. Supported fields: * `targetingType` * `inheritance` Examples: * + * `AssignedTargetingOption` resources of targeting type + * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` or `TARGETING_TYPE_CHANNEL`: + * `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR + * targetingType="TARGETING_TYPE_CHANNEL"` * `AssignedTargetingOption` + * resources with inheritance status of `NOT_INHERITED` or + * `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR + * inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no + * more than 500 characters. Reference our [filter `LIST` + * requests](/display-video/api/guides/how-tos/filters) guide for more + * information. */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_Creative *)object - advertiserId:(long long)advertiserId; +@property(nonatomic, copy, nullable) NSString *filter; -@end +/** + * Required. The ID of the insertion order to list assigned targeting options + * for. + */ +@property(nonatomic, assign) long long insertionOrderId; /** - * Deletes a creative. Returns error code `NOT_FOUND` if the creative does not - * exist. The creative should be archived first, i.e. set entity_status to - * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user - * role](//support.google.com/displayvideo/answer/2723011) or greater for the - * parent advertiser or partner is required to make this request. - * - * Method: displayvideo.advertisers.creatives.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * Field by which to sort the list. Acceptable values are: * `targetingType` + * (default) The default sorting order is ascending. To specify descending + * order for a field, a suffix "desc" should be added to the field name. + * Example: `targetingType desc`. */ -@interface GTLRDisplayVideoQuery_AdvertisersCreativesDelete : GTLRDisplayVideoQuery +@property(nonatomic, copy, nullable) NSString *orderBy; -/** The ID of the advertiser this creative belongs to. */ -@property(nonatomic, assign) long long advertiserId; +/** + * Requested page size. The size must be an integer between `1` and `5000`. If + * unspecified, the default is `5000`. Returns error code `INVALID_ARGUMENT` if + * an invalid value is specified. + */ +@property(nonatomic, assign) NSInteger pageSize; -/** The ID of the creative to be deleted. */ -@property(nonatomic, assign) long long creativeId; +/** + * A token that lets the client fetch the next page of results. Typically, this + * is the value of next_page_token returned from the previous call to + * `BulkListInsertionOrderAssignedTargetingOptions` method. If not specified, + * the first page of results will be returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; /** - * Fetches a @c GTLRDisplayVideo_Empty. + * Fetches a @c + * GTLRDisplayVideo_BulkListInsertionOrderAssignedTargetingOptionsResponse. * - * Deletes a creative. Returns error code `NOT_FOUND` if the creative does not - * exist. The creative should be archived first, i.e. set entity_status to - * `ENTITY_STATUS_ARCHIVED`, before it can be deleted. A ["Standard" user - * role](//support.google.com/displayvideo/answer/2723011) or greater for the - * parent advertiser or partner is required to make this request. + * Lists assigned targeting options of an insertion order across targeting + * types. * - * @param advertiserId The ID of the advertiser this creative belongs to. - * @param creativeId The ID of the creative to be deleted. + * @param advertiserId Required. The ID of the advertiser the insertion order + * belongs to. + * @param insertionOrderId Required. The ID of the insertion order to list + * assigned targeting options for. * - * @return GTLRDisplayVideoQuery_AdvertisersCreativesDelete + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersListAssignedTargetingOptions + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. */ + (instancetype)queryWithAdvertiserId:(long long)advertiserId - creativeId:(long long)creativeId; + insertionOrderId:(long long)insertionOrderId; @end /** - * Gets a creative. + * Updates an existing insertion order. Returns the updated insertion order if + * successful. * - * Method: displayvideo.advertisers.creatives.get + * Method: displayvideo.advertisers.insertionOrders.patch * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersCreativesGet : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersPatch : GTLRDisplayVideoQuery -/** Required. The ID of the advertiser this creative belongs to. */ +/** + * Output only. The unique ID of the advertiser the insertion order belongs to. + */ @property(nonatomic, assign) long long advertiserId; -/** Required. The ID of the creative to fetch. */ -@property(nonatomic, assign) long long creativeId; +/** + * Output only. The unique ID of the insertion order. Assigned by the system. + */ +@property(nonatomic, assign) long long insertionOrderId; /** - * Fetches a @c GTLRDisplayVideo_Creative. - * - * Gets a creative. - * - * @param advertiserId Required. The ID of the advertiser this creative belongs - * to. - * @param creativeId Required. The ID of the creative to fetch. + * Required. The mask to control which fields to update. * - * @return GTLRDisplayVideoQuery_AdvertisersCreativesGet + * String format is a comma-separated list of fields. */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId - creativeId:(long long)creativeId; - -@end +@property(nonatomic, copy, nullable) NSString *updateMask; /** - * Lists creatives in an advertiser. The order is defined by the order_by - * parameter. If a filter by entity_status is not specified, creatives with - * `ENTITY_STATUS_ARCHIVED` will not be included in the results. + * Fetches a @c GTLRDisplayVideo_InsertionOrder. * - * Method: displayvideo.advertisers.creatives.list + * Updates an existing insertion order. Returns the updated insertion order if + * successful. * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * @param object The @c GTLRDisplayVideo_InsertionOrder to include in the + * query. + * @param advertiserId Output only. The unique ID of the advertiser the + * insertion order belongs to. + * @param insertionOrderId Output only. The unique ID of the insertion order. + * Assigned by the system. + * + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersPatch */ -@interface GTLRDisplayVideoQuery_AdvertisersCreativesList : GTLRDisplayVideoQuery - -/** Required. The ID of the advertiser to list creatives for. */ -@property(nonatomic, assign) long long advertiserId; ++ (instancetype)queryWithObject:(GTLRDisplayVideo_InsertionOrder *)object + advertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId; -/** - * Allows filtering by creative fields. Supported syntax: * Filter expressions - * are made up of one or more restrictions. * Restrictions can be combined by - * `AND` or `OR` logical operators. A sequence of restrictions implicitly uses - * `AND`. * A restriction has the form of `{field} {operator} {value}`. * The - * `lineItemIds` field must use the `HAS (:)` operator. * The `updateTime` - * field must use the `GREATER THAN OR EQUAL TO (>=)` or `LESS THAN OR EQUAL TO - * (<=)` operators. * All other fields must use the `EQUALS (=)` operator. * - * For `entityStatus`, `minDuration`, `maxDuration`, `updateTime`, and - * `dynamic` fields, there may be at most one restriction. Supported Fields: * - * `approvalStatus` * `creativeId` * `creativeType` * `dimensions` (input in - * the form of `{width}x{height}`) * `dynamic` * `entityStatus` * - * `exchangeReviewStatus` (input in the form of `{exchange}-{reviewStatus}`) * - * `lineItemIds` * `maxDuration` (input in the form of `{duration}s`. Only - * seconds are supported) * `minDuration` (input in the form of `{duration}s`. - * Only seconds are supported) * `updateTime` (input in ISO 8601 format, or - * `YYYY-MM-DDTHH:MM:SSZ`) Notes: * For `updateTime`, a creative resource's - * field value reflects the last time that a creative has been updated, which - * includes updates made by the system (e.g. creative review updates). - * Examples: * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"` * - * All active creatives with 300x400 or 50x100 dimensions: - * `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR - * dimensions="50x100")` * All dynamic creatives that are approved by AdX or - * AppNexus, with a minimum duration of 5 seconds and 200ms: `dynamic="true" - * AND minDuration="5.2s" AND - * (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED" OR - * exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")` * All - * video creatives that are associated with line item ID 1 or 2: - * `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)` * - * Find creatives by multiple creative IDs: `creativeId=1 OR creativeId=2` * - * All creatives with an update time greater than or equal to - * 2020-11-04T18:54:47Z (format of ISO 8601): - * `updateTime>="2020-11-04T18:54:47Z"` The length of this field should be no - * more than 500 characters. Reference our [filter `LIST` - * requests](/display-video/api/guides/how-tos/filters) guide for more - * information. - */ -@property(nonatomic, copy, nullable) NSString *filter; +@end /** - * Field by which to sort the list. Acceptable values are: * `creativeId` - * (default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width - * first, then by height) The default sorting order is ascending. To specify - * descending order for a field, a suffix "desc" should be added to the field - * name. Example: `createTime desc`. + * Assigns a targeting option to an insertion order. Returns the assigned + * targeting option if successful. Supported targeting types: * + * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` + * + * Method: displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@property(nonatomic, copy, nullable) NSString *orderBy; +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsCreate : GTLRDisplayVideoQuery + +/** Required. The ID of the advertiser the insertion order belongs to. */ +@property(nonatomic, assign) long long advertiserId; /** - * 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. + * Required. The ID of the insertion order the assigned targeting option will + * belong to. */ -@property(nonatomic, assign) NSInteger pageSize; +@property(nonatomic, assign) long long insertionOrderId; /** - * A token identifying a page of results the server should return. Typically, - * this is the value of next_page_token returned from the previous call to - * `ListCreatives` method. If not specified, the first page of results will be - * returned. + * Required. Identifies the type of this assigned targeting option. Supported + * targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` + * + * Likely values: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, copy, nullable) NSString *targetingType; /** - * Fetches a @c GTLRDisplayVideo_ListCreativesResponse. + * Fetches a @c GTLRDisplayVideo_AssignedTargetingOption. * - * Lists creatives in an advertiser. The order is defined by the order_by - * parameter. If a filter by entity_status is not specified, creatives with - * `ENTITY_STATUS_ARCHIVED` will not be included in the results. + * Assigns a targeting option to an insertion order. Returns the assigned + * targeting option if successful. Supported targeting types: * + * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` * - * @param advertiserId Required. The ID of the advertiser to list creatives - * for. + * @param object The @c GTLRDisplayVideo_AssignedTargetingOption to include in + * the query. + * @param advertiserId Required. The ID of the advertiser the insertion order + * belongs to. + * @param insertionOrderId Required. The ID of the insertion order the assigned + * targeting option will belong to. + * @param targetingType Required. Identifies the type of this assigned + * targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` + * * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * + * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` + * * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_VIEWABILITY` * - * @return GTLRDisplayVideoQuery_AdvertisersCreativesList + * Likely values for @c targetingType: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsCreate */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId; ++ (instancetype)queryWithObject:(GTLRDisplayVideo_AssignedTargetingOption *)object + advertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType; @end /** - * Updates an existing creative. Returns the updated creative if successful. A - * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or - * greater for the parent advertiser or partner is required to make this - * request. + * Deletes an assigned targeting option from an insertion order. Supported + * targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` * - * Method: displayvideo.advertisers.creatives.patch + * Method: displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.delete * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersCreativesPatch : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsDelete : GTLRDisplayVideoQuery -/** Output only. The unique ID of the advertiser the creative belongs to. */ +/** Required. The ID of the advertiser the insertion order belongs to. */ @property(nonatomic, assign) long long advertiserId; -/** Output only. The unique ID of the creative. Assigned by the system. */ -@property(nonatomic, assign) long long creativeId; - -/** - * Required. The mask to control which fields to update. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; +/** Required. The ID of the assigned targeting option to delete. */ +@property(nonatomic, copy, nullable) NSString *assignedTargetingOptionId; /** - * Fetches a @c GTLRDisplayVideo_Creative. - * - * Updates an existing creative. Returns the updated creative if successful. A - * ["Standard" user role](//support.google.com/displayvideo/answer/2723011) or - * greater for the parent advertiser or partner is required to make this - * request. - * - * @param object The @c GTLRDisplayVideo_Creative to include in the query. - * @param advertiserId Output only. The unique ID of the advertiser the - * creative belongs to. - * @param creativeId Output only. The unique ID of the creative. Assigned by - * the system. - * - * @return GTLRDisplayVideoQuery_AdvertisersCreativesPatch + * Required. The ID of the insertion order the assigned targeting option + * belongs to. */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_Creative *)object - advertiserId:(long long)advertiserId - creativeId:(long long)creativeId; - -@end +@property(nonatomic, assign) long long insertionOrderId; /** - * Deletes an advertiser. Deleting an advertiser will delete all of its child - * resources, for example, campaigns, insertion orders and line items. A - * deleted advertiser cannot be recovered. - * - * Method: displayvideo.advertisers.delete + * Required. Identifies the type of this assigned targeting option. Supported + * targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * Likely values: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") */ -@interface GTLRDisplayVideoQuery_AdvertisersDelete : GTLRDisplayVideoQuery - -/** The ID of the advertiser we need to delete. */ -@property(nonatomic, assign) long long advertiserId; +@property(nonatomic, copy, nullable) NSString *targetingType; /** * Fetches a @c GTLRDisplayVideo_Empty. * - * Deletes an advertiser. Deleting an advertiser will delete all of its child - * resources, for example, campaigns, insertion orders and line items. A - * deleted advertiser cannot be recovered. - * - * @param advertiserId The ID of the advertiser we need to delete. - * - * @return GTLRDisplayVideoQuery_AdvertisersDelete - */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId; - -@end - -/** - * Edits targeting options under a single advertiser. The operation will delete - * the assigned targeting options provided in - * BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then - * create the assigned targeting options provided in - * BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests . - * - * Method: displayvideo.advertisers.editAssignedTargetingOptions - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo - */ -@interface GTLRDisplayVideoQuery_AdvertisersEditAssignedTargetingOptions : GTLRDisplayVideoQuery - -/** Required. The ID of the advertiser. */ -@property(nonatomic, assign) long long advertiserId; - -/** - * Fetches a @c - * GTLRDisplayVideo_BulkEditAdvertiserAssignedTargetingOptionsResponse. - * - * Edits targeting options under a single advertiser. The operation will delete - * the assigned targeting options provided in - * BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then - * create the assigned targeting options provided in - * BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests . - * - * @param object The @c - * GTLRDisplayVideo_BulkEditAdvertiserAssignedTargetingOptionsRequest to - * include in the query. - * @param advertiserId Required. The ID of the advertiser. - * - * @return GTLRDisplayVideoQuery_AdvertisersEditAssignedTargetingOptions - */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_BulkEditAdvertiserAssignedTargetingOptionsRequest *)object - advertiserId:(long long)advertiserId; - -@end - -/** - * Gets an advertiser. - * - * Method: displayvideo.advertisers.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo - */ -@interface GTLRDisplayVideoQuery_AdvertisersGet : GTLRDisplayVideoQuery - -/** Required. The ID of the advertiser to fetch. */ -@property(nonatomic, assign) long long advertiserId; - -/** - * Fetches a @c GTLRDisplayVideo_Advertiser. + * Deletes an assigned targeting option from an insertion order. Supported + * targeting types: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * `TARGETING_TYPE_VIEWABILITY` * - * Gets an advertiser. + * @param advertiserId Required. The ID of the advertiser the insertion order + * belongs to. + * @param insertionOrderId Required. The ID of the insertion order the assigned + * targeting option belongs to. + * @param targetingType Required. Identifies the type of this assigned + * targeting option. Supported targeting types: * `TARGETING_TYPE_AGE_RANGE` + * * `TARGETING_TYPE_BROWSER` * `TARGETING_TYPE_CATEGORY` * + * `TARGETING_TYPE_CHANNEL` * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_GENDER` * + * `TARGETING_TYPE_KEYWORD` * `TARGETING_TYPE_LANGUAGE` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OPERATING_SYSTEM` + * * `TARGETING_TYPE_PARENTAL_STATUS` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_VIEWABILITY` + * @param assignedTargetingOptionId Required. The ID of the assigned targeting + * option to delete. * - * @param advertiserId Required. The ID of the advertiser to fetch. + * Likely values for @c targetingType: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") * - * @return GTLRDisplayVideoQuery_AdvertisersGet + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsDelete */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId; ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType + assignedTargetingOptionId:(NSString *)assignedTargetingOptionId; @end /** - * Creates a new insertion order. Returns the newly created insertion order if - * successful. + * Gets a single targeting option assigned to an insertion order. * - * Method: displayvideo.advertisers.insertionOrders.create + * Method: displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.get * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersCreate : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGet : GTLRDisplayVideoQuery -/** - * Output only. The unique ID of the advertiser the insertion order belongs to. - */ +/** Required. The ID of the advertiser the insertion order belongs to. */ @property(nonatomic, assign) long long advertiserId; /** - * Fetches a @c GTLRDisplayVideo_InsertionOrder. - * - * Creates a new insertion order. Returns the newly created insertion order if - * successful. - * - * @param object The @c GTLRDisplayVideo_InsertionOrder to include in the - * query. - * @param advertiserId Output only. The unique ID of the advertiser the - * insertion order belongs to. - * - * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersCreate + * Required. An identifier unique to the targeting type in this insertion order + * that identifies the assigned targeting option being requested. */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_InsertionOrder *)object - advertiserId:(long long)advertiserId; - -@end +@property(nonatomic, copy, nullable) NSString *assignedTargetingOptionId; /** - * Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion - * order does not exist. The insertion order should be archived first, i.e. set - * entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. - * - * Method: displayvideo.advertisers.insertionOrders.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * Required. The ID of the insertion order the assigned targeting option + * belongs to. */ -@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersDelete : GTLRDisplayVideoQuery - -/** The ID of the advertiser this insertion order belongs to. */ -@property(nonatomic, assign) long long advertiserId; - -/** The ID of the insertion order to delete. */ @property(nonatomic, assign) long long insertionOrderId; /** - * Fetches a @c GTLRDisplayVideo_Empty. - * - * Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion - * order does not exist. The insertion order should be archived first, i.e. set - * entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it. - * - * @param advertiserId The ID of the advertiser this insertion order belongs - * to. - * @param insertionOrderId The ID of the insertion order to delete. - * - * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersDelete - */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId - insertionOrderId:(long long)insertionOrderId; - -@end - -/** - * Gets an insertion order. Returns error code `NOT_FOUND` if the insertion - * order does not exist. - * - * Method: displayvideo.advertisers.insertionOrders.get + * Required. Identifies the type of this assigned targeting option. Supported + * targeting types include: * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` + * * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * + * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * + * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * + * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * + * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo + * Likely values: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") */ -@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersGet : GTLRDisplayVideoQuery - -/** Required. The ID of the advertiser this insertion order belongs to. */ -@property(nonatomic, assign) long long advertiserId; - -/** Required. The ID of the insertion order to fetch. */ -@property(nonatomic, assign) long long insertionOrderId; +@property(nonatomic, copy, nullable) NSString *targetingType; /** - * Fetches a @c GTLRDisplayVideo_InsertionOrder. + * Fetches a @c GTLRDisplayVideo_AssignedTargetingOption. * - * Gets an insertion order. Returns error code `NOT_FOUND` if the insertion - * order does not exist. + * Gets a single targeting option assigned to an insertion order. * - * @param advertiserId Required. The ID of the advertiser this insertion order + * @param advertiserId Required. The ID of the advertiser the insertion order * belongs to. - * @param insertionOrderId Required. The ID of the insertion order to fetch. + * @param insertionOrderId Required. The ID of the insertion order the assigned + * targeting option belongs to. + * @param targetingType Required. Identifies the type of this assigned + * targeting option. Supported targeting types include: * + * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * + * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * + * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * + * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * + * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * + * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` + * @param assignedTargetingOptionId Required. An identifier unique to the + * targeting type in this insertion order that identifies the assigned + * targeting option being requested. + * + * Likely values for @c targetingType: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") * - * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersGet + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsGet */ + (instancetype)queryWithAdvertiserId:(long long)advertiserId - insertionOrderId:(long long)insertionOrderId; + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType + assignedTargetingOptionId:(NSString *)assignedTargetingOptionId; @end /** - * Lists insertion orders in an advertiser. The order is defined by the - * order_by parameter. If a filter by entity_status is not specified, insertion - * orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results. + * Lists the targeting options assigned to an insertion order. * - * Method: displayvideo.advertisers.insertionOrders.list + * Method: displayvideo.advertisers.insertionOrders.targetingTypes.assignedTargetingOptions.list * * Authorization scope(s): * @c kGTLRAuthScopeDisplayVideoDisplayVideo */ -@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersList : GTLRDisplayVideoQuery +@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsList : GTLRDisplayVideoQuery -/** Required. The ID of the advertiser to list insertion orders for. */ +/** Required. The ID of the advertiser the insertion order belongs to. */ @property(nonatomic, assign) long long advertiserId; /** - * Allows filtering by insertion order fields. Supported syntax: * Filter - * expressions are made up of one or more restrictions. * Restrictions can be - * combined by `AND` or `OR` logical operators. A sequence of restrictions - * implicitly uses `AND`. * A restriction has the form of `{field} {operator} - * {value}`. * The `updateTime` field must use the `GREATER THAN OR EQUAL TO - * (>=)` or `LESS THAN OR EQUAL TO (<=)` operators. * All other fields must use - * the `EQUALS (=)` operator. Supported fields: * `campaignId` * `displayName` - * * `entityStatus` * `updateTime` (input in ISO 8601 format, or - * `YYYY-MM-DDTHH:MM:SSZ`) Examples: * All insertion orders under a campaign: - * `campaignId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` - * insertion orders under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" - * OR entityStatus="ENTITY_STATUS_PAUSED")` * All insertion orders with an - * update time less than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): - * `updateTime<="2020-11-04T18:54:47Z"` * All insertion orders with an update - * time greater than or equal to 2020-11-04T18:54:47Z (format of ISO 8601): - * `updateTime>="2020-11-04T18:54:47Z"` The length of this field should be no + * Allows filtering by assigned targeting option fields. Supported syntax: * + * Filter expressions are made up of one or more restrictions. * Restrictions + * can be combined by the logical operator `OR`. * A restriction has the form + * of `{field} {operator} {value}`. * All fields must use the `EQUALS (=)` + * operator. Supported fields: * `assignedTargetingOptionId` * `inheritance` + * Examples: * `AssignedTargetingOption` resources with ID 1 or 2: + * `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"` * + * `AssignedTargetingOption` resources with inheritance status of + * `NOT_INHERITED` or `INHERITED_FROM_PARTNER`: `inheritance="NOT_INHERITED" OR + * inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no * more than 500 characters. Reference our [filter `LIST` * requests](/display-video/api/guides/how-tos/filters) guide for more * information. @@ -2754,15 +5151,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo @property(nonatomic, copy, nullable) NSString *filter; /** - * Field by which to sort the list. Acceptable values are: * "displayName" - * (default) * "entityStatus" * "updateTime" The default sorting order is + * Required. The ID of the insertion order to list assigned targeting options + * for. + */ +@property(nonatomic, assign) long long insertionOrderId; + +/** + * Field by which to sort the list. Acceptable values are: * + * `assignedTargetingOptionId` (default) The default sorting order is * ascending. To specify descending order for a field, a suffix "desc" should - * be added to the field name. Example: `displayName desc`. + * be added to the field name. Example: `assignedTargetingOptionId desc`. */ @property(nonatomic, copy, nullable) NSString *orderBy; /** - * Requested page size. Must be between `1` and `100`. If unspecified will + * Requested page size. Must be between `1` and `5000`. If unspecified will * default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value * is specified. */ @@ -2771,77 +5174,418 @@ FOUNDATION_EXTERN NSString * const kGTLRDisplayVideoTargetingTypeTargetingTypeYo /** * A token identifying a page of results the server should return. Typically, * this is the value of next_page_token returned from the previous call to - * `ListInsertionOrders` method. If not specified, the first page of results - * will be returned. + * `ListInsertionOrderAssignedTargetingOptions` method. If not specified, the + * first page of results will be returned. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Identifies the type of assigned targeting options to list. + * Supported targeting types include: * `TARGETING_TYPE_AGE_RANGE` * + * `TARGETING_TYPE_APP` * `TARGETING_TYPE_APP_CATEGORY` * + * `TARGETING_TYPE_AUDIENCE_GROUP` * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * + * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * + * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * + * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` + * + * Likely values: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") */ -@property(nonatomic, copy, nullable) NSString *pageToken; +@property(nonatomic, copy, nullable) NSString *targetingType; /** - * Fetches a @c GTLRDisplayVideo_ListInsertionOrdersResponse. + * Fetches a @c + * GTLRDisplayVideo_ListInsertionOrderAssignedTargetingOptionsResponse. * - * Lists insertion orders in an advertiser. The order is defined by the - * order_by parameter. If a filter by entity_status is not specified, insertion - * orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results. + * Lists the targeting options assigned to an insertion order. * - * @param advertiserId Required. The ID of the advertiser to list insertion - * orders for. + * @param advertiserId Required. The ID of the advertiser the insertion order + * belongs to. + * @param insertionOrderId Required. The ID of the insertion order to list + * assigned targeting options for. + * @param targetingType Required. Identifies the type of assigned targeting + * options to list. Supported targeting types include: * + * `TARGETING_TYPE_AGE_RANGE` * `TARGETING_TYPE_APP` * + * `TARGETING_TYPE_APP_CATEGORY` * `TARGETING_TYPE_AUDIENCE_GROUP` * + * `TARGETING_TYPE_AUDIO_CONTENT_TYPE` * + * `TARGETING_TYPE_AUTHORIZED_SELLER_STATUS` * `TARGETING_TYPE_BROWSER` * + * `TARGETING_TYPE_BUSINESS_CHAIN` * `TARGETING_TYPE_CARRIER_AND_ISP` * + * `TARGETING_TYPE_CATEGORY` * `TARGETING_TYPE_CHANNEL` * + * `TARGETING_TYPE_CONTENT_DURATION` * `TARGETING_TYPE_CONTENT_GENRE` * + * `TARGETING_TYPE_CONTENT_INSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION` * + * `TARGETING_TYPE_CONTENT_STREAM_TYPE` * `TARGETING_TYPE_DAY_AND_TIME` * + * `TARGETING_TYPE_DEVICE_MAKE_MODEL` * `TARGETING_TYPE_DEVICE_TYPE` * + * `TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION` * + * `TARGETING_TYPE_ENVIRONMENT` * `TARGETING_TYPE_EXCHANGE` * + * `TARGETING_TYPE_GENDER` * `TARGETING_TYPE_GEO_REGION` * + * `TARGETING_TYPE_HOUSEHOLD_INCOME` * `TARGETING_TYPE_INVENTORY_SOURCE` * + * `TARGETING_TYPE_INVENTORY_SOURCE_GROUP` * `TARGETING_TYPE_KEYWORD` * + * `TARGETING_TYPE_LANGUAGE` * `TARGETING_TYPE_NATIVE_CONTENT_POSITION` * + * `TARGETING_TYPE_NEGATIVE_KEYWORD_LIST` * `TARGETING_TYPE_OMID` * + * `TARGETING_TYPE_ON_SCREEN_POSITION` * `TARGETING_TYPE_OPERATING_SYSTEM` * + * `TARGETING_TYPE_PARENTAL_STATUS` * `TARGETING_TYPE_POI` * + * `TARGETING_TYPE_PROXIMITY_LOCATION_LIST` * + * `TARGETING_TYPE_REGIONAL_LOCATION_LIST` * + * `TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION` * + * `TARGETING_TYPE_SUB_EXCHANGE` * `TARGETING_TYPE_THIRD_PARTY_VERIFIER` * + * `TARGETING_TYPE_URL` * `TARGETING_TYPE_USER_REWARDED_CONTENT` * + * `TARGETING_TYPE_VIDEO_PLAYER_SIZE` * `TARGETING_TYPE_VIEWABILITY` * - * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersList + * Likely values for @c targetingType: + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUnspecified Default + * value when type is not specified or is unknown in this version. + * (Value: "TARGETING_TYPE_UNSPECIFIED") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeChannel Target a + * channel (a custom group of related websites or apps). (Value: + * "TARGETING_TYPE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAppCategory Target an + * app category (for example, education or puzzle games). (Value: + * "TARGETING_TYPE_APP_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeApp Target a specific + * app (for example, Angry Birds). (Value: "TARGETING_TYPE_APP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUrl Target a specific + * url (for example, quora.com). (Value: "TARGETING_TYPE_URL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDayAndTime Target ads + * during a chosen time period on a specific day. (Value: + * "TARGETING_TYPE_DAY_AND_TIME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAgeRange Target ads to + * a specific age range (for example, 18-24). (Value: + * "TARGETING_TYPE_AGE_RANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeRegionalLocationList + * Target ads to the specified regions on a regional location list. + * (Value: "TARGETING_TYPE_REGIONAL_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeProximityLocationList + * Target ads to the specified points of interest on a proximity location + * list. (Value: "TARGETING_TYPE_PROXIMITY_LOCATION_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGender Target ads to a + * specific gender (for example, female or male). (Value: + * "TARGETING_TYPE_GENDER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeVideoPlayerSize Target + * a specific video player size for video ads. (Value: + * "TARGETING_TYPE_VIDEO_PLAYER_SIZE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeUserRewardedContent + * Target user rewarded content for video ads. (Value: + * "TARGETING_TYPE_USER_REWARDED_CONTENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeParentalStatus Target + * ads to a specific parental status (for example, parent or not a + * parent). (Value: "TARGETING_TYPE_PARENTAL_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentInstreamPosition + * Target video or audio ads in a specific content instream position (for + * example, pre-roll, mid-roll, or post-roll). (Value: + * "TARGETING_TYPE_CONTENT_INSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentOutstreamPosition + * Target ads in a specific content outstream position. (Value: + * "TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceType Target ads + * to a specific device type (for example, tablet or connected TV). + * (Value: "TARGETING_TYPE_DEVICE_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudienceGroup Target + * ads to an audience or groups of audiences. Singleton field, at most + * one can exist on a single Lineitem at a time. (Value: + * "TARGETING_TYPE_AUDIENCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBrowser Target ads to + * specific web browsers (for example, Chrome). (Value: + * "TARGETING_TYPE_BROWSER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeHouseholdIncome Target + * ads to a specific household income range (for example, top 10%). + * (Value: "TARGETING_TYPE_HOUSEHOLD_INCOME") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOnScreenPosition Target + * ads in a specific on screen position. (Value: + * "TARGETING_TYPE_ON_SCREEN_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeThirdPartyVerifier + * Filter web sites through third party verification (for example, IAS or + * DoubleVerify). (Value: "TARGETING_TYPE_THIRD_PARTY_VERIFIER") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDigitalContentLabelExclusion + * Filter web sites by specific digital content label ratings (for + * example, DL-MA: suitable only for mature audiences). (Value: + * "TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSensitiveCategoryExclusion + * Filter website content by sensitive categories (for example, adult). + * (Value: "TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeEnvironment Target ads + * to a specific environment (for example, web or app). (Value: + * "TARGETING_TYPE_ENVIRONMENT") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCarrierAndIsp Target + * ads to a specific network carrier or internet service provider (ISP) + * (for example, Comcast or Orange). (Value: + * "TARGETING_TYPE_CARRIER_AND_ISP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOperatingSystem Target + * ads to a specific operating system (for example, macOS). (Value: + * "TARGETING_TYPE_OPERATING_SYSTEM") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeDeviceMakeModel Target + * ads to a specific device make or model (for example, Roku or Samsung). + * (Value: "TARGETING_TYPE_DEVICE_MAKE_MODEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeKeyword Target ads to a + * specific keyword (for example, dog or retriever). (Value: + * "TARGETING_TYPE_KEYWORD") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNegativeKeywordList + * Target ads to a specific negative keyword list. (Value: + * "TARGETING_TYPE_NEGATIVE_KEYWORD_LIST") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeViewability Target ads + * to a specific viewability (for example, 80% viewable). (Value: + * "TARGETING_TYPE_VIEWABILITY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeCategory Target ads to + * a specific content category (for example, arts & entertainment). + * (Value: "TARGETING_TYPE_CATEGORY") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySource + * Purchase impressions from specific deals and auction packages. (Value: + * "TARGETING_TYPE_INVENTORY_SOURCE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeLanguage Target ads to + * a specific language (for example, English or Japanese). (Value: + * "TARGETING_TYPE_LANGUAGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAuthorizedSellerStatus + * Target ads to ads.txt authorized sellers. If no targeting option of + * this type is assigned, the resource uses the "Authorized Direct + * Sellers and Resellers" option by default. (Value: + * "TARGETING_TYPE_AUTHORIZED_SELLER_STATUS") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeGeoRegion Target ads to + * a specific regional location (for example, a city or state). (Value: + * "TARGETING_TYPE_GEO_REGION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeInventorySourceGroup + * Purchase impressions from a group of deals and auction packages. + * (Value: "TARGETING_TYPE_INVENTORY_SOURCE_GROUP") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeExchange Purchase + * impressions from specific exchanges. (Value: + * "TARGETING_TYPE_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSubExchange Purchase + * impressions from specific sub-exchanges. (Value: + * "TARGETING_TYPE_SUB_EXCHANGE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypePoi Target ads around a + * specific point of interest, such as a notable building, a street + * address, or latitude/longitude coordinates. (Value: + * "TARGETING_TYPE_POI") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeBusinessChain Target + * ads around locations of a business chain within a specific geo region. + * (Value: "TARGETING_TYPE_BUSINESS_CHAIN") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentDuration Target + * ads to a specific video content duration. (Value: + * "TARGETING_TYPE_CONTENT_DURATION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentStreamType + * Target ads to a specific video content stream type. (Value: + * "TARGETING_TYPE_CONTENT_STREAM_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeNativeContentPosition + * Target ads to a specific native content position. (Value: + * "TARGETING_TYPE_NATIVE_CONTENT_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeOmid Target ads in an + * Open Measurement enabled inventory. (Value: "TARGETING_TYPE_OMID") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeAudioContentType Target + * ads to a specific audio content type. (Value: + * "TARGETING_TYPE_AUDIO_CONTENT_TYPE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentGenre Target ads + * to a specific content genre. (Value: "TARGETING_TYPE_CONTENT_GENRE") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeVideo Target ads + * to a specific YouTube video. Targeting of this type cannot be created + * or updated using the API. Although this targeting is inherited by + * child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_VIDEO") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeYoutubeChannel Target + * ads to a specific YouTube channel. Targeting of this type cannot be + * created or updated using the API. Although this targeting is inherited + * by child resources, **inherited targeting of this type will not be + * retrieveable**. (Value: "TARGETING_TYPE_YOUTUBE_CHANNEL") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeSessionPosition Target + * ads to a serve it in a certain position of a session. Only supported + * for Ad Group resources under YouTube Programmatic Reservation line + * items. Targeting of this type cannot be created or updated using the + * API. (Value: "TARGETING_TYPE_SESSION_POSITION") + * @arg @c kGTLRDisplayVideoTargetingTypeTargetingTypeContentThemeExclusion + * Filter website content by content themes (for example, religion). Only + * supported for Advertiser resources. Targeting of this type cannot be + * created or updated using the API. This targeting is only inherited by + * child YouTube and Demand Gen line item resources. (Value: + * "TARGETING_TYPE_CONTENT_THEME_EXCLUSION") + * + * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersTargetingTypesAssignedTargetingOptionsList * * @note Automatic pagination will be done when @c shouldFetchNextPages is * enabled. See @c shouldFetchNextPages on @c GTLRService for more * information. */ -+ (instancetype)queryWithAdvertiserId:(long long)advertiserId; - -@end - -/** - * Updates an existing insertion order. Returns the updated insertion order if - * successful. - * - * Method: displayvideo.advertisers.insertionOrders.patch - * - * Authorization scope(s): - * @c kGTLRAuthScopeDisplayVideoDisplayVideo - */ -@interface GTLRDisplayVideoQuery_AdvertisersInsertionOrdersPatch : GTLRDisplayVideoQuery - -/** - * Output only. The unique ID of the advertiser the insertion order belongs to. - */ -@property(nonatomic, assign) long long advertiserId; - -/** - * Output only. The unique ID of the insertion order. Assigned by the system. - */ -@property(nonatomic, assign) long long insertionOrderId; - -/** - * Required. The mask to control which fields to update. - * - * String format is a comma-separated list of fields. - */ -@property(nonatomic, copy, nullable) NSString *updateMask; - -/** - * Fetches a @c GTLRDisplayVideo_InsertionOrder. - * - * Updates an existing insertion order. Returns the updated insertion order if - * successful. - * - * @param object The @c GTLRDisplayVideo_InsertionOrder to include in the - * query. - * @param advertiserId Output only. The unique ID of the advertiser the - * insertion order belongs to. - * @param insertionOrderId Output only. The unique ID of the insertion order. - * Assigned by the system. - * - * @return GTLRDisplayVideoQuery_AdvertisersInsertionOrdersPatch - */ -+ (instancetype)queryWithObject:(GTLRDisplayVideo_InsertionOrder *)object - advertiserId:(long long)advertiserId - insertionOrderId:(long long)insertionOrderId; ++ (instancetype)queryWithAdvertiserId:(long long)advertiserId + insertionOrderId:(long long)insertionOrderId + targetingType:(NSString *)targetingType; @end diff --git a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m index 8e81c1279..2c47ef8ce 100644 --- a/Sources/GeneratedServices/Document/GTLRDocumentObjects.m +++ b/Sources/GeneratedServices/Document/GTLRDocumentObjects.m @@ -123,6 +123,11 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Succeeded = @"SUCCEEDED"; +// GTLRDocument_GoogleCloudDocumentaiV1DocumentEntity.method +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Derive = @"DERIVE"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Extract = @"EXTRACT"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_MethodUnspecified = @"METHOD_UNSPECIFIED"; + // GTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.layoutType NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_Block = @"BLOCK"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef_LayoutType_FormField = @"FORM_FIELD"; @@ -168,6 +173,13 @@ NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredMultiple = @"REQUIRED_MULTIPLE"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce = @"REQUIRED_ONCE"; +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult.validationResultType +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid = @"VALIDATION_RESULT_TYPE_INVALID"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable = @"VALIDATION_RESULT_TYPE_NOT_APPLICABLE"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped = @"VALIDATION_RESULT_TYPE_SKIPPED"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified = @"VALIDATION_RESULT_TYPE_UNSPECIFIED"; +NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid = @"VALIDATION_RESULT_TYPE_VALID"; + // GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_Aggregate = @"AGGREGATE"; NSString * const kGTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics_MetricsType_MetricsTypeUnspecified = @"METRICS_TYPE_UNSPECIFIED"; @@ -1546,7 +1558,7 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DisableProcessorResponse @implementation GTLRDocument_GoogleCloudDocumentaiV1Document @dynamic chunkedDocument, content, docid, documentLayout, entities, entityRelations, error, mimeType, pages, revisions, shardInfo, text, - textChanges, textStyles, uri; + textChanges, textStyles, uri, validationOutputs; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1555,7 +1567,8 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1Document @"pages" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentPage class], @"revisions" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentRevision class], @"textChanges" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange class], - @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentStyle class] + @"textStyles" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentStyle class], + @"validationOutputs" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput class] }; return map; } @@ -1784,8 +1797,9 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentDocumentLayoutDocume // @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentEntity -@dynamic confidence, identifier, mentionId, mentionText, normalizedValue, - pageAnchor, properties, provenance, redacted, textAnchor, type; +@dynamic confidence, identifier, mentionId, mentionText, method, + normalizedValue, pageAnchor, properties, provenance, redacted, + textAnchor, type; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -2432,6 +2446,34 @@ @implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange @end +// ---------------------------------------------------------------------------- +// +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput +// + +@implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput +@dynamic passAllRules, validationResults; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"validationResults" : [GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult +// + +@implementation GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult +@dynamic ruleDescription, ruleName, validationDetails, validationResultType; +@end + + // ---------------------------------------------------------------------------- // // GTLRDocument_GoogleCloudDocumentaiV1EnableProcessorMetadata diff --git a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h index 3f18c9e22..ff2ba294a 100644 --- a/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h +++ b/Sources/GeneratedServices/Document/Public/GoogleAPIClientForREST/GTLRDocumentObjects.h @@ -114,6 +114,8 @@ @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextAnchor; @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment; @class GTLRDocument_GoogleCloudDocumentaiV1DocumentTextChange; +@class GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput; +@class GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult; @class GTLRDocument_GoogleCloudDocumentaiV1Evaluation; @class GTLRDocument_GoogleCloudDocumentaiV1Evaluation_EntityMetrics; @class GTLRDocument_GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics; @@ -697,6 +699,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOp */ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1CommonOperationMetadata_State_Succeeded; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1DocumentEntity.method + +/** + * The entity's value is derived through inference and is not necessarily an + * exact text extraction from the document. + * + * Value: "DERIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Derive; +/** + * The entity's value is directly extracted as-is from the document text. + * + * Value: "EXTRACT" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Extract; +/** + * When the method is not specified, it should be treated as `EXTRACT`. + * + * Value: "METHOD_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_MethodUnspecified; + // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiV1DocumentPageAnchorPageRef.layoutType @@ -930,6 +955,40 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1Document */ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentSchemaEntityTypeProperty_OccurrenceType_RequiredOnce; +// ---------------------------------------------------------------------------- +// GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult.validationResultType + +/** + * The validation is invalid. + * + * Value: "VALIDATION_RESULT_TYPE_INVALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid; +/** + * The validation is not applicable. + * + * Value: "VALIDATION_RESULT_TYPE_NOT_APPLICABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable; +/** + * The validation is skipped. + * + * Value: "VALIDATION_RESULT_TYPE_SKIPPED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped; +/** + * The validation result type is unspecified. + * + * Value: "VALIDATION_RESULT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified; +/** + * The validation is valid. + * + * Value: "VALIDATION_RESULT_TYPE_VALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid; + // ---------------------------------------------------------------------------- // GTLRDocument_GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.metricsType @@ -3349,6 +3408,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @property(nonatomic, copy, nullable) NSString *uri; +/** + * The output of the validation given the document and the validation rules. + * The output is appended to the document in the processing order. + */ +@property(nonatomic, strong, nullable) NSArray *validationOutputs; + @end @@ -3639,6 +3704,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro /** Optional. Text value of the entity e.g. `1600 Amphitheatre Pkwy`. */ @property(nonatomic, copy, nullable) NSString *mentionText; +/** + * Optional. Specifies how the entity's value is obtained. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Derive + * The entity's value is derived through inference and is not necessarily + * an exact text extraction from the document. (Value: "DERIVE") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_Extract + * The entity's value is directly extracted as-is from the document text. + * (Value: "EXTRACT") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentEntity_Method_MethodUnspecified + * When the method is not specified, it should be treated as `EXTRACT`. + * (Value: "METHOD_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *method; + /** * Optional. Normalized entity value. Absent if the extracted value could not * be converted or the type (e.g. address) is not supported for certain @@ -5053,6 +5134,64 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro @end +/** + * The output of the validation given the document and the validation rules. + */ +@interface GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutput : GTLRObject + +/** + * The overall result of the validation, true if all applicable rules are + * valid. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *passAllRules; + +/** The result of each validation rule. */ +@property(nonatomic, strong, nullable) NSArray *validationResults; + +@end + + +/** + * Validation result for a single validation rule. + */ +@interface GTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult : GTLRObject + +/** The description of the validation rule. */ +@property(nonatomic, copy, nullable) NSString *ruleDescription; + +/** The name of the validation rule. */ +@property(nonatomic, copy, nullable) NSString *ruleName; + +/** + * The detailed information of the running the validation process using the + * entity from the document based on the validation rule. + */ +@property(nonatomic, copy, nullable) NSString *validationDetails; + +/** + * The result of the validation rule. + * + * Likely values: + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeInvalid + * The validation is invalid. (Value: "VALIDATION_RESULT_TYPE_INVALID") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeNotApplicable + * The validation is not applicable. (Value: + * "VALIDATION_RESULT_TYPE_NOT_APPLICABLE") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeSkipped + * The validation is skipped. (Value: "VALIDATION_RESULT_TYPE_SKIPPED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeUnspecified + * The validation result type is unspecified. (Value: + * "VALIDATION_RESULT_TYPE_UNSPECIFIED") + * @arg @c kGTLRDocument_GoogleCloudDocumentaiV1DocumentValidationOutputValidationResult_ValidationResultType_ValidationResultTypeValid + * The validation is valid. (Value: "VALIDATION_RESULT_TYPE_VALID") + */ +@property(nonatomic, copy, nullable) NSString *validationResultType; + +@end + + /** * The long-running operation metadata for the EnableProcessor method. */ @@ -5826,7 +5965,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @interface GTLRDocument_GoogleCloudDocumentaiV1Processor : GTLRObject -/** The time the processor was created. */ +/** Output only. The time the processor was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** The default processor version. */ @@ -6018,16 +6157,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @interface GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersion : GTLRObject -/** The time the processor version was created. */ +/** Output only. The time the processor version was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; -/** If set, information about the eventual deprecation of this version. */ +/** + * Output only. If set, information about the eventual deprecation of this + * version. + */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1ProcessorVersionDeprecationInfo *deprecationInfo; /** The display name of the processor version. */ @property(nonatomic, copy, nullable) NSString *displayName; -/** The schema of the processor version. Describes the output. */ +/** Output only. The schema of the processor version. Describes the output. */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1DocumentSchema *documentSchema; /** @@ -6042,13 +6184,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDocument_GoogleCloudDocumentaiV1TrainPro */ @property(nonatomic, strong, nullable) NSNumber *googleManaged; -/** The KMS key name used for encryption. */ +/** Output only. The KMS key name used for encryption. */ @property(nonatomic, copy, nullable) NSString *kmsKeyName; -/** The KMS key version with which data is encrypted. */ +/** Output only. The KMS key version with which data is encrypted. */ @property(nonatomic, copy, nullable) NSString *kmsKeyVersionName; -/** The most recently invoked evaluation for the processor version. */ +/** + * Output only. The most recently invoked evaluation for the processor version. + */ @property(nonatomic, strong, nullable) GTLRDocument_GoogleCloudDocumentaiV1EvaluationReference *latestEvaluation; /** diff --git a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m index e931c81bd..56a07b591 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveObjects.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveObjects.m @@ -858,28 +858,6 @@ + (NSString *)collectionItemsKey { @end -// ---------------------------------------------------------------------------- -// -// GTLRDrive_ListOperationsResponse -// - -@implementation GTLRDrive_ListOperationsResponse -@dynamic nextPageToken, operations; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"operations" : [GTLRDrive_Operation class] - }; - return map; -} - -+ (NSString *)collectionItemsKey { - return @"operations"; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDrive_ModifyLabelsRequest diff --git a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m index a516fc1ea..692d588bd 100644 --- a/Sources/GeneratedServices/Drive/GTLRDriveQuery.m +++ b/Sources/GeneratedServices/Drive/GTLRDriveQuery.m @@ -818,42 +818,6 @@ + (instancetype)queryWithObject:(GTLRDrive_Channel *)object @end -@implementation GTLRDriveQuery_OperationsCancel - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"operations/{name}:cancel"; - GTLRDriveQuery_OperationsCancel *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:pathParams]; - query.name = name; - query.loggingName = @"drive.operations.cancel"; - return query; -} - -@end - -@implementation GTLRDriveQuery_OperationsDelete - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"operations/{name}"; - GTLRDriveQuery_OperationsDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.loggingName = @"drive.operations.delete"; - return query; -} - -@end - @implementation GTLRDriveQuery_OperationsGet @dynamic name; @@ -873,23 +837,6 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRDriveQuery_OperationsList - -@dynamic filter, name, pageSize, pageToken; - -+ (instancetype)query { - NSString *pathURITemplate = @"operations"; - GTLRDriveQuery_OperationsList *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:nil]; - query.expectedObjectClass = [GTLRDrive_ListOperationsResponse class]; - query.loggingName = @"drive.operations.list"; - return query; -} - -@end - @implementation GTLRDriveQuery_PermissionsCreate @dynamic emailMessage, enforceExpansiveAccess, enforceSingleParent, fileId, diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h index ab88ec87c..cfe65d177 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveObjects.h @@ -53,7 +53,6 @@ @class GTLRDrive_LabelField; @class GTLRDrive_LabelFieldModification; @class GTLRDrive_LabelModification; -@class GTLRDrive_Operation; @class GTLRDrive_Operation_Metadata; @class GTLRDrive_Operation_Response; @class GTLRDrive_Permission; @@ -944,8 +943,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @interface GTLRDrive_DownloadRestrictionsMetadata : GTLRObject /** - * The effective download restriction applied to this file. This considers all - * restriction settings and DLP rules. + * Output only. The effective download restriction applied to this file. This + * considers all restriction settings and DLP rules. */ @property(nonatomic, strong, nullable) GTLRDrive_DownloadRestriction *effectiveDownloadRestrictionWithContext; @@ -1857,8 +1856,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @property(nonatomic, strong, nullable) NSNumber *canChangeCopyRequiresWriterPermission; /** - * Output only. Whether the current user can change the owner-applied download - * restrictions of the file. + * Output only. Whether the current user can change the owner or + * organizer-applied download restrictions of the file. * * Uses NSNumber of boolValue. */ @@ -2762,30 +2761,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDrive_ResolveAccessProposalRequest_Actio @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 GTLRDrive_ListOperationsResponse : GTLRCollectionObject - -/** The standard List next-page token. */ -@property(nonatomic, copy, nullable) NSString *nextPageToken; - -/** - * A list of operations that matches the specified filter in the request. - * - * @note This property is used to support NSFastEnumeration and indexed - * subscripting on this class. - */ -@property(nonatomic, strong, nullable) NSArray *operations; - -@end - - /** * A request to modify the set of labels on a file. This request may contain * many modifications that will either all succeed or all fail atomically. diff --git a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h index d6364e0e4..caf81955b 100644 --- a/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h +++ b/Sources/GeneratedServices/Drive/Public/GoogleAPIClientForREST/GTLRDriveQuery.h @@ -2129,88 +2129,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @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: drive.operations.cancel - * - * Authorization scope(s): - * @c kGTLRAuthScopeDrive - * @c kGTLRAuthScopeDriveFile - * @c kGTLRAuthScopeDriveMeetReadonly - * @c kGTLRAuthScopeDriveReadonly - */ -@interface GTLRDriveQuery_OperationsCancel : GTLRDriveQuery - -/** The name of the operation resource to be cancelled. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Upon successful completion, the callback's object and error parameters will - * be nil. This query does not fetch an object. - * - * 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 GTLRDriveQuery_OperationsCancel - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Deletes a long-running operation. This method indicates that the client is - * no longer interested in the operation result. It does not cancel the - * operation. If the server doesn't support this method, it returns - * `google.rpc.Code.UNIMPLEMENTED`. - * - * Method: drive.operations.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeDrive - * @c kGTLRAuthScopeDriveFile - * @c kGTLRAuthScopeDriveMeetReadonly - * @c kGTLRAuthScopeDriveReadonly - */ -@interface GTLRDriveQuery_OperationsDelete : GTLRDriveQuery - -/** The name of the operation resource to be deleted. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Upon successful completion, the callback's object and error parameters will - * be nil. This query does not fetch an object. - * - * 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 GTLRDriveQuery_OperationsDelete - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - /** * Gets the latest state of a long-running operation. Clients can use this * method to poll the operation result at intervals as recommended by the API @@ -2244,48 +2162,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveCorpusUser; @end -/** - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. - * - * Method: drive.operations.list - * - * Authorization scope(s): - * @c kGTLRAuthScopeDrive - * @c kGTLRAuthScopeDriveFile - * @c kGTLRAuthScopeDriveMeetReadonly - * @c kGTLRAuthScopeDriveReadonly - */ -@interface GTLRDriveQuery_OperationsList : GTLRDriveQuery - -/** 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 GTLRDrive_ListOperationsResponse. - * - * Lists operations that match the specified filter in the request. If the - * server doesn't support this method, it returns `UNIMPLEMENTED`. - * - * @return GTLRDriveQuery_OperationsList - * - * @note Automatic pagination will be done when @c shouldFetchNextPages is - * enabled. See @c shouldFetchNextPages on @c GTLRService for more - * information. - */ -+ (instancetype)query; - -@end - /** * Creates a permission for a file or shared drive. **Warning:** Concurrent * permissions operations on the same file are not supported; only the last diff --git a/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m b/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m index 3efe138ff..b08309dbd 100644 --- a/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m +++ b/Sources/GeneratedServices/DriveActivity/GTLRDriveActivityObjects.m @@ -86,7 +86,9 @@ NSString * const kGTLRDriveActivity_RestrictionChange_Feature_FeatureUnspecified = @"FEATURE_UNSPECIFIED"; NSString * const kGTLRDriveActivity_RestrictionChange_Feature_FileOrganizerCanShareFolders = @"FILE_ORGANIZER_CAN_SHARE_FOLDERS"; NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication = @"ITEM_DUPLICATION"; +NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ReadersCanDownload = @"READERS_CAN_DOWNLOAD"; NSString * const kGTLRDriveActivity_RestrictionChange_Feature_SharingOutsideDomain = @"SHARING_OUTSIDE_DOMAIN"; +NSString * const kGTLRDriveActivity_RestrictionChange_Feature_WritersCanDownload = @"WRITERS_CAN_DOWNLOAD"; // GTLRDriveActivity_RestrictionChange.newRestriction NSString * const kGTLRDriveActivity_RestrictionChange_NewRestriction_FullyRestricted = @"FULLY_RESTRICTED"; diff --git a/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h b/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h index 0442d25c9..ca1b66f8a 100644 --- a/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h +++ b/Sources/GeneratedServices/DriveActivity/Public/GoogleAPIClientForREST/GTLRDriveActivityObjects.h @@ -444,19 +444,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ */ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_FileOrganizerCanShareFolders; /** - * When restricted, this prevents actions like copy, download, and print that - * might result in uncontrolled duplicates of items. Now deprecated in favor of - * READERS_CAN_DOWNLOAD. + * Deprecated: Use READERS_CAN_DOWNLOAD instead. * * Value: "ITEM_DUPLICATION" */ -FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication; +FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication GTLR_DEPRECATED; +/** + * When restricted, this prevents actions like copy, download, and print for + * readers. Replaces ITEM_DUPLICATION. + * + * Value: "READERS_CAN_DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_ReadersCanDownload; /** * When restricted, this prevents items from being shared outside the domain. * * Value: "SHARING_OUTSIDE_DOMAIN" */ FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_SharingOutsideDomain; +/** + * When restricted, this prevents actions like copy, download, and print for + * writers. + * + * Value: "WRITERS_CAN_DOWNLOAD" + */ +FOUNDATION_EXTERN NSString * const kGTLRDriveActivity_RestrictionChange_Feature_WritersCanDownload; // ---------------------------------------------------------------------------- // GTLRDriveActivity_RestrictionChange.newRestriction @@ -1597,13 +1609,19 @@ GTLR_DEPRECATED * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_FileOrganizerCanShareFolders * When restricted, this limits sharing of folders to managers only. * (Value: "FILE_ORGANIZER_CAN_SHARE_FOLDERS") - * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication When - * restricted, this prevents actions like copy, download, and print that - * might result in uncontrolled duplicates of items. Now deprecated in - * favor of READERS_CAN_DOWNLOAD. (Value: "ITEM_DUPLICATION") + * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_ItemDuplication + * Deprecated: Use READERS_CAN_DOWNLOAD instead. (Value: + * "ITEM_DUPLICATION") + * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_ReadersCanDownload + * When restricted, this prevents actions like copy, download, and print + * for readers. Replaces ITEM_DUPLICATION. (Value: + * "READERS_CAN_DOWNLOAD") * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_SharingOutsideDomain * When restricted, this prevents items from being shared outside the * domain. (Value: "SHARING_OUTSIDE_DOMAIN") + * @arg @c kGTLRDriveActivity_RestrictionChange_Feature_WritersCanDownload + * When restricted, this prevents actions like copy, download, and print + * for writers. (Value: "WRITERS_CAN_DOWNLOAD") */ @property(nonatomic, copy, nullable) NSString *feature; diff --git a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h index 6d22e8554..bd33be152 100644 --- a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h +++ b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsObjects.h @@ -189,7 +189,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Label */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_CopyModeUnspecified; /** - * The applied label and field values are not copied by default when the Drive + * The applied label and field values aren't copied by default when the Drive * item it's applied to is copied. * * Value: "DO_NOT_COPY" @@ -206,7 +206,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Label */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_AppUnspecified; /** - * Drive. + * Drive * * Value: "DRIVE" */ @@ -222,13 +222,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Label // GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock.state /** - * The LabelLock is active and is being enforced by the server. + * The label lock is active and is being enforced by the server. * * Value: "ACTIVE" */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Active; /** - * The LabelLock is being deleted. The LabelLock will continue to be enforced + * The label lock is being deleted. The label lock will continue to be enforced * by the server until it has been fully removed. * * Value: "DELETING" @@ -340,7 +340,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_CopyMode_CopyModeUnspecified; /** - * The applied label and field values are not copied by default when the Drive + * The applied label and field values aren't copied by default when the Drive * item it's applied to is copied. * * Value: "DO_NOT_COPY" @@ -421,7 +421,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Deletes one of more Label Permissions. + * Deletes one or more label permissions. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest : GTLRObject @@ -430,9 +430,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. If this is - * set, the use_admin_access field in the DeleteLabelPermissionRequest messages - * must either be empty or match this field. + * verify the user is an admin for the label before allowing access. If this is + * set, the `use_admin_access` field in the `DeleteLabelPermissionRequest` + * messages must either be empty or match this field. * * Uses NSNumber of boolValue. */ @@ -442,7 +442,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Updates one or more Label Permissions. + * Updates one or more label permissions. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest : GTLRObject @@ -451,9 +451,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. If this is - * set, the use_admin_access field in the UpdateLabelPermissionRequest messages - * must either be empty or match this field. + * verify the user is an admin for the label before allowing access. If this is + * set, the `use_admin_access` field in the `UpdateLabelPermissionRequest` + * messages must either be empty or match this field. * * Uses NSNumber of boolValue. */ @@ -463,7 +463,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for updating one or more Label Permissions. + * Response for updating one or more label permissions. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse : GTLRObject @@ -474,31 +474,31 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for date Field type. + * Limits for date field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DateLimits : GTLRObject -/** Maximum value for the date Field type. */ +/** Maximum value for the date field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleTypeDate *maxValue; -/** Minimum value for the date Field type. */ +/** Minimum value for the date field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleTypeDate *minValue; @end /** - * Deletes a Label Permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest : GTLRObject -/** Required. Label Permission resource name. */ +/** Required. Label permission resource name. */ @property(nonatomic, copy, nullable) NSString *name; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -508,26 +508,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * The set of requests for updating aspects of a Label. If any request is not + * The set of requests for updating aspects of a label. If any request isn't * valid, no requests will be applied. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest : GTLRObject /** - * The BCP-47 language code to use for evaluating localized Field labels when + * The BCP-47 language code to use for evaluating localized field labels when * `include_label_in_response` is `true`. */ @property(nonatomic, copy, nullable) NSString *languageCode; /** - * A list of updates to apply to the Label. Requests will be applied in the + * A list of updates to apply to the label. Requests will be applied in the * order they are specified. */ @property(nonatomic, strong, nullable) NSArray *requests; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -553,7 +553,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to create a Field within a Label. + * Request to create a field within a label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest : GTLRObject @@ -564,26 +564,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to create a Selection Choice. + * Request to create a selection choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest : GTLRObject -/** Required. The Choice to create. */ +/** Required. The choice to create. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice *choice; -/** Required. The Selection Field in which a Choice will be created. */ +/** Required. The selection field in which a choice will be created. */ @property(nonatomic, copy, nullable) NSString *fieldId; @end /** - * Request to delete the Field. + * Request to delete the field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest : GTLRObject /** - * Required. ID of the Field to delete. + * Required. ID of the field to delete. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -593,11 +593,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to delete a Choice. + * Request to delete a choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest : GTLRObject -/** Required. The Selection Field from which a Choice will be deleted. */ +/** Required. The selection field from which a choice will be deleted. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** @@ -611,15 +611,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to disable the Field. + * Request to disable the field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest : GTLRObject -/** Required. Field Disabled Policy. */ +/** Required. Field disabled policy. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LifecycleDisabledPolicy *disabledPolicy; /** - * Required. Key of the Field to disable. + * Required. Key of the field to disable. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -628,7 +628,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `disabled_policy` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -638,14 +638,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to disable a Choice. + * Request to disable a choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest : GTLRObject /** Required. The disabled policy to update. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LifecycleDisabledPolicy *disabledPolicy; -/** Required. The Selection Field in which a Choice will be disabled. */ +/** Required. The selection field in which a choice will be disabled. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** @@ -658,7 +658,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `disabled_policy` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -668,12 +668,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to enable the Field. + * Request to enable the field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest : GTLRObject /** - * Required. ID of the Field to enable. + * Required. ID of the field to enable. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -683,11 +683,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to enable a Choice. + * Request to enable a choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest : GTLRObject -/** Required. The Selection Field in which a Choice will be enabled. */ +/** Required. The selection field in which a choice will be enabled. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** @@ -701,68 +701,68 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * A single kind of update to apply to a Label. + * A single kind of update to apply to a label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest : GTLRObject -/** Creates a new Field. */ +/** Creates a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest *createField; -/** Creates Choice within a Selection field. */ +/** Create a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest *createSelectionChoice; -/** Deletes a Field from the label. */ +/** Deletes a field from the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest *deleteField; -/** Delete a Choice within a Selection Field. */ +/** Delete a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest *deleteSelectionChoice; -/** Disables the Field. */ +/** Disables the field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest *disableField; -/** Disable a Choice within a Selection Field. */ +/** Disable a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest *disableSelectionChoice; -/** Enables the Field. */ +/** Enables the field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest *enableField; -/** Enable a Choice within a Selection Field. */ +/** Enable a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest *enableSelectionChoice; -/** Updates basic properties of a Field. */ +/** Updates basic properties of a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest *updateField; -/** Update Field type and/or type options. */ +/** Update field type and/or type options. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest *updateFieldType; -/** Updates the Label properties. */ +/** Updates the label properties. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest *updateLabel; -/** Update a Choice properties within a Selection Field. */ +/** Update a choice property within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest *updateSelectionChoiceProperties; @end /** - * Request to update Field properties. + * Request to update field properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest : GTLRObject /** - * Required. The Field to update. + * Required. The field to update. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Required. Basic Field properties. */ +/** Required. Basic field properties. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldProperties *properties; /** * The fields that should be updated. At least one field must be specified. The * root `properties` is implied and should not be specified. A single `*` can - * be used as short-hand for updating every field. + * be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -772,7 +772,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to change the type of a Field. + * Request to change the type of a field. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest : GTLRObject @@ -780,7 +780,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldDateOptions *dateOptions; /** - * Required. The Field to update. + * Required. The field to update. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -798,7 +798,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root of `type_options` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -811,7 +811,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Updates basic properties of a Label. + * Updates basic properties of a label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest : GTLRObject @@ -821,7 +821,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `label_properties` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -831,27 +831,27 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to update a Choice properties. + * Request to update a choice property. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest : GTLRObject -/** Required. The Selection Field to update. */ +/** Required. The selection field to update. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** - * Required. The Choice to update. + * Required. The choice to update. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @property(nonatomic, copy, nullable) NSString *identifier; -/** Required. The Choice properties to update. */ +/** Required. The choice properties to update. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties *properties; /** * The fields that should be updated. At least one field must be specified. The * root `properties` is implied and should not be specified. A single `*` can - * be used as short-hand for updating every field. + * be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -861,7 +861,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for Label update. + * Response for label update. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse : GTLRObject @@ -873,8 +873,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The label after updates were applied. This is only set if - * [BatchUpdateLabelResponse2.include_label_in_response] is `true` and there - * were no errors. + * `include_label_in_response` is `true` and there were no errors. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Label *updatedLabel; @@ -882,7 +881,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following Field create. + * Response following field create. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse : GTLRObject @@ -906,15 +905,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following Selection Choice create. + * Response following selection choice create. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse : GTLRObject -/** The server-generated id of the field. */ +/** The server-generated ID of the field. */ @property(nonatomic, copy, nullable) NSString *fieldId; /** - * The server-generated ID of the created choice within the Field + * The server-generated ID of the created choice within the field. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -924,42 +923,42 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following Field delete. + * Response following field delete. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse : GTLRObject @end /** - * Response following Choice delete. + * Response following choice delete. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse : GTLRObject @end /** - * Response following Field disable. + * Response following field disable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse : GTLRObject @end /** - * Response following Choice disable. + * Response following choice disable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse : GTLRObject @end /** - * Response following Field enable. + * Response following field enable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse : GTLRObject @end /** - * Response following Choice enable. + * Response following choice enable. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse : GTLRObject @end @@ -970,47 +969,47 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse : GTLRObject -/** Creates a new Field. */ +/** Creates a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse *createField; -/** Creates a new selection list option to add to a Selection Field. */ +/** Creates a selection list option to add to a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse *createSelectionChoice; -/** Deletes a Field from the label. */ +/** Deletes a field from the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse *deleteField; -/** Deletes a Choice from a Selection Field. */ +/** Deletes a choice from a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse *deleteSelectionChoice; -/** Disables Field. */ +/** Disables field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse *disableField; -/** Disables a Choice within a Selection Field. */ +/** Disables a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse *disableSelectionChoice; -/** Enables Field. */ +/** Enables field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse *enableField; -/** Enables a Choice within a Selection Field. */ +/** Enables a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse *enableSelectionChoice; -/** Updates basic properties of a Field. */ +/** Updates basic properties of a field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse *updateField; -/** Update Field type and/or type options. */ +/** Updates field type and/or type options. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse *updateFieldType; -/** Updated basic properties of a Label. */ +/** Updates basic properties of a label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse *updateLabel; -/** Updates a Choice within a Selection Field. */ +/** Updates a choice within a selection field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse *updateSelectionChoiceProperties; @end /** - * Response following update to Field properties. + * Response following update to field properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse : GTLRObject @@ -1026,21 +1025,21 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response following update to Field type. + * Response following update to field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse : GTLRObject @end /** - * Response following update to Label properties. + * Response following update to label properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse : GTLRObject @end /** - * Response following update to Selection Choice properties. + * Response following update to selection choice properties. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse : GTLRObject @@ -1056,7 +1055,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to deprecate a published Label. + * Request to deprecate a published label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2DisableLabelRequest : GTLRObject @@ -1072,7 +1071,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * The fields that should be updated. At least one field must be specified. The * root `disabled_policy` is implied and should not be specified. A single `*` - * can be used as short-hand for updating every field. + * can be used as a short-hand for updating every field. * * String format is a comma-separated list of fields. */ @@ -1080,7 +1079,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -1088,7 +1087,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Provides control over how write requests are executed. Defaults to unset, - * which means last write wins. + * which means the last write wins. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl *writeControl; @@ -1108,7 +1107,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -1116,7 +1115,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Provides control over how write requests are executed. Defaults to unset, - * which means last write wins. + * which means the last write wins. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl *writeControl; @@ -1162,7 +1161,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. The key of a field, unique within a label or library. This - * value is autogenerated. Matches the regex: `([a-zA-Z0-9])+` + * value is autogenerated. Matches the regex: `([a-zA-Z0-9])+`. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -1174,7 +1173,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** Output only. The lifecycle of this field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle *lifecycle; -/** Output only. The LockStatus of this field. */ +/** Output only. The `LockStatus` of this field. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LockStatus *lockStatus; /** The basic properties of the field. */ @@ -1337,48 +1336,48 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Field constants governing the structure of a Field; such as, the maximum + * Field constants governing the structure of a field; such as, the maximum * title length, minimum and maximum field values or length, etc. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLimits : GTLRObject -/** Date Field limits. */ +/** Date field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2DateLimits *dateLimits; -/** Integer Field limits. */ +/** Integer field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2IntegerLimits *integerLimits; -/** Long text Field limits. */ +/** Long text field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LongTextLimits *longTextLimits; /** - * Limits for Field description, also called help text. + * Limits for field description, also called help text. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxDescriptionLength; /** - * Limits for Field title. + * Limits for field title. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxDisplayNameLength; /** - * Max length for the id. + * Maximum length for the id. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxIdLength; -/** Selection Field limits. */ +/** Selection field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2SelectionLimits *selectionLimits; -/** The relevant limits for the specified Field.Type. Text Field limits. */ +/** The relevant limits for the specified Field.Type. Text field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2TextLimits *textLimits; -/** User Field limits. */ +/** User field limits. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserLimits *userLimits; @end @@ -1524,7 +1523,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** Output only. Lifecycle of the choice. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle *lifecycle; -/** Output only. The LockStatus of this choice. */ +/** Output only. The `LockStatus` of this choice. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LockStatus *lockStatus; /** Basic properties of the choice. */ @@ -1743,19 +1742,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for integer Field type. + * Limits for integer field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2IntegerLimits : GTLRObject /** - * Maximum value for an integer Field type. + * Maximum value for an integer field type. * * Uses NSNumber of longLongValue. */ @property(nonatomic, strong, nullable) NSNumber *maxValue; /** - * Minimum value for an integer Field type. + * Minimum value for an integer field type. * * Uses NSNumber of longLongValue. */ @@ -1788,26 +1787,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. The customer this label belongs to. For example: - * "customers/123abc789." + * `customers/123abc789`. */ @property(nonatomic, copy, nullable) NSString *customer; /** * Output only. The user who disabled this label. This value has no meaning - * when the label is not disabled. + * when the label isn't disabled. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo *disabler; /** * Output only. The time this label was disabled. This value has no meaning - * when the label is not disabled. + * when the label isn't disabled. */ @property(nonatomic, strong, nullable) GTLRDateTime *disableTime; /** Output only. UI display hints for rendering the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints *displayHints; -/** Optional. The EnabledAppSettings for this Label. */ +/** Optional. The `EnabledAppSettings` for this Label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings *enabledAppSettings; /** List of fields in descending priority order. */ @@ -1816,7 +1815,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. Globally unique identifier of this label. ID makes up part of * the label `name`, but unlike `name`, ID is consistent between revisions. - * Matches the regex: `([a-zA-Z0-9])+` + * Matches the regex: `([a-zA-Z0-9])+`. * * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). */ @@ -1852,7 +1851,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle *lifecycle; -/** Output only. The LockStatus of this label. */ +/** Output only. The `LockStatus` of this label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LockStatus *lockStatus; /** @@ -1867,13 +1866,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. The user who published this label. This value has no meaning - * when the label is not published. + * when the label isn't published.>> */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo *publisher; /** * Output only. The time this label was published. This value has no meaning - * when the label is not published. + * when the label isn't published. */ @property(nonatomic, strong, nullable) GTLRDateTime *publishTime; @@ -1887,7 +1886,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat * Output only. Revision ID of the label. Revision ID might be part of the * label `name` depending on the request issued. A new revision is created * whenever revisioned properties of a label are changed. Matches the regex: - * `([a-zA-Z0-9])+` + * `([a-zA-Z0-9])+`. */ @property(nonatomic, copy, nullable) NSString *revisionId; @@ -1946,7 +1945,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_CopyModeUnspecified * Copy mode unspecified. (Value: "COPY_MODE_UNSPECIFIED") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy_CopyMode_DoNotCopy - * The applied label and field values are not copied by default when the + * The applied label and field values aren't copied by default when the * Drive item it's applied to is copied. (Value: "DO_NOT_COPY") */ @property(nonatomic, copy, nullable) NSString *copyMode NS_RETURNS_NOT_RETAINED; @@ -1955,7 +1954,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * UI display hints for rendering the label. + * The UI display hints for rendering the label. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelDisplayHints : GTLRObject @@ -1975,7 +1974,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *hiddenInSearch; /** - * Order to display label in a list. + * The order to display labels in a list. * * Uses NSNumber of longLongValue. */ @@ -1993,29 +1992,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Describes the Workspace apps in which the Label can be used. + * Describes the Google Workspace apps in which the label can be used. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings : GTLRObject -/** Optional. The list of Apps where the Label can be used. */ +/** Optional. The list of apps where the label can be used. */ @property(nonatomic, strong, nullable) NSArray *enabledApps; @end /** - * An App where the Label can be used. + * An app where the label can be used. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp : GTLRObject /** - * Optional. The name of the App. + * Optional. The name of the app. * * Likely values: * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_AppUnspecified * Unspecified (Value: "APP_UNSPECIFIED") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Drive - * Drive. (Value: "DRIVE") + * Drive (Value: "DRIVE") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp_App_Gmail * Gmail (Value: "GMAIL") */ @@ -2025,16 +2024,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Label constraints governing the structure of a Label; such as, the maximum - * number of Fields allowed and maximum length of the label title. + * Label constraints governing the structure of a label; such as, the maximum + * number of fields allowed and maximum length of the label title. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLimits : GTLRObject -/** The limits for Fields. */ +/** The limits for fields. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2FieldLimits *fieldLimits; /** - * The maximum number of published Fields that can be deleted. + * The maximum number of published fields that can be deleted. * * Uses NSNumber of intValue. */ @@ -2056,7 +2055,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *maxDraftRevisions; /** - * The maximum number of Fields allowed within the label. + * The maximum number of fields allowed within the label. * * Uses NSNumber of intValue. */ @@ -2076,54 +2075,52 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * A Lock that can be applied to a Label, Field, or Choice. + * A lock that can be applied to a label, field, or choice. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock : GTLRObject -/** Output only. The user's capabilities on this LabelLock. */ +/** Output only. The user's capabilities on this label lock. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLockCapabilities *capabilities; /** - * The ID of the Selection Field Choice that should be locked. If present, + * The ID of the selection field choice that should be locked. If present, * `field_id` must also be present. */ @property(nonatomic, copy, nullable) NSString *choiceId; -/** Output only. The time this LabelLock was created. */ +/** Output only. The time this label lock was created. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Output only. The user whose credentials were used to create the LabelLock. - * This will not be present if no user was responsible for creating the - * LabelLock. + * Output only. The user whose credentials were used to create the label lock. + * Not present if no user was responsible for creating the label lock. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo *creator; /** - * Output only. A timestamp indicating when this LabelLock was scheduled for - * deletion. This will be present only if this LabelLock is in the DELETING - * state. + * Output only. A timestamp indicating when this label lock was scheduled for + * deletion. Present only if this label lock is in the `DELETING` state. */ @property(nonatomic, strong, nullable) GTLRDateTime *deleteTime; /** - * The ID of the Field that should be locked. Empty if the whole Label should + * The ID of the field that should be locked. Empty if the whole label should * be locked. */ @property(nonatomic, copy, nullable) NSString *fieldId; -/** Output only. Resource name of this LabelLock. */ +/** Output only. Resource name of this label lock. */ @property(nonatomic, copy, nullable) NSString *name; /** - * Output only. This LabelLock's state. + * Output only. This label lock's state. * * Likely values: * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Active The - * LabelLock is active and is being enforced by the server. (Value: + * label lock is active and is being enforced by the server. (Value: * "ACTIVE") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_Deleting - * The LabelLock is being deleted. The LabelLock will continue to be + * The label lock is being deleted. The label lock will continue to be * enforced by the server until it has been fully removed. (Value: * "DELETING") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLock_State_StateUnspecified @@ -2135,7 +2132,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * A description of a user's capabilities on a LabelLock. + * A description of a user's capabilities on a label lock. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLockCapabilities : GTLRObject @@ -2158,14 +2155,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Audience to grant a role to. The magic value of `audiences/default` may be * used to apply the role to the default audience in the context of the - * organization that owns the Label. + * organization that owns the label. */ @property(nonatomic, copy, nullable) NSString *audience; /** - * Specifies the email address for a user or group pricinpal. Not populated for - * audience principals. User and Group permissions may only be inserted using - * email address. On update requests, if email address is specified, no + * Specifies the email address for a user or group principal. Not populated for + * audience principals. User and group permissions may only be inserted using + * an email address. On update requests, if email address is specified, no * principal should be specified. */ @property(nonatomic, copy, nullable) NSString *email; @@ -2262,16 +2259,18 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * The lifecycle state of an object, such as label, field, or choice. The - * lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` + * The lifecycle state of an object, such as label, field, or choice. For more + * information, see [Label + * lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). + * The lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` * (starting state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` * -> (Deleted) * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * * `DISABLED` -> (Deleted) The published and disabled states have some distinct - * characteristics: * Published—Some kinds of changes might be made to an + * characteristics: * `Published`: Some kinds of changes might be made to an * object in this state, in which case `has_unpublished_changes` will be true. - * Also, some kinds of changes are not permitted. Generally, any change that + * Also, some kinds of changes aren't permitted. Generally, any change that * would invalidate or cause new restrictions on existing metadata related to - * the label are rejected. * Disabled—When disabled, the configured + * the label are rejected. * `Disabled`: When disabled, the configured * `DisabledPolicy` takes effect. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2Lifecycle : GTLRObject @@ -2345,7 +2344,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * The response to a ListLabelLocksRequest. + * The response to a `ListLabelLocksRequest`. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "labelLocks" property. If returned as the result of a query, it @@ -2355,7 +2354,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelLocksResponse : GTLRCollectionObject /** - * LabelLocks. + * Label locks. * * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. @@ -2369,7 +2368,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for listing the permissions on a Label. + * Response for listing the permissions on a label. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "labelPermissions" property. If returned as the result of a query, @@ -2393,7 +2392,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Response for listing Labels. + * Response for listing labels. * * @note This class supports NSFastEnumeration and indexed subscripting over * its "labels" property. If returned as the result of a query, it should @@ -2417,12 +2416,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for list-variant of a Field type. + * Limits for list-variant of a field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLimits : GTLRObject /** - * Maximum number of values allowed for the Field type. + * Maximum number of values allowed for the field type. * * Uses NSNumber of intValue. */ @@ -2439,8 +2438,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Output only. Indicates whether this label component is the (direct) target - * of a LabelLock. A label component can be implicitly locked even if it's not - * the direct target of a LabelLock, in which case this field is set to false. + * of a label lock. A label component can be implicitly locked even if it's not + * the direct target of a label lock, in which case this field is set to false. * * Uses NSNumber of boolValue. */ @@ -2450,19 +2449,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for long text Field type. + * Limits for long text field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2LongTextLimits : GTLRObject /** - * Maximum length allowed for a long text Field type. + * Maximum length allowed for a long text field type. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxLength; /** - * Minimum length allowed for a long text Field type. + * Minimum length allowed for a long text field type. * * Uses NSNumber of intValue. */ @@ -2484,7 +2483,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -2492,7 +2491,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Provides control over how write requests are executed. Defaults to unset, - * which means last write wins. + * which means the last write wins. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl *writeControl; @@ -2500,15 +2499,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for selection Field type. + * Limits for selection field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2SelectionLimits : GTLRObject -/** Limits for list-variant of a Field type. */ +/** Limits for list-variant of a field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLimits *listLimits; /** - * The max number of choices. + * Maximum number of choices. * * Uses NSNumber of intValue. */ @@ -2529,7 +2528,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *maxDisplayNameLength; /** - * Maximum ID length for a selection options. + * Maximum ID length for a selection option. * * Uses NSNumber of intValue. */ @@ -2539,19 +2538,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Limits for text Field type. + * Limits for text field type. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2TextLimits : GTLRObject /** - * Maximum length allowed for a text Field type. + * Maximum length allowed for a text field type. * * Uses NSNumber of intValue. */ @property(nonatomic, strong, nullable) NSNumber *maxLength; /** - * Minimum length allowed for a text Field type. + * Minimum length allowed for a text field type. * * Uses NSNumber of intValue. */ @@ -2561,14 +2560,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to update the `CopyMode` of the given Label. Changes to this policy - * are not revisioned, do not require publishing, and take effect immediately. - * \\ + * Request to update the `CopyMode` of the given label. Changes to this policy + * aren't revisioned, don't require publishing, and take effect immediately. \\ */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest : GTLRObject /** - * Required. Indicates how the applied Label, and Field values should be copied + * Required. Indicates how the applied label and field values should be copied * when a Drive item is copied. * * Likely values: @@ -2582,7 +2580,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_CopyMode_CopyModeUnspecified * Copy mode unspecified. (Value: "COPY_MODE_UNSPECIFIED") * @arg @c kGTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest_CopyMode_DoNotCopy - * The applied label and field values are not copied by default when the + * The applied label and field values aren't copied by default when the * Drive item it's applied to is copied. (Value: "DO_NOT_COPY") */ @property(nonatomic, copy, nullable) NSString *copyMode NS_RETURNS_NOT_RETAINED; @@ -2595,7 +2593,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -2618,13 +2616,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Request to update the `EnabledAppSettings` of the given Label. This change - * is not revisioned, does not require publishing, and takes effect - * immediately. \\ + * Request to update the `EnabledAppSettings` of the given label. This change + * is not revisioned, doesn't require publishing, and takes effect immediately. + * \\ */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest : GTLRObject -/** Required. The new `EnabledAppSettings` value for the Label. */ +/** Required. The new `EnabledAppSettings` value for the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelEnabledAppSettings *enabledAppSettings; /** @@ -2636,7 +2634,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** * Optional. Set to `true` in order to use the user's admin credentials. The - * server will verify the user is an admin for the Label before allowing + * server will verify the user is an admin for the label before allowing * access. * * Uses NSNumber of boolValue. @@ -2660,20 +2658,20 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat /** - * Updates a Label Permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Updates a label permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest : GTLRObject -/** Required. The permission to create or update on the Label. */ +/** Required. The permission to create or update on the label. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission *labelPermission; -/** Required. The parent Label resource name. */ +/** Required. The parent label resource name. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. * * Uses NSNumber of boolValue. */ @@ -2703,14 +2701,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @property(nonatomic, strong, nullable) NSNumber *canAdministrateLabels; /** - * Output only. Whether the user is allowed to create new admin labels. + * Output only. Whether the user is allowed to create admin labels. * * Uses NSNumber of boolValue. */ @property(nonatomic, strong, nullable) NSNumber *canCreateAdminLabels; /** - * Output only. Whether the user is allowed to create new shared labels. + * Output only. Whether the user is allowed to create shared labels. * * Uses NSNumber of boolValue. */ @@ -2728,8 +2726,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UserInfo : GTLRObject /** - * The identifier for this user that can be used with the People API to get - * more information. For example, people/12345678. + * The identifier for this user that can be used with the [People + * API](https://developers.google.com/people) to get more information. For + * example, `people/12345678`. */ @property(nonatomic, copy, nullable) NSString *person; @@ -2741,7 +2740,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat */ @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2UserLimits : GTLRObject -/** Limits for list-variant of a Field type. */ +/** Limits for list-variant of a field type. */ @property(nonatomic, strong, nullable) GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLimits *listLimits; @end @@ -2754,8 +2753,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabels_GoogleAppsDriveLabelsV2Updat @interface GTLRDriveLabels_GoogleAppsDriveLabelsV2WriteControl : GTLRObject /** - * The revision_id of the label that the write request will be applied to. If - * this is not the latest revision of the label, the request will not be + * The revision ID of the label that the write request will be applied to. If + * this isn't the latest revision of the label, the request will not be * processed and will return a 400 Bad Request error. */ @property(nonatomic, copy, nullable) NSString *requiredRevisionId; diff --git a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h index 62b74616e..38c0fdda1 100644 --- a/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h +++ b/Sources/GeneratedServices/DriveLabels/Public/GoogleAPIClientForREST/GTLRDriveLabelsQuery.h @@ -94,7 +94,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Creates a new Label. + * Creates a label. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). * * Method: drivelabels.labels.create * @@ -105,7 +106,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsCreate : GTLRDriveLabelsQuery /** - * The BCP-47 language code to use for evaluating localized Field labels in + * The BCP-47 language code to use for evaluating localized field labels in * response. When not specified, values in the default configured language will * be used. */ @@ -120,7 +121,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Creates a new Label. + * Creates a label. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label to include * in the query. @@ -132,9 +134,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Permanently deletes a Label and related metadata on Drive Items. Once - * deleted, the Label and related Drive item metadata will be deleted. Only - * draft Labels, and disabled Labels may be deleted. + * Permanently deletes a label and related metadata on Drive items. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Once deleted, the label and related Drive item metadata will be deleted. + * Only draft labels and disabled labels may be deleted. * * Method: drivelabels.labels.delete * @@ -149,13 +153,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** - * The revision_id of the label that the write request will be applied to. If - * this is not the latest revision of the label, the request will not be + * The revision ID of the label that the write request will be applied to. If + * this isn't the latest revision of the label, the request will not be * processed and will return a 400 Bad Request error. */ @property(nonatomic, copy, nullable) NSString *writeControlRequiredRevisionId; @@ -163,9 +167,11 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Permanently deletes a Label and related metadata on Drive Items. Once - * deleted, the Label and related Drive item metadata will be deleted. Only - * draft Labels, and disabled Labels may be deleted. + * Permanently deletes a label and related metadata on Drive items. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Once deleted, the label and related Drive item metadata will be deleted. + * Only draft labels and disabled labels may be deleted. * * @param name Required. Label resource name. * @@ -176,10 +182,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a single Label by applying a set of update requests resulting in a - * new draft revision. The batch update is all-or-nothing: If any of the update - * requests are invalid, no changes are applied. The resulting draft revision - * must be published before the changes may be used with Drive Items. + * Updates a single label by applying a set of update requests resulting in a + * new draft revision. For more information, see [Update a + * label](https://developers.google.com/workspace/drive/labels/guides/update-label). + * The batch update is all-or-nothing: If any of the update requests are + * invalid, no changes are applied. The resulting draft revision must be + * published before the changes may be used with Drive items. * * Method: drivelabels.labels.delta * @@ -189,22 +197,24 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsDelta : GTLRDriveLabelsQuery -/** Required. The resource name of the Label to update. */ +/** Required. The resource name of the label to update. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse. * - * Updates a single Label by applying a set of update requests resulting in a - * new draft revision. The batch update is all-or-nothing: If any of the update - * requests are invalid, no changes are applied. The resulting draft revision - * must be published before the changes may be used with Drive Items. + * Updates a single label by applying a set of update requests resulting in a + * new draft revision. For more information, see [Update a + * label](https://developers.google.com/workspace/drive/labels/guides/update-label). + * The batch update is all-or-nothing: If any of the update requests are + * invalid, no changes are applied. The resulting draft revision must be + * published before the changes may be used with Drive items. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest to include * in the query. - * @param name Required. The resource name of the Label to update. + * @param name Required. The resource name of the label to update. * * @return GTLRDriveLabelsQuery_LabelsDelta */ @@ -214,11 +224,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Disable a published Label. Disabling a Label will result in a new disabled - * published revision based on the current published revision. If there is a - * draft revision, a new disabled draft revision will be created based on the - * latest draft revision. Older draft revisions will be deleted. Once disabled, - * a label may be deleted with `DeleteLabel`. + * Disable a published label. For more information, see [Disable, enable, and + * delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Disabling a label will result in a new disabled published revision based on + * the current published revision. If there's a draft revision, a new disabled + * draft revision will be created based on the latest draft revision. Older + * draft revisions will be deleted. Once disabled, a label may be deleted with + * `DeleteLabel`. * * Method: drivelabels.labels.disable * @@ -234,11 +247,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Disable a published Label. Disabling a Label will result in a new disabled - * published revision based on the current published revision. If there is a - * draft revision, a new disabled draft revision will be created based on the - * latest draft revision. Older draft revisions will be deleted. Once disabled, - * a label may be deleted with `DeleteLabel`. + * Disable a published label. For more information, see [Disable, enable, and + * delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * Disabling a label will result in a new disabled published revision based on + * the current published revision. If there's a draft revision, a new disabled + * draft revision will be created based on the latest draft revision. Older + * draft revisions will be deleted. Once disabled, a label may be deleted with + * `DeleteLabel`. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2DisableLabelRequest to include in @@ -253,10 +269,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Enable a disabled Label and restore it to its published state. This will - * result in a new published revision based on the current disabled published - * revision. If there is an existing disabled draft revision, a new revision - * will be created based on that draft and will be enabled. + * Enable a disabled label and restore it to its published state. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * This will result in a new published revision based on the current disabled + * published revision. If there's an existing disabled draft revision, a new + * revision will be created based on that draft and will be enabled. * * Method: drivelabels.labels.enable * @@ -272,10 +290,12 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Enable a disabled Label and restore it to its published state. This will - * result in a new published revision based on the current disabled published - * revision. If there is an existing disabled draft revision, a new revision - * will be created based on that draft and will be enabled. + * Enable a disabled label and restore it to its published state. For more + * information, see [Disable, enable, and delete a + * label](https://developers.google.com/workspace/drive/labels/guides/disable-delete-label). + * This will result in a new published revision based on the current disabled + * published revision. If there's an existing disabled draft revision, a new + * revision will be created based on that draft and will be enabled. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2EnableLabelRequest to include in @@ -290,11 +310,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Get a label by its resource name. Resource name may be any of: * - * `labels/{id}` - See `labels/{id}\@latest` * `labels/{id}\@latest` - Gets the - * latest revision of the label. * `labels/{id}\@published` - Gets the current - * published revision of the label. * `labels/{id}\@{revision_id}` - Gets the - * label at the specified revision ID. + * Get a label by its resource name. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). + * Resource name may be any of: * `labels/{id}` - See `labels/{id}\@latest` * + * `labels/{id}\@latest` - Gets the latest revision of the label. * + * `labels/{id}\@published` - Gets the current published revision of the label. + * * `labels/{id}\@{revision_id}` - Gets the label at the specified revision + * ID. * * Method: drivelabels.labels.get * @@ -341,11 +363,13 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Get a label by its resource name. Resource name may be any of: * - * `labels/{id}` - See `labels/{id}\@latest` * `labels/{id}\@latest` - Gets the - * latest revision of the label. * `labels/{id}\@published` - Gets the current - * published revision of the label. * `labels/{id}\@{revision_id}` - Gets the - * label at the specified revision ID. + * Get a label by its resource name. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). + * Resource name may be any of: * `labels/{id}` - See `labels/{id}\@latest` * + * `labels/{id}\@latest` - Gets the latest revision of the label. * + * `labels/{id}\@published` - Gets the current published revision of the label. + * * `labels/{id}\@{revision_id}` - Gets the label at the specified revision + * ID. * * @param name Required. Label resource name. May be any of: * `labels/{id}` * (equivalent to labels/{id}\@latest) * `labels/{id}\@latest` * @@ -358,7 +382,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * List labels. + * List labels. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). * * Method: drivelabels.labels.list * @@ -372,7 +397,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * The customer to scope this list request to. For example: - * "customers/abcd1234". If unset, will return all labels within the current + * `customers/abcd1234`. If unset, will return all labels within the current * customer. */ @property(nonatomic, copy, nullable) NSString *customer; @@ -384,7 +409,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @property(nonatomic, copy, nullable) NSString *languageCode; /** - * Specifies the level of access the user must have on the returned Labels. The + * Specifies the level of access the user must have on the returned labels. The * minimum role a user must have on a label. Defaults to `READER`. * * Likely values: @@ -422,7 +447,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Set to `true` in order to use the user's admin credentials. This will return - * all Labels within the customer. + * all labels within the customer. */ @property(nonatomic, assign) BOOL useAdminAccess; @@ -442,7 +467,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelsResponse. * - * List labels. + * List labels. For more information, see [Search for + * labels](https://developers.google.com/workspace/drive/labels/guides/search-label). * * @return GTLRDriveLabelsQuery_LabelsList * @@ -455,7 +481,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * * Method: drivelabels.labels.locks.list * @@ -467,22 +493,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsLocksList : GTLRDriveLabelsQuery -/** Maximum number of Locks to return per page. Default: 100. Max: 200. */ +/** Maximum number of locks to return per page. Default: 100. Max: 200. */ @property(nonatomic, assign) NSInteger pageSize; /** The token of the page to return. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. Label on which Locks are applied. Format: labels/{label} */ +/** Required. Label on which locks are applied. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelLocksResponse. * - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * - * @param parent Required. Label on which Locks are applied. Format: - * labels/{label} + * @param parent Required. Label on which locks are applied. Format: + * `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsLocksList * @@ -495,8 +521,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.batchDelete * @@ -507,9 +533,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsPermissionsBatchDelete : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * deleted. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * deleted. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -517,15 +543,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being deleted. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being deleted. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsPermissionsBatchDelete @@ -536,10 +562,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.batchUpdate * @@ -550,9 +576,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsPermissionsBatchUpdate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * updated. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * updated. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -561,17 +587,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse. * - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being updated. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being updated. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsPermissionsBatchUpdate @@ -582,10 +608,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.create * @@ -596,29 +622,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsPermissionsCreate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name on the Label Permission is created. - * Format: labels/{label} + * Required. The parent label resource name on the label permission is created. + * Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name on the Label - * Permission is created. Format: labels/{label} + * @param parent Required. The parent label resource name on the label + * permission is created. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsPermissionsCreate */ @@ -628,8 +654,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.permissions.delete * @@ -639,22 +665,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsPermissionsDelete : GTLRDriveLabelsQuery -/** Required. Label Permission resource name. */ +/** Required. Label permission resource name. */ @property(nonatomic, copy, nullable) NSString *name; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * - * @param name Required. Label Permission resource name. + * @param name Required. Label permission resource name. * * @return GTLRDriveLabelsQuery_LabelsPermissionsDelete */ @@ -663,7 +689,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists a Label's permissions. + * Lists a label's permissions. * * Method: drivelabels.labels.permissions.list * @@ -684,14 +710,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent Label resource name on which Label Permission are - * listed. Format: labels/{label} + * Required. The parent label resource name on which label permissions are + * listed. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; @@ -699,10 +725,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelPermissionsResponse. * - * Lists a Label's permissions. + * Lists a label's permissions. * - * @param parent Required. The parent Label resource name on which Label - * Permission are listed. Format: labels/{label} + * @param parent Required. The parent label resource name on which label + * permissions are listed. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsPermissionsList * @@ -715,18 +741,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Publish all draft changes to the Label. Once published, the Label may not - * return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for - * more information. Publishing a Label will result in a new published - * revision. All previous draft revisions will be deleted. Previous published - * revisions will be kept but are subject to automated deletion as needed. Once - * published, some changes are no longer permitted. Generally, any change that - * would invalidate or cause new restrictions on existing metadata related to - * the Label will be rejected. For example, the following changes to a Label - * will be rejected after the Label is published: * The label cannot be - * directly deleted. It must be disabled first, then deleted. * Field.FieldType - * cannot be changed. * Changes to Field validation options cannot reject - * something that was previously accepted. * Reducing the max entries. + * Publish all draft changes to the label. Once published, the label may not + * return to its draft state. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). + * Publishing a label will result in a new published revision. All previous + * draft revisions will be deleted. Previous published revisions will be kept + * but are subject to automated deletion as needed. For more information, see + * [Label + * lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). + * Once published, some changes are no longer permitted. Generally, any change + * that would invalidate or cause new restrictions on existing metadata related + * to the label will be rejected. For example, the following changes to a label + * will be rejected after the label is published: * The label cannot be + * directly deleted. It must be disabled first, then deleted. * + * `Field.FieldType` cannot be changed. * Changes to field validation options + * cannot reject something that was previously accepted. * Reducing the maximum + * entries. * * Method: drivelabels.labels.publish * @@ -742,18 +772,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Publish all draft changes to the Label. Once published, the Label may not - * return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for - * more information. Publishing a Label will result in a new published - * revision. All previous draft revisions will be deleted. Previous published - * revisions will be kept but are subject to automated deletion as needed. Once - * published, some changes are no longer permitted. Generally, any change that - * would invalidate or cause new restrictions on existing metadata related to - * the Label will be rejected. For example, the following changes to a Label - * will be rejected after the Label is published: * The label cannot be - * directly deleted. It must be disabled first, then deleted. * Field.FieldType - * cannot be changed. * Changes to Field validation options cannot reject - * something that was previously accepted. * Reducing the max entries. + * Publish all draft changes to the label. Once published, the label may not + * return to its draft state. For more information, see [Create and publish a + * label](https://developers.google.com/workspace/drive/labels/guides/create-label). + * Publishing a label will result in a new published revision. All previous + * draft revisions will be deleted. Previous published revisions will be kept + * but are subject to automated deletion as needed. For more information, see + * [Label + * lifecycle](https://developers.google.com/workspace/drive/labels/guides/label-lifecycle). + * Once published, some changes are no longer permitted. Generally, any change + * that would invalidate or cause new restrictions on existing metadata related + * to the label will be rejected. For example, the following changes to a label + * will be rejected after the label is published: * The label cannot be + * directly deleted. It must be disabled first, then deleted. * + * `Field.FieldType` cannot be changed. * Changes to field validation options + * cannot reject something that was previously accepted. * Reducing the maximum + * entries. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2PublishLabelRequest to include in @@ -768,7 +802,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * * Method: drivelabels.labels.revisions.locks.list * @@ -780,22 +814,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsRevisionsLocksList : GTLRDriveLabelsQuery -/** Maximum number of Locks to return per page. Default: 100. Max: 200. */ +/** Maximum number of locks to return per page. Default: 100. Max: 200. */ @property(nonatomic, assign) NSInteger pageSize; /** The token of the page to return. */ @property(nonatomic, copy, nullable) NSString *pageToken; -/** Required. Label on which Locks are applied. Format: labels/{label} */ +/** Required. Label on which locks are applied. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelLocksResponse. * - * Lists the LabelLocks on a Label. + * Lists the label locks on a label. * - * @param parent Required. Label on which Locks are applied. Format: - * labels/{label} + * @param parent Required. Label on which locks are applied. Format: + * `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsRevisionsLocksList * @@ -808,8 +842,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.batchDelete * @@ -820,9 +854,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchDelete : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * deleted. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * deleted. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -830,15 +864,15 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes Label permissions. Permissions affect the Label resource as a whole, - * are not revisioned, and do not require publishing. + * Deletes label permissions. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being deleted. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being deleted. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchDelete @@ -849,10 +883,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.batchUpdate * @@ -863,9 +897,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchUpdate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name shared by all permissions being - * updated. Format: labels/{label} If this is set, the parent field in the - * UpdateLabelPermissionRequest messages must either be empty or match this + * Required. The parent label resource name shared by all permissions being + * updated. Format: `labels/{label}`. If this is set, the parent field in the + * `UpdateLabelPermissionRequest` messages must either be empty or match this * field. */ @property(nonatomic, copy, nullable) NSString *parent; @@ -874,17 +908,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse. * - * Updates Label permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates label permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest * to include in the query. - * @param parent Required. The parent Label resource name shared by all - * permissions being updated. Format: labels/{label} If this is set, the - * parent field in the UpdateLabelPermissionRequest messages must either be + * @param parent Required. The parent label resource name shared by all + * permissions being updated. Format: `labels/{label}`. If this is set, the + * parent field in the `UpdateLabelPermissionRequest` messages must either be * empty or match this field. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsBatchUpdate @@ -895,10 +929,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.create * @@ -909,29 +943,29 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsCreate : GTLRDriveLabelsQuery /** - * Required. The parent Label resource name on the Label Permission is created. - * Format: labels/{label} + * Required. The parent label resource name on the label permission is created. + * Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name on the Label - * Permission is created. Format: labels/{label} + * @param parent Required. The parent label resource name on the label + * permission is created. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsCreate */ @@ -941,8 +975,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.permissions.delete * @@ -952,22 +986,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsRevisionsPermissionsDelete : GTLRDriveLabelsQuery -/** Required. Label Permission resource name. */ +/** Required. Label permission resource name. */ @property(nonatomic, copy, nullable) NSString *name; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleProtobufEmpty. * - * Deletes a Label's permission. Permissions affect the Label resource as a - * whole, are not revisioned, and do not require publishing. + * Deletes a label's permission. Permissions affect the label resource as a + * whole, aren't revisioned, and don't require publishing. * - * @param name Required. Label Permission resource name. + * @param name Required. Label permission resource name. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsDelete */ @@ -976,7 +1010,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Lists a Label's permissions. + * Lists a label's permissions. * * Method: drivelabels.labels.revisions.permissions.list * @@ -997,14 +1031,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @property(nonatomic, copy, nullable) NSString *pageToken; /** - * Required. The parent Label resource name on which Label Permission are - * listed. Format: labels/{label} + * Required. The parent label resource name on which label permissions are + * listed. Format: `labels/{label}`. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; @@ -1012,10 +1046,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; * Fetches a @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2ListLabelPermissionsResponse. * - * Lists a Label's permissions. + * Lists a label's permissions. * - * @param parent Required. The parent Label resource name on which Label - * Permission are listed. Format: labels/{label} + * @param parent Required. The parent label resource name on which label + * permissions are listed. Format: `labels/{label}`. * * @return GTLRDriveLabelsQuery_LabelsRevisionsPermissionsList * @@ -1028,10 +1062,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.revisions.updatePermissions * @@ -1041,26 +1075,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsRevisionsUpdatePermissions : GTLRDriveLabelsQuery -/** Required. The parent Label resource name. */ +/** Required. The parent label resource name. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name. + * @param parent Required. The parent label resource name. * * @return GTLRDriveLabelsQuery_LabelsRevisionsUpdatePermissions */ @@ -1070,8 +1104,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do - * not require publishing, and take effect immediately. + * Updates a label's `CopyMode`. Changes to this policy aren't revisioned, + * don't require publishing, and take effect immediately. * * Method: drivelabels.labels.updateLabelCopyMode * @@ -1081,19 +1115,19 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsUpdateLabelCopyMode : GTLRDriveLabelsQuery -/** Required. The resource name of the Label to update. */ +/** Required. The resource name of the label to update. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do - * not require publishing, and take effect immediately. + * Updates a label's `CopyMode`. Changes to this policy aren't revisioned, + * don't require publishing, and take effect immediately. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest to * include in the query. - * @param name Required. The resource name of the Label to update. + * @param name Required. The resource name of the label to update. * * @return GTLRDriveLabelsQuery_LabelsUpdateLabelCopyMode */ @@ -1103,32 +1137,32 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's EabledAppSettings. Enabling a Label in a Workspace - * Application allows it to be used in that application. This change is not - * revisioned, does not require publishing, and takes effect immediately. + * Updates a label's `EnabledAppSettings`. Enabling a label in a Google + * Workspace app allows it to be used in that app. This change isn't + * revisioned, doesn't require publishing, and takes effect immediately. * * Method: drivelabels.labels.updateLabelEnabledAppSettings */ @interface GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings : GTLRDriveLabelsQuery /** - * Required. The resource name of the Label to update. The resource name of the - * Label to update. + * Required. The resource name of the label to update. The resource name of the + * label to update. */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2Label. * - * Updates a Label's EabledAppSettings. Enabling a Label in a Workspace - * Application allows it to be used in that application. This change is not - * revisioned, does not require publishing, and takes effect immediately. + * Updates a label's `EnabledAppSettings`. Enabling a label in a Google + * Workspace app allows it to be used in that app. This change isn't + * revisioned, doesn't require publishing, and takes effect immediately. * * @param object The @c * GTLRDriveLabels_GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest * to include in the query. - * @param name Required. The resource name of the Label to update. The resource - * name of the Label to update. + * @param name Required. The resource name of the label to update. The resource + * name of the label to update. * * @return GTLRDriveLabelsQuery_LabelsUpdateLabelEnabledAppSettings */ @@ -1138,10 +1172,10 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * Method: drivelabels.labels.updatePermissions * @@ -1151,26 +1185,26 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LabelsUpdatePermissions : GTLRDriveLabelsQuery -/** Required. The parent Label resource name. */ +/** Required. The parent label resource name. */ @property(nonatomic, copy, nullable) NSString *parent; /** * Set to `true` in order to use the user's admin credentials. The server will - * verify the user is an admin for the Label before allowing access. + * verify the user is an admin for the label before allowing access. */ @property(nonatomic, assign) BOOL useAdminAccess; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission. * - * Updates a Label's permissions. If a permission for the indicated principal - * doesn't exist, a new Label Permission is created, otherwise the existing - * permission is updated. Permissions affect the Label resource as a whole, are - * not revisioned, and do not require publishing. + * Updates a label's permissions. If a permission for the indicated principal + * doesn't exist, a label permission is created, otherwise the existing + * permission is updated. Permissions affect the label resource as a whole, + * aren't revisioned, and don't require publishing. * * @param object The @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelPermission * to include in the query. - * @param parent Required. The parent Label resource name. + * @param parent Required. The parent label resource name. * * @return GTLRDriveLabelsQuery_LabelsUpdatePermissions */ @@ -1180,8 +1214,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @end /** - * Get the constraints on the structure of a Label; such as, the maximum number - * of Fields allowed and maximum length of the label title. + * Get the constraints on the structure of a label; such as, the maximum number + * of fields allowed and maximum length of the label title. * * Method: drivelabels.limits.getLabel * @@ -1193,14 +1227,14 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; */ @interface GTLRDriveLabelsQuery_LimitsGetLabel : GTLRDriveLabelsQuery -/** Required. Label revision resource name Must be: "limits/label" */ +/** Required. Label revision resource name must be: "limits/label". */ @property(nonatomic, copy, nullable) NSString *name; /** * Fetches a @c GTLRDriveLabels_GoogleAppsDriveLabelsV2LabelLimits. * - * Get the constraints on the structure of a Label; such as, the maximum number - * of Fields allowed and maximum length of the label title. + * Get the constraints on the structure of a label; such as, the maximum number + * of fields allowed and maximum length of the label title. * * @return GTLRDriveLabelsQuery_LimitsGetLabel */ @@ -1222,8 +1256,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDriveLabelsViewLabelViewFull; @interface GTLRDriveLabelsQuery_UsersGetCapabilities : GTLRDriveLabelsQuery /** - * The customer to scope this request to. For example: "customers/abcd1234". If - * unset, will return settings within the current customer. + * The customer to scope this request to. For example: `customers/abcd1234`. If + * unset, it will return settings within the current customer. */ @property(nonatomic, copy, nullable) NSString *customer; diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h index d7c76ab2b..c97aecc47 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcObjects.h @@ -550,7 +550,7 @@ FOUNDATION_EXTERN NSString * const kGTLREventarc_StateCondition_Code_Unknown; @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** - * Resource name of a KMS crypto key (managed by the user) used to + * Optional. Resource name of a KMS crypto key (managed by the user) used to * encrypt/decrypt their event data. It must match the pattern `projects/ * * /locations/ * /keyRings/ * /cryptoKeys/ *`. */ diff --git a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h index ffd12829e..6d5941ceb 100644 --- a/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h +++ b/Sources/GeneratedServices/Eventarc/Public/GoogleAPIClientForREST/GTLREventarcQuery.h @@ -1537,8 +1537,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLREventarcQuery_ProjectsLocationsList : GTLREventarcQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h index db9dca30a..4443ed3fc 100644 --- a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h +++ b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionObjects.h @@ -1012,16 +1012,16 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseAppDistribution_GoogleFirebaseAp @interface GTLRFirebaseAppDistribution_GoogleFirebaseAppdistroV1DistributeReleaseRequest : GTLRObject /** - * A list of group aliases (IDs) to be given access to this release. A combined - * maximum of 999 `testerEmails` and `groupAliases` can be specified in a - * single request. + * Optional. A list of group aliases (IDs) to be given access to this release. + * A combined maximum of 999 `testerEmails` and `groupAliases` can be specified + * in a single request. */ @property(nonatomic, strong, nullable) NSArray *groupAliases; /** - * A list of tester email addresses to be given access to this release. A - * combined maximum of 999 `testerEmails` and `groupAliases` can be specified - * in a single request. + * Optional. A list of tester email addresses to be given access to this + * release. A combined maximum of 999 `testerEmails` and `groupAliases` can be + * specified in a single request. */ @property(nonatomic, strong, nullable) NSArray *testerEmails; diff --git a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h index b309c388e..82e9879ea 100644 --- a/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h +++ b/Sources/GeneratedServices/FirebaseAppDistribution/Public/GoogleAPIClientForREST/GTLRFirebaseAppDistributionQuery.h @@ -44,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppDistributionQuery_MediaUpload : GTLRFirebaseAppDistributionQuery /** - * The name of the app resource. Format: + * Required. The name of the app resource. Format: * `projects/{project_number}/apps/{app_id}` */ @property(nonatomic, copy, nullable) NSString *app; @@ -59,7 +59,7 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c * GTLRFirebaseAppDistribution_GoogleFirebaseAppdistroV1UploadReleaseRequest * to include in the query. - * @param app The name of the app resource. Format: + * @param app Required. The name of the app resource. Format: * `projects/{project_number}/apps/{app_id}` * @param uploadParameters The media to include in this query. Accepted MIME * type: * / * @@ -252,17 +252,18 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppDistributionQuery_ProjectsAppsReleasesFeedbackReportsList : GTLRFirebaseAppDistributionQuery /** - * The maximum number of feedback reports to return. The service may return - * fewer than this value. The valid range is [1-100]; If unspecified (0), at - * most 25 feedback reports are returned. Values above 100 are coerced to 100. + * Output only. The maximum number of feedback reports to return. The service + * may return fewer than this value. The valid range is [1-100]; If unspecified + * (0), at most 25 feedback reports are returned. Values above 100 are coerced + * to 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListFeedbackReports` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListFeedbackReports` must match the call that provided the page - * token. + * Output only. A page token, received from a previous `ListFeedbackReports` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListFeedbackReports` must match the call that + * provided the page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -335,36 +336,37 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppDistributionQuery_ProjectsAppsReleasesList : GTLRFirebaseAppDistributionQuery /** - * The expression to filter releases listed in the response. To learn more - * about filtering, refer to [Google's AIP-160 standard](http://aip.dev/160). - * Supported fields: - `releaseNotes.text` supports `=` (can contain a wildcard - * character (`*`) at the beginning or end of the string) - `createTime` - * supports `<`, `<=`, `>` and `>=`, and expects an RFC-3339 formatted string - * Examples: - `createTime <= "2021-09-08T00:00:00+04:00"` - - * `releaseNotes.text="fixes" AND createTime >= "2021-09-08T00:00:00.0Z"` - - * `releaseNotes.text="*v1.0.0-rc*"` + * Optional. The expression to filter releases listed in the response. To learn + * more about filtering, refer to [Google's AIP-160 + * standard](http://aip.dev/160). Supported fields: - `releaseNotes.text` + * supports `=` (can contain a wildcard character (`*`) at the beginning or end + * of the string) - `createTime` supports `<`, `<=`, `>` and `>=`, and expects + * an RFC-3339 formatted string Examples: - `createTime <= + * "2021-09-08T00:00:00+04:00"` - `releaseNotes.text="fixes" AND createTime >= + * "2021-09-08T00:00:00.0Z"` - `releaseNotes.text="*v1.0.0-rc*"` */ @property(nonatomic, copy, nullable) NSString *filter; /** - * The fields used to order releases. Supported fields: - `createTime` To - * specify descending order for a field, append a "desc" suffix, for example, - * `createTime desc`. If this parameter is not set, releases are ordered by - * `createTime` in descending order. + * Optional. The fields used to order releases. Supported fields: - + * `createTime` To specify descending order for a field, append a "desc" + * suffix, for example, `createTime desc`. If this parameter is not set, + * releases are ordered by `createTime` in descending order. */ @property(nonatomic, copy, nullable) NSString *orderBy; /** - * The maximum number of releases to return. The service may return fewer than - * this value. The valid range is [1-100]; If unspecified (0), at most 25 - * releases are returned. Values above 100 are coerced to 100. + * Optional. The maximum number of releases to return. The service may return + * fewer than this value. The valid range is [1-100]; If unspecified (0), at + * most 25 releases are returned. Values above 100 are coerced to 100. */ @property(nonatomic, assign) NSInteger pageSize; /** - * A page token, received from a previous `ListReleases` call. Provide this to - * retrieve the subsequent page. When paginating, all other parameters provided - * to `ListReleases` must match the call that provided the page token. + * Optional. A page token, received from a previous `ListReleases` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListReleases` must match the call that provided the + * page token. */ @property(nonatomic, copy, nullable) NSString *pageToken; @@ -606,7 +608,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * Optional. The list of fields to update. * * String format is a comma-separated list of fields. */ @@ -872,7 +874,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * Optional. The list of fields to update. * * String format is a comma-separated list of fields. */ @@ -1048,7 +1050,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * The list of fields to update. + * Optional. The list of fields to update. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h index 15c332d3c..5bc262419 100644 --- a/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h +++ b/Sources/GeneratedServices/FirebaseAppHosting/Public/GoogleAPIClientForREST/GTLRFirebaseAppHostingQuery.h @@ -1090,8 +1090,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRFirebaseAppHostingQuery_ProjectsLocationsList : GTLRFirebaseAppHostingQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h b/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h index 6a61e6d4a..49f949f57 100644 --- a/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h +++ b/Sources/GeneratedServices/FirebaseCloudMessaging/Public/GoogleAPIClientForREST/GTLRFirebaseCloudMessagingObjects.h @@ -189,7 +189,9 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotificati /** * Optional. If set to true, messages will be allowed to be delivered to the - * app while the device is in bandwidth constrained mode. + * app while the device is in bandwidth constrained mode. This should only be + * enabled when the app has been tested to properly handle messages in + * bandwidth constrained mode. * * Uses NSNumber of boolValue. */ @@ -258,7 +260,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseCloudMessaging_AndroidNotificati * Optional. If set to true, messages will be allowed to be delivered to the * app while the device is connected over a restricted satellite network. This * should only be enabled for messages that can be handled over a restricted - * satellite network and only for apps that are allowed to work over a + * satellite network and only for apps that are enabled to work over a * restricted satellite network. Note that the ability of the app to connect to * a restricted satellite network is dependent on the carrier's settings and * the device model. diff --git a/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m b/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m index 222728778..7ad184feb 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m +++ b/Sources/GeneratedServices/FirebaseDataConnect/GTLRFirebaseDataConnectObjects.m @@ -351,7 +351,7 @@ + (Class)classForAdditionalProperties { // @implementation GTLRFirebaseDataConnect_Impersonation -@dynamic authClaims, unauthenticated; +@dynamic authClaims, includeDebugDetails, unauthenticated; @end @@ -575,7 +575,8 @@ @implementation GTLRFirebaseDataConnect_OperationMetadata // @implementation GTLRFirebaseDataConnect_PostgreSql -@dynamic cloudSql, database, schemaMigration, schemaValidation, unlinked; +@dynamic cloudSql, database, ephemeral, schemaMigration, schemaValidation, + unlinked; @end diff --git a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h index 1d72b4c22..c124089ce 100644 --- a/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h +++ b/Sources/GeneratedServices/FirebaseDataConnect/Public/GoogleAPIClientForREST/GTLRFirebaseDataConnectObjects.h @@ -694,9 +694,13 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal @property(nonatomic, copy, nullable) NSString *code; /** - * More detailed error message to assist debugging. In the backend, only - * include it in admin authenticated API like ExecuteGraphql. In the emulator, - * always include it to assist debugging. + * More detailed error message to assist debugging. It contains application + * business logic that are inappropriate to leak publicly. In the emulator, + * Data Connect API always includes it to assist local development and + * debugging. In the backend, ConnectorService always hides it. GraphqlService + * without impersonation always include it. GraphqlService with impersonation + * includes it only if explicitly opted-in with `include_debug_details` in + * `GraphqlRequestExtensions`. */ @property(nonatomic, copy, nullable) NSString *debugDetails; @@ -831,6 +835,13 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal */ @property(nonatomic, strong, nullable) GTLRFirebaseDataConnect_Impersonation_AuthClaims *authClaims; +/** + * Optional. If set, include debug details in GraphQL error extensions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeDebugDetails; + /** * Evaluate the auth policy as an unauthenticated request. Can only be set to * true. @@ -1197,6 +1208,22 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal /** Required. Name of the PostgreSQL database. */ @property(nonatomic, copy, nullable) NSString *database; +/** + * Output only. Ephemeral is true if this data connect service is served from + * temporary in-memory emulation of Postgres. While Cloud SQL is being + * provisioned, the data connect service provides the ephemeral service to help + * developers get started. Once the Cloud SQL is provisioned, Data Connect + * service will transfer its data on a best-effort basis to the Cloud SQL + * instance. WARNING: Ephemeral data sources will expire after 24 hour. The + * data will be lost if they aren't transferred to the Cloud SQL instance. + * WARNING: When `ephemeral=true`, mutations to the database are not guaranteed + * to be durably persisted, even if an OK status code is returned. All or parts + * of the data may be lost or reverted to earlier versions. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *ephemeral; + /** * Optional. Configure how to perform Postgresql schema migration. * @@ -1246,7 +1273,7 @@ FOUNDATION_EXTERN NSString * const kGTLRFirebaseDataConnect_PostgreSql_SchemaVal * * Uses NSNumber of boolValue. */ -@property(nonatomic, strong, nullable) NSNumber *unlinked; +@property(nonatomic, strong, nullable) NSNumber *unlinked GTLR_DEPRECATED; @end diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m index fff2eb985..00e5c24ef 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -1119,7 +1119,7 @@ @implementation GTLRFirestore_GoogleFirestoreAdminV1ImportDocumentsRequest @implementation GTLRFirestore_GoogleFirestoreAdminV1Index @dynamic apiScope, density, fields, multikey, name, queryScope, shardCount, - state; + state, unique; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index 239137d3b..127cc8b96 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -3424,6 +3424,14 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @property(nonatomic, copy, nullable) NSString *state; +/** + * Optional. Whether it is an unique index. Unique index ensures all values for + * the indexed field(s) are unique across documents. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *unique; + @end diff --git a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h index 941c6d69d..4021cb094 100644 --- a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h +++ b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessObjects.h @@ -910,8 +910,8 @@ FOUNDATION_EXTERN NSString * const kGTLRFitness_Device_Type_Watch; @property(nonatomic, copy, nullable) NSString *nextPageToken; /** - * Sessions with an end time that is between startTime and endTime of the - * request. + * Sessions starting before endTime of the request and ending after startTime + * of the request up to (endTime of the request + 1 day). */ @property(nonatomic, strong, nullable) NSArray *session; diff --git a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h index f05f6cd11..24e2e08e6 100644 --- a/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h +++ b/Sources/GeneratedServices/Fitness/Public/GoogleAPIClientForREST/GTLRFitnessQuery.h @@ -774,9 +774,10 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, strong, nullable) NSArray *activityType; /** - * An RFC3339 timestamp. Only sessions ending between the start and end times - * will be included in the response. If this time is omitted but startTime is - * specified, all sessions from startTime to the end of time will be returned. + * An RFC3339 timestamp. Only sessions starting before endTime and ending after + * startTime up to (endTime + 1 day) will be included in the response. If this + * time is omitted but startTime is specified, all sessions ending after + * startTime to the end of time will be returned. */ @property(nonatomic, copy, nullable) NSString *endTime; @@ -796,9 +797,10 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *pageToken; /** - * An RFC3339 timestamp. Only sessions ending between the start and end times - * will be included in the response. If this time is omitted but endTime is - * specified, all sessions from the start of time up to endTime will be + * An RFC3339 timestamp. Only sessions starting before endTime and ending after + * startTime up to (endTime + 1 day) will be included in the response. If this + * time is omitted but endTime is specified, all sessions starting before + * endTime and ending after the start of time up to (endTime + 1 day) will be * returned. */ @property(nonatomic, copy, nullable) NSString *startTime; diff --git a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m index 632eb15c7..64b2b6de3 100644 --- a/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m +++ b/Sources/GeneratedServices/GKEHub/GTLRGKEHubObjects.m @@ -25,6 +25,7 @@ // GTLRGKEHub_ClusterUpgradeUpgradeStatus.code NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Complete = @"COMPLETE"; +NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedComplete = @"FORCED_COMPLETE"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedSoaking = @"FORCED_SOAKING"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Ineligible = @"INELIGIBLE"; NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_InProgress = @"IN_PROGRESS"; @@ -290,8 +291,19 @@ NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_MeshIamPermissionDenied = @"MESH_IAM_PERMISSION_DENIED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationAborted = @"MODERNIZATION_ABORTED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationCompleted = @"MODERNIZATION_COMPLETED"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationEligible = @"MODERNIZATION_ELIGIBLE"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationFinalized = @"MODERNIZATION_FINALIZED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationInProgress = @"MODERNIZATION_IN_PROGRESS"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationManual = @"MODERNIZATION_MANUAL"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationMigratingWorkloads = @"MODERNIZATION_MIGRATING_WORKLOADS"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizedSoaking = @"MODERNIZATION_MODERNIZED_SOAKING"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizing = @"MODERNIZATION_MODERNIZING"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPrepared = @"MODERNIZATION_PREPARED"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPreparing = @"MODERNIZATION_PREPARING"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackCluster = @"MODERNIZATION_ROLLING_BACK_CLUSTER"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackFleet = @"MODERNIZATION_ROLLING_BACK_FLEET"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationScheduled = @"MODERNIZATION_SCHEDULED"; +NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationStalled = @"MODERNIZATION_STALLED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationWillBeScheduled = @"MODERNIZATION_WILL_BE_SCHEDULED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_NodepoolWorkloadIdentityFederationRequired = @"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED"; NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_NonStandardBinaryUsage = @"NON_STANDARD_BINARY_USAGE"; @@ -330,6 +342,7 @@ // GTLRGKEHub_ServiceMeshControlPlaneManagement.state NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Active = @"ACTIVE"; NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Degraded = @"DEGRADED"; +NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Deprovisioning = @"DEPROVISIONING"; NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Disabled = @"DISABLED"; NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_FailedPrecondition = @"FAILED_PRECONDITION"; NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_LifecycleStateUnspecified = @"LIFECYCLE_STATE_UNSPECIFIED"; @@ -340,6 +353,7 @@ // GTLRGKEHub_ServiceMeshDataPlaneManagement.state NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Active = @"ACTIVE"; NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Degraded = @"DEGRADED"; +NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Deprovisioning = @"DEPROVISIONING"; NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Disabled = @"DISABLED"; NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_FailedPrecondition = @"FAILED_PRECONDITION"; NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_LifecycleStateUnspecified = @"LIFECYCLE_STATE_UNSPECIFIED"; @@ -366,6 +380,7 @@ // GTLRGKEHub_ServiceMeshSpec.management NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_ManagementAutomatic = @"MANAGEMENT_AUTOMATIC"; NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_ManagementManual = @"MANAGEMENT_MANUAL"; +NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_ManagementNotInstalled = @"MANAGEMENT_NOT_INSTALLED"; NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_ManagementUnspecified = @"MANAGEMENT_UNSPECIFIED"; // GTLRGKEHub_State.code diff --git a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h index 619541309..f99a09ea8 100644 --- a/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h +++ b/Sources/GeneratedServices/GKEHub/Public/GoogleAPIClientForREST/GTLRGKEHubObjects.h @@ -194,6 +194,14 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ * Value: "COMPLETE" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_Complete; +/** + * The upgrade was forced into soaking and the soaking time has passed. This is + * the equivalent of COMPLETE status for upgrades that were forced into + * soaking. + * + * Value: "FORCED_COMPLETE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedComplete; /** * A cluster will be forced to enter soaking if an upgrade doesn't finish * within a certain limit, despite it's actual status. @@ -1567,18 +1575,86 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_Moderni * Value: "MODERNIZATION_COMPLETED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationCompleted; +/** + * Fleet is eligible for modernization. + * + * Value: "MODERNIZATION_ELIGIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationEligible; +/** + * Modernization is finalized for all clusters in a fleet. Rollback is no + * longer allowed. + * + * Value: "MODERNIZATION_FINALIZED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationFinalized; /** * Modernization is in progress for a cluster. * * Value: "MODERNIZATION_IN_PROGRESS" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationInProgress; +/** + * Fleet is opted out from automated modernization. + * + * Value: "MODERNIZATION_MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationManual; +/** + * Migrating the cluster's workloads to the new implementation. + * + * Value: "MODERNIZATION_MIGRATING_WORKLOADS" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationMigratingWorkloads; +/** + * Modernization of all the fleet's clusters is complete. Soaking before + * finalizing the modernization. + * + * Value: "MODERNIZATION_MODERNIZED_SOAKING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizedSoaking; +/** + * Modernization of one or more clusters in a fleet is in progress. + * + * Value: "MODERNIZATION_MODERNIZING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizing; +/** + * Cluster has been prepared for its workloads to be migrated. + * + * Value: "MODERNIZATION_PREPARED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPrepared; +/** + * Preparing cluster so that its workloads can be migrated. + * + * Value: "MODERNIZATION_PREPARING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPreparing; +/** + * Rollback is in progress for modernization of a cluster. + * + * Value: "MODERNIZATION_ROLLING_BACK_CLUSTER" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackCluster; +/** + * Rollback is in progress for modernization of all clusters in a fleet. + * + * Value: "MODERNIZATION_ROLLING_BACK_FLEET" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackFleet; /** * Modernization is scheduled for a cluster. * * Value: "MODERNIZATION_SCHEDULED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationScheduled; +/** + * Modernization is stalled for a cluster. + * + * Value: "MODERNIZATION_STALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationStalled; /** * Modernization will be scheduled for a fleet. * @@ -1784,6 +1860,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement * Value: "DEGRADED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Degraded; +/** + * DEPROVISIONING means that deprovisioning is in progress. + * + * Value: "DEPROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Deprovisioning; /** * DISABLED means that the component is not enabled. * @@ -1840,6 +1922,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_St * Value: "DEGRADED" */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Degraded; +/** + * DEPROVISIONING means that deprovisioning is in progress. + * + * Value: "DEPROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Deprovisioning; /** * DISABLED means that the component is not enabled. * @@ -1975,7 +2063,14 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_Manage */ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_ManagementManual; /** - * Unspecified + * Google should remove any managed Service Mesh components from this cluster + * and deprovision any resources. + * + * Value: "MANAGEMENT_NOT_INSTALLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRGKEHub_ServiceMeshSpec_Management_ManagementNotInstalled; +/** + * Unspecified. * * Value: "MANAGEMENT_UNSPECIFIED" */ @@ -2192,6 +2287,10 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * has passed all post conditions (soaking). At the scope level, this * means all eligible clusters are in COMPLETE status. (Value: * "COMPLETE") + * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedComplete The + * upgrade was forced into soaking and the soaking time has passed. This + * is the equivalent of COMPLETE status for upgrades that were forced + * into soaking. (Value: "FORCED_COMPLETE") * @arg @c kGTLRGKEHub_ClusterUpgradeUpgradeStatus_Code_ForcedSoaking A * cluster will be forced to enter soaking if an upgrade doesn't finish * within a certain limit, despite it's actual status. (Value: @@ -5074,12 +5173,45 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationCompleted * Modernization is completed for a cluster. (Value: * "MODERNIZATION_COMPLETED") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationEligible Fleet + * is eligible for modernization. (Value: "MODERNIZATION_ELIGIBLE") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationFinalized + * Modernization is finalized for all clusters in a fleet. Rollback is no + * longer allowed. (Value: "MODERNIZATION_FINALIZED") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationInProgress * Modernization is in progress for a cluster. (Value: * "MODERNIZATION_IN_PROGRESS") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationManual Fleet is + * opted out from automated modernization. (Value: + * "MODERNIZATION_MANUAL") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationMigratingWorkloads + * Migrating the cluster's workloads to the new implementation. (Value: + * "MODERNIZATION_MIGRATING_WORKLOADS") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizedSoaking + * Modernization of all the fleet's clusters is complete. Soaking before + * finalizing the modernization. (Value: + * "MODERNIZATION_MODERNIZED_SOAKING") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationModernizing + * Modernization of one or more clusters in a fleet is in progress. + * (Value: "MODERNIZATION_MODERNIZING") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPrepared + * Cluster has been prepared for its workloads to be migrated. (Value: + * "MODERNIZATION_PREPARED") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationPreparing + * Preparing cluster so that its workloads can be migrated. (Value: + * "MODERNIZATION_PREPARING") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackCluster + * Rollback is in progress for modernization of a cluster. (Value: + * "MODERNIZATION_ROLLING_BACK_CLUSTER") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationRollingBackFleet + * Rollback is in progress for modernization of all clusters in a fleet. + * (Value: "MODERNIZATION_ROLLING_BACK_FLEET") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationScheduled * Modernization is scheduled for a cluster. (Value: * "MODERNIZATION_SCHEDULED") + * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationStalled + * Modernization is stalled for a cluster. (Value: + * "MODERNIZATION_STALLED") * @arg @c kGTLRGKEHub_ServiceMeshCondition_Code_ModernizationWillBeScheduled * Modernization will be scheduled for a fleet. (Value: * "MODERNIZATION_WILL_BE_SCHEDULED") @@ -5204,6 +5336,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * @arg @c kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Degraded * DEGRADED means that the component is ready, but operating in a * degraded state. (Value: "DEGRADED") + * @arg @c kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Deprovisioning + * DEPROVISIONING means that deprovisioning is in progress. (Value: + * "DEPROVISIONING") * @arg @c kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_Disabled * DISABLED means that the component is not enabled. (Value: "DISABLED") * @arg @c kGTLRGKEHub_ServiceMeshControlPlaneManagement_State_FailedPrecondition @@ -5244,6 +5379,9 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * @arg @c kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Degraded DEGRADED * means that the component is ready, but operating in a degraded state. * (Value: "DEGRADED") + * @arg @c kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Deprovisioning + * DEPROVISIONING means that deprovisioning is in progress. (Value: + * "DEPROVISIONING") * @arg @c kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_Disabled DISABLED * means that the component is not enabled. (Value: "DISABLED") * @arg @c kGTLRGKEHub_ServiceMeshDataPlaneManagement_State_FailedPrecondition @@ -5333,8 +5471,12 @@ FOUNDATION_EXTERN NSString * const kGTLRGKEHub_WorkloadCertificateSpec_Certifica * @arg @c kGTLRGKEHub_ServiceMeshSpec_Management_ManagementManual User will * manually configure their service mesh components. (Value: * "MANAGEMENT_MANUAL") + * @arg @c kGTLRGKEHub_ServiceMeshSpec_Management_ManagementNotInstalled + * Google should remove any managed Service Mesh components from this + * cluster and deprovision any resources. (Value: + * "MANAGEMENT_NOT_INSTALLED") * @arg @c kGTLRGKEHub_ServiceMeshSpec_Management_ManagementUnspecified - * Unspecified (Value: "MANAGEMENT_UNSPECIFIED") + * Unspecified. (Value: "MANAGEMENT_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *management; diff --git a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m index b95509491..29af6d90c 100644 --- a/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m +++ b/Sources/GeneratedServices/HangoutsChat/GTLRHangoutsChatObjects.m @@ -181,6 +181,11 @@ NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePicker_Type_DateOnly = @"DATE_ONLY"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePicker_Type_TimeOnly = @"TIME_ONLY"; +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition.conditionType +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ConditionTypeUnspecified = @"CONDITION_TYPE_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationFailure = @"EXPRESSION_EVALUATION_FAILURE"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationSuccess = @"EXPRESSION_EVALUATION_SUCCESS"; + // GTLRHangoutsChat_GoogleAppsCardV1GridItem.layout NSString * const kGTLRHangoutsChat_GoogleAppsCardV1GridItem_Layout_GridItemLayoutUnspecified = @"GRID_ITEM_LAYOUT_UNSPECIFIED"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1GridItem_Layout_TextAbove = @"TEXT_ABOVE"; @@ -225,6 +230,11 @@ NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_MultipleLine = @"MULTIPLE_LINE"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_SingleLine = @"SINGLE_LINE"; +// GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction.visibility +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Hidden = @"HIDDEN"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_VisibilityUnspecified = @"VISIBILITY_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Visible = @"VISIBLE"; + // GTLRHangoutsChat_GoogleAppsCardV1Validation.inputType NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_Email = @"EMAIL"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Validation_InputType_EmojiPicker = @"EMOJI_PICKER"; @@ -239,6 +249,11 @@ NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_HorizontalAlignmentUnspecified = @"HORIZONTAL_ALIGNMENT_UNSPECIFIED"; NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_Start = @"START"; +// GTLRHangoutsChat_GoogleAppsCardV1Widget.visibility +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Hidden = @"HIDDEN"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_VisibilityUnspecified = @"VISIBILITY_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Visible = @"VISIBLE"; + // GTLRHangoutsChat_ImageButton.icon NSString * const kGTLRHangoutsChat_ImageButton_Icon_Airplane = @"AIRPLANE"; NSString * const kGTLRHangoutsChat_ImageButton_Icon_Bookmark = @"BOOKMARK"; @@ -305,6 +320,17 @@ NSString * const kGTLRHangoutsChat_KeyValue_Icon_VideoCamera = @"VIDEO_CAMERA"; NSString * const kGTLRHangoutsChat_KeyValue_Icon_VideoPlay = @"VIDEO_PLAY"; +// GTLRHangoutsChat_MeetSpaceLinkData.huddleStatus +NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Ended = @"ENDED"; +NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_HuddleStatusUnspecified = @"HUDDLE_STATUS_UNSPECIFIED"; +NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Missed = @"MISSED"; +NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Started = @"STARTED"; + +// GTLRHangoutsChat_MeetSpaceLinkData.type +NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_Type_Huddle = @"HUDDLE"; +NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_Type_Meeting = @"MEETING"; +NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; + // GTLRHangoutsChat_Membership.role NSString * const kGTLRHangoutsChat_Membership_Role_MembershipRoleUnspecified = @"MEMBERSHIP_ROLE_UNSPECIFIED"; NSString * const kGTLRHangoutsChat_Membership_Role_RoleManager = @"ROLE_MANAGER"; @@ -317,8 +343,10 @@ NSString * const kGTLRHangoutsChat_Membership_State_NotAMember = @"NOT_A_MEMBER"; // GTLRHangoutsChat_RichLinkMetadata.richLinkType +NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_CalendarEvent = @"CALENDAR_EVENT"; NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_ChatSpace = @"CHAT_SPACE"; NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_DriveFile = @"DRIVE_FILE"; +NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_MeetSpace = @"MEET_SPACE"; NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_RichLinkTypeUnspecified = @"RICH_LINK_TYPE_UNSPECIFIED"; // GTLRHangoutsChat_SlashCommandMetadata.type @@ -375,6 +403,12 @@ NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Mention = @"MENTION"; NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRHangoutsChat_WorkflowDataSourceMarkup.type +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Space = @"SPACE"; +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Unknown = @"UNKNOWN"; +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_User = @"USER"; +NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_UserWithFreeForm = @"USER_WITH_FREE_FORM"; + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_AccessoryWidget @@ -487,6 +521,16 @@ @implementation GTLRHangoutsChat_Button @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_CalendarEventLinkData +// + +@implementation GTLRHangoutsChat_CalendarEventLinkData +@dynamic calendarId, eventId; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_Card @@ -867,12 +911,13 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1ButtonList // @implementation GTLRHangoutsChat_GoogleAppsCardV1Card -@dynamic cardActions, displayStyle, fixedFooter, header, name, peekCardHeader, - sectionDividerStyle, sections; +@dynamic cardActions, displayStyle, expressionData, fixedFooter, header, name, + peekCardHeader, sectionDividerStyle, sections; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"cardActions" : [GTLRHangoutsChat_GoogleAppsCardV1CardAction class], + @"expressionData" : [GTLRHangoutsChat_GoogleAppsCardV1ExpressionData class], @"sections" : [GTLRHangoutsChat_GoogleAppsCardV1Section class] }; return map; @@ -1022,13 +1067,44 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Columns @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction +@dynamic updateVisibilityAction; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1Condition +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1Condition +@dynamic actionRuleId, expressionDataCondition; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig +@dynamic platformDataSource, remoteDataSource; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker // @implementation GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker -@dynamic label, name, onChangeAction, timezoneOffsetDate, type, valueMsEpoch; +@dynamic hostAppDataSource, label, name, onChangeAction, timezoneOffsetDate, + type, valueMsEpoch; @end @@ -1052,6 +1128,57 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Divider @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1EventAction +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1EventAction +@dynamic actionRuleId, commonWidgetAction, postEventTriggers; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"postEventTriggers" : [GTLRHangoutsChat_GoogleAppsCardV1Trigger class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionData +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1ExpressionData +@dynamic conditions, eventActions, expression, identifier; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conditions" : [GTLRHangoutsChat_GoogleAppsCardV1Condition class], + @"eventActions" : [GTLRHangoutsChat_GoogleAppsCardV1EventAction class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition +@dynamic conditionType; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1Grid @@ -1209,8 +1336,12 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1PlatformDataSource // @implementation GTLRHangoutsChat_GoogleAppsCardV1Section -@dynamic collapseControl, collapsible, header, uncollapsibleWidgetsCount, - widgets; +@dynamic collapseControl, collapsible, header, identifier, + uncollapsibleWidgetsCount, widgets; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1228,12 +1359,13 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Section // @implementation GTLRHangoutsChat_GoogleAppsCardV1SelectionInput -@dynamic externalDataSource, items, label, multiSelectMaxSelectedItems, - multiSelectMinQueryLength, name, onChangeAction, platformDataSource, - type; +@dynamic dataSourceConfigs, externalDataSource, hintText, items, label, + multiSelectMaxSelectedItems, multiSelectMinQueryLength, name, + onChangeAction, platformDataSource, type; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ + @"dataSourceConfigs" : [GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig class], @"items" : [GTLRHangoutsChat_GoogleAppsCardV1SelectionItem class] }; return map; @@ -1296,8 +1428,8 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1SwitchControl // @implementation GTLRHangoutsChat_GoogleAppsCardV1TextInput -@dynamic autoCompleteAction, hintText, initialSuggestions, label, name, - onChangeAction, placeholderText, type, validation, value; +@dynamic autoCompleteAction, hintText, hostAppDataSource, initialSuggestions, + label, name, onChangeAction, placeholderText, type, validation, value; @end @@ -1311,6 +1443,26 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1TextParagraph @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1Trigger +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1Trigger +@dynamic actionRuleId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction +// + +@implementation GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction +@dynamic visibility; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_GoogleAppsCardV1Validation @@ -1328,8 +1480,20 @@ @implementation GTLRHangoutsChat_GoogleAppsCardV1Validation @implementation GTLRHangoutsChat_GoogleAppsCardV1Widget @dynamic buttonList, carousel, chipList, columns, dateTimePicker, decoratedText, - divider, grid, horizontalAlignment, image, selectionInput, textInput, - textParagraph; + divider, eventActions, grid, horizontalAlignment, identifier, image, + selectionInput, textInput, textParagraph, visibility; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"identifier" : @"id" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"eventActions" : [GTLRHangoutsChat_GoogleAppsCardV1EventAction class] + }; + return map; +} + @end @@ -1360,7 +1524,7 @@ @implementation GTLRHangoutsChat_Group // @implementation GTLRHangoutsChat_HostAppDataSourceMarkup -@dynamic chatDataSource; +@dynamic chatDataSource, workflowDataSource; @end @@ -1557,6 +1721,16 @@ @implementation GTLRHangoutsChat_Media @end +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_MeetSpaceLinkData +// + +@implementation GTLRHangoutsChat_MeetSpaceLinkData +@dynamic huddleStatus, meetingCode, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRHangoutsChat_Membership @@ -1897,7 +2071,8 @@ @implementation GTLRHangoutsChat_ReactionDeletedEventData // @implementation GTLRHangoutsChat_RichLinkMetadata -@dynamic chatSpaceLinkData, driveLinkData, richLinkType, uri; +@dynamic calendarEventLinkData, chatSpaceLinkData, driveLinkData, + meetSpaceLinkData, richLinkType, uri; @end @@ -2003,7 +2178,7 @@ @implementation GTLRHangoutsChat_SlashCommandMetadata // @implementation GTLRHangoutsChat_Space -@dynamic accessSettings, adminInstalled, createTime, displayName, +@dynamic accessSettings, adminInstalled, createTime, customer, displayName, externalUserAllowed, importMode, importModeExpireTime, lastActiveTime, membershipCount, name, permissionSettings, predefinedPermissionSettings, singleUserBotDm, spaceDetails, @@ -2285,3 +2460,13 @@ @implementation GTLRHangoutsChat_WidgetMarkup } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRHangoutsChat_WorkflowDataSourceMarkup +// + +@implementation GTLRHangoutsChat_WorkflowDataSourceMarkup +@dynamic includeVariables, type; +@end diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h index a503deb9e..63ae484fd 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatObjects.h @@ -27,6 +27,7 @@ @class GTLRHangoutsChat_Attachment; @class GTLRHangoutsChat_AttachmentDataRef; @class GTLRHangoutsChat_Button; +@class GTLRHangoutsChat_CalendarEventLinkData; @class GTLRHangoutsChat_Card; @class GTLRHangoutsChat_CardAction; @class GTLRHangoutsChat_CardHeader; @@ -66,9 +67,15 @@ @class GTLRHangoutsChat_GoogleAppsCardV1CollapseControl; @class GTLRHangoutsChat_GoogleAppsCardV1Column; @class GTLRHangoutsChat_GoogleAppsCardV1Columns; +@class GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction; +@class GTLRHangoutsChat_GoogleAppsCardV1Condition; +@class GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig; @class GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker; @class GTLRHangoutsChat_GoogleAppsCardV1DecoratedText; @class GTLRHangoutsChat_GoogleAppsCardV1Divider; +@class GTLRHangoutsChat_GoogleAppsCardV1EventAction; +@class GTLRHangoutsChat_GoogleAppsCardV1ExpressionData; +@class GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition; @class GTLRHangoutsChat_GoogleAppsCardV1Grid; @class GTLRHangoutsChat_GoogleAppsCardV1GridItem; @class GTLRHangoutsChat_GoogleAppsCardV1Icon; @@ -90,6 +97,8 @@ @class GTLRHangoutsChat_GoogleAppsCardV1SwitchControl; @class GTLRHangoutsChat_GoogleAppsCardV1TextInput; @class GTLRHangoutsChat_GoogleAppsCardV1TextParagraph; +@class GTLRHangoutsChat_GoogleAppsCardV1Trigger; +@class GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction; @class GTLRHangoutsChat_GoogleAppsCardV1Validation; @class GTLRHangoutsChat_GoogleAppsCardV1Widget; @class GTLRHangoutsChat_GoogleAppsCardV1Widgets; @@ -100,6 +109,7 @@ @class GTLRHangoutsChat_Inputs; @class GTLRHangoutsChat_KeyValue; @class GTLRHangoutsChat_MatchedUrl; +@class GTLRHangoutsChat_MeetSpaceLinkData; @class GTLRHangoutsChat_Membership; @class GTLRHangoutsChat_MembershipBatchCreatedEventData; @class GTLRHangoutsChat_MembershipBatchDeletedEventData; @@ -148,6 +158,7 @@ @class GTLRHangoutsChat_User; @class GTLRHangoutsChat_UserMentionMetadata; @class GTLRHangoutsChat_WidgetMarkup; +@class GTLRHangoutsChat_WorkflowDataSourceMarkup; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -1077,6 +1088,28 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePic */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1DateTimePicker_Type_TimeOnly; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition.conditionType + +/** + * Unspecified condition type. + * + * Value: "CONDITION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ConditionTypeUnspecified; +/** + * The expression evaluation was unsuccessful. + * + * Value: "EXPRESSION_EVALUATION_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationFailure; +/** + * The expression evaluation was successful. + * + * Value: "EXPRESSION_EVALUATION_SUCCESS" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationSuccess; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_GoogleAppsCardV1GridItem.layout @@ -1291,6 +1324,28 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_T */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1TextInput_Type_SingleLine; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction.visibility + +/** + * The UI element is hidden. + * + * Value: "HIDDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Hidden; +/** + * Unspecified visibility. Do not use. + * + * Value: "VISIBILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_VisibilityUnspecified; +/** + * The UI element is visible. + * + * Value: "VISIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Visible; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_GoogleAppsCardV1Validation.inputType @@ -1363,6 +1418,28 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Hori */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_HorizontalAlignment_Start; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_GoogleAppsCardV1Widget.visibility + +/** + * The UI element is hidden. + * + * Value: "HIDDEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Hidden; +/** + * Unspecified visibility. Do not use. + * + * Value: "VISIBILITY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_VisibilityUnspecified; +/** + * The UI element is visible. + * + * Value: "VISIBLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Visible; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_ImageButton.icon @@ -1495,6 +1572,58 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_KeyValue_Icon_VideoCamera; /** Value: "VIDEO_PLAY" */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_KeyValue_Icon_VideoPlay; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_MeetSpaceLinkData.huddleStatus + +/** + * The huddle has ended. In this case the Meet space URI and identifiers will + * no longer be valid. + * + * Value: "ENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Ended; +/** + * Default value for the enum. Don't use. + * + * Value: "HUDDLE_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_HuddleStatusUnspecified; +/** + * The huddle has been missed. In this case the Meet space URI and identifiers + * will no longer be valid. + * + * Value: "MISSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Missed; +/** + * The huddle has started. + * + * Value: "STARTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Started; + +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_MeetSpaceLinkData.type + +/** + * The Meet space is a huddle. + * + * Value: "HUDDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_Type_Huddle; +/** + * The Meet space is a meeting. + * + * Value: "MEETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_Type_Meeting; +/** + * Default value for the enum. Don't use. + * + * Value: "TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_MeetSpaceLinkData_Type_TypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRHangoutsChat_Membership.role @@ -1555,6 +1684,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_Membership_State_NotAMember // ---------------------------------------------------------------------------- // GTLRHangoutsChat_RichLinkMetadata.richLinkType +/** + * A Calendar message rich link type. For example, a Calendar chip. + * + * Value: "CALENDAR_EVENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_CalendarEvent; /** * A Chat space rich link type. For example, a space smart chip. * @@ -1567,6 +1702,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkTy * Value: "DRIVE_FILE" */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_DriveFile; +/** + * A Meet message rich link type. For example, a Meet chip. + * + * Value: "MEET_SPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_MeetSpace; /** * Default value for the enum. Don't use. * @@ -1836,6 +1977,36 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Me */ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRHangoutsChat_WorkflowDataSourceMarkup.type + +/** + * Google Chat spaces that the user is a member of. + * + * Value: "SPACE" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Space; +/** + * Default value. Don't use. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Unknown; +/** + * Google Workspace users. The user can only view and select users from their + * Google Workspace organization. + * + * Value: "USER" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_User; +/** + * Users can choose to view and select existing members from their Google + * Workspace organization or manually enter an email address or a valid domain. + * + * Value: "USER_WITH_FREE_FORM" + */ +FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_UserWithFreeForm; + /** * One or more interactive widgets that appear at the bottom of a message. For * details, see [Add interactive widgets at the bottom of a @@ -1892,9 +2063,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * - [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 in [Developer - * Preview](https://developers.google.com/workspace/preview). This field is not - * populated when using the `chat.bot` scope with [app + * with the `chat.app.spaces` scope. This field is not populated when using the + * `chat.bot` scope with [app * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). * Setting the target audience requires [user * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user). @@ -2094,8 +2264,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * Output only. Annotations associated with the plain-text body of the message. - * To add basic formatting to a text message, see [Format text + * Output only. Annotations can be associated with the plain-text body of the + * message or with chips that link to Google Workspace resources like Google + * Docs or Sheets with `start_index` and `length` of 0. To add basic formatting + * to a text message, see [Format text * messages](https://developers.google.com/workspace/chat/format-messages). * Example plain-text message body: ``` Hello \@FooBot how are you!" ``` The * corresponding annotations metadata: ``` "annotations":[{ @@ -2111,7 +2283,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** * Length of the substring in the plain-text message body this annotation - * corresponds to. + * corresponds to. If not present, indicates a length of 0. * * Uses NSNumber of intValue. */ @@ -2292,6 +2464,28 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Data for Calendar event links. + */ +@interface GTLRHangoutsChat_CalendarEventLinkData : GTLRObject + +/** + * The [Calendar + * identifier](https://developers.google.com/workspace/calendar/api/v3/reference/calendars) + * of the linked Calendar. + */ +@property(nonatomic, copy, nullable) NSString *calendarId; + +/** + * The [Event + * identifier](https://developers.google.com/workspace/calendar/api/v3/reference/events) + * of the linked Calendar event. + */ +@property(nonatomic, copy, nullable) NSString *eventId; + +@end + + /** * A card is a UI element that can contain UI widgets such as text and images. */ @@ -2539,24 +2733,65 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * Represents information about the user's client, such as locale, host app, - * and platform. For Chat apps, `CommonEventObject` includes data submitted by - * users interacting with cards, like data entered in - * [dialogs](https://developers.google.com/chat/how-tos/dialogs). + * The common event object is the portion of the overall event object that + * carries general, host-independent information to the add-on from the user's + * client. This information includes details such as the user's locale, host + * app, and platform. In addition to homepage and contextual triggers, add-ons + * construct and pass event objects to [action callback + * functions](https://developers.google.com/workspace/add-ons/concepts/actions#callback_functions) + * when the user interacts with widgets. Your add-on's callback function can + * query the common event object to determine the contents of open widgets in + * the user's client. For example, your add-on can locate the text a user has + * entered into a + * [TextInput](https://developers.google.com/apps-script/reference/card-service/text-input) + * widget in the `eventObject.commentEventObject.formInputs` object. For Chat + * apps, the name of the function that the user invoked when interacting with a + * widget. */ @interface GTLRHangoutsChat_CommonEventObject : GTLRObject /** - * A map containing the values that a user inputs in a widget from a card or - * dialog. The map keys are the string IDs assigned to each widget, and the - * values represent inputs to the widget. For details, see [Process information - * inputted by users](https://developers.google.com/chat/ui/read-form-data). + * A map containing the current values of the widgets in the displayed card. + * The map keys are the string IDs assigned with each widget. The structure of + * the map value object is dependent on the widget type: **Note**: The + * following examples are formatted for Apps Script's V8 runtime. If you're + * using Rhino runtime, you must add `[""]` after the value. For example, + * instead of + * `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`, format + * the event object as + * `e.commonEventObject.formInputs.employeeName[""].stringInputs.value[0]`. To + * learn more about runtimes in Apps Script, see the [V8 Runtime + * Overview](https://developers.google.com/apps-script/guides/v8-runtime). * + * Single-valued widgets (for example, a text box): a list of strings (only one + * element). **Example**: for a text input widget with `employeeName` as its + * ID, access the text input value with: + * `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`. * + * Multi-valued widgets (for example, checkbox groups): a list of strings. + * **Example**: for a multi-value widget with `participants` as its ID, access + * the value array with: + * `e.commonEventObject.formInputs.participants.stringInputs.value`. * **A + * date-time picker**: a [`DateTimeInput + * object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input). + * **Example**: For a picker with an ID of `myDTPicker`, access the + * [`DateTimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input) + * object using `e.commonEventObject.formInputs.myDTPicker.dateTimeInput`. * + * **A date-only picker**: a [`DateInput + * object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input). + * **Example**: For a picker with an ID of `myDatePicker`, access the + * [`DateInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input) + * object using `e.commonEventObject.formInputs.myDatePicker.dateInput`. * **A + * time-only picker**: a [`TimeInput + * object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input). + * **Example**: For a picker with an ID of `myTimePicker`, access the + * [`TimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input) + * object using `e.commonEventObject.formInputs.myTimePicker.timeInput`. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_CommonEventObject_FormInputs *formInputs; /** - * The hostApp enum which indicates the app the add-on is invoked from. Always - * `CHAT` for Chat apps. + * Indicates the host app the add-on is active in when the event object is + * generated. Possible values include the following: * `GMAIL` * `CALENDAR` * + * `DRIVE` * `DOCS` * `SHEETS` * `SLIDES` * `CHAT` * * Likely values: * @arg @c kGTLRHangoutsChat_CommonEventObject_HostApp_Calendar The add-on @@ -2591,8 +2826,19 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @property(nonatomic, copy, nullable) NSString *invokedFunction; /** - * Custom [parameters](/chat/api/reference/rest/v1/cards#ActionParameter) - * passed to the invoked function. Both keys and values must be strings. + * Any additional parameters you supply to an action using + * [`actionParameters`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.Action.ActionParameter) + * or + * [`Action.setParameters()`](https://developers.google.com/apps-script/reference/card-service/action#setparametersparameters). + * **Developer Preview:** For [add-ons that extend Google + * Chat](https://developers.google.com/workspace/add-ons/chat), to suggest + * items based on what the users type in multiselect menus, use the value of + * the `"autocomplete_widget_query"` key + * (`event.commonEventObject.parameters["autocomplete_widget_query"]`). You can + * use this value to query a database and suggest selectable items to users as + * they type. For details, see [Collect and process information from Google + * Chat + * users](https://developers.google.com/workspace/add-ons/chat/collect-information). */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_CommonEventObject_Parameters *parameters; @@ -2611,8 +2857,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @property(nonatomic, copy, nullable) NSString *platform; /** - * The timezone ID and offset from Coordinated Universal Time (UTC). Only - * supported for the event types + * **Disabled by default.** The timezone ID and offset from Coordinated + * Universal Time (UTC). To turn on this field, you must set + * `addOns.common.useLocaleFromApp` to `true` in your add-on's manifest. Your + * add-on's scope list must also include + * `https://www.googleapis.com/auth/script.locale`. See [Accessing user locale + * and + * timezone](https://developers.google.com/workspace/add-ons/how-tos/access-user-locale) + * for more details. Only supported for the event types * [`CARD_CLICKED`](https://developers.google.com/chat/api/reference/rest/v1/EventType#ENUM_VALUES.CARD_CLICKED) * and * [`SUBMIT_DIALOG`](https://developers.google.com/chat/api/reference/rest/v1/DialogEventType#ENUM_VALUES.SUBMIT_DIALOG). @@ -2620,8 +2872,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @property(nonatomic, strong, nullable) GTLRHangoutsChat_TimeZone *timeZone; /** - * The full `locale.displayName` in the format of [ISO 639 language code]-[ISO - * 3166 country/region code] such as "en-US". + * **Disabled by default.** The user's language and country/region identifier + * in the format of [ISO 639](https://wikipedia.org/wiki/ISO_639_macrolanguage) + * language code-[ISO 3166](https://wikipedia.org/wiki/ISO_3166) country/region + * code. For example, `en-US`. To turn on this field, you must set + * `addOns.common.useLocaleFromApp` to `true` in your add-on's manifest. Your + * add-on's scope list must also include + * `https://www.googleapis.com/auth/script.locale`. See [Accessing user locale + * and + * timezone](https://developers.google.com/workspace/add-ons/how-tos/access-user-locale) + * for more details. */ @property(nonatomic, copy, nullable) NSString *userLocale; @@ -2629,10 +2889,40 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * A map containing the values that a user inputs in a widget from a card or - * dialog. The map keys are the string IDs assigned to each widget, and the - * values represent inputs to the widget. For details, see [Process information - * inputted by users](https://developers.google.com/chat/ui/read-form-data). + * A map containing the current values of the widgets in the displayed card. + * The map keys are the string IDs assigned with each widget. The structure of + * the map value object is dependent on the widget type: **Note**: The + * following examples are formatted for Apps Script's V8 runtime. If you're + * using Rhino runtime, you must add `[""]` after the value. For example, + * instead of + * `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`, format + * the event object as + * `e.commonEventObject.formInputs.employeeName[""].stringInputs.value[0]`. To + * learn more about runtimes in Apps Script, see the [V8 Runtime + * Overview](https://developers.google.com/apps-script/guides/v8-runtime). * + * Single-valued widgets (for example, a text box): a list of strings (only one + * element). **Example**: for a text input widget with `employeeName` as its + * ID, access the text input value with: + * `e.commonEventObject.formInputs.employeeName.stringInputs.value[0]`. * + * Multi-valued widgets (for example, checkbox groups): a list of strings. + * **Example**: for a multi-value widget with `participants` as its ID, access + * the value array with: + * `e.commonEventObject.formInputs.participants.stringInputs.value`. * **A + * date-time picker**: a [`DateTimeInput + * object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input). + * **Example**: For a picker with an ID of `myDTPicker`, access the + * [`DateTimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-time-input) + * object using `e.commonEventObject.formInputs.myDTPicker.dateTimeInput`. * + * **A date-only picker**: a [`DateInput + * object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input). + * **Example**: For a picker with an ID of `myDatePicker`, access the + * [`DateInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#date-input) + * object using `e.commonEventObject.formInputs.myDatePicker.dateInput`. * **A + * time-only picker**: a [`TimeInput + * object`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input). + * **Example**: For a picker with an ID of `myTimePicker`, access the + * [`TimeInput`](https://developers.google.com/workspace/add-ons/concepts/event-objects#time-input) + * object using `e.commonEventObject.formInputs.myTimePicker.timeInput`. * * @note This class is documented as having more properties of * GTLRHangoutsChat_Inputs. Use @c -additionalJSONKeys and @c @@ -2644,8 +2934,19 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * Custom [parameters](/chat/api/reference/rest/v1/cards#ActionParameter) - * passed to the invoked function. Both keys and values must be strings. + * Any additional parameters you supply to an action using + * [`actionParameters`](https://developers.google.com/workspace/add-ons/reference/rpc/google.apps.card.v1#google.apps.card.v1.Action.ActionParameter) + * or + * [`Action.setParameters()`](https://developers.google.com/apps-script/reference/card-service/action#setparametersparameters). + * **Developer Preview:** For [add-ons that extend Google + * Chat](https://developers.google.com/workspace/add-ons/chat), to suggest + * items based on what the users type in multiselect menus, use the value of + * the `"autocomplete_widget_query"` key + * (`event.commonEventObject.parameters["autocomplete_widget_query"]`). You can + * use this value to query a database and suggest selectable items to users as + * they type. For details, see [Collect and process information from Google + * Chat + * users](https://developers.google.com/workspace/add-ons/chat/collect-information). * * @note This class is documented as having more properties of NSString. Use @c * -additionalJSONKeys and @c -additionalPropertyForName: to get the list @@ -2840,7 +3141,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * In addition to receiving events from user interactions, Chat apps can * receive events about changes to spaces, such as when a new member is added * to a space. To learn about space events, see [Work with events from Google - * Chat](https://developers.google.com/workspace/chat/events-overview). + * Chat](https://developers.google.com/workspace/chat/events-overview). Note: + * This event is only used for [Chat interaction + * events](https://developers.google.com/workspace/chat/receive-respond-interactions). + * If your Chat app is built as a [Google Workspace + * add-on](https://developers.google.com/workspace/add-ons/chat/build), see + * [Chat event + * objects](https://developers.google.com/workspace/add-ons/concepts/event-objects#chat-event-object) + * in the add-ons documentation. */ @interface GTLRHangoutsChat_DeprecatedEvent : GTLRObject @@ -3472,6 +3780,12 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *displayStyle; +/** + * The expression data for the card. Only supported by Google Workspace + * Workflow, but not Google Chat apps or Google Workspace add-ons. + */ +@property(nonatomic, strong, nullable) NSArray *expressionData; + /** * The fixed footer shown at the bottom of this card. Setting `fixedFooter` * without specifying a `primaryButton` or a `secondaryButton` causes an error. @@ -3880,6 +4194,51 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Represents an action that is not specific to a widget. Only supported by + * Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction : GTLRObject + +/** The action to update the visibility of a widget. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction *updateVisibilityAction; + +@end + + +/** + * Represents a condition that can be used to trigger an action. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1Condition : GTLRObject + +/** The unique identifier of the ActionRule. */ +@property(nonatomic, copy, nullable) NSString *actionRuleId; + +/** The condition that is determined by the expression data. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition *expressionDataCondition; + +@end + + +/** + * A configuration object that helps configure the data sources for a widget. + * Only supported by Google Workspace Workflow, but not Google Chat apps or + * Google Workspace add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1DataSourceConfig : GTLRObject + +/** The data is from a Google Workspace application. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1PlatformDataSource *platformDataSource; + +/** The data is from a remote data provider. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Action *remoteDataSource; + +@end + + /** * 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 @@ -3894,6 +4253,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @interface GTLRHangoutsChat_GoogleAppsCardV1DateTimePicker : GTLRObject +/** + * A data source that's unique to a Google Workspace host application, such as + * Gmail emails, Google Calendar events, or Google Chat messages. Only + * supported by Google Workspace Workflows, but not Google Chat API or Google + * Workspace Add-ons. + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_HostAppDataSourceMarkup *hostAppDataSource; + /** * The text that prompts users to input a date, a time, or a date and time. For * example, if users are scheduling an appointment, use a label such as @@ -4030,6 +4397,81 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Represents an actionthat can be performed on an ui element. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1EventAction : GTLRObject + +/** The unique identifier of the ActionRule. */ +@property(nonatomic, copy, nullable) NSString *actionRuleId; + +/** Common widget action. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1CommonWidgetAction *commonWidgetAction; + +/** + * The list of triggers that will be triggered after the EventAction is + * executed. + */ +@property(nonatomic, strong, nullable) NSArray *postEventTriggers; + +@end + + +/** + * Represents the data that is used to evaluate an expression. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1ExpressionData : GTLRObject + +/** + * The list of conditions that are determined by the expression evaluation + * result. + */ +@property(nonatomic, strong, nullable) NSArray *conditions; + +/** The list of actions that the ExpressionData can be used. */ +@property(nonatomic, strong, nullable) NSArray *eventActions; + +/** The uncompiled expression. */ +@property(nonatomic, copy, nullable) NSString *expression; + +/** + * The unique identifier of the ExpressionData. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + +@end + + +/** + * Represents a condition that is evaluated using CEL. Only supported by Google + * Workspace Workflow, but not Google Chat apps or Google Workspace add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition : GTLRObject + +/** + * The type of the condition. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ConditionTypeUnspecified + * Unspecified condition type. (Value: "CONDITION_TYPE_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationFailure + * The expression evaluation was unsuccessful. (Value: + * "EXPRESSION_EVALUATION_FAILURE") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1ExpressionDataCondition_ConditionType_ExpressionEvaluationSuccess + * The expression evaluation was successful. (Value: + * "EXPRESSION_EVALUATION_SUCCESS") + */ +@property(nonatomic, copy, nullable) NSString *conditionType; + +@end + + /** * Displays a grid with a collection of items. Items can only include text or * images. For responsive columns, or to include more than text or images, use @@ -4548,6 +4990,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *header; +/** + * A unique ID assigned to the section that's used to identify the section to + * be mutated. The ID has a character limit of 64 characters and should be in + * the format of `[a-zA-Z0-9-]+`. Only supported by Google Workspace Workflow, + * but not Google Chat apps or Google Workspace add-ons. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + /** * The number of uncollapsible widgets which remain visible even when a section * is collapsed. For example, when a section contains five widgets and the @@ -4587,9 +5039,27 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @interface GTLRHangoutsChat_GoogleAppsCardV1SelectionInput : GTLRCollectionObject +/** + * Optional. The data source configs for the selection control. This field + * provides more fine-grained control over the data source. If specified, the + * `multi_select_max_selected_items` field, `multi_select_min_query_length` + * field, `external_data_source` field and `platform_data_source` field are + * ignored. Only supported by Google Workspace Workflow, but not Google Chat + * apps or Google Workspace add-ons. + */ +@property(nonatomic, strong, nullable) NSArray *dataSourceConfigs; + /** An external data source, such as a relational database. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Action *externalDataSource; +/** + * Optional. Text that appears below the selection input field meant to assist + * users by prompting them to enter a certain value. This text is always + * visible. Only supported by Google Workspace Workflows, but not Google Chat + * API or Google Workspace Add-ons. + */ +@property(nonatomic, copy, nullable) NSString *hintText; + /** * An array of selectable items. For example, an array of radio buttons or * checkboxes. Supports up to 100 items. @@ -4859,6 +5329,14 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *hintText; +/** + * A data source that's unique to a Google Workspace host application, such as + * Gmail emails, Google Calendar events, or Google Chat messages. Only + * supported by Google Workspace Workflow, but not Google Chat apps or Google + * Workspace add-ons. + */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_HostAppDataSourceMarkup *hostAppDataSource; + /** * Suggested values that users can enter. These values appear when users click * inside the text input field. As users type, the suggested values dynamically @@ -4970,6 +5448,41 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Represents a trigger. Only supported by Google Workspace Workflow, but not + * Google Chat apps or Google Workspace add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1Trigger : GTLRObject + +/** The unique identifier of the ActionRule. */ +@property(nonatomic, copy, nullable) NSString *actionRuleId; + +@end + + +/** + * Represents an action that updates the visibility of a widget. Only supported + * by Google Workspace Workflow, but not Google Chat apps or Google Workspace + * add-ons. + */ +@interface GTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction : GTLRObject + +/** + * The new visibility. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Hidden + * The UI element is hidden. (Value: "HIDDEN") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_VisibilityUnspecified + * Unspecified visibility. Do not use. (Value: "VISIBILITY_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1UpdateVisibilityAction_Visibility_Visible + * The UI element is visible. (Value: "VISIBLE") + */ +@property(nonatomic, copy, nullable) NSString *visibility; + +@end + + /** * Represents the necessary data for validating the widget it's attached to. * [Google Workspace add-ons and Chat @@ -5082,6 +5595,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1Divider *divider; +/** + * Specifies the event actions that can be performed on the widget. Only + * supported by Google Workspace Workflow, but not Google Chat apps or Google + * Workspace add-ons. + */ +@property(nonatomic, strong, nullable) NSArray *eventActions; + /** * Displays a grid with a collection of items. A grid supports any number of * columns and items. The number of rows is determined by the upper bounds of @@ -5118,6 +5638,16 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, copy, nullable) NSString *horizontalAlignment; +/** + * A unique ID assigned to the widget that's used to identify the widget to be + * mutated. The ID has a character limit of 64 characters and should be in the + * format of `[a-zA-Z0-9-]+` and. Only supported by Google Workspace Workflow, + * but not Google Chat apps or Google Workspace add-ons. + * + * identifier property maps to 'id' in JSON (to avoid Objective C's 'id'). + */ +@property(nonatomic, copy, nullable) NSString *identifier; + /** * Displays an image. For example, the following JSON creates an image with * alternative text: ``` "image": { "imageUrl": @@ -5161,6 +5691,21 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_GoogleAppsCardV1TextParagraph *textParagraph; +/** + * Specifies whether the widget is visible or hidden. The default value is + * `VISIBLE`. Only supported by Google Workspace Workflow, but not Google Chat + * apps or Google Workspace add-ons. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Hidden The UI + * element is hidden. (Value: "HIDDEN") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_VisibilityUnspecified + * Unspecified visibility. Do not use. (Value: "VISIBILITY_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_GoogleAppsCardV1Widget_Visibility_Visible The UI + * element is visible. (Value: "VISIBLE") + */ +@property(nonatomic, copy, nullable) NSString *visibility; + @end @@ -5213,16 +5758,17 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * For a `SelectionInput` widget that uses a multiselect menu, a data source - * from a Google Workspace application. The data source populates selection - * items for the multiselect menu. [Google Chat - * apps](https://developers.google.com/workspace/chat): + * A data source from a Google Workspace application. The data source populates + * available items for a widget. */ @interface GTLRHangoutsChat_HostAppDataSourceMarkup : GTLRObject /** A data source from Google Chat. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_ChatClientDataSourceMarkup *chatDataSource; +/** A data source from Google Workflow. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_WorkflowDataSourceMarkup *workflowDataSource; + @end @@ -5654,6 +6200,49 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end +/** + * Data for Meet space links. + */ +@interface GTLRHangoutsChat_MeetSpaceLinkData : GTLRObject + +/** + * Optional. Output only. If the Meet is a Huddle, indicates the status of the + * huddle. Otherwise, this is unset. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Ended The huddle + * has ended. In this case the Meet space URI and identifiers will no + * longer be valid. (Value: "ENDED") + * @arg @c kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_HuddleStatusUnspecified + * Default value for the enum. Don't use. (Value: + * "HUDDLE_STATUS_UNSPECIFIED") + * @arg @c kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Missed The huddle + * has been missed. In this case the Meet space URI and identifiers will + * no longer be valid. (Value: "MISSED") + * @arg @c kGTLRHangoutsChat_MeetSpaceLinkData_HuddleStatus_Started The + * huddle has started. (Value: "STARTED") + */ +@property(nonatomic, copy, nullable) NSString *huddleStatus; + +/** Meeting code of the linked Meet space. */ +@property(nonatomic, copy, nullable) NSString *meetingCode; + +/** + * Indicates the type of the Meet space. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_MeetSpaceLinkData_Type_Huddle The Meet space is + * a huddle. (Value: "HUDDLE") + * @arg @c kGTLRHangoutsChat_MeetSpaceLinkData_Type_Meeting The Meet space is + * a meeting. (Value: "MEETING") + * @arg @c kGTLRHangoutsChat_MeetSpaceLinkData_Type_TypeUnspecified Default + * value for the enum. Don't use. (Value: "TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Represents a membership relation in Google Chat, such as whether a user or * Chat app is invited to, part of, or absent from a space. @@ -5857,7 +6446,11 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_ActionResponse *actionResponse; -/** Output only. Annotations associated with the `text` in this message. */ +/** + * Output only. Annotations can be associated with the plain-text body of the + * message or with chips that link to Google Workspace resources like Google + * Docs or Sheets with `start_index` and `length` of 0. + */ @property(nonatomic, strong, nullable) NSArray *annotations; /** @@ -5992,8 +6585,13 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @property(nonatomic, strong, nullable) GTLRHangoutsChat_User *privateMessageViewer; /** - * Output only. Information about a message that's quoted by a Google Chat user - * in a space. Google Chat users can quote a message to reply to it. + * Optional. Information about a message that another message quotes. When you + * create a message, you can quote messages within the same thread, or quote a + * root message to create a new root message. However, you can't quote a + * message reply from a different thread. When you update a message, you can't + * add or replace the `quotedMessageMetadata` field, but you can remove it. For + * example usage, see [Quote another + * message](https://developers.google.com/workspace/chat/create-messages#quote-a-message). */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_QuotedMessageMetadata *quotedMessageMetadata; @@ -6211,18 +6809,27 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * Information about a quoted message. + * Information about a message that another message quotes. When you create a + * message, you can quote messages within the same thread, or quote a root + * message to create a new root message. However, you can't quote a message + * reply from a different thread. When you update a message, you can't add or + * replace the `quotedMessageMetadata` field, but you can remove it. For + * example usage, see [Quote another + * message](https://developers.google.com/workspace/chat/create-messages#quote-a-message). */ @interface GTLRHangoutsChat_QuotedMessageMetadata : GTLRObject /** - * Output only. The timestamp when the quoted message was created or when the - * quoted message was last updated. + * Required. The timestamp when the quoted message was created or when the + * quoted message was last updated. If the message was edited, use this field, + * `last_update_time`. If the message was never edited, use `create_time`. If + * `last_update_time` doesn't match the latest version of the quoted message, + * the request fails. */ @property(nonatomic, strong, nullable) GTLRDateTime *lastUpdateTime; /** - * Output only. Resource name of the quoted message. Format: + * Required. Resource name of the message that is quoted. Format: * `spaces/{space}/messages/{message}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -6299,25 +6906,39 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty /** - * A rich link to a resource. + * A rich link to a resource. Rich links can be associated with the plain-text + * body of the message or represent chips that link to Google Workspace + * resources like Google Docs or Sheets with `start_index` and `length` of 0. */ @interface GTLRHangoutsChat_RichLinkMetadata : GTLRObject +/** Data for a Calendar event link. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_CalendarEventLinkData *calendarEventLinkData; + /** Data for a chat space link. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_ChatSpaceLinkData *chatSpaceLinkData; /** Data for a drive link. */ @property(nonatomic, strong, nullable) GTLRHangoutsChat_DriveLinkData *driveLinkData; +/** Data for a Meet space link. */ +@property(nonatomic, strong, nullable) GTLRHangoutsChat_MeetSpaceLinkData *meetSpaceLinkData; + /** * The rich link type. * * Likely values: + * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_CalendarEvent A + * Calendar message rich link type. For example, a Calendar chip. (Value: + * "CALENDAR_EVENT") * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_ChatSpace A Chat * space rich link type. For example, a space smart chip. (Value: * "CHAT_SPACE") * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_DriveFile A Google * Drive rich link type. (Value: "DRIVE_FILE") + * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_MeetSpace A Meet + * message rich link type. For example, a Meet chip. (Value: + * "MEET_SPACE") * @arg @c kGTLRHangoutsChat_RichLinkMetadata_RichLinkType_RichLinkTypeUnspecified * Default value for the enum. Don't use. (Value: * "RICH_LINK_TYPE_UNSPECIFIED") @@ -6557,6 +7178,20 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Optional. Immutable. The customer id of the domain of the space. Required + * only when creating a space with [app + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) + * and `SpaceType` is `SPACE`, otherwise should not be set. In the format + * `customers/{customer}`, where `customer` is the `id` from the [Admin SDK + * customer + * resource](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers). + * Private apps can also use the `customers/my_customer` alias to create the + * space in the same Google Workspace organization as the app. For DMs, this + * field isn't populated. + */ +@property(nonatomic, copy, nullable) NSString *customer; + /** * Optional. The space's display name. Required when [creating a * space](https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces/create) @@ -6624,8 +7259,7 @@ 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. Reading and updating - * permission settings supports: - In [Developer - * Preview](https://developers.google.com/workspace/preview), [App + * permission settings supports: - [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 @@ -6639,8 +7273,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty * 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. Setting predefined permission settings supports: - * - In [Developer Preview](https://developers.google.com/workspace/preview), - * [App + * - [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 @@ -7376,6 +8009,41 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChat_UserMentionMetadata_Type_Ty @end + +/** + * * Only supported by Google Workspace Workflow, but not Google Chat apps or + * Google Workspace add-ons. In a `TextInput` or `SelectionInput` widget with + * MULTI_SELECT type or a `DateTimePicker`, provide data source from Google. + */ +@interface GTLRHangoutsChat_WorkflowDataSourceMarkup : GTLRObject + +/** + * Whether to include variables from the previous step in the data source. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *includeVariables; + +/** + * The type of data source. + * + * Likely values: + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Space Google Chat + * spaces that the user is a member of. (Value: "SPACE") + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_Unknown Default + * value. Don't use. (Value: "UNKNOWN") + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_User Google + * Workspace users. The user can only view and select users from their + * Google Workspace organization. (Value: "USER") + * @arg @c kGTLRHangoutsChat_WorkflowDataSourceMarkup_Type_UserWithFreeForm + * Users can choose to view and select existing members from their Google + * Workspace organization or manually enter an email address or a valid + * domain. (Value: "USER_WITH_FREE_FORM") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h index dd2acbd04..3ccd13c28 100644 --- a/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h +++ b/Sources/GeneratedServices/HangoutsChat/Public/GoogleAPIClientForREST/GTLRHangoutsChatQuery.h @@ -463,8 +463,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * one of the following authorization scopes: - + * and one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.app.spaces.create` - * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) @@ -517,8 +516,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * one of the following authorization scopes: - + * and one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.app.spaces.create` - * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) @@ -558,9 +556,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - `https://www.googleapis.com/auth/chat.app.delete` - * (only in spaces the app created) - [User + * and the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app + * created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.delete` - @@ -607,9 +605,9 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - `https://www.googleapis.com/auth/chat.app.delete` - * (only in spaces the app created) - [User + * and the authorization scope: - + * `https://www.googleapis.com/auth/chat.app.delete` (only in spaces the app + * created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.delete` - @@ -886,8 +884,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - + * and the authorization scope: - * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -951,8 +948,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - + * and the authorization scope: - * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -993,8 +989,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - + * and the authorization scope: - * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -1061,8 +1056,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - + * and the authorization scope: - * `https://www.googleapis.com/auth/chat.app.memberships` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -1108,7 +1102,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot` - + * `https://www.googleapis.com/auth/chat.app.memberships` (requires + * [administrator approval](https://support.google.com/a?p=chat-app-auth)) - * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -1164,7 +1161,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot` - + * `https://www.googleapis.com/auth/chat.app.memberships` (requires + * [administrator approval](https://support.google.com/a?p=chat-app-auth)) - * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -1204,7 +1204,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot` - + * `https://www.googleapis.com/auth/chat.app.memberships` (requires + * [administrator approval](https://support.google.com/a?p=chat-app-auth)) - * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -1317,7 +1320,10 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) - * with the authorization scope: - `https://www.googleapis.com/auth/chat.bot` - + * with one of the following authorization scopes: - + * `https://www.googleapis.com/auth/chat.bot` - + * `https://www.googleapis.com/auth/chat.app.memberships` (requires + * [administrator approval](https://support.google.com/a?p=chat-app-auth)) - * [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -1351,8 +1357,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - + * and the authorization scope: - * `https://www.googleapis.com/auth/chat.app.memberships` (only in spaces the * app created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) @@ -1408,8 +1413,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * the authorization scope: - + * and the authorization scope: - * `https://www.googleapis.com/auth/chat.app.memberships` (only in spaces the * app created) - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) @@ -1932,7 +1936,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` * (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - * `accessory_widgets` (Requires [app - * authentication](/chat/api/guides/auth/service-accounts).) + * authentication](/chat/api/guides/auth/service-accounts).) - + * `quoted_message_metadata` (Only allows removal of the quoted message.) * * String format is a comma-separated list of fields. */ @@ -2233,7 +2238,8 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` * (Requires [app authentication](/chat/api/guides/auth/service-accounts).) - * `accessory_widgets` (Requires [app - * authentication](/chat/api/guides/auth/service-accounts).) + * authentication](/chat/api/guides/auth/service-accounts).) - + * `quoted_message_metadata` (Only allows removal of the quoted message.) * * String format is a comma-separated list of fields. */ @@ -2290,8 +2296,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * one of the following authorization scopes: - + * and one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - @@ -2399,8 +2404,7 @@ FOUNDATION_EXTERN NSString * const kGTLRHangoutsChatMessageReplyOptionReplyMessa * - [App * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) * with [administrator approval](https://support.google.com/a?p=chat-app-auth) - * in [Developer Preview](https://developers.google.com/workspace/preview) and - * one of the following authorization scopes: - + * and one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.app.spaces` - [User * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) * with one of the following authorization scopes: - diff --git a/Sources/GeneratedServices/HomeGraphService/Public/GoogleAPIClientForREST/GTLRHomeGraphServiceObjects.h b/Sources/GeneratedServices/HomeGraphService/Public/GoogleAPIClientForREST/GTLRHomeGraphServiceObjects.h index db5c67fb2..bb950c2eb 100644 --- a/Sources/GeneratedServices/HomeGraphService/Public/GoogleAPIClientForREST/GTLRHomeGraphServiceObjects.h +++ b/Sources/GeneratedServices/HomeGraphService/Public/GoogleAPIClientForREST/GTLRHomeGraphServiceObjects.h @@ -209,7 +209,11 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) NSArray *defaultNames; -/** Primary name of the device, generally provided by the user. */ +/** + * Primary name of the device, generally provided by the user. Names will be + * truncated if over the 60 Unicode code point (character) limit and no errors + * will be thrown. Developers are responsible for handling long names. + */ @property(nonatomic, copy, nullable) NSString *name; /** Additional names provided by the user for the device. */ diff --git a/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m b/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m index 646124c6c..9917463e9 100644 --- a/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m +++ b/Sources/GeneratedServices/Kmsinventory/GTLRKmsinventoryObjects.m @@ -16,6 +16,7 @@ NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_AsymmetricSign = @"ASYMMETRIC_SIGN"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_CryptoKeyPurposeUnspecified = @"CRYPTO_KEY_PURPOSE_UNSPECIFIED"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_EncryptDecrypt = @"ENCRYPT_DECRYPT"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_KeyEncapsulation = @"KEY_ENCAPSULATION"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_Mac = @"MAC"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_RawEncryptDecrypt = @"RAW_ENCRYPT_DECRYPT"; @@ -38,6 +39,9 @@ NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; @@ -99,6 +103,9 @@ NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha256 = @"HMAC_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha384 = @"HMAC_SHA384"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha512 = @"HMAC_SHA512"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_KemXwing = @"KEM_XWING"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_MlKem1024 = @"ML_KEM_1024"; +NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_MlKem768 = @"ML_KEM_768"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 = @"PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignMlDsa65 = @"PQ_SIGN_ML_DSA_65"; NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignSlhDsaSha2128s = @"PQ_SIGN_SLH_DSA_SHA2_128S"; diff --git a/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h b/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h index eec405706..d7687fbcb 100644 --- a/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h +++ b/Sources/GeneratedServices/Kmsinventory/Public/GoogleAPIClientForREST/GTLRKmsinventoryObjects.h @@ -65,6 +65,12 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_P * Value: "ENCRYPT_DECRYPT" */ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_EncryptDecrypt; +/** + * CryptoKeys with this purpose may be used with GetPublicKey and Decapsulate. + * + * Value: "KEY_ENCAPSULATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_KeyEncapsulation; /** * CryptoKeys with this purpose may be used with MacSign. * @@ -197,6 +203,25 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVe * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -566,6 +591,25 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVe * Value: "HMAC_SHA512" */ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha512; +/** + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. + * + * Value: "KEM_XWING" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_KemXwing; +/** + * ML-KEM-1024 (FIPS 203) + * + * Value: "ML_KEM_1024" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_MlKem1024; +/** + * ML-KEM-768 (FIPS 203) + * + * Value: "ML_KEM_768" + */ +FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_MlKem768; /** * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 digests. @@ -1145,6 +1189,9 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1KeyOperatio * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_EncryptDecrypt * CryptoKeys with this purpose may be used with Encrypt and Decrypt. * (Value: "ENCRYPT_DECRYPT") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_KeyEncapsulation + * CryptoKeys with this purpose may be used with GetPublicKey and + * Decapsulate. (Value: "KEY_ENCAPSULATION") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_Mac CryptoKeys * with this purpose may be used with MacSign. (Value: "MAC") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKey_Purpose_RawEncryptDecrypt @@ -1254,6 +1301,14 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1KeyOperatio * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_KemXwing + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_MlKem1024 + * ML-KEM-1024 (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_MlKem768 + * ML-KEM-768 (FIPS 203) (Value: "ML_KEM_768") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersion_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 @@ -1552,6 +1607,14 @@ FOUNDATION_EXTERN NSString * const kGTLRKmsinventory_GoogleCloudKmsV1KeyOperatio * HMAC-SHA384 signing with a 384 bit key. (Value: "HMAC_SHA384") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_HmacSha512 * HMAC-SHA512 signing with a 512 bit key. (Value: "HMAC_SHA512") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_KemXwing + * X-Wing hybrid KEM combining ML-KEM-768 with X25519 following + * datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/. (Value: + * "KEM_XWING") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_MlKem1024 + * ML-KEM-1024 (FIPS 203) (Value: "ML_KEM_1024") + * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_MlKem768 + * ML-KEM-768 (FIPS 203) (Value: "ML_KEM_768") * @arg @c kGTLRKmsinventory_GoogleCloudKmsV1CryptoKeyVersionTemplate_Algorithm_PqSignHashSlhDsaSha2128sSha256 * The post-quantum stateless hash-based digital signature algorithm, at * security level 1. Randomized pre-hash version supporting SHA256 diff --git a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m index 3357a44a5..dbdf6c3ae 100644 --- a/Sources/GeneratedServices/Looker/GTLRLookerObjects.m +++ b/Sources/GeneratedServices/Looker/GTLRLookerObjects.m @@ -30,6 +30,11 @@ NSString * const kGTLRLooker_ExportMetadata_Source_LookerOriginal = @"LOOKER_ORIGINAL"; NSString * const kGTLRLooker_ExportMetadata_Source_SourceUnspecified = @"SOURCE_UNSPECIFIED"; +// GTLRLooker_Instance.classType +NSString * const kGTLRLooker_Instance_ClassType_ClassTypeUnspecified = @"CLASS_TYPE_UNSPECIFIED"; +NSString * const kGTLRLooker_Instance_ClassType_P1 = @"P1"; +NSString * const kGTLRLooker_Instance_ClassType_R1 = @"R1"; + // GTLRLooker_Instance.platformEdition NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEmbedAnnual = @"LOOKER_CORE_EMBED_ANNUAL"; NSString * const kGTLRLooker_Instance_PlatformEdition_LookerCoreEnterpriseAnnual = @"LOOKER_CORE_ENTERPRISE_ANNUAL"; @@ -221,7 +226,7 @@ @implementation GTLRLooker_ImportInstanceRequest // @implementation GTLRLooker_Instance -@dynamic adminSettings, consumerNetwork, createTime, customDomain, +@dynamic adminSettings, classType, consumerNetwork, createTime, customDomain, denyMaintenancePeriod, egressPublicIp, encryptionConfig, fipsEnabled, geminiEnabled, ingressPrivateIp, ingressPublicIp, lastDenyMaintenancePeriod, linkedLspProjectNumber, lookerUri, diff --git a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h index ff2fb5cd0..e5673396f 100644 --- a/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h +++ b/Sources/GeneratedServices/Looker/Public/GoogleAPIClientForREST/GTLRLookerObjects.h @@ -137,6 +137,28 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_ExportMetadata_Source_LookerOrigi */ FOUNDATION_EXTERN NSString * const kGTLRLooker_ExportMetadata_Source_SourceUnspecified; +// ---------------------------------------------------------------------------- +// GTLRLooker_Instance.classType + +/** + * Unspecified storage class. + * + * Value: "CLASS_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_ClassType_ClassTypeUnspecified; +/** + * PD SSD. + * + * Value: "P1" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_ClassType_P1; +/** + * Filestore. + * + * Value: "R1" + */ +FOUNDATION_EXTERN NSString * const kGTLRLooker_Instance_ClassType_R1; + // ---------------------------------------------------------------------------- // GTLRLooker_Instance.platformEdition @@ -666,6 +688,17 @@ FOUNDATION_EXTERN NSString * const kGTLRLooker_ServiceAttachment_ConnectionStatu /** Looker Instance Admin settings. */ @property(nonatomic, strong, nullable) GTLRLooker_AdminSettings *adminSettings; +/** + * Optional. Storage class of the instance. + * + * Likely values: + * @arg @c kGTLRLooker_Instance_ClassType_ClassTypeUnspecified Unspecified + * storage class. (Value: "CLASS_TYPE_UNSPECIFIED") + * @arg @c kGTLRLooker_Instance_ClassType_P1 PD SSD. (Value: "P1") + * @arg @c kGTLRLooker_Instance_ClassType_R1 Filestore. (Value: "R1") + */ +@property(nonatomic, copy, nullable) NSString *classType; + /** * Network name in the consumer project. Format: * `projects/{project}/global/networks/{network}`. Note that the consumer diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m index 2ea062c6d..ee1bbbc3d 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaObjects.m @@ -278,7 +278,7 @@ @implementation GTLRManagedKafka_ConnectAccessConfig @implementation GTLRManagedKafka_ConnectCluster @dynamic capacityConfig, config, createTime, gcpConfig, kafkaCluster, labels, - name, state, updateTime; + name, satisfiesPzi, satisfiesPzs, state, updateTime; @end diff --git a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m index c8085f652..a365d65b3 100644 --- a/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m +++ b/Sources/GeneratedServices/ManagedKafka/GTLRManagedKafkaQuery.m @@ -10,6 +10,18 @@ #import +// ---------------------------------------------------------------------------- +// Constants + +// view +NSString * const kGTLRManagedKafkaViewSchemaRegistryViewBasic = @"SCHEMA_REGISTRY_VIEW_BASIC"; +NSString * const kGTLRManagedKafkaViewSchemaRegistryViewFull = @"SCHEMA_REGISTRY_VIEW_FULL"; +NSString * const kGTLRManagedKafkaViewSchemaRegistryViewUnspecified = @"SCHEMA_REGISTRY_VIEW_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// Query Classes +// + @implementation GTLRManagedKafkaQuery @dynamic fields; @@ -1582,7 +1594,7 @@ + (instancetype)queryWithName:(NSString *)name { @implementation GTLRManagedKafkaQuery_ProjectsLocationsSchemaRegistriesList -@dynamic parent; +@dynamic parent, view; + (instancetype)queryWithParent:(NSString *)parent { NSArray *pathParams = @[ @"parent" ]; diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h index eb43d9068..95211f78d 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaObjects.h @@ -850,6 +850,20 @@ FOUNDATION_EXTERN NSString * const kGTLRManagedKafka_UpdateSchemaModeRequest_Mod */ @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; + /** * Output only. The current state of the cluster. * diff --git a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h index a3070e1cf..3841faf82 100644 --- a/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h +++ b/Sources/GeneratedServices/ManagedKafka/Public/GoogleAPIClientForREST/GTLRManagedKafkaQuery.h @@ -23,6 +23,38 @@ NS_ASSUME_NONNULL_BEGIN +// ---------------------------------------------------------------------------- +// Constants - For some of the query classes' properties below. + +// ---------------------------------------------------------------------------- +// view + +/** + * If SchemaRegistryView is not specified, this is the default value. Returns + * only the name of the schema registry. The contexts associated with it are + * not included. + * + * Value: "SCHEMA_REGISTRY_VIEW_BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafkaViewSchemaRegistryViewBasic; +/** + * Returns the name of the schema registry and all the contexts associated with + * it. + * + * Value: "SCHEMA_REGISTRY_VIEW_FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafkaViewSchemaRegistryViewFull; +/** + * The unset value. The API will default to SCHEMA_REGISTRY_VIEW_BASIC. + * + * Value: "SCHEMA_REGISTRY_VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRManagedKafkaViewSchemaRegistryViewUnspecified; + +// ---------------------------------------------------------------------------- +// Query Classes +// + /** * Parent class for other Managed Kafka query classes. */ @@ -2935,6 +2967,24 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *parent; +/** + * Optional. Specifies the view to return for the schema registry instances. If + * not specified, the default view is SCHEMA_REGISTRY_VIEW_BASIC. + * + * Likely values: + * @arg @c kGTLRManagedKafkaViewSchemaRegistryViewUnspecified The unset + * value. The API will default to SCHEMA_REGISTRY_VIEW_BASIC. (Value: + * "SCHEMA_REGISTRY_VIEW_UNSPECIFIED") + * @arg @c kGTLRManagedKafkaViewSchemaRegistryViewBasic If SchemaRegistryView + * is not specified, this is the default value. Returns only the name of + * the schema registry. The contexts associated with it are not included. + * (Value: "SCHEMA_REGISTRY_VIEW_BASIC") + * @arg @c kGTLRManagedKafkaViewSchemaRegistryViewFull Returns the name of + * the schema registry and all the contexts associated with it. (Value: + * "SCHEMA_REGISTRY_VIEW_FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + /** * Fetches a @c GTLRManagedKafka_ListSchemaRegistriesResponse. * diff --git a/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m b/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m index e6d8a6de9..e049a9de0 100644 --- a/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m +++ b/Sources/GeneratedServices/ManufacturerCenter/GTLRManufacturerCenterObjects.m @@ -178,7 +178,7 @@ @implementation GTLRManufacturerCenter_FloatUnit // @implementation GTLRManufacturerCenter_GoogleShoppingManufacturersV1ProductCertification -@dynamic authority, code, name; +@dynamic authority, code, link, logo, name, validUntil, value; @end diff --git a/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h b/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h index 6210ae312..0400290f5 100644 --- a/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h +++ b/Sources/GeneratedServices/ManufacturerCenter/Public/GoogleAPIClientForREST/GTLRManufacturerCenterObjects.h @@ -522,7 +522,7 @@ FOUNDATION_EXTERN NSString * const kGTLRManufacturerCenter_Issue_Severity_Warnin /** Required. Name of the certification body. */ @property(nonatomic, copy, nullable) NSString *authority; -/** Required. A unique code to identify the certification. */ +/** Optional. A unique code to identify the certification. */ @property(nonatomic, copy, nullable) NSString *code; /** Optional. A URL link to the certification. */ @@ -661,12 +661,24 @@ FOUNDATION_EXTERN NSString * const kGTLRManufacturerCenter_Issue_Severity_Warnin /** Required. Name of the certification body. */ @property(nonatomic, copy, nullable) NSString *authority; -/** Required. A unique code to identify the certification. */ +/** Optional. A unique code to identify the certification. */ @property(nonatomic, copy, nullable) NSString *code; +/** Optional. A URL link to the certification. */ +@property(nonatomic, copy, nullable) NSString *link; + +/** Optional. A URL link to the certification logo. */ +@property(nonatomic, copy, nullable) NSString *logo; + /** Required. Name of the certification. */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. The expiration date (UTC). */ +@property(nonatomic, copy, nullable) NSString *validUntil; + +/** Optional. A custom value of the certification. */ +@property(nonatomic, copy, nullable) NSString *value; + @end diff --git a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h index 20a158f9b..3b1a58c38 100644 --- a/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h +++ b/Sources/GeneratedServices/MapsPlaces/Public/GoogleAPIClientForREST/GTLRMapsPlacesObjects.h @@ -2304,7 +2304,7 @@ FOUNDATION_EXTERN NSString * const kGTLRMapsPlaces_GoogleMapsPlacesV1SearchTextR /** A summary of the nearby restaurants. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock *restaurant; -/** A summary of the nearby gas stations. */ +/** A summary of the nearby stores. */ @property(nonatomic, strong, nullable) GTLRMapsPlaces_GoogleMapsPlacesV1ContentBlock *store; @end diff --git a/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m b/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m index a1f6eceeb..15a80925f 100644 --- a/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m +++ b/Sources/GeneratedServices/Merchant/GTLRMerchantObjects.m @@ -239,8 +239,8 @@ @implementation GTLRMerchant_ProductChange // @implementation GTLRMerchant_ProductReview -@dynamic attributes, customAttributes, dataSource, name, productReviewId, - productReviewStatus; +@dynamic customAttributes, dataSource, name, productReviewAttributes, + productReviewId, productReviewStatus; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -259,11 +259,11 @@ @implementation GTLRMerchant_ProductReview @implementation GTLRMerchant_ProductReviewAttributes @dynamic aggregatorName, asins, brands, collectionMethod, cons, content, gtins, - isSpam, maxRating, minRating, mpns, productLinks, productNames, pros, - publisherFavicon, publisherName, rating, reviewCountry, reviewerId, - reviewerImageLinks, reviewerIsAnonymous, reviewerUsername, - reviewLanguage, reviewLink, reviewTime, skus, subclientName, title, - transactionId; + isIncentivizedReview, isSpam, isVerifiedPurchase, maxRating, minRating, + mpns, productLinks, productNames, pros, publisherFavicon, + publisherName, rating, reviewCountry, reviewerId, reviewerImageLinks, + reviewerIsAnonymous, reviewerUsername, reviewLanguage, reviewLink, + reviewTime, skus, subclientName, title, transactionId; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -354,8 +354,8 @@ @implementation GTLRMerchant_ProductStatusChangeMessage // @implementation GTLRMerchant_Review -@dynamic attributes, customAttributes, dataSource, merchantReviewId, - merchantReviewStatus, name; +@dynamic customAttributes, dataSource, merchantReviewAttributes, + merchantReviewId, merchantReviewStatus, name; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h index 9359541fc..9cb0f40a6 100644 --- a/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h +++ b/Sources/GeneratedServices/Merchant/Public/GoogleAPIClientForREST/GTLRMerchantObjects.h @@ -1010,9 +1010,6 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified */ @interface GTLRMerchant_ProductReview : GTLRObject -/** Optional. A list of product review attributes. */ -@property(nonatomic, strong, nullable) GTLRMerchant_ProductReviewAttributes *attributes; - /** Optional. A list of custom (merchant-provided) attributes. */ @property(nonatomic, strong, nullable) NSArray *customAttributes; @@ -1025,6 +1022,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified */ @property(nonatomic, copy, nullable) NSString *name; +/** Optional. A list of product review attributes. */ +@property(nonatomic, strong, nullable) GTLRMerchant_ProductReviewAttributes *productReviewAttributes; + /** * Required. The permanent, unique identifier for the product review in the * publisher’s system. @@ -1096,6 +1096,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified */ @property(nonatomic, strong, nullable) NSArray *gtins; +/** + * Optional. Indicates whether the review is incentivized. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isIncentivizedReview; + /** * Optional. Indicates whether the review is marked as spam in the publisher's * system. @@ -1104,6 +1111,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified */ @property(nonatomic, strong, nullable) NSNumber *isSpam; +/** + * Optional. Indicates whether the reviewer's purchase is verified. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isVerifiedPurchase; + /** * Optional. The maximum possible number for the rating. The value of the max * rating must be greater than the value of the min attribute. @@ -1527,9 +1541,6 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified */ @interface GTLRMerchant_Review : GTLRObject -/** Optional. A list of merchant review attributes. */ -@property(nonatomic, strong, nullable) GTLRMerchant_ReviewAttributes *attributes; - /** * Optional. A list of custom (merchant-provided) attributes. It can also be * used for submitting any attribute of the data specification in its generic @@ -1546,6 +1557,9 @@ FOUNDATION_EXTERN NSString * const kGTLRMerchant_ReviewLink_Type_TypeUnspecified /** Output only. The primary data source of the merchant review. */ @property(nonatomic, copy, nullable) NSString *dataSource; +/** Optional. A list of merchant review attributes. */ +@property(nonatomic, strong, nullable) GTLRMerchant_ReviewAttributes *merchantReviewAttributes; + /** * Required. The user provided merchant review ID to uniquely identify the * merchant review. diff --git a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h index 0589e2d79..27eef0d91 100644 --- a/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h +++ b/Sources/GeneratedServices/MigrationCenterAPI/Public/GoogleAPIClientForREST/GTLRMigrationCenterAPIQuery.h @@ -1562,8 +1562,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMigrationCenterAPIViewReportViewUnspecif @interface GTLRMigrationCenterAPIQuery_ProjectsLocationsList : GTLRMigrationCenterAPIQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h index 57dee59df..fcea558da 100644 --- a/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h +++ b/Sources/GeneratedServices/Monitoring/Public/GoogleAPIClientForREST/GTLRMonitoringObjects.h @@ -3501,7 +3501,11 @@ FOUNDATION_EXTERN NSString * const kGTLRMonitoring_ValueDescriptor_ValueType_Val /** - * A single field of a message type. + * A single field of a message type.New usages of this message as an + * alternative to FieldDescriptorProto are strongly discouraged. This message + * does not reliability preserve all information necessary to model the schema + * and preserve semantics. Instead make use of FileDescriptorSet which + * preserves the necessary information. */ @interface GTLRMonitoring_Field : GTLRObject @@ -4844,11 +4848,11 @@ GTLR_DEPRECATED @property(nonatomic, strong, nullable) NSArray *aggregations; /** - * The amount of time that a time series must fail to report new data to be - * considered failing. The minimum value of this field is 120 seconds. Larger - * values that are a multiple of a minute--for example, 240 or 300 seconds--are - * supported. If an invalid value is given, an error will be returned. The - * Duration.nanos field is ignored. + * Required. The amount of time that a time series must fail to report new data + * to be considered failing. The minimum value of this field is 120 seconds. + * Larger values that are a multiple of a minute--for example, 240 or 300 + * seconds--are supported. If an invalid value is given, an error will be + * returned. */ @property(nonatomic, strong, nullable) GTLRDuration *duration; @@ -5240,8 +5244,8 @@ GTLR_DEPRECATED @property(nonatomic, copy, nullable) NSString *denominatorFilter; /** - * The amount of time that a time series must violate the threshold to be - * considered failing. Currently, only values that are a multiple of a + * Required. The amount of time that a time series must violate the threshold + * to be considered failing. Currently, only values that are a multiple of a * minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value * is given, an error will be returned. When choosing a duration, it is useful * to keep in mind the frequency of the underlying time series data (which may @@ -5862,7 +5866,9 @@ GTLR_DEPRECATED /** * A protocol buffer option, which can be attached to a message, field, - * enumeration, etc. + * enumeration, etc.New usages of this message as an alternative to + * FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, + * ServiceOptions, or MethodOptions are strongly discouraged. */ @interface GTLRMonitoring_Option : GTLRObject @@ -6106,15 +6112,15 @@ GTLR_DEPRECATED @interface GTLRMonitoring_QueryLanguageCondition : GTLRObject /** - * The amount of time that a time series must violate the threshold to be - * considered failing. Currently, only values that are a multiple of a + * Optional. The amount of time that a time series must violate the threshold + * to be considered failing. Currently, only values that are a multiple of a * minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value * is given, an error will be returned. When choosing a duration, it is useful * to keep in mind the frequency of the underlying time series data (which may * also be affected by any alignments specified in the aggregations field); a * good duration is long enough so that a single outlier does not generate * spurious alerts, but short enough that unhealthy states are detected and - * alerted on quickly. + * alerted on quickly. The default value is zero. */ @property(nonatomic, strong, nullable) GTLRDuration *duration; @@ -7121,7 +7127,11 @@ GTLR_DEPRECATED /** - * A protocol buffer message type. + * A protocol buffer message type.New usages of this message as an alternative + * to DescriptorProto are strongly discouraged. This message does not + * reliability preserve all information necessary to model the schema and + * preserve semantics. Instead make use of FileDescriptorSet which preserves + * the necessary information. */ @interface GTLRMonitoring_Type : GTLRObject diff --git a/Sources/GeneratedServices/MyBusinessBusinessInformation/GTLRMyBusinessBusinessInformationObjects.m b/Sources/GeneratedServices/MyBusinessBusinessInformation/GTLRMyBusinessBusinessInformationObjects.m index f60cf4eba..4e3e3425e 100644 --- a/Sources/GeneratedServices/MyBusinessBusinessInformation/GTLRMyBusinessBusinessInformationObjects.m +++ b/Sources/GeneratedServices/MyBusinessBusinessInformation/GTLRMyBusinessBusinessInformationObjects.m @@ -425,7 +425,8 @@ @implementation GTLRMyBusinessBusinessInformation_Metadata @dynamic canDelete, canHaveBusinessCalls, canHaveFoodMenus, canModifyServiceList, canOperateHealthData, canOperateLocalPost, canOperateLodgingData, duplicateLocation, hasGoogleUpdated, - hasPendingEdits, hasVoiceOfMerchant, mapsUri, newReviewUri, placeId; + hasPendingEdits, hasVoiceOfMerchant, isParticularlyPersonalPlace, + mapsUri, newReviewUri, placeId; @end diff --git a/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h b/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h index dee2984b0..d82e74a6a 100644 --- a/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h +++ b/Sources/GeneratedServices/MyBusinessBusinessInformation/Public/GoogleAPIClientForREST/GTLRMyBusinessBusinessInformationObjects.h @@ -1139,6 +1139,13 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessBusinessInformation_TimePeriod */ @property(nonatomic, strong, nullable) NSNumber *hasVoiceOfMerchant; +/** + * Output only. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isParticularlyPersonalPlace; + /** Output only. A link to the location on Maps. */ @property(nonatomic, copy, nullable) NSString *mapsUri; diff --git a/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m b/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m index c13237803..b5af04834 100644 --- a/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m +++ b/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsObjects.m @@ -19,12 +19,18 @@ NSString * const kGTLRMyBusinessVerifications_ComplyWithGuidelines_RecommendationReason_BusinessLocationSuspended = @"BUSINESS_LOCATION_SUSPENDED"; NSString * const kGTLRMyBusinessVerifications_ComplyWithGuidelines_RecommendationReason_RecommendationReasonUnspecified = @"RECOMMENDATION_REASON_UNSPECIFIED"; +// GTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse.result +NSString * const kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_Failed = @"FAILED"; +NSString * const kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_ResultUnspecified = @"RESULT_UNSPECIFIED"; +NSString * const kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_Succeeded = @"SUCCEEDED"; + // GTLRMyBusinessVerifications_Verification.method NSString * const kGTLRMyBusinessVerifications_Verification_Method_Address = @"ADDRESS"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_Auto = @"AUTO"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_Email = @"EMAIL"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_PhoneCall = @"PHONE_CALL"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_Sms = @"SMS"; +NSString * const kGTLRMyBusinessVerifications_Verification_Method_TrustedPartner = @"TRUSTED_PARTNER"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_VerificationMethodUnspecified = @"VERIFICATION_METHOD_UNSPECIFIED"; NSString * const kGTLRMyBusinessVerifications_Verification_Method_VettedPartner = @"VETTED_PARTNER"; @@ -40,6 +46,7 @@ NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Email = @"EMAIL"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_PhoneCall = @"PHONE_CALL"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Sms = @"SMS"; +NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_TrustedPartner = @"TRUSTED_PARTNER"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_VerificationMethodUnspecified = @"VERIFICATION_METHOD_UNSPECIFIED"; NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_VettedPartner = @"VETTED_PARTNER"; @@ -49,6 +56,7 @@ NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Email = @"EMAIL"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_PhoneCall = @"PHONE_CALL"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Sms = @"SMS"; +NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_TrustedPartner = @"TRUSTED_PARTNER"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_VerificationMethodUnspecified = @"VERIFICATION_METHOD_UNSPECIFIED"; NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_VettedPartner = @"VETTED_PARTNER"; @@ -130,6 +138,26 @@ @implementation GTLRMyBusinessVerifications_FetchVerificationOptionsResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRMyBusinessVerifications_GenerateInstantVerificationTokenRequest +// + +@implementation GTLRMyBusinessVerifications_GenerateInstantVerificationTokenRequest +@dynamic locationData, locationId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse +// + +@implementation GTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse +@dynamic instantVerificationToken, result; +@end + + // ---------------------------------------------------------------------------- // // GTLRMyBusinessVerifications_ListVerificationsResponse @@ -152,6 +180,16 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRMyBusinessVerifications_LocationData +// + +@implementation GTLRMyBusinessVerifications_LocationData +@dynamic address, name; +@end + + // ---------------------------------------------------------------------------- // // GTLRMyBusinessVerifications_PostalAddress @@ -238,7 +276,7 @@ @implementation GTLRMyBusinessVerifications_Verify @implementation GTLRMyBusinessVerifications_VerifyLocationRequest @dynamic context, emailAddress, languageCode, mailerContact, method, - phoneNumber, token; + phoneNumber, token, trustedPartnerToken; @end diff --git a/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsQuery.m b/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsQuery.m index 223376257..6718ef80a 100644 --- a/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsQuery.m +++ b/Sources/GeneratedServices/MyBusinessVerifications/GTLRMyBusinessVerificationsQuery.m @@ -135,3 +135,25 @@ + (instancetype)queryWithObject:(GTLRMyBusinessVerifications_VerifyLocationReque } @end + +@implementation GTLRMyBusinessVerificationsQuery_VerificationTokensGenerate + ++ (instancetype)queryWithObject:(GTLRMyBusinessVerifications_GenerateInstantVerificationTokenRequest *)object { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSString *pathURITemplate = @"v1/verificationTokens:generate"; + GTLRMyBusinessVerificationsQuery_VerificationTokensGenerate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:nil]; + query.bodyObject = object; + query.expectedObjectClass = [GTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse class]; + query.loggingName = @"mybusinessverifications.verificationTokens.generate"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h index 03583eb1e..c32f180e9 100644 --- a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h +++ b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsObjects.h @@ -18,6 +18,7 @@ @class GTLRMyBusinessVerifications_AddressVerificationData; @class GTLRMyBusinessVerifications_ComplyWithGuidelines; @class GTLRMyBusinessVerifications_EmailVerificationData; +@class GTLRMyBusinessVerifications_LocationData; @class GTLRMyBusinessVerifications_PostalAddress; @class GTLRMyBusinessVerifications_ResolveOwnershipConflict; @class GTLRMyBusinessVerifications_ServiceBusinessContext; @@ -61,6 +62,28 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_ComplyWithGuidel */ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_ComplyWithGuidelines_RecommendationReason_RecommendationReasonUnspecified; +// ---------------------------------------------------------------------------- +// GTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse.result + +/** + * The instant verification token was not generated.. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_Failed; +/** + * Default value, will result in errors. + * + * Value: "RESULT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_ResultUnspecified; +/** + * The instant verification token was generated successfully. + * + * Value: "SUCCEEDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_Succeeded; + // ---------------------------------------------------------------------------- // GTLRMyBusinessVerifications_Verification.method @@ -99,6 +122,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_Verification_Met * Value: "SMS" */ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_Verification_Method_Sms; +/** + * Verify the location via a trusted partner. + * + * Value: "TRUSTED_PARTNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_Verification_Method_TrustedPartner; /** * Default value, will result in errors. * @@ -178,6 +207,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerificationOpti * Value: "SMS" */ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Sms; +/** + * Verify the location via a trusted partner. + * + * Value: "TRUSTED_PARTNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_TrustedPartner; /** * Default value, will result in errors. * @@ -229,6 +264,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * Value: "SMS" */ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Sms; +/** + * Verify the location via a trusted partner. + * + * Value: "TRUSTED_PARTNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_TrustedPartner; /** * Default value, will result in errors. * @@ -371,6 +412,56 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe @end +/** + * Request message for Verifications.GenerateInstantVerificationToken. + */ +@interface GTLRMyBusinessVerifications_GenerateInstantVerificationTokenRequest : GTLRObject + +/** + * Immutable. The address and other details of the location to generate an + * instant verification token for. + */ +@property(nonatomic, strong, nullable) GTLRMyBusinessVerifications_LocationData *locationData; + +/** + * The location identifier associated with an unverified listing. This is the + * location id generated at the time that the listing was originally created. + * It is the final portion of a location resource name as generated by the + * Google My Business API. Note: the caller must be an owner or manager of this + * listing in order to generate a verification token. See the [location + * resource](/my-business/reference/rest/v4/accounts.locations) documentation + * for more information. + */ +@property(nonatomic, copy, nullable) NSString *locationId; + +@end + + +/** + * Response message for Verifications.GenerateInstantVerificationToken. + */ +@interface GTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse : GTLRObject + +/** The generated instant verification token. */ +@property(nonatomic, copy, nullable) NSString *instantVerificationToken; + +/** + * Output only. The result of the instant verification token generation. + * + * Likely values: + * @arg @c kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_Failed + * The instant verification token was not generated.. (Value: "FAILED") + * @arg @c kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_ResultUnspecified + * Default value, will result in errors. (Value: "RESULT_UNSPECIFIED") + * @arg @c kGTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse_Result_Succeeded + * The instant verification token was generated successfully. (Value: + * "SUCCEEDED") + */ +@property(nonatomic, copy, nullable) NSString *result; + +@end + + /** * Response message for Verifications.ListVerifications. * @@ -400,6 +491,37 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe @end +/** + * The address and other details of the location to generate an instant + * verification token for. + */ +@interface GTLRMyBusinessVerifications_LocationData : GTLRObject + +/** + * Immutable. A precise, accurate address to describe your business location. + * PO boxes or mailboxes located at remote locations are not acceptable. At + * this time, you can specify a maximum of five `address_lines` values in the + * address. + */ +@property(nonatomic, strong, nullable) GTLRMyBusinessVerifications_PostalAddress *address; + +/** + * Immutable. Name should reflect your business's real-world name, as used + * consistently on your storefront, website, and stationery, and as known to + * customers. Any additional information, when relevant, can be included in + * other fields of the resource (for example, `Address`, `Categories`). Don't + * add unnecessary information to your name (for example, prefer "Google" over + * "Google Inc. - Mountain View Corporate Headquarters"). Don't include + * marketing taglines, store codes, special characters, hours or closed/open + * status, phone numbers, website URLs, service/product information, + * location/address or directions, or containment information (for example, + * "Chase ATM in Duane Reade"). + */ +@property(nonatomic, copy, nullable) NSString *name; + +@end + + /** * Represents a postal address, such as for postal delivery or payments * addresses. With a postal address, a postal service can deliver items to a @@ -574,6 +696,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * @arg @c kGTLRMyBusinessVerifications_Verification_Method_Sms Send an SMS * with a verification PIN to a specific phone number. The PIN is used to * complete verification with Google. (Value: "SMS") + * @arg @c kGTLRMyBusinessVerifications_Verification_Method_TrustedPartner + * Verify the location via a trusted partner. (Value: "TRUSTED_PARTNER") * @arg @c kGTLRMyBusinessVerifications_Verification_Method_VerificationMethodUnspecified * Default value, will result in errors. (Value: * "VERIFICATION_METHOD_UNSPECIFIED") @@ -647,6 +771,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * @arg @c kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_Sms * Send an SMS with a verification PIN to a specific phone number. The * PIN is used to complete verification with Google. (Value: "SMS") + * @arg @c kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_TrustedPartner + * Verify the location via a trusted partner. (Value: "TRUSTED_PARTNER") * @arg @c kGTLRMyBusinessVerifications_VerificationOption_VerificationMethod_VerificationMethodUnspecified * Default value, will result in errors. (Value: * "VERIFICATION_METHOD_UNSPECIFIED") @@ -745,6 +871,8 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe * @arg @c kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_Sms Send * an SMS with a verification PIN to a specific phone number. The PIN is * used to complete verification with Google. (Value: "SMS") + * @arg @c kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_TrustedPartner + * Verify the location via a trusted partner. (Value: "TRUSTED_PARTNER") * @arg @c kGTLRMyBusinessVerifications_VerifyLocationRequest_Method_VerificationMethodUnspecified * Default value, will result in errors. (Value: * "VERIFICATION_METHOD_UNSPECIFIED") @@ -769,6 +897,12 @@ FOUNDATION_EXTERN NSString * const kGTLRMyBusinessVerifications_VerifyLocationRe */ @property(nonatomic, strong, nullable) GTLRMyBusinessVerifications_VerificationToken *token; +/** + * The input for TRUSTED_PARTNER method The verification token that is + * associated to the location. + */ +@property(nonatomic, copy, nullable) NSString *trustedPartnerToken; + @end diff --git a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsQuery.h b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsQuery.h index 8def500f9..1fae9bb90 100644 --- a/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsQuery.h +++ b/Sources/GeneratedServices/MyBusinessVerifications/Public/GoogleAPIClientForREST/GTLRMyBusinessVerificationsQuery.h @@ -182,6 +182,29 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Generate a token for the provided location data to verify the location. + * + * Method: mybusinessverifications.verificationTokens.generate + */ +@interface GTLRMyBusinessVerificationsQuery_VerificationTokensGenerate : GTLRMyBusinessVerificationsQuery + +/** + * Fetches a @c + * GTLRMyBusinessVerifications_GenerateInstantVerificationTokenResponse. + * + * Generate a token for the provided location data to verify the location. + * + * @param object The @c + * GTLRMyBusinessVerifications_GenerateInstantVerificationTokenRequest to + * include in the query. + * + * @return GTLRMyBusinessVerificationsQuery_VerificationTokensGenerate + */ ++ (instancetype)queryWithObject:(GTLRMyBusinessVerifications_GenerateInstantVerificationTokenRequest *)object; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m index 7383afea9..f9a48319c 100644 --- a/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m +++ b/Sources/GeneratedServices/NetAppFiles/GTLRNetAppFilesObjects.m @@ -60,6 +60,19 @@ NSString * const kGTLRNetAppFiles_BackupVault_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRNetAppFiles_BackupVault_State_Updating = @"UPDATING"; +// GTLRNetAppFiles_HybridReplicationParameters.hybridReplicationType +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ContinuousReplication = @"CONTINUOUS_REPLICATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_Migration = @"MIGRATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_OnpremReplication = @"ONPREM_REPLICATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ReverseOnpremReplication = @"REVERSE_ONPREM_REPLICATION"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_VolumeHybridReplicationTypeUnspecified = @"VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED"; + +// GTLRNetAppFiles_HybridReplicationParameters.replicationSchedule +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Daily = @"DAILY"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Every10Minutes = @"EVERY_10_MINUTES"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Hourly = @"HOURLY"; +NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_HybridReplicationScheduleUnspecified = @"HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED"; + // GTLRNetAppFiles_KmsConfig.state NSString * const kGTLRNetAppFiles_KmsConfig_State_Creating = @"CREATING"; NSString * const kGTLRNetAppFiles_KmsConfig_State_Deleting = @"DELETING"; @@ -111,12 +124,16 @@ NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_ContinuousReplication = @"CONTINUOUS_REPLICATION"; NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_HybridReplicationTypeUnspecified = @"HYBRID_REPLICATION_TYPE_UNSPECIFIED"; NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_Migration = @"MIGRATION"; +NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_OnpremReplication = @"ONPREM_REPLICATION"; +NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_ReverseOnpremReplication = @"REVERSE_ONPREM_REPLICATION"; // GTLRNetAppFiles_Replication.mirrorState NSString * const kGTLRNetAppFiles_Replication_MirrorState_Aborted = @"ABORTED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_BaselineTransferring = @"BASELINE_TRANSFERRING"; +NSString * const kGTLRNetAppFiles_Replication_MirrorState_ExternallyManaged = @"EXTERNALLY_MANAGED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Mirrored = @"MIRRORED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_MirrorStateUnspecified = @"MIRROR_STATE_UNSPECIFIED"; +NSString * const kGTLRNetAppFiles_Replication_MirrorState_PendingPeering = @"PENDING_PEERING"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Preparing = @"PREPARING"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Stopped = @"STOPPED"; NSString * const kGTLRNetAppFiles_Replication_MirrorState_Transferring = @"TRANSFERRING"; @@ -136,7 +153,9 @@ NSString * const kGTLRNetAppFiles_Replication_State_Creating = @"CREATING"; NSString * const kGTLRNetAppFiles_Replication_State_Deleting = @"DELETING"; NSString * const kGTLRNetAppFiles_Replication_State_Error = @"ERROR"; +NSString * const kGTLRNetAppFiles_Replication_State_ExternallyManagedReplication = @"EXTERNALLY_MANAGED_REPLICATION"; NSString * const kGTLRNetAppFiles_Replication_State_PendingClusterPeering = @"PENDING_CLUSTER_PEERING"; +NSString * const kGTLRNetAppFiles_Replication_State_PendingRemoteResync = @"PENDING_REMOTE_RESYNC"; NSString * const kGTLRNetAppFiles_Replication_State_PendingSvmPeering = @"PENDING_SVM_PEERING"; NSString * const kGTLRNetAppFiles_Replication_State_Ready = @"READY"; NSString * const kGTLRNetAppFiles_Replication_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -162,6 +181,11 @@ NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_EncryptionTypeUnspecified = @"ENCRYPTION_TYPE_UNSPECIFIED"; NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_ServiceManaged = @"SERVICE_MANAGED"; +// GTLRNetAppFiles_StoragePool.qosType +NSString * const kGTLRNetAppFiles_StoragePool_QosType_Auto = @"AUTO"; +NSString * const kGTLRNetAppFiles_StoragePool_QosType_Manual = @"MANUAL"; +NSString * const kGTLRNetAppFiles_StoragePool_QosType_QosTypeUnspecified = @"QOS_TYPE_UNSPECIFIED"; + // GTLRNetAppFiles_StoragePool.serviceLevel NSString * const kGTLRNetAppFiles_StoragePool_ServiceLevel_Extreme = @"EXTREME"; NSString * const kGTLRNetAppFiles_StoragePool_ServiceLevel_Flex = @"FLEX"; @@ -518,8 +542,9 @@ @implementation GTLRNetAppFiles_HybridPeeringDetails // @implementation GTLRNetAppFiles_HybridReplicationParameters -@dynamic clusterLocation, descriptionProperty, labels, peerClusterName, - peerIpAddresses, peerSvmName, peerVolumeName, replication; +@dynamic clusterLocation, descriptionProperty, hybridReplicationType, labels, + largeVolumeConstituentCount, peerClusterName, peerIpAddresses, + peerSvmName, peerVolumeName, replication, replicationSchedule; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1022,8 +1047,9 @@ + (Class)classForAdditionalProperties { @implementation GTLRNetAppFiles_Replication @dynamic clusterLocation, createTime, descriptionProperty, destinationVolume, destinationVolumeParameters, healthy, hybridPeeringDetails, - hybridReplicationType, labels, mirrorState, name, replicationSchedule, - role, sourceVolume, state, stateDetails, transferStats; + hybridReplicationType, hybridReplicationUserCommands, labels, + mirrorState, name, replicationSchedule, role, sourceVolume, state, + stateDetails, transferStats; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1185,12 +1211,13 @@ @implementation GTLRNetAppFiles_StopReplicationRequest // @implementation GTLRNetAppFiles_StoragePool -@dynamic activeDirectory, allowAutoTiering, capacityGib, createTime, - customPerformanceEnabled, descriptionProperty, enableHotTierAutoResize, - encryptionType, globalAccessAllowed, hotTierSizeGib, kmsConfig, labels, - ldapEnabled, name, network, psaRange, replicaZone, satisfiesPzi, - satisfiesPzs, serviceLevel, state, stateDetails, totalIops, - totalThroughputMibps, volumeCapacityGib, volumeCount, zoneProperty; +@dynamic activeDirectory, allowAutoTiering, availableThroughputMibps, + capacityGib, createTime, customPerformanceEnabled, descriptionProperty, + enableHotTierAutoResize, encryptionType, globalAccessAllowed, + hotTierSizeGib, kmsConfig, labels, ldapEnabled, name, network, + psaRange, qosType, replicaZone, satisfiesPzi, satisfiesPzs, + serviceLevel, state, stateDetails, totalIops, totalThroughputMibps, + volumeCapacityGib, volumeCount, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -1257,6 +1284,24 @@ @implementation GTLRNetAppFiles_TransferStats @end +// ---------------------------------------------------------------------------- +// +// GTLRNetAppFiles_UserCommands +// + +@implementation GTLRNetAppFiles_UserCommands +@dynamic commands; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"commands" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetAppFiles_ValidateDirectoryServiceRequest @@ -1299,8 +1344,8 @@ @implementation GTLRNetAppFiles_Volume multipleEndpoints, name, network, protocols, psaRange, replicaZone, restoreParameters, restrictedActions, securityStyle, serviceLevel, shareName, smbSettings, snapReserve, snapshotDirectory, snapshotPolicy, - state, stateDetails, storagePool, tieringPolicy, unixPermissions, - usedGib, zoneProperty; + state, stateDetails, storagePool, throughputMibps, tieringPolicy, + unixPermissions, usedGib, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h index 7c906a6c6..171c992c9 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesObjects.h @@ -58,6 +58,7 @@ @class GTLRNetAppFiles_StoragePool_Labels; @class GTLRNetAppFiles_TieringPolicy; @class GTLRNetAppFiles_TransferStats; +@class GTLRNetAppFiles_UserCommands; @class GTLRNetAppFiles_Volume; @class GTLRNetAppFiles_Volume_Labels; @class GTLRNetAppFiles_WeeklySchedule; @@ -298,6 +299,68 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_BackupVault_State_StateUnspe */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_BackupVault_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_HybridReplicationParameters.hybridReplicationType + +/** + * Hybrid replication type for continuous replication. + * + * Value: "CONTINUOUS_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ContinuousReplication; +/** + * Hybrid replication type for migration. + * + * Value: "MIGRATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_Migration; +/** + * New field for reversible OnPrem replication, to be used for data protection. + * + * Value: "ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_OnpremReplication; +/** + * New field for reversible OnPrem replication, to be used for data protection. + * + * Value: "REVERSE_ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ReverseOnpremReplication; +/** + * Unspecified hybrid replication type. + * + * Value: "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_VolumeHybridReplicationTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_HybridReplicationParameters.replicationSchedule + +/** + * Replication happens once every day. + * + * Value: "DAILY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Daily; +/** + * Replication happens once every 10 minutes. + * + * Value: "EVERY_10_MINUTES" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Every10Minutes; +/** + * Replication happens once every hour. + * + * Value: "HOURLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Hourly; +/** + * Unspecified HybridReplicationSchedule + * + * Value: "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_HybridReplicationScheduleUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetAppFiles_KmsConfig.state @@ -555,6 +618,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicatio * Value: "MIGRATION" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_Migration; +/** + * New field for reversible OnPrem replication, to be used for data protection. + * + * Value: "ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_OnpremReplication; +/** + * Hybrid replication type for incremental Transfer in the reverse direction + * (GCNV is source and Onprem is destination) + * + * Value: "REVERSE_ONPREM_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_HybridReplicationType_ReverseOnpremReplication; // ---------------------------------------------------------------------------- // GTLRNetAppFiles_Replication.mirrorState @@ -571,6 +647,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_Abor * Value: "BASELINE_TRANSFERRING" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_BaselineTransferring; +/** + * Replication is being managed from Onprem ONTAP. + * + * Value: "EXTERNALLY_MANAGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_ExternallyManaged; /** * Destination volume has been initialized and is ready to receive replication * transfers. @@ -584,6 +666,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_Mirr * Value: "MIRROR_STATE_UNSPECIFIED" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_MirrorStateUnspecified; +/** + * Peering is yet to be established. + * + * Value: "PENDING_PEERING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_MirrorState_PendingPeering; /** * Destination volume is being prepared. * @@ -674,12 +762,24 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_Deleting; * Value: "ERROR" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_Error; +/** + * Onprem ONTAP is destination and Replication can only be managed from Onprem. + * + * Value: "EXTERNALLY_MANAGED_REPLICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_ExternallyManagedReplication; /** * Replication is waiting for cluster peering to be established. * * Value: "PENDING_CLUSTER_PEERING" */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_PendingClusterPeering; +/** + * Replication is waiting for Commands to be executed on Onprem ONTAP. + * + * Value: "PENDING_REMOTE_RESYNC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Replication_State_PendingRemoteResync; /** * Replication is waiting for SVM peering to be established. * @@ -801,6 +901,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_E */ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_EncryptionType_ServiceManaged; +// ---------------------------------------------------------------------------- +// GTLRNetAppFiles_StoragePool.qosType + +/** + * QoS Type is Auto + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_QosType_Auto; +/** + * QoS Type is Manual + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_QosType_Manual; +/** + * Unspecified QoS Type + * + * Value: "QOS_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_StoragePool_QosType_QosTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetAppFiles_StoragePool.serviceLevel @@ -1965,9 +2087,37 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *descriptionProperty; +/** + * Optional. Type of the hybrid replication. + * + * Likely values: + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ContinuousReplication + * Hybrid replication type for continuous replication. (Value: + * "CONTINUOUS_REPLICATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_Migration + * Hybrid replication type for migration. (Value: "MIGRATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_OnpremReplication + * New field for reversible OnPrem replication, to be used for data + * protection. (Value: "ONPREM_REPLICATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_ReverseOnpremReplication + * New field for reversible OnPrem replication, to be used for data + * protection. (Value: "REVERSE_ONPREM_REPLICATION") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_HybridReplicationType_VolumeHybridReplicationTypeUnspecified + * Unspecified hybrid replication type. (Value: + * "VOLUME_HYBRID_REPLICATION_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *hybridReplicationType; + /** Optional. Labels to be added to the replication as the key value pairs. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_HybridReplicationParameters_Labels *labels; +/** + * Optional. Constituent volume count for large volume. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *largeVolumeConstituentCount; + /** * Required. Name of the user's local source cluster to be peered with the * destination cluster. @@ -1992,6 +2142,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Required. Desired name for the replication of this volume. */ @property(nonatomic, copy, nullable) NSString *replication; +/** + * Optional. Replication Schedule for the replication created. + * + * Likely values: + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Daily + * Replication happens once every day. (Value: "DAILY") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Every10Minutes + * Replication happens once every 10 minutes. (Value: "EVERY_10_MINUTES") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_Hourly + * Replication happens once every hour. (Value: "HOURLY") + * @arg @c kGTLRNetAppFiles_HybridReplicationParameters_ReplicationSchedule_HybridReplicationScheduleUnspecified + * Unspecified HybridReplicationSchedule (Value: + * "HYBRID_REPLICATION_SCHEDULE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *replicationSchedule; + @end @@ -2847,9 +3013,22 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; * "HYBRID_REPLICATION_TYPE_UNSPECIFIED") * @arg @c kGTLRNetAppFiles_Replication_HybridReplicationType_Migration * Hybrid replication type for migration. (Value: "MIGRATION") + * @arg @c kGTLRNetAppFiles_Replication_HybridReplicationType_OnpremReplication + * New field for reversible OnPrem replication, to be used for data + * protection. (Value: "ONPREM_REPLICATION") + * @arg @c kGTLRNetAppFiles_Replication_HybridReplicationType_ReverseOnpremReplication + * Hybrid replication type for incremental Transfer in the reverse + * direction (GCNV is source and Onprem is destination) (Value: + * "REVERSE_ONPREM_REPLICATION") */ @property(nonatomic, copy, nullable) NSString *hybridReplicationType; +/** + * Output only. Copy pastable snapmirror commands to be executed on onprem + * cluster by the customer. + */ +@property(nonatomic, strong, nullable) GTLRNetAppFiles_UserCommands *hybridReplicationUserCommands; + /** Resource labels to represent user provided metadata. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_Replication_Labels *labels; @@ -2861,11 +3040,16 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; * aborted. (Value: "ABORTED") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_BaselineTransferring * Baseline replication is in progress. (Value: "BASELINE_TRANSFERRING") + * @arg @c kGTLRNetAppFiles_Replication_MirrorState_ExternallyManaged + * Replication is being managed from Onprem ONTAP. (Value: + * "EXTERNALLY_MANAGED") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_Mirrored Destination * volume has been initialized and is ready to receive replication * transfers. (Value: "MIRRORED") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_MirrorStateUnspecified * Unspecified MirrorState (Value: "MIRROR_STATE_UNSPECIFIED") + * @arg @c kGTLRNetAppFiles_Replication_MirrorState_PendingPeering Peering is + * yet to be established. (Value: "PENDING_PEERING") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_Preparing Destination * volume is being prepared. (Value: "PREPARING") * @arg @c kGTLRNetAppFiles_Replication_MirrorState_Stopped Destination @@ -2926,9 +3110,15 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; * deleting. (Value: "DELETING") * @arg @c kGTLRNetAppFiles_Replication_State_Error Replication is in error * state. (Value: "ERROR") + * @arg @c kGTLRNetAppFiles_Replication_State_ExternallyManagedReplication + * Onprem ONTAP is destination and Replication can only be managed from + * Onprem. (Value: "EXTERNALLY_MANAGED_REPLICATION") * @arg @c kGTLRNetAppFiles_Replication_State_PendingClusterPeering * Replication is waiting for cluster peering to be established. (Value: * "PENDING_CLUSTER_PEERING") + * @arg @c kGTLRNetAppFiles_Replication_State_PendingRemoteResync Replication + * is waiting for Commands to be executed on Onprem ONTAP. (Value: + * "PENDING_REMOTE_RESYNC") * @arg @c kGTLRNetAppFiles_Replication_State_PendingSvmPeering Replication * is waiting for SVM peering to be established. (Value: * "PENDING_SVM_PEERING") @@ -3297,6 +3487,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, strong, nullable) NSNumber *allowAutoTiering; +/** + * Output only. Available throughput of the storage pool (in MiB/s). + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *availableThroughputMibps; + /** * Required. Capacity in GIB of the pool * @@ -3392,6 +3589,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; */ @property(nonatomic, copy, nullable) NSString *psaRange; +/** + * Optional. QoS (Quality of Service) Type of the storage pool + * + * Likely values: + * @arg @c kGTLRNetAppFiles_StoragePool_QosType_Auto QoS Type is Auto (Value: + * "AUTO") + * @arg @c kGTLRNetAppFiles_StoragePool_QosType_Manual QoS Type is Manual + * (Value: "MANUAL") + * @arg @c kGTLRNetAppFiles_StoragePool_QosType_QosTypeUnspecified + * Unspecified QoS Type (Value: "QOS_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *qosType; + /** Optional. Specifies the replica zone for regional storagePool. */ @property(nonatomic, copy, nullable) NSString *replicaZone; @@ -3602,6 +3812,17 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @end +/** + * UserCommands contains the commands to be executed by the customer. + */ +@interface GTLRNetAppFiles_UserCommands : GTLRObject + +/** Output only. List of commands to be executed by the customer. */ +@property(nonatomic, strong, nullable) NSArray *commands; + +@end + + /** * ValidateDirectoryServiceRequest validates the directory service policy * attached to the storage pool. @@ -3675,7 +3896,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; @property(nonatomic, strong, nullable) NSNumber *capacityGib; /** - * Output only. Size of the volume cold tier data in GiB. + * Output only. Size of the volume cold tier data rounded down to the nearest + * GiB. * * Uses NSNumber of longLongValue. */ @@ -3878,6 +4100,13 @@ FOUNDATION_EXTERN NSString * const kGTLRNetAppFiles_Volume_State_Updating; /** Required. StoragePool name of the volume */ @property(nonatomic, copy, nullable) NSString *storagePool; +/** + * Optional. Throughput of the volume (in MiB/s) + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *throughputMibps; + /** Tiering policy for the volume. */ @property(nonatomic, strong, nullable) GTLRNetAppFiles_TieringPolicy *tieringPolicy; diff --git a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h index ff945d037..515184656 100644 --- a/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h +++ b/Sources/GeneratedServices/NetAppFiles/Public/GoogleAPIClientForREST/GTLRNetAppFilesQuery.h @@ -1084,8 +1084,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetAppFilesQuery_ProjectsLocationsList : GTLRNetAppFilesQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m index 51570cd0c..3fb73333c 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementObjects.m @@ -24,6 +24,7 @@ NSString * const kGTLRNetworkManagement_AbortInfo_Cause_GoogleManagedServiceUnknownIp = @"GOOGLE_MANAGED_SERVICE_UNKNOWN_IP"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_InternalError = @"INTERNAL_ERROR"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_InvalidArgument = @"INVALID_ARGUMENT"; +NSString * const kGTLRNetworkManagement_AbortInfo_Cause_IpVersionProtocolMismatch = @"IP_VERSION_PROTOCOL_MISMATCH"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_MismatchedDestinationNetwork = @"MISMATCHED_DESTINATION_NETWORK"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_MismatchedIpVersion = @"MISMATCHED_IP_VERSION"; NSString * const kGTLRNetworkManagement_AbortInfo_Cause_MismatchedSourceNetwork = @"MISMATCHED_SOURCE_NETWORK"; @@ -93,6 +94,7 @@ NSString * const kGTLRNetworkManagement_DropInfo_Cause_CauseUnspecified = @"CAUSE_UNSPECIFIED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudFunctionNotActive = @"CLOUD_FUNCTION_NOT_ACTIVE"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudNatNoAddresses = @"CLOUD_NAT_NO_ADDRESSES"; +NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudNatProtocolUnsupported = @"CLOUD_NAT_PROTOCOL_UNSUPPORTED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudRunRevisionNotReady = @"CLOUD_RUN_REVISION_NOT_READY"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudSqlConnectorRequired = @"CLOUD_SQL_CONNECTOR_REQUIRED"; NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudSqlInstanceNoIpAddress = @"CLOUD_SQL_INSTANCE_NO_IP_ADDRESS"; @@ -220,6 +222,11 @@ NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_UnsupportedFirewallPolicyRule = @"UNSUPPORTED_FIREWALL_POLICY_RULE"; NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_VpcFirewallRule = @"VPC_FIREWALL_RULE"; +// GTLRNetworkManagement_FirewallInfo.targetType +NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_Instances = @"INSTANCES"; +NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_InternalManagedLb = @"INTERNAL_MANAGED_LB"; +NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_TargetTypeUnspecified = @"TARGET_TYPE_UNSPECIFIED"; + // GTLRNetworkManagement_ForwardInfo.target NSString * const kGTLRNetworkManagement_ForwardInfo_Target_AnotherProject = @"ANOTHER_PROJECT"; NSString * const kGTLRNetworkManagement_ForwardInfo_Target_CloudSqlInstance = @"CLOUD_SQL_INSTANCE"; @@ -274,6 +281,25 @@ NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadBalancerType_SslProxy = @"SSL_PROXY"; NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadBalancerType_TcpProxy = @"TCP_PROXY"; +// GTLRNetworkManagement_MonitoringPoint.connectionStatus +NSString * const kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_ConnectionStatusUnspecified = @"CONNECTION_STATUS_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_Offline = @"OFFLINE"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_Online = @"ONLINE"; + +// GTLRNetworkManagement_MonitoringPoint.errors +NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_DownloadFailed = @"DOWNLOAD_FAILED"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_ErrorCodeUnspecified = @"ERROR_CODE_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_NtpError = @"NTP_ERROR"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_UpgradeError = @"UPGRADE_ERROR"; + +// GTLRNetworkManagement_MonitoringPoint.upgradeType +NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Auto = @"AUTO"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_External = @"EXTERNAL"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Managed = @"MANAGED"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Manual = @"MANUAL"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Scheduled = @"SCHEDULED"; +NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_UpgradeTypeUnspecified = @"UPGRADE_TYPE_UNSPECIFIED"; + // GTLRNetworkManagement_NatInfo.type NSString * const kGTLRNetworkManagement_NatInfo_Type_CloudNat = @"CLOUD_NAT"; NSString * const kGTLRNetworkManagement_NatInfo_Type_ExternalToInternal = @"EXTERNAL_TO_INTERNAL"; @@ -281,6 +307,32 @@ NSString * const kGTLRNetworkManagement_NatInfo_Type_PrivateServiceConnect = @"PRIVATE_SERVICE_CONNECT"; NSString * const kGTLRNetworkManagement_NatInfo_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; +// GTLRNetworkManagement_NetworkMonitoringProvider.providerType +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_ProviderType_External = @"EXTERNAL"; +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_ProviderType_ProviderTypeUnspecified = @"PROVIDER_TYPE_UNSPECIFIED"; + +// GTLRNetworkManagement_NetworkMonitoringProvider.state +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Activating = @"ACTIVATING"; +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Active = @"ACTIVE"; +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Deleted = @"DELETED"; +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Deleting = @"DELETING"; +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Suspended = @"SUSPENDED"; +NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Suspending = @"SUSPENDING"; + +// GTLRNetworkManagement_NetworkPath.monitoringStatus +NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_Disabled = @"DISABLED"; +NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_Monitoring = @"MONITORING"; +NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_MonitoringPointOffline = @"MONITORING_POINT_OFFLINE"; +NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_MonitoringStatusUnspecified = @"MONITORING_STATUS_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_PolicyMismatch = @"POLICY_MISMATCH"; + +// GTLRNetworkManagement_NetworkPath.networkProtocol +NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Icmp = @"ICMP"; +NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_NetworkProtocolUnspecified = @"NETWORK_PROTOCOL_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Tcp = @"TCP"; +NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Udp = @"UDP"; + // GTLRNetworkManagement_ProbingDetails.abortCause NSString * const kGTLRNetworkManagement_ProbingDetails_AbortCause_NoSourceLocation = @"NO_SOURCE_LOCATION"; NSString * const kGTLRNetworkManagement_ProbingDetails_AbortCause_PermissionDenied = @"PERMISSION_DENIED"; @@ -293,6 +345,13 @@ NSString * const kGTLRNetworkManagement_ProbingDetails_Result_Undetermined = @"UNDETERMINED"; NSString * const kGTLRNetworkManagement_ProbingDetails_Result_Unreachable = @"UNREACHABLE"; +// GTLRNetworkManagement_ProviderTag.resourceType +NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPoint = @"MONITORING_POINT"; +NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPolicy = @"MONITORING_POLICY"; +NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_NetworkPath = @"NETWORK_PATH"; +NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_ResourceTypeUnspecified = @"RESOURCE_TYPE_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_WebPath = @"WEB_PATH"; + // GTLRNetworkManagement_ReachabilityDetails.result NSString * const kGTLRNetworkManagement_ReachabilityDetails_Result_Ambiguous = @"AMBIGUOUS"; NSString * const kGTLRNetworkManagement_ReachabilityDetails_Result_Reachable = @"REACHABLE"; @@ -348,6 +407,7 @@ NSString * const kGTLRNetworkManagement_Step_State_ApplyRoute = @"APPLY_ROUTE"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExternalLoadBalancer = @"ARRIVE_AT_EXTERNAL_LOAD_BALANCER"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInstance = @"ARRIVE_AT_INSTANCE"; +NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInterconnectAttachment = @"ARRIVE_AT_INTERCONNECT_ATTACHMENT"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInternalLoadBalancer = @"ARRIVE_AT_INTERNAL_LOAD_BALANCER"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtVpcConnector = @"ARRIVE_AT_VPC_CONNECTOR"; NSString * const kGTLRNetworkManagement_Step_State_ArriveAtVpnGateway = @"ARRIVE_AT_VPN_GATEWAY"; @@ -408,6 +468,18 @@ NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingType_RouteBased = @"ROUTE_BASED"; NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingType_RoutingTypeUnspecified = @"ROUTING_TYPE_UNSPECIFIED"; +// GTLRNetworkManagement_WebPath.monitoringStatus +NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_Disabled = @"DISABLED"; +NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_Monitoring = @"MONITORING"; +NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_MonitoringPointOffline = @"MONITORING_POINT_OFFLINE"; +NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_MonitoringStatusUnspecified = @"MONITORING_STATUS_UNSPECIFIED"; +NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_PolicyMismatch = @"POLICY_MISMATCH"; + +// GTLRNetworkManagement_WebPath.workflowType +NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_Browser = @"BROWSER"; +NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_Http = @"HTTP"; +NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_WorkflowTypeUnspecified = @"WORKFLOW_TYPE_UNSPECIFIED"; + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_AbortInfo @@ -625,7 +697,8 @@ @implementation GTLRNetworkManagement_DirectVpcEgressConnectionInfo // @implementation GTLRNetworkManagement_DropInfo -@dynamic cause, destinationIp, region, resourceUri, sourceIp; +@dynamic cause, destinationGeolocationCode, destinationIp, region, resourceUri, + sourceGeolocationCode, sourceIp; @end @@ -695,7 +768,7 @@ @implementation GTLRNetworkManagement_Expr @implementation GTLRNetworkManagement_FirewallInfo @dynamic action, direction, displayName, firewallRuleType, networkUri, policy, policyPriority, policyUri, priority, targetServiceAccounts, targetTags, - uri; + targetType, uri; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -730,6 +803,16 @@ @implementation GTLRNetworkManagement_ForwardingRuleInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_GeoLocation +// + +@implementation GTLRNetworkManagement_GeoLocation +@dynamic country, formattedAddress; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_GKEMasterInfo @@ -750,6 +833,25 @@ @implementation GTLRNetworkManagement_GoogleServiceInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_Host +// + +@implementation GTLRNetworkManagement_Host +@dynamic cloudInstanceId, cloudProjectId, cloudProvider, cloudRegion, + cloudVirtualNetworkIds, cloudVpcId, cloudZone, os; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cloudVirtualNetworkIds" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_InstanceInfo @@ -770,6 +872,16 @@ @implementation GTLRNetworkManagement_InstanceInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_InterconnectAttachmentInfo +// + +@implementation GTLRNetworkManagement_InterconnectAttachmentInfo +@dynamic cloudRouterUri, displayName, interconnectUri, region, uri; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_LatencyDistribution @@ -843,6 +955,72 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ListMonitoringPointsResponse +// + +@implementation GTLRNetworkManagement_ListMonitoringPointsResponse +@dynamic monitoringPoints, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"monitoringPoints" : [GTLRNetworkManagement_MonitoringPoint class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"monitoringPoints"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ListNetworkMonitoringProvidersResponse +// + +@implementation GTLRNetworkManagement_ListNetworkMonitoringProvidersResponse +@dynamic networkMonitoringProviders, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"networkMonitoringProviders" : [GTLRNetworkManagement_NetworkMonitoringProvider class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"networkMonitoringProviders"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ListNetworkPathsResponse +// + +@implementation GTLRNetworkManagement_ListNetworkPathsResponse +@dynamic networkPaths, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"networkPaths" : [GTLRNetworkManagement_NetworkPath class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"networkPaths"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_ListOperationsResponse @@ -888,6 +1066,28 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ListWebPathsResponse +// + +@implementation GTLRNetworkManagement_ListWebPathsResponse +@dynamic nextPageToken, webPaths; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"webPaths" : [GTLRNetworkManagement_WebPath class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"webPaths"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_LoadBalancerBackend @@ -976,6 +1176,29 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_MonitoringPoint +// + +@implementation GTLRNetworkManagement_MonitoringPoint +@dynamic autoGeoLocationEnabled, connectionStatus, createTime, displayName, + errors, geoLocation, host, hostname, name, networkInterfaces, + originatingIp, providerTags, type, updateTime, upgradeAvailable, + upgradeType, version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errors" : [NSString class], + @"networkInterfaces" : [GTLRNetworkManagement_NetworkInterface class], + @"providerTags" : [GTLRNetworkManagement_ProviderTag class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_NatInfo @@ -998,6 +1221,56 @@ @implementation GTLRNetworkManagement_NetworkInfo @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_NetworkInterface +// + +@implementation GTLRNetworkManagement_NetworkInterface +@dynamic adapterDescription, cidr, interfaceName, ipAddress, macAddress, speed, + vlanId; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_NetworkMonitoringProvider +// + +@implementation GTLRNetworkManagement_NetworkMonitoringProvider +@dynamic createTime, errors, name, providerType, providerUri, state, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"errors" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_NetworkPath +// + +@implementation GTLRNetworkManagement_NetworkPath +@dynamic createTime, destination, destinationGeoLocation, displayName, + dualEnded, monitoringEnabled, monitoringPolicyDisplayName, + monitoringPolicyId, monitoringStatus, name, networkProtocol, + providerTags, providerUiUri, sourceMonitoringPointId, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"providerTags" : [GTLRNetworkManagement_ProviderTag class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_Operation @@ -1090,6 +1363,16 @@ @implementation GTLRNetworkManagement_ProbingDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_ProviderTag +// + +@implementation GTLRNetworkManagement_ProviderTag +@dynamic category, resourceType, value; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkManagement_ProxyConnectionInfo @@ -1259,11 +1542,11 @@ @implementation GTLRNetworkManagement_Step @dynamic abort, appEngineVersion, causesDrop, cloudFunction, cloudRunRevision, cloudSqlInstance, deliver, descriptionProperty, directVpcEgressConnection, drop, endpoint, firewall, forward, - forwardingRule, gkeMaster, googleService, instance, loadBalancer, - loadBalancerBackendInfo, nat, network, projectId, proxyConnection, - redisCluster, redisInstance, route, serverlessExternalConnection, - serverlessNeg, state, storageBucket, vpcConnector, vpnGateway, - vpnTunnel; + forwardingRule, gkeMaster, googleService, instance, + interconnectAttachment, loadBalancer, loadBalancerBackendInfo, nat, + network, projectId, proxyConnection, redisCluster, redisInstance, + route, serverlessExternalConnection, serverlessNeg, state, + storageBucket, vpcConnector, vpnGateway, vpnTunnel; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -1403,3 +1686,24 @@ @implementation GTLRNetworkManagement_VpnTunnelInfo @dynamic displayName, networkUri, region, remoteGateway, remoteGatewayIp, routingType, sourceGateway, sourceGatewayIp, uri; @end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkManagement_WebPath +// + +@implementation GTLRNetworkManagement_WebPath +@dynamic createTime, destination, displayName, interval, monitoringEnabled, + monitoringPolicyDisplayName, monitoringPolicyId, monitoringStatus, + name, providerTags, providerUiUri, relatedNetworkPathId, + sourceMonitoringPointId, updateTime, workflowType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"providerTags" : [GTLRNetworkManagement_ProviderTag class] + }; + return map; +} + +@end diff --git a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m index 4e4d76a64..4711ecfb1 100644 --- a/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m +++ b/Sources/GeneratedServices/NetworkManagement/GTLRNetworkManagementQuery.m @@ -490,6 +490,204 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersCreate + +@dynamic networkMonitoringProviderId, parent; + ++ (instancetype)queryWithObject:(GTLRNetworkManagement_NetworkMonitoringProvider *)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}/networkMonitoringProviders"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersCreate *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.networkMonitoringProviders.create"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_Operation class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.delete"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_NetworkMonitoringProvider class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/networkMonitoringProviders"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_ListNetworkMonitoringProvidersResponse class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.list"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_MonitoringPoint class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/monitoringPoints"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_ListMonitoringPointsResponse class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.list"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_NetworkPath class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/networkPaths"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_ListNetworkPathsResponse class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.list"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkManagement_WebPath class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.webPaths.get"; + return query; +} + +@end + +@implementation GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/webPaths"; + GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkManagement_ListWebPathsResponse class]; + query.loggingName = @"networkmanagement.projects.locations.networkMonitoringProviders.webPaths.list"; + return query; +} + +@end + @implementation GTLRNetworkManagementQuery_ProjectsLocationsVpcFlowLogsConfigsCreate @dynamic parent, vpcFlowLogsConfigId; diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h index 47eee094e..2274cd71c 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementObjects.h @@ -38,9 +38,12 @@ @class GTLRNetworkManagement_FirewallInfo; @class GTLRNetworkManagement_ForwardInfo; @class GTLRNetworkManagement_ForwardingRuleInfo; +@class GTLRNetworkManagement_GeoLocation; @class GTLRNetworkManagement_GKEMasterInfo; @class GTLRNetworkManagement_GoogleServiceInfo; +@class GTLRNetworkManagement_Host; @class GTLRNetworkManagement_InstanceInfo; +@class GTLRNetworkManagement_InterconnectAttachmentInfo; @class GTLRNetworkManagement_LatencyDistribution; @class GTLRNetworkManagement_LatencyPercentile; @class GTLRNetworkManagement_LoadBalancerBackend; @@ -49,13 +52,18 @@ @class GTLRNetworkManagement_Location; @class GTLRNetworkManagement_Location_Labels; @class GTLRNetworkManagement_Location_Metadata; +@class GTLRNetworkManagement_MonitoringPoint; @class GTLRNetworkManagement_NatInfo; @class GTLRNetworkManagement_NetworkInfo; +@class GTLRNetworkManagement_NetworkInterface; +@class GTLRNetworkManagement_NetworkMonitoringProvider; +@class GTLRNetworkManagement_NetworkPath; @class GTLRNetworkManagement_Operation; @class GTLRNetworkManagement_Operation_Metadata; @class GTLRNetworkManagement_Operation_Response; @class GTLRNetworkManagement_Policy; @class GTLRNetworkManagement_ProbingDetails; +@class GTLRNetworkManagement_ProviderTag; @class GTLRNetworkManagement_ProxyConnectionInfo; @class GTLRNetworkManagement_ReachabilityDetails; @class GTLRNetworkManagement_RedisClusterInfo; @@ -74,6 +82,7 @@ @class GTLRNetworkManagement_VpcFlowLogsConfig_Labels; @class GTLRNetworkManagement_VpnGatewayInfo; @class GTLRNetworkManagement_VpnTunnelInfo; +@class GTLRNetworkManagement_WebPath; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -152,6 +161,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_Intern * Value: "INVALID_ARGUMENT" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_InvalidArgument; +/** + * Aborted because the used protocol is not supported for the used IP version. + * + * Value: "IP_VERSION_PROTOCOL_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_AbortInfo_Cause_IpVersionProtocolMismatch; /** * Aborted because the destination network does not match the destination * endpoint. Deprecated, not used in the new tests. @@ -565,6 +580,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudFu * Value: "CLOUD_NAT_NO_ADDRESSES" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudNatNoAddresses; +/** + * Packet is dropped by Cloud NAT due to using an unsupported protocol. + * + * Value: "CLOUD_NAT_PROTOCOL_UNSUPPORTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_DropInfo_Cause_CloudNatProtocolUnsupported; /** * Packet sent from a Cloud Run revision that is not ready. * @@ -1391,6 +1412,29 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallR */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_FirewallRuleType_VpcFirewallRule; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_FirewallInfo.targetType + +/** + * Firewall rule applies to instances. + * + * Value: "INSTANCES" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_Instances; +/** + * Firewall rule applies to internal managed load balancers. + * + * Value: "INTERNAL_MANAGED_LB" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_InternalManagedLb; +/** + * Target type is not specified. In this case we treat the rule as applying to + * INSTANCES target type. + * + * Value: "TARGET_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_FirewallInfo_TargetType_TargetTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_ForwardInfo.target @@ -1679,6 +1723,96 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadB */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_LoadBalancerInfo_LoadBalancerType_TcpProxy; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_MonitoringPoint.connectionStatus + +/** + * The default value. This value is used if the status is omitted. + * + * Value: "CONNECTION_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_ConnectionStatusUnspecified; +/** + * MonitoringPoint is offline. + * + * Value: "OFFLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_Offline; +/** + * MonitoringPoint is online. + * + * Value: "ONLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_Online; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_MonitoringPoint.errors + +/** + * Error detected while downloading. + * + * Value: "DOWNLOAD_FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_DownloadFailed; +/** + * The default value. This value is used if the error code is omitted. + * + * Value: "ERROR_CODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_ErrorCodeUnspecified; +/** + * Error detected in NTP service. + * + * Value: "NTP_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_NtpError; +/** + * Error detected during the upgrade process. + * + * Value: "UPGRADE_ERROR" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_Errors_UpgradeError; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_MonitoringPoint.upgradeType + +/** + * Upgrades are performed automatically. + * + * Value: "AUTO" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Auto; +/** + * Upgrades are performed externally. + * + * Value: "EXTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_External; +/** + * Upgrades are managed. + * + * Value: "MANAGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Managed; +/** + * Upgrades are performed manually. + * + * Value: "MANUAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Manual; +/** + * Upgrade is scheduled. + * + * Value: "SCHEDULED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Scheduled; +/** + * The default value. This value is used if the upgrade type is omitted. + * + * Value: "UPGRADE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_MonitoringPoint_UpgradeType_UpgradeTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_NatInfo.type @@ -1713,6 +1847,130 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_PrivateSe */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NatInfo_Type_TypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_NetworkMonitoringProvider.providerType + +/** + * External provider. + * + * Value: "EXTERNAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_ProviderType_External; +/** + * The default value. This value is used if the type is omitted. + * + * Value: "PROVIDER_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_ProviderType_ProviderTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_NetworkMonitoringProvider.state + +/** + * NetworkMonitoringProvider is being activated. + * + * Value: "ACTIVATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Activating; +/** + * NetworkMonitoringProvider is active. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Active; +/** + * NetworkMonitoringProvider is deleted. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Deleted; +/** + * NetworkMonitoringProvider is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Deleting; +/** + * The default value. This value is used if the status is omitted. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_StateUnspecified; +/** + * NetworkMonitoringProvider is suspended. + * + * Value: "SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Suspended; +/** + * NetworkMonitoringProvider is being suspended. + * + * Value: "SUSPENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkMonitoringProvider_State_Suspending; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_NetworkPath.monitoringStatus + +/** + * Monitoring is disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_Disabled; +/** + * Monitoring is enabled. + * + * Value: "MONITORING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_Monitoring; +/** + * Monitoring point is offline. + * + * Value: "MONITORING_POINT_OFFLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_MonitoringPointOffline; +/** + * The default value. This value is used if the status is omitted. + * + * Value: "MONITORING_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_MonitoringStatusUnspecified; +/** + * Policy is mismatched. + * + * Value: "POLICY_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_MonitoringStatus_PolicyMismatch; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_NetworkPath.networkProtocol + +/** + * ICMP. + * + * Value: "ICMP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Icmp; +/** + * The default value. This value is used if the network protocol is omitted. + * + * Value: "NETWORK_PROTOCOL_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_NetworkProtocolUnspecified; +/** + * TCP. + * + * Value: "TCP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Tcp; +/** + * UDP. + * + * Value: "UDP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Udp; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_ProbingDetails.abortCause @@ -1773,6 +2031,40 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProbingDetails_Result_ */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProbingDetails_Result_Unreachable; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_ProviderTag.resourceType + +/** + * Monitoring point. + * + * Value: "MONITORING_POINT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPoint; +/** + * Monitoring policy. + * + * Value: "MONITORING_POLICY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPolicy; +/** + * Network path. + * + * Value: "NETWORK_PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_NetworkPath; +/** + * The default value. This value is used if the status is omitted. + * + * Value: "RESOURCE_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_ResourceTypeUnspecified; +/** + * Web path. + * + * Value: "WEB_PATH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_ProviderTag_ResourceType_WebPath; + // ---------------------------------------------------------------------------- // GTLRNetworkManagement_ReachabilityDetails.result @@ -2086,6 +2378,12 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtExt * Value: "ARRIVE_AT_INSTANCE" */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInstance; +/** + * Forwarding state: arriving at an interconnect attachment. + * + * Value: "ARRIVE_AT_INTERCONNECT_ATTACHMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_Step_State_ArriveAtInterconnectAttachment; /** * Forwarding state: arriving at a Compute Engine internal load balancer. * @@ -2423,6 +2721,62 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingType_RoutingTypeUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_WebPath.monitoringStatus + +/** + * Monitoring is disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_Disabled; +/** + * Monitoring is enabled. + * + * Value: "MONITORING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_Monitoring; +/** + * Monitoring point is offline. + * + * Value: "MONITORING_POINT_OFFLINE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_MonitoringPointOffline; +/** + * The default value. This value is used if the status is omitted. + * + * Value: "MONITORING_STATUS_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_MonitoringStatusUnspecified; +/** + * Policy is mismatched. + * + * Value: "POLICY_MISMATCH" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_MonitoringStatus_PolicyMismatch; + +// ---------------------------------------------------------------------------- +// GTLRNetworkManagement_WebPath.workflowType + +/** + * Browser. + * + * Value: "BROWSER" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_Browser; +/** + * HTTP. + * + * Value: "HTTP" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_Http; +/** + * The default value. This value is used if the status is omitted. + * + * Value: "WORKFLOW_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_WebPath_WorkflowType_WorkflowTypeUnspecified; + /** * Details of the final state "abort" and associated resource. */ @@ -2466,6 +2820,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * inconsistent information (for example, the request might include both * the instance and the network, but the instance might not have a NIC in * that network). (Value: "INVALID_ARGUMENT") + * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_IpVersionProtocolMismatch + * Aborted because the used protocol is not supported for the used IP + * version. (Value: "IP_VERSION_PROTOCOL_MISMATCH") * @arg @c kGTLRNetworkManagement_AbortInfo_Cause_MismatchedDestinationNetwork * Aborted because the destination network does not match the destination * endpoint. Deprecated, not used in the new tests. (Value: @@ -3144,6 +3501,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_DropInfo_Cause_CloudNatNoAddresses Packet * sent to Cloud Nat without active NAT IPs. (Value: * "CLOUD_NAT_NO_ADDRESSES") + * @arg @c kGTLRNetworkManagement_DropInfo_Cause_CloudNatProtocolUnsupported + * Packet is dropped by Cloud NAT due to using an unsupported protocol. + * (Value: "CLOUD_NAT_PROTOCOL_UNSUPPORTED") * @arg @c kGTLRNetworkManagement_DropInfo_Cause_CloudRunRevisionNotReady * Packet sent from a Cloud Run revision that is not ready. (Value: * "CLOUD_RUN_REVISION_NOT_READY") @@ -3478,6 +3838,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, copy, nullable) NSString *cause; +/** Geolocation (region code) of the destination IP address (if relevant). */ +@property(nonatomic, copy, nullable) NSString *destinationGeolocationCode; + /** Destination IP address of the dropped packet (if relevant). */ @property(nonatomic, copy, nullable) NSString *destinationIp; @@ -3487,6 +3850,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** URI of the resource that caused the drop. */ @property(nonatomic, copy, nullable) NSString *resourceUri; +/** Geolocation (region code) of the source IP address (if relevant). */ +@property(nonatomic, copy, nullable) NSString *sourceGeolocationCode; + /** Source IP address of the dropped packet (if relevant). */ @property(nonatomic, copy, nullable) NSString *sourceIp; @@ -3549,8 +3915,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * used for protocol forwarding, Private Service Connect and other network * services to provide forwarding information in the control plane. Applicable * only to destination endpoint. Format: - * projects/{project}/global/forwardingRules/{id} or - * projects/{project}/regions/{region}/forwardingRules/{id} + * `projects/{project}/global/forwardingRules/{id}` or + * `projects/{project}/regions/{region}/forwardingRules/{id}` */ @property(nonatomic, copy, nullable) NSString *forwardingRule; @@ -3899,6 +4265,21 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT */ @property(nonatomic, strong, nullable) NSArray *targetTags; +/** + * Target type of the firewall rule. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_FirewallInfo_TargetType_Instances Firewall + * rule applies to instances. (Value: "INSTANCES") + * @arg @c kGTLRNetworkManagement_FirewallInfo_TargetType_InternalManagedLb + * Firewall rule applies to internal managed load balancers. (Value: + * "INTERNAL_MANAGED_LB") + * @arg @c kGTLRNetworkManagement_FirewallInfo_TargetType_TargetTypeUnspecified + * Target type is not specified. In this case we treat the rule as + * applying to INSTANCES target type. (Value: "TARGET_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *targetType; + /** * The URI of the firewall rule. This field is not applicable to implied VPC * firewall rules. @@ -4001,6 +4382,20 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * The geographical location of the MonitoringPoint. + */ +@interface GTLRNetworkManagement_GeoLocation : GTLRObject + +/** Country. */ +@property(nonatomic, copy, nullable) NSString *country; + +/** Formatted address. */ +@property(nonatomic, copy, nullable) NSString *formattedAddress; + +@end + + /** * For display only. Metadata associated with a Google Kubernetes Engine (GKE) * cluster master. @@ -4078,6 +4473,38 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * Message describing information about the host. + */ +@interface GTLRNetworkManagement_Host : GTLRObject + +/** Output only. The cloud instance id of the host. */ +@property(nonatomic, copy, nullable) NSString *cloudInstanceId; + +/** Output only. The cloud project id of the host. */ +@property(nonatomic, copy, nullable) NSString *cloudProjectId; + +/** Output only. The cloud provider of the host. */ +@property(nonatomic, copy, nullable) NSString *cloudProvider; + +/** Output only. The cloud region of the host. */ +@property(nonatomic, copy, nullable) NSString *cloudRegion; + +/** Output only. The ids of cloud virtual networks of the host. */ +@property(nonatomic, strong, nullable) NSArray *cloudVirtualNetworkIds; + +/** Output only. The id of Virtual Private Cloud (VPC) of the host. */ +@property(nonatomic, copy, nullable) NSString *cloudVpcId; + +/** Output only. The cloud zone of the host. */ +@property(nonatomic, copy, nullable) NSString *cloudZone; + +/** Output only. The operating system of the host. */ +@property(nonatomic, copy, nullable) NSString *os; + +@end + + /** * For display only. Metadata associated with a Compute Engine instance. */ @@ -4134,6 +4561,34 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * For display only. Metadata associated with an Interconnect attachment. + */ +@interface GTLRNetworkManagement_InterconnectAttachmentInfo : GTLRObject + +/** URI of the Cloud Router to be used for dynamic routing. */ +@property(nonatomic, copy, nullable) NSString *cloudRouterUri; + +/** Name of an Interconnect attachment. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * URI of the Interconnect where the Interconnect attachment is configured. + */ +@property(nonatomic, copy, nullable) NSString *interconnectUri; + +/** + * Name of a Google Cloud region where the Interconnect attachment is + * configured. + */ +@property(nonatomic, copy, nullable) NSString *region; + +/** URI of an Interconnect attachment. */ +@property(nonatomic, copy, nullable) NSString *uri; + +@end + + /** * Describes measured latency distribution. */ @@ -4222,6 +4677,78 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * Message for response to listing MonitoringPoints + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "monitoringPoints" property. If returned as the result of a query, + * it should support automatic pagination (when @c shouldFetchNextPages + * is enabled). + */ +@interface GTLRNetworkManagement_ListMonitoringPointsResponse : GTLRCollectionObject + +/** + * The list of MonitoringPoints. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *monitoringPoints; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Message for response to listing NetworkMonitoringProviders + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "networkMonitoringProviders" property. If returned as the result + * of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkManagement_ListNetworkMonitoringProvidersResponse : GTLRCollectionObject + +/** + * The list of NetworkMonitoringProvider + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *networkMonitoringProviders; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * Message for response to listing NetworkPaths + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "networkPaths" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRNetworkManagement_ListNetworkPathsResponse : GTLRCollectionObject + +/** + * The list of NetworkPath + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *networkPaths; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * The response message for Operations.ListOperations. * @@ -4275,6 +4802,30 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * Message for response to listing WebPaths + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "webPaths" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRNetworkManagement_ListWebPathsResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of WebPath. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *webPaths; + +@end + + /** * For display only. Metadata associated with a specific load balancer backend. */ @@ -4518,6 +5069,108 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * Message describing MonitoringPoint resource. + */ +@interface GTLRNetworkManagement_MonitoringPoint : GTLRObject + +/** + * Output only. Indicates if automaitic geographic location is enabled for the + * MonitoringPoint. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoGeoLocationEnabled; + +/** + * Output only. Connection status of the MonitoringPoint. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_ConnectionStatusUnspecified + * The default value. This value is used if the status is omitted. + * (Value: "CONNECTION_STATUS_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_Offline + * MonitoringPoint is offline. (Value: "OFFLINE") + * @arg @c kGTLRNetworkManagement_MonitoringPoint_ConnectionStatus_Online + * MonitoringPoint is online. (Value: "ONLINE") + */ +@property(nonatomic, copy, nullable) NSString *connectionStatus; + +/** Output only. The time the MonitoringPoint was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Display name of the MonitoringPoint. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Output only. The codes of errors detected in the MonitoringPoint. */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** Output only. The geographical location of the MonitoringPoint. ; */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_GeoLocation *geoLocation; + +/** Output only. The host information of the MonitoringPoint. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_Host *host; + +/** Output only. The hostname of the MonitoringPoint. */ +@property(nonatomic, copy, nullable) NSString *hostname; + +/** + * Identifier. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The network interfaces of the MonitoringPoint. */ +@property(nonatomic, strong, nullable) NSArray *networkInterfaces; + +/** + * Output only. IP address visible when MonitoringPoint connects to the + * provider. + */ +@property(nonatomic, copy, nullable) NSString *originatingIp; + +/** Output only. The provider tags of the MonitoringPoint. */ +@property(nonatomic, strong, nullable) NSArray *providerTags; + +/** Output only. Deployment type of the MonitoringPoint. */ +@property(nonatomic, copy, nullable) NSString *type; + +/** Output only. The time the MonitoringPoint was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Output only. Indicates if an upgrade is available for the MonitoringPoint. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *upgradeAvailable; + +/** + * Output only. The type of upgrade available for the MonitoringPoint. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Auto Upgrades + * are performed automatically. (Value: "AUTO") + * @arg @c kGTLRNetworkManagement_MonitoringPoint_UpgradeType_External + * Upgrades are performed externally. (Value: "EXTERNAL") + * @arg @c kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Managed + * Upgrades are managed. (Value: "MANAGED") + * @arg @c kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Manual Upgrades + * are performed manually. (Value: "MANUAL") + * @arg @c kGTLRNetworkManagement_MonitoringPoint_UpgradeType_Scheduled + * Upgrade is scheduled. (Value: "SCHEDULED") + * @arg @c kGTLRNetworkManagement_MonitoringPoint_UpgradeType_UpgradeTypeUnspecified + * The default value. This value is used if the upgrade type is omitted. + * (Value: "UPGRADE_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *upgradeType; + +/** Output only. Version of the software running on the MonitoringPoint. */ +@property(nonatomic, copy, nullable) NSString *version; + +@end + + /** * For display only. Metadata associated with NAT. */ @@ -4622,6 +5275,209 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * Message describing network interfaces. + */ +@interface GTLRNetworkManagement_NetworkInterface : GTLRObject + +/** Output only. The description of the interface. */ +@property(nonatomic, copy, nullable) NSString *adapterDescription; + +/** + * Output only. The IP address of the interface and subnet mask in CIDR format. + * Examples: 192.168.1.0/24, 2001:db8::/32 + */ +@property(nonatomic, copy, nullable) NSString *cidr; + +/** Output only. The name of the network interface. Examples: eth0, eno1 */ +@property(nonatomic, copy, nullable) NSString *interfaceName; + +/** Output only. The IP address of the interface. */ +@property(nonatomic, copy, nullable) NSString *ipAddress; + +/** Output only. The MAC address of the interface. */ +@property(nonatomic, copy, nullable) NSString *macAddress; + +/** + * Output only. Speed of the interface in millions of bits per second. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *speed; + +/** + * Output only. The id of the VLAN. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *vlanId; + +@end + + +/** + * Message describing NetworkMonitoringProvider resource. + */ +@interface GTLRNetworkManagement_NetworkMonitoringProvider : GTLRObject + +/** Output only. The time the NetworkMonitoringProvider was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The list of error messages detected for the + * NetworkMonitoringProvider. + */ +@property(nonatomic, strong, nullable) NSArray *errors; + +/** + * Output only. Identifier. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Type of the NetworkMonitoringProvider. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_ProviderType_External + * External provider. (Value: "EXTERNAL") + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_ProviderType_ProviderTypeUnspecified + * The default value. This value is used if the type is omitted. (Value: + * "PROVIDER_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *providerType; + +/** Output only. Link to the provider's UI. */ +@property(nonatomic, copy, nullable) NSString *providerUri; + +/** + * Output only. State of the NetworkMonitoringProvider. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_State_Activating + * NetworkMonitoringProvider is being activated. (Value: "ACTIVATING") + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_State_Active + * NetworkMonitoringProvider is active. (Value: "ACTIVE") + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_State_Deleted + * NetworkMonitoringProvider is deleted. (Value: "DELETED") + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_State_Deleting + * NetworkMonitoringProvider is being deleted. (Value: "DELETING") + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_State_StateUnspecified + * The default value. This value is used if the status is omitted. + * (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_State_Suspended + * NetworkMonitoringProvider is suspended. (Value: "SUSPENDED") + * @arg @c kGTLRNetworkManagement_NetworkMonitoringProvider_State_Suspending + * NetworkMonitoringProvider is being suspended. (Value: "SUSPENDING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. The time the NetworkMonitoringProvider was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Message describing NetworkPath resource. + */ +@interface GTLRNetworkManagement_NetworkPath : GTLRObject + +/** Output only. The time the NetworkPath was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. IP address or hostname of the network path destination. */ +@property(nonatomic, copy, nullable) NSString *destination; + +/** + * Output only. Geographical location of the destination MonitoringPoint. ; + */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_GeoLocation *destinationGeoLocation; + +/** Output only. The display name of the network path. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** + * Output only. Indicates if the network path is dual ended. When true, the + * network path is measured both: from both source to destination, and from + * destination to source. When false, the network path is measured from the + * source through the destination back to the source (round trip measurement). + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *dualEnded; + +/** + * Output only. Is monitoring enabled for the network path. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *monitoringEnabled; + +/** Output only. Display name of the monitoring policy. */ +@property(nonatomic, copy, nullable) NSString *monitoringPolicyDisplayName; + +/** Output only. ID of monitoring policy. */ +@property(nonatomic, copy, nullable) NSString *monitoringPolicyId; + +/** + * Output only. The monitoring status of the network path. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_NetworkPath_MonitoringStatus_Disabled + * Monitoring is disabled. (Value: "DISABLED") + * @arg @c kGTLRNetworkManagement_NetworkPath_MonitoringStatus_Monitoring + * Monitoring is enabled. (Value: "MONITORING") + * @arg @c kGTLRNetworkManagement_NetworkPath_MonitoringStatus_MonitoringPointOffline + * Monitoring point is offline. (Value: "MONITORING_POINT_OFFLINE") + * @arg @c kGTLRNetworkManagement_NetworkPath_MonitoringStatus_MonitoringStatusUnspecified + * The default value. This value is used if the status is omitted. + * (Value: "MONITORING_STATUS_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_NetworkPath_MonitoringStatus_PolicyMismatch + * Policy is mismatched. (Value: "POLICY_MISMATCH") + */ +@property(nonatomic, copy, nullable) NSString *monitoringStatus; + +/** + * Identifier. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The network protocol of the network path. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Icmp ICMP. + * (Value: "ICMP") + * @arg @c kGTLRNetworkManagement_NetworkPath_NetworkProtocol_NetworkProtocolUnspecified + * The default value. This value is used if the network protocol is + * omitted. (Value: "NETWORK_PROTOCOL_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Tcp TCP. + * (Value: "TCP") + * @arg @c kGTLRNetworkManagement_NetworkPath_NetworkProtocol_Udp UDP. + * (Value: "UDP") + */ +@property(nonatomic, copy, nullable) NSString *networkProtocol; + +/** Output only. The provider tags of the network path. */ +@property(nonatomic, strong, nullable) NSArray *providerTags; + +/** Output only. Link to provider's UI; link shows the NetworkPath. */ +@property(nonatomic, copy, nullable) NSString *providerUiUri; + +/** + * Output only. Provider's UUID of the source MonitoringPoint. This id may not + * point to a resource in the GCP. + */ +@property(nonatomic, copy, nullable) NSString *sourceMonitoringPointId; + +/** Output only. The time the NetworkPath was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. @@ -4926,6 +5782,38 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end +/** + * Message describing the provider tag. + */ +@interface GTLRNetworkManagement_ProviderTag : GTLRObject + +/** Output only. The category of the provider tag. */ +@property(nonatomic, copy, nullable) NSString *category; + +/** + * Output only. The resource type of the provider tag. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPoint + * Monitoring point. (Value: "MONITORING_POINT") + * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_MonitoringPolicy + * Monitoring policy. (Value: "MONITORING_POLICY") + * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_NetworkPath + * Network path. (Value: "NETWORK_PATH") + * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_ResourceTypeUnspecified + * The default value. This value is used if the status is omitted. + * (Value: "RESOURCE_TYPE_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_ProviderTag_ResourceType_WebPath Web path. + * (Value: "WEB_PATH") + */ +@property(nonatomic, copy, nullable) NSString *resourceType; + +/** Output only. The value of the provider tag. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + + /** * For display only. Metadata associated with ProxyConnection. */ @@ -5537,6 +6425,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT /** Display information of a Compute Engine instance. */ @property(nonatomic, strong, nullable) GTLRNetworkManagement_InstanceInfo *instance; +/** Display information of an interconnect attachment. */ +@property(nonatomic, strong, nullable) GTLRNetworkManagement_InterconnectAttachmentInfo *interconnectAttachment; + /** * Display information of the load balancers. Deprecated in favor of the * `load_balancer_backend_info` field, not used in new tests. @@ -5602,6 +6493,9 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtInstance Forwarding * state: arriving at a Compute Engine instance. (Value: * "ARRIVE_AT_INSTANCE") + * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtInterconnectAttachment + * Forwarding state: arriving at an interconnect attachment. (Value: + * "ARRIVE_AT_INTERCONNECT_ATTACHMENT") * @arg @c kGTLRNetworkManagement_Step_State_ArriveAtInternalLoadBalancer * Forwarding state: arriving at a Compute Engine internal load balancer. * (Value: "ARRIVE_AT_INTERNAL_LOAD_BALANCER") @@ -6039,6 +6933,92 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkManagement_VpnTunnelInfo_RoutingT @end + +/** + * Message describing WebPath resource. + */ +@interface GTLRNetworkManagement_WebPath : GTLRObject + +/** Output only. The time the WebPath was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. Web monitoring target. */ +@property(nonatomic, copy, nullable) NSString *destination; + +/** Output only. Display name of the WebPath. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Output only. Monitoring interval. */ +@property(nonatomic, strong, nullable) GTLRDuration *interval; + +/** + * Output only. Is monitoring enabled for the WebPath. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *monitoringEnabled; + +/** Output only. Display name of the monitoring policy. */ +@property(nonatomic, copy, nullable) NSString *monitoringPolicyDisplayName; + +/** Output only. ID of the monitoring policy. */ +@property(nonatomic, copy, nullable) NSString *monitoringPolicyId; + +/** + * Output only. The monitoring status of the WebPath. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_WebPath_MonitoringStatus_Disabled + * Monitoring is disabled. (Value: "DISABLED") + * @arg @c kGTLRNetworkManagement_WebPath_MonitoringStatus_Monitoring + * Monitoring is enabled. (Value: "MONITORING") + * @arg @c kGTLRNetworkManagement_WebPath_MonitoringStatus_MonitoringPointOffline + * Monitoring point is offline. (Value: "MONITORING_POINT_OFFLINE") + * @arg @c kGTLRNetworkManagement_WebPath_MonitoringStatus_MonitoringStatusUnspecified + * The default value. This value is used if the status is omitted. + * (Value: "MONITORING_STATUS_UNSPECIFIED") + * @arg @c kGTLRNetworkManagement_WebPath_MonitoringStatus_PolicyMismatch + * Policy is mismatched. (Value: "POLICY_MISMATCH") + */ +@property(nonatomic, copy, nullable) NSString *monitoringStatus; + +/** + * Identifier. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The provider tags of the web path. */ +@property(nonatomic, strong, nullable) NSArray *providerTags; + +/** Output only. Link to provider's UI; link shows the WebPath. */ +@property(nonatomic, copy, nullable) NSString *providerUiUri; + +/** Output only. Provider's UUID of the related NetworkPath. */ +@property(nonatomic, copy, nullable) NSString *relatedNetworkPathId; + +/** Output only. ID of the source MonitoringPoint. */ +@property(nonatomic, copy, nullable) NSString *sourceMonitoringPointId; + +/** Output only. The time the WebPath was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Output only. The workflow type of the WebPath. + * + * Likely values: + * @arg @c kGTLRNetworkManagement_WebPath_WorkflowType_Browser Browser. + * (Value: "BROWSER") + * @arg @c kGTLRNetworkManagement_WebPath_WorkflowType_Http HTTP. (Value: + * "HTTP") + * @arg @c kGTLRNetworkManagement_WebPath_WorkflowType_WorkflowTypeUnspecified + * The default value. This value is used if the status is omitted. + * (Value: "WORKFLOW_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *workflowType; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h index 552d0545e..4e384ca33 100644 --- a/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h +++ b/Sources/GeneratedServices/NetworkManagement/Public/GoogleAPIClientForREST/GTLRNetworkManagementQuery.h @@ -71,8 +71,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_OrganizationsLocationsList : GTLRNetworkManagementQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -865,8 +865,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRNetworkManagementQuery_ProjectsLocationsList : GTLRNetworkManagementQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -909,6 +909,399 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a NetworkMonitoringProvider resource. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersCreate : GTLRNetworkManagementQuery + +/** + * Required. The ID to use for the NetworkMonitoringProvider resource, which + * will become the final component of the NetworkMonitoringProvider resource's + * name. + */ +@property(nonatomic, copy, nullable) NSString *networkMonitoringProviderId; + +/** + * Required. Parent value for CreateNetworkMonitoringProviderRequest. Format: + * projects/{project}/locations/{location} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_Operation. + * + * Creates a NetworkMonitoringProvider resource. + * + * @param object The @c GTLRNetworkManagement_NetworkMonitoringProvider to + * include in the query. + * @param parent Required. Parent value for + * CreateNetworkMonitoringProviderRequest. Format: + * projects/{project}/locations/{location} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkManagement_NetworkMonitoringProvider *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a NetworkMonitoringProvider resource and all of its child resources. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersDelete : GTLRNetworkManagementQuery + +/** + * Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_Operation. + * + * Deletes a NetworkMonitoringProvider resource and all of its child resources. + * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets the NetworkMonitoringProvider resource. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersGet : GTLRNetworkManagementQuery + +/** + * Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_NetworkMonitoringProvider. + * + * Gets the NetworkMonitoringProvider resource. + * + * @param name Required. Name of the resource. Format: + * `projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists NetworkMonitoringProviders for a given project and location. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersList : GTLRNetworkManagementQuery + +/** + * Optional. The maximum number of monitoring points to return. The service may + * return fewer than this value. If unspecified, at most 20 monitoring points + * will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListMonitoringPoints` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListMonitoringPoints` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Parent value for ListNetworkMonitoringProvidersRequest. Format: + * `projects/{project}/locations/{location}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_ListNetworkMonitoringProvidersResponse. + * + * Lists NetworkMonitoringProviders for a given project and location. + * + * @param parent Required. Parent value for + * ListNetworkMonitoringProvidersRequest. Format: + * `projects/{project}/locations/{location}` + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersList + * + * @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 the MonitoringPoint resource. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsGet : GTLRNetworkManagementQuery + +/** + * Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_MonitoringPoint. + * + * Gets the MonitoringPoint resource. + * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/monitoringPoints/{monitoring_point} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists MonitoringPoints for a given network monitoring provider. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.monitoringPoints.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsList : GTLRNetworkManagementQuery + +/** + * Optional. The maximum number of monitoring points to return. The service may + * return fewer than this value. If unspecified, at most 20 monitoring points + * will be returned. The maximum value is 1000; values above 1000 will be + * coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListMonitoringPoints` + * call. Provide this to retrieve the subsequent page. When paginating, all + * other parameters provided to `ListMonitoringPoints` must match the call that + * provided the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Parent value for ListMonitoringPointsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_ListMonitoringPointsResponse. + * + * Lists MonitoringPoints for a given network monitoring provider. + * + * @param parent Required. Parent value for ListMonitoringPointsRequest. + * Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersMonitoringPointsList + * + * @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 the NetworkPath resource. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsGet : GTLRNetworkManagementQuery + +/** + * Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_NetworkPath. + * + * Gets the NetworkPath resource. + * + * @param name Required. Name of the resource. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/networkPaths/{network_path} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists NetworkPaths for a given network monitoring provider. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.networkPaths.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsList : GTLRNetworkManagementQuery + +/** + * Optional. The maximum number of network paths to return. The service may + * return fewer than this value. If unspecified, at most 20 network pathswill + * be returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListNetworkPaths` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListNetworkPaths` must match the call that provided + * the page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Parent value for ListNetworkPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_ListNetworkPathsResponse. + * + * Lists NetworkPaths for a given network monitoring provider. + * + * @param parent Required. Parent value for ListNetworkPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersNetworkPathsList + * + * @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 the WebPath resource. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.webPaths.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsGet : GTLRNetworkManagementQuery + +/** + * Required. Name of the resource.. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkManagement_WebPath. + * + * Gets the WebPath resource. + * + * @param name Required. Name of the resource.. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}/webPaths/{web_path} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists WebPaths for a given network monitoring provider. + * + * Method: networkmanagement.projects.locations.networkMonitoringProviders.webPaths.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkManagementCloudPlatform + */ +@interface GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsList : GTLRNetworkManagementQuery + +/** + * Optional. The maximum number of web paths to return. The service may return + * fewer than this value. If unspecified, at most 20 web paths will be + * returned. The maximum value is 1000; values above 1000 will be coerced to + * 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A page token, received from a previous `ListWebPaths` call. + * Provide this to retrieve the subsequent page. When paginating, all other + * parameters provided to `ListWebPaths` must match the call that provided the + * page token. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Parent value for ListWebPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRNetworkManagement_ListWebPathsResponse. + * + * Lists WebPaths for a given network monitoring provider. + * + * @param parent Required. Parent value for ListWebPathsRequest. Format: + * projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider} + * + * @return GTLRNetworkManagementQuery_ProjectsLocationsNetworkMonitoringProvidersWebPathsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + /** * Creates a new `VpcFlowLogsConfig`. If a configuration with the exact same * settings already exists (even if the ID is different), the creation fails. diff --git a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m index 2c047ea14..2c32f73e2 100644 --- a/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m +++ b/Sources/GeneratedServices/NetworkSecurity/GTLRNetworkSecurityObjects.m @@ -49,6 +49,12 @@ NSString * const kGTLRNetworkSecurity_AuthzPolicy_Action_Custom = @"CUSTOM"; NSString * const kGTLRNetworkSecurity_AuthzPolicy_Action_Deny = @"DENY"; +// GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal.principalSelector +NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertCommonName = @"CLIENT_CERT_COMMON_NAME"; +NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertDnsNameSan = @"CLIENT_CERT_DNS_NAME_SAN"; +NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertUriSan = @"CLIENT_CERT_URI_SAN"; +NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_PrincipalSelectorUnspecified = @"PRINCIPAL_SELECTOR_UNSPECIFIED"; + // GTLRNetworkSecurity_AuthzPolicyTarget.loadBalancingScheme NSString * const kGTLRNetworkSecurity_AuthzPolicyTarget_LoadBalancingScheme_ExternalManaged = @"EXTERNAL_MANAGED"; NSString * const kGTLRNetworkSecurity_AuthzPolicyTarget_LoadBalancingScheme_InternalManaged = @"INTERNAL_MANAGED"; @@ -434,11 +440,12 @@ @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleFrom // @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource -@dynamic ipBlocks, resources; +@dynamic ipBlocks, principals, resources; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"ipBlocks" : [GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock class], + @"principals" : [GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal class], @"resources" : [GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResource class] }; return map; @@ -467,6 +474,16 @@ @implementation GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal +// + +@implementation GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal +@dynamic principal, principalSelector; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResource diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h index 2a589b512..324c39890 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityObjects.h @@ -24,6 +24,7 @@ @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleHeaderMatch; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleIpBlock; +@class GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResource; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleRequestResourceTagValueIdSet; @class GTLRNetworkSecurity_AuthzPolicyAuthzRuleStringMatch; @@ -304,6 +305,49 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicy_Action_Custo */ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicy_Action_Deny; +// ---------------------------------------------------------------------------- +// GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal.principalSelector + +/** + * The principal rule is matched against the common name in the client's + * certificate. Authorization against multiple common names in the client + * certificate is not supported. Requests with multiple common names in the + * client certificate will be rejected if CLIENT_CERT_COMMON_NAME is set as the + * principal selector. A match happens when there is an exact common name value + * match. This is only applicable for Application Load Balancers except for + * classic Global External Application load balancer. CLIENT_CERT_COMMON_NAME + * is not supported for INTERNAL_SELF_MANAGED load balancing scheme. + * + * Value: "CLIENT_CERT_COMMON_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertCommonName; +/** + * The principal rule is matched against a list of DNS Name SANs in the + * validated client's certificate. A match happens when there is any exact DNS + * Name SAN value match. This is only applicable for Application Load Balancers + * except for classic Global External Application load balancer. + * CLIENT_CERT_DNS_NAME_SAN is not supported for INTERNAL_SELF_MANAGED load + * balancing scheme. + * + * Value: "CLIENT_CERT_DNS_NAME_SAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertDnsNameSan; +/** + * The principal rule is matched against a list of URI SANs in the validated + * client's certificate. A match happens when there is any exact URI SAN value + * match. This is the default principal selector. + * + * Value: "CLIENT_CERT_URI_SAN" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertUriSan; +/** + * Unspecified principal selector. It will be treated as CLIENT_CERT_URI_SAN by + * default. + * + * Value: "PRINCIPAL_SELECTOR_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_PrincipalSelectorUnspecified; + // ---------------------------------------------------------------------------- // GTLRNetworkSecurity_AuthzPolicyTarget.loadBalancingScheme @@ -1805,14 +1849,30 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF @interface GTLRNetworkSecurity_AuthzPolicyAuthzRuleFromRequestSource : GTLRObject /** - * Optional. A list of IPs or CIDRs to match against the source IP of a - * request. Limited to 5 ip_blocks. + * Optional. A list of IP addresses or IP address ranges to match against the + * source IP address of the request. Limited to 10 ip_blocks per Authorization + * Policy */ @property(nonatomic, strong, nullable) NSArray *ipBlocks; +/** + * Optional. A list of identities derived from the client's certificate. This + * field will not match on a request unless frontend mutual TLS is enabled for + * the forwarding rule or Gateway and the client certificate has been + * successfully validated by mTLS. Each identity is a string whose value is + * matched against a list of URI SANs, DNS Name SANs, or the common name in the + * client's certificate. A match happens when any principal matches with the + * rule. Limited to 50 principals per Authorization Policy for Regional + * Internal Application Load Balancer, Regional External Application Load + * Balancer, Cross-region Internal Application Load Balancer, and Cloud Service + * Mesh. Limited to 25 principals per Authorization Policy for Global External + * Application Load Balancer. + */ +@property(nonatomic, strong, nullable) NSArray *principals; + /** * Optional. A list of resources to match against the resource of the source VM - * of a request. Limited to 5 resources. + * of a request. Limited to 10 resources per Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *resources; @@ -1851,6 +1911,59 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF @end +/** + * Describes the properties of a principal to be matched against. + */ +@interface GTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal : GTLRObject + +/** + * Required. A non-empty string whose value is matched against the principal + * value based on the principal_selector. Only exact match can be applied for + * CLIENT_CERT_URI_SAN, CLIENT_CERT_DNS_NAME_SAN, CLIENT_CERT_COMMON_NAME + * selectors. + */ +@property(nonatomic, strong, nullable) GTLRNetworkSecurity_AuthzPolicyAuthzRuleStringMatch *principal; + +/** + * Optional. An enum to decide what principal value the principal rule will + * match against. If not specified, the PrincipalSelector is + * CLIENT_CERT_URI_SAN. + * + * Likely values: + * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertCommonName + * The principal rule is matched against the common name in the client's + * certificate. Authorization against multiple common names in the client + * certificate is not supported. Requests with multiple common names in + * the client certificate will be rejected if CLIENT_CERT_COMMON_NAME is + * set as the principal selector. A match happens when there is an exact + * common name value match. This is only applicable for Application Load + * Balancers except for classic Global External Application load + * balancer. CLIENT_CERT_COMMON_NAME is not supported for + * INTERNAL_SELF_MANAGED load balancing scheme. (Value: + * "CLIENT_CERT_COMMON_NAME") + * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertDnsNameSan + * The principal rule is matched against a list of DNS Name SANs in the + * validated client's certificate. A match happens when there is any + * exact DNS Name SAN value match. This is only applicable for + * Application Load Balancers except for classic Global External + * Application load balancer. CLIENT_CERT_DNS_NAME_SAN is not supported + * for INTERNAL_SELF_MANAGED load balancing scheme. (Value: + * "CLIENT_CERT_DNS_NAME_SAN") + * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_ClientCertUriSan + * The principal rule is matched against a list of URI SANs in the + * validated client's certificate. A match happens when there is any + * exact URI SAN value match. This is the default principal selector. + * (Value: "CLIENT_CERT_URI_SAN") + * @arg @c kGTLRNetworkSecurity_AuthzPolicyAuthzRulePrincipal_PrincipalSelector_PrincipalSelectorUnspecified + * Unspecified principal selector. It will be treated as + * CLIENT_CERT_URI_SAN by default. (Value: + * "PRINCIPAL_SELECTOR_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *principalSelector; + +@end + + /** * Describes the properties of a client VM resource accessing the internal * application load balancers. @@ -1882,7 +1995,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * Required. A list of resource tag value permanent IDs to match against the * resource manager tags value associated with the source VM of a request. The * match follows AND semantics which means all the ids must match. Limited to 5 - * matches. + * ids in the Tag value id set. * * Uses NSNumber of longLongValue. */ @@ -1971,23 +2084,26 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Optional. A list of HTTP Hosts to match against. The match can be one of * exact, prefix, suffix, or contains (substring match). Matches are always - * case sensitive unless the ignoreCase is set. Limited to 5 matches. + * case sensitive unless the ignoreCase is set. Limited to 10 hosts per + * Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *hosts; /** * Optional. A list of HTTP methods to match against. Each entry must be a * valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It - * only allows exact match and is always case sensitive. + * only allows exact match and is always case sensitive. Limited to 10 methods + * per Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *methods; /** * Optional. A list of paths to match against. The match can be one of exact, * prefix, suffix, or contains (substring match). Matches are always case - * sensitive unless the ignoreCase is set. Limited to 5 matches. Note that this - * path match includes the query parameters. For gRPC services, this should be - * a fully-qualified name of the form /package.service/method. + * sensitive unless the ignoreCase is set. Limited to 10 paths per + * Authorization Policy. Note that this path match includes the query + * parameters. For gRPC services, this should be a fully-qualified name of the + * form /package.service/method. */ @property(nonatomic, strong, nullable) NSArray *paths; @@ -2003,7 +2119,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * Required. A list of headers to match against in http header. The match can * be one of exact, prefix, suffix, or contains (substring match). The match * follows AND semantics which means all the headers must match. Matches are - * always case sensitive unless the ignoreCase is set. Limited to 5 matches. + * always case sensitive unless the ignoreCase is set. Limited to 10 headers + * per Authorization Policy. */ @property(nonatomic, strong, nullable) NSArray *headers; @@ -2106,7 +2223,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF * authorities, in addition to certificates trusted by the TrustConfig. * * `clientCertificate` is a client certificate that the load balancer uses to * express its identity to the backend, if the connection to the backend uses - * mTLS. You can attach the BackendAuthenticationConfig to the load balancer’s + * mTLS. You can attach the BackendAuthenticationConfig to the load balancer's * BackendService directly determining how that BackendService negotiates TLS. */ @interface GTLRNetworkSecurity_BackendAuthenticationConfig : GTLRObject @@ -2249,7 +2366,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** * Required. Name of the ClientTlsPolicy resource. It matches the pattern - * `projects/ * /locations/{location}/clientTlsPolicies/{client_tls_policy}` + * `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -2441,7 +2558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** - * Message describing Endpoint object + * Message describing Endpoint object. */ @interface GTLRNetworkSecurity_FirewallEndpoint : GTLRObject @@ -2464,7 +2581,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** Required. Project to bill on endpoint uptime usage. */ @property(nonatomic, copy, nullable) NSString *billingProjectId; -/** Output only. Create time stamp */ +/** Output only. Create time stamp. */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; /** @@ -2477,7 +2594,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkSecurity_TlsInspectionPolicy_TlsF /** Optional. Labels as key value pairs */ @property(nonatomic, strong, nullable) GTLRNetworkSecurity_FirewallEndpoint_Labels *labels; -/** Immutable. Identifier. name of resource */ +/** Immutable. Identifier. Name of resource. */ @property(nonatomic, copy, nullable) NSString *name; /** diff --git a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h index ba107aae7..950be2643 100644 --- a/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h +++ b/Sources/GeneratedServices/NetworkSecurity/Public/GoogleAPIClientForREST/GTLRNetworkSecurityQuery.h @@ -594,7 +594,7 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRNetworkSecurityQuery_OrganizationsLocationsFirewallEndpointsPatch : GTLRNetworkSecurityQuery -/** Immutable. Identifier. name of resource */ +/** Immutable. Identifier. Name of resource. */ @property(nonatomic, copy, nullable) NSString *name; /** @@ -630,7 +630,7 @@ NS_ASSUME_NONNULL_BEGIN * * @param object The @c GTLRNetworkSecurity_FirewallEndpoint to include in the * query. - * @param name Immutable. Identifier. name of resource + * @param name Immutable. Identifier. Name of resource. * * @return GTLRNetworkSecurityQuery_OrganizationsLocationsFirewallEndpointsPatch */ @@ -2831,7 +2831,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Required. Name of the ClientTlsPolicy resource. It matches the pattern - * `projects/ * /locations/{location}/clientTlsPolicies/{client_tls_policy}` + * `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` */ @property(nonatomic, copy, nullable) NSString *name; @@ -2854,8 +2854,8 @@ NS_ASSUME_NONNULL_BEGIN * @param object The @c GTLRNetworkSecurity_ClientTlsPolicy to include in the * query. * @param name Required. Name of the ClientTlsPolicy resource. It matches the - * pattern `projects/ * - * /locations/{location}/clientTlsPolicies/{client_tls_policy}` + * pattern + * `projects/{project}/locations/{location}/clientTlsPolicies/{client_tls_policy}` * * @return GTLRNetworkSecurityQuery_ProjectsLocationsClientTlsPoliciesPatch */ diff --git a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m index 85afc4dab..f047cb7d5 100644 --- a/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m +++ b/Sources/GeneratedServices/NetworkServices/GTLRNetworkServicesObjects.m @@ -23,6 +23,7 @@ NSString * const kGTLRNetworkServices_AuthzExtension_LoadBalancingScheme_LoadBalancingSchemeUnspecified = @"LOAD_BALANCING_SCHEME_UNSPECIFIED"; // GTLRNetworkServices_AuthzExtension.wireFormat +NSString * const kGTLRNetworkServices_AuthzExtension_WireFormat_ExtAuthzGrpc = @"EXT_AUTHZ_GRPC"; NSString * const kGTLRNetworkServices_AuthzExtension_WireFormat_ExtProcGrpc = @"EXT_PROC_GRPC"; NSString * const kGTLRNetworkServices_AuthzExtension_WireFormat_WireFormatUnspecified = @"WIRE_FORMAT_UNSPECIFIED"; diff --git a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h index 7c50344e6..637cd7328 100644 --- a/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h +++ b/Sources/GeneratedServices/NetworkServices/Public/GoogleAPIClientForREST/GTLRNetworkServicesObjects.h @@ -177,6 +177,14 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_AuthzExtension_LoadBalan // ---------------------------------------------------------------------------- // GTLRNetworkServices_AuthzExtension.wireFormat +/** + * The extension service uses Envoy's `ext_authz` gRPC API. The backend service + * for the extension must use HTTP2, or H2C as the protocol. `EXT_AUTHZ_GRPC` + * is only supported for `AuthzExtension` resources. + * + * Value: "EXT_AUTHZ_GRPC" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_AuthzExtension_WireFormat_ExtAuthzGrpc; /** * The extension service uses ext_proc gRPC API over a gRPC stream. This is the * default value if the wire format is not specified. The backend service for @@ -910,6 +918,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL * not specified, the default value `EXT_PROC_GRPC` is used. * * Likely values: + * @arg @c kGTLRNetworkServices_AuthzExtension_WireFormat_ExtAuthzGrpc The + * extension service uses Envoy's `ext_authz` gRPC API. The backend + * service for the extension must use HTTP2, or H2C as the protocol. + * `EXT_AUTHZ_GRPC` is only supported for `AuthzExtension` resources. + * (Value: "EXT_AUTHZ_GRPC") * @arg @c kGTLRNetworkServices_AuthzExtension_WireFormat_ExtProcGrpc The * extension service uses ext_proc gRPC API over a gRPC stream. This is * the default value if the wire format is not specified. The backend @@ -1555,7 +1568,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** * Required. One or more port numbers (1-65535), on which the Gateway will * receive traffic. The proxy binds to the specified ports. Gateways of type - * 'SECURE_WEB_GATEWAY' are limited to 1 port. Gateways of type 'OPEN_MESH' + * 'SECURE_WEB_GATEWAY' are limited to 5 ports. Gateways of type 'OPEN_MESH' * listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports. * * Uses NSNumber of intValue. @@ -4916,7 +4929,7 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL @property(nonatomic, strong, nullable) NSNumber *enable; /** - * Non-empty default. Specificies the lowest level of the plugin logs that are + * Non-empty default. Specifies the lowest level of the plugin logs that are * exported to Cloud Logging. This setting relates to the logs generated by * using logging statements in your Wasm code. This field is can be set only if * logging is enabled for the plugin. If the field is not provided when logging @@ -4989,18 +5002,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Output only. The resolved digest for the image specified in the `image` - * field. The digest is resolved during the creation of `WasmPluginVersion` - * resource. This field holds the digest value, regardless of whether a tag or - * digest was originally specified in the `image` field. + * Output only. This field holds the digest (usually checksum) value for the + * plugin image. The value is calculated based on the `image_uri` field. If the + * `image_uri` field refers to a container image, the digest value is obtained + * from the container image. If the `image_uri` field refers to a generic + * artifact, the digest value is calculated based on the contents of the file. */ @property(nonatomic, copy, nullable) NSString *imageDigest; /** - * Optional. URI of the container image containing the plugin, stored in the - * Artifact Registry. When a new `WasmPluginVersion` resource is created, the - * digest of the container image is saved in the `image_digest` field. When - * downloading an image, the digest value is used instead of an image tag. + * Optional. URI of the image containing the Wasm module, stored in Artifact + * Registry. The URI can refer to one of the following repository formats: * + * Container images: the `image_uri` must point to a container that contains a + * single file with the name `plugin.wasm`. When a new `WasmPluginVersion` + * resource is created, the digest of the image is saved in the `image_digest` + * field. When pulling a container image from Artifact Registry, the digest + * value is used instead of an image tag. * Generic artifacts: the `image_uri` + * must be in this format: + * `projects/{project}/locations/{location}/repositories/{repository}/ + * genericArtifacts/{package}:{version}`. The specified package and version + * must contain a file with the name `plugin.wasm`. When a new + * `WasmPluginVersion` resource is created, the checksum of the contents of the + * file is saved in the `image_digest` field. */ @property(nonatomic, copy, nullable) NSString *imageUri; @@ -5030,18 +5053,26 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** * Output only. This field holds the digest (usually checksum) value for the * plugin configuration. The value is calculated based on the contents of - * `plugin_config_data` or the container image defined by the - * `plugin_config_uri` field. + * `plugin_config_data` field or the image defined by the `plugin_config_uri` + * field. */ @property(nonatomic, copy, nullable) NSString *pluginConfigDigest; /** * URI of the plugin configuration stored in the Artifact Registry. The * configuration is provided to the plugin at runtime through the - * `ON_CONFIGURE` callback. The container image must contain only a single file - * with the name `plugin.config`. When a new `WasmPluginVersion` resource is - * created, the digest of the container image is saved in the - * `plugin_config_digest` field. + * `ON_CONFIGURE` callback. The URI can refer to one of the following + * repository formats: * Container images: the `plugin_config_uri` must point + * to a container that contains a single file with the name `plugin.config`. + * When a new `WasmPluginVersion` resource is created, the digest of the image + * is saved in the `plugin_config_digest` field. When pulling a container image + * from Artifact Registry, the digest value is used instead of an image tag. * + * Generic artifacts: the `plugin_config_uri` must be in this format: + * `projects/{project}/locations/{location}/repositories/{repository}/ + * genericArtifacts/{package}:{version}`. The specified package and version + * must contain a file with the name `plugin.config`. When a new + * `WasmPluginVersion` resource is created, the checksum of the contents of the + * file is saved in the `plugin_config_digest` field. */ @property(nonatomic, copy, nullable) NSString *pluginConfigUri; @@ -5080,19 +5111,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL @property(nonatomic, copy, nullable) NSString *descriptionProperty; /** - * Output only. The resolved digest for the image specified in `image`. The - * digest is resolved during the creation of a `WasmPluginVersion` resource. - * This field holds the digest value regardless of whether a tag or digest was - * originally specified in the `image` field. + * Output only. This field holds the digest (usually checksum) value for the + * plugin image. The value is calculated based on the `image_uri` field. If the + * `image_uri` field refers to a container image, the digest value is obtained + * from the container image. If the `image_uri` field refers to a generic + * artifact, the digest value is calculated based on the contents of the file. */ @property(nonatomic, copy, nullable) NSString *imageDigest; /** - * Optional. URI of the container image containing the Wasm module, stored in - * the Artifact Registry. The container image must contain only a single file - * with the name `plugin.wasm`. When a new `WasmPluginVersion` resource is - * created, the URI gets resolved to an image digest and saved in the - * `image_digest` field. + * Optional. URI of the image containing the Wasm module, stored in Artifact + * Registry. The URI can refer to one of the following repository formats: * + * Container images: the `image_uri` must point to a container that contains a + * single file with the name `plugin.wasm`. When a new `WasmPluginVersion` + * resource is created, the digest of the image is saved in the `image_digest` + * field. When pulling a container image from Artifact Registry, the digest + * value is used instead of an image tag. * Generic artifacts: the `image_uri` + * must be in this format: + * `projects/{project}/locations/{location}/repositories/{repository}/ + * genericArtifacts/{package}:{version}`. The specified package and version + * must contain a file with the name `plugin.wasm`. When a new + * `WasmPluginVersion` resource is created, the checksum of the contents of the + * file is saved in the `image_digest` field. */ @property(nonatomic, copy, nullable) NSString *imageUri; @@ -5114,19 +5154,27 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkServices_WasmPluginLogConfig_MinL /** * Output only. This field holds the digest (usually checksum) value for the - * plugin configuration. The value is calculated based on the contents of the - * `plugin_config_data` field or the container image defined by the - * `plugin_config_uri` field. + * plugin configuration. The value is calculated based on the contents of + * `plugin_config_data` field or the image defined by the `plugin_config_uri` + * field. */ @property(nonatomic, copy, nullable) NSString *pluginConfigDigest; /** * URI of the plugin configuration stored in the Artifact Registry. The * configuration is provided to the plugin at runtime through the - * `ON_CONFIGURE` callback. The container image must contain only a single file - * with the name `plugin.config`. When a new `WasmPluginVersion` resource is - * created, the digest of the container image is saved in the - * `plugin_config_digest` field. + * `ON_CONFIGURE` callback. The URI can refer to one of the following + * repository formats: * Container images: the `plugin_config_uri` must point + * to a container that contains a single file with the name `plugin.config`. + * When a new `WasmPluginVersion` resource is created, the digest of the image + * is saved in the `plugin_config_digest` field. When pulling a container image + * from Artifact Registry, the digest value is used instead of an image tag. * + * Generic artifacts: the `plugin_config_uri` must be in this format: + * `projects/{project}/locations/{location}/repositories/{repository}/ + * genericArtifacts/{package}:{version}`. The specified package and version + * must contain a file with the name `plugin.config`. When a new + * `WasmPluginVersion` resource is created, the checksum of the contents of the + * file is saved in the `plugin_config_digest` field. */ @property(nonatomic, copy, nullable) NSString *pluginConfigUri; diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m index 5572d8c98..f3d814b0c 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityObjects.m @@ -58,6 +58,11 @@ NSString * const kGTLRNetworkconnectivity_ConsumerPscConnection_State_Failed = @"FAILED"; NSString * const kGTLRNetworkconnectivity_ConsumerPscConnection_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRNetworkconnectivity_DestinationEndpoint.state +NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid = @"INVALID"; +NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Valid = @"VALID"; + // GTLRNetworkconnectivity_Filter.protocolVersion NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv4 = @"IPV4"; NSString * const kGTLRNetworkconnectivity_Filter_ProtocolVersion_Ipv6 = @"IPV6"; @@ -191,6 +196,12 @@ NSString * const kGTLRNetworkconnectivity_RouteTable_State_StateUnspecified = @"STATE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_RouteTable_State_Updating = @"UPDATING"; +// GTLRNetworkconnectivity_ServiceConfig.eligibilityCriteria +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified = @"ELIGIBILITY_CRITERIA_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly = @"NETWORK_SERVICE_TIER_PREMIUM_ONLY"; +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly = @"NETWORK_SERVICE_TIER_STANDARD_ONLY"; +NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_RequestEndpointRegionalEndpointOnly = @"REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY"; + // GTLRNetworkconnectivity_ServiceConnectionMap.infrastructure NSString * const kGTLRNetworkconnectivity_ServiceConnectionMap_Infrastructure_InfrastructureUnspecified = @"INFRASTRUCTURE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_ServiceConnectionMap_Infrastructure_Psc = @"PSC"; @@ -249,6 +260,14 @@ NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_SpokeType_VpcNetwork = @"VPC_NETWORK"; NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_SpokeType_VpnTunnel = @"VPN_TUNNEL"; +// GTLRNetworkconnectivity_StateMetadata.state +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Active = @"ACTIVE"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Adding = @"ADDING"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Deleting = @"DELETING"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspended = @"SUSPENDED"; +NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspending = @"SUSPENDING"; + // GTLRNetworkconnectivity_StateReason.code NSString * const kGTLRNetworkconnectivity_StateReason_Code_CodeUnspecified = @"CODE_UNSPECIFIED"; NSString * const kGTLRNetworkconnectivity_StateReason_Code_Failed = @"FAILED"; @@ -443,6 +462,57 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_Destination +// + +@implementation GTLRNetworkconnectivity_Destination +@dynamic createTime, descriptionProperty, endpoints, ETag, ipPrefix, labels, + name, stateTimeline, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"endpoints" : [GTLRNetworkconnectivity_DestinationEndpoint class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_Destination_Labels +// + +@implementation GTLRNetworkconnectivity_Destination_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_DestinationEndpoint +// + +@implementation GTLRNetworkconnectivity_DestinationEndpoint +@dynamic asn, csp, state, updateTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_Empty @@ -835,6 +905,29 @@ @implementation GTLRNetworkconnectivity_LinkedVpnTunnels @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListDestinationsResponse +// + +@implementation GTLRNetworkconnectivity_ListDestinationsResponse +@dynamic destinations, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"destinations" : [GTLRNetworkconnectivity_Destination class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"destinations"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_ListGroupsResponse @@ -949,6 +1042,51 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse +// + +@implementation GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse +@dynamic multicloudDataTransferConfigs, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"multicloudDataTransferConfigs" : [GTLRNetworkconnectivity_MulticloudDataTransferConfig class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"multicloudDataTransferConfigs"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse +// + +@implementation GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse +@dynamic multicloudDataTransferSupportedServices, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"multicloudDataTransferSupportedServices" : [GTLRNetworkconnectivity_MulticloudDataTransferSupportedService class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"multicloudDataTransferSupportedServices"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_ListPolicyBasedRoutesResponse @@ -1222,6 +1360,72 @@ @implementation GTLRNetworkconnectivity_Migration @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferConfig +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferConfig +@dynamic createTime, descriptionProperty, destinationsActiveCount, + destinationsCount, ETag, labels, name, services, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services + ++ (Class)classForAdditionalProperties { + return [GTLRNetworkconnectivity_StateTimeline class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_MulticloudDataTransferSupportedService +// + +@implementation GTLRNetworkconnectivity_MulticloudDataTransferSupportedService +@dynamic name, serviceConfigs; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"serviceConfigs" : [GTLRNetworkconnectivity_ServiceConfig class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_NextHopInterconnectAttachment @@ -1616,6 +1820,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_ServiceConfig +// + +@implementation GTLRNetworkconnectivity_ServiceConfig +@dynamic eligibilityCriteria, supportEndTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_ServiceConnectionMap @@ -1839,6 +2053,16 @@ @implementation GTLRNetworkconnectivity_SpokeTypeCount @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_StateMetadata +// + +@implementation GTLRNetworkconnectivity_StateMetadata +@dynamic effectiveTime, state; +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_StateReason @@ -1849,6 +2073,24 @@ @implementation GTLRNetworkconnectivity_StateReason @end +// ---------------------------------------------------------------------------- +// +// GTLRNetworkconnectivity_StateTimeline +// + +@implementation GTLRNetworkconnectivity_StateTimeline +@dynamic states; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"states" : [GTLRNetworkconnectivity_StateMetadata class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRNetworkconnectivity_TestIamPermissionsRequest diff --git a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m index b45c6dc05..525fc3843 100644 --- a/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m +++ b/Sources/GeneratedServices/Networkconnectivity/GTLRNetworkconnectivityQuery.m @@ -981,6 +981,274 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate + +@dynamic multicloudDataTransferConfigId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)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}/multicloudDataTransferConfigs"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.create"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete + +@dynamic ETag, name, requestId; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.delete"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate + +@dynamic destinationId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)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}/destinations"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.create"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete + +@dynamic ETag, name, requestId; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.delete"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_Destination class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, returnPartialSuccess; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/destinations"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListDestinationsResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.list"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.patch"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_MulticloudDataTransferConfig class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList + +@dynamic filter, orderBy, pageSize, pageToken, parent, returnPartialSuccess; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/multicloudDataTransferConfigs"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.list"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)object + name:(NSString *)name { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_GoogleLongrunningOperation class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferConfigs.patch"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRNetworkconnectivity_MulticloudDataTransferSupportedService class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.get"; + return query; +} + +@end + +@implementation GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/multicloudDataTransferSupportedServices"; + GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse class]; + query.loggingName = @"networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.list"; + return query; +} + +@end + @implementation GTLRNetworkconnectivityQuery_ProjectsLocationsOperationsCancel @dynamic name; diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h index 32bc6f2e8..889bd7b6b 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityObjects.h @@ -24,6 +24,9 @@ @class GTLRNetworkconnectivity_ConsumerPscConfig_ServiceAttachmentIpAddressMap; @class GTLRNetworkconnectivity_ConsumerPscConnection; @class GTLRNetworkconnectivity_ConsumerPscConnection_ProducerInstanceMetadata; +@class GTLRNetworkconnectivity_Destination; +@class GTLRNetworkconnectivity_Destination_Labels; +@class GTLRNetworkconnectivity_DestinationEndpoint; @class GTLRNetworkconnectivity_Expr; @class GTLRNetworkconnectivity_Filter; @class GTLRNetworkconnectivity_GoogleLongrunningOperation; @@ -50,6 +53,10 @@ @class GTLRNetworkconnectivity_Location_Labels; @class GTLRNetworkconnectivity_Location_Metadata; @class GTLRNetworkconnectivity_Migration; +@class GTLRNetworkconnectivity_MulticloudDataTransferConfig; +@class GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels; +@class GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services; +@class GTLRNetworkconnectivity_MulticloudDataTransferSupportedService; @class GTLRNetworkconnectivity_NextHopInterconnectAttachment; @class GTLRNetworkconnectivity_NextHopRouterApplianceInstance; @class GTLRNetworkconnectivity_NextHopSpoke; @@ -73,6 +80,7 @@ @class GTLRNetworkconnectivity_RoutingVPC; @class GTLRNetworkconnectivity_ServiceClass; @class GTLRNetworkconnectivity_ServiceClass_Labels; +@class GTLRNetworkconnectivity_ServiceConfig; @class GTLRNetworkconnectivity_ServiceConnectionMap; @class GTLRNetworkconnectivity_ServiceConnectionMap_Labels; @class GTLRNetworkconnectivity_ServiceConnectionPolicy; @@ -85,7 +93,9 @@ @class GTLRNetworkconnectivity_SpokeStateReasonCount; @class GTLRNetworkconnectivity_SpokeSummary; @class GTLRNetworkconnectivity_SpokeTypeCount; +@class GTLRNetworkconnectivity_StateMetadata; @class GTLRNetworkconnectivity_StateReason; +@class GTLRNetworkconnectivity_StateTimeline; @class GTLRNetworkconnectivity_VirtualMachine; @class GTLRNetworkconnectivity_Warnings; @class GTLRNetworkconnectivity_Warnings_Data; @@ -334,6 +344,28 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ConsumerPscConnectio */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ConsumerPscConnection_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_DestinationEndpoint.state + +/** + * The Endpoint is invalid. + * + * Value: "INVALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid; +/** + * An invalid state as the default case. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified; +/** + * The Endpoint is valid. + * + * Value: "VALID" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_DestinationEndpoint_State_Valid; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_Filter.protocolVersion @@ -1045,6 +1077,37 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_RouteTable_State_Sta */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_RouteTable_State_Updating; +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_ServiceConfig.eligibilityCriteria + +/** + * An invalid eligibility criteria as the default case. + * + * Value: "ELIGIBILITY_CRITERIA_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified; +/** + * The service is eligible for multicloud data transfer only for the premium + * network tier. + * + * Value: "NETWORK_SERVICE_TIER_PREMIUM_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly; +/** + * The service is eligible for multicloud data transfer only for the standard + * network tier. + * + * Value: "NETWORK_SERVICE_TIER_STANDARD_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly; +/** + * The service is eligible for multicloud data transfer only for the regional + * endpoint. + * + * Value: "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_RequestEndpointRegionalEndpointOnly; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_ServiceConnectionMap.infrastructure @@ -1344,6 +1407,46 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_Spoke */ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_SpokeTypeCount_SpokeType_VpnTunnel; +// ---------------------------------------------------------------------------- +// GTLRNetworkconnectivity_StateMetadata.state + +/** + * The resource is in use. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Active; +/** + * The resource is being added. + * + * Value: "ADDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Adding; +/** + * The resource is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Deleting; +/** + * An invalid state as the default case. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified; +/** + * The resource is not in use for billing and is suspended. + * + * Value: "SUSPENDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspended; +/** + * The resource is being suspended. + * + * Value: "SUSPENDING" + */ +FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_StateMetadata_State_Suspending; + // ---------------------------------------------------------------------------- // GTLRNetworkconnectivity_StateReason.code @@ -1974,6 +2077,120 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The Destination resource. + */ +@interface GTLRNetworkconnectivity_Destination : GTLRObject + +/** Output only. Time when the Destination was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. An optional field to provide a description of this resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Required. Unordered list. The list of Endpoints configured for the IP + * Prefix. + */ +@property(nonatomic, strong, nullable) NSArray *endpoints; + +/** + * The etag is computed by the server, and may be sent on update and delete + * requests to ensure the client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Immutable. Remote IP Prefix in the remote CSP, where the + * customer's workload is located + */ +@property(nonatomic, copy, nullable) NSString *ipPrefix; + +/** Optional. User-defined labels. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_Destination_Labels *labels; + +/** + * Identifier. The name of the Destination resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. The timeline of the expected Destination states or the current + * rest state. If a state change is expected, the value will be the list of + * ADDING, DELETING or SUSPENDING statesdepending on the actions taken. + * Example: "state_timeline": { "states": [ { "state": "ADDING", // The time + * when the Destination will be activated. "effective_time": + * "2024-12-01T08:00:00Z" }, { "state": "SUSPENDING", // The time when the + * Destination will be suspended. "effective_time": "2024-12-01T20:00:00Z" } ] + * } + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_StateTimeline *stateTimeline; + +/** + * Output only. The Google-generated UUID for the destination. This value is + * unique across all destination resources. If a destination is deleted and + * another with the same name is created, the new destination is assigned a + * different uid. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time when the Destination was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User-defined 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 GTLRNetworkconnectivity_Destination_Labels : GTLRObject +@end + + +/** + * The metadata for a DestinationEndpoint. + */ +@interface GTLRNetworkconnectivity_DestinationEndpoint : GTLRObject + +/** + * Required. The ASN of the remote IP Prefix. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *asn; + +/** Required. The name of the CSP of the remote IP Prefix. */ +@property(nonatomic, copy, nullable) NSString *csp; + +/** + * Output only. The state of the Endpoint. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_Invalid The + * Endpoint is invalid. (Value: "INVALID") + * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_StateUnspecified + * An invalid state as the default case. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_DestinationEndpoint_State_Valid The + * Endpoint is valid. (Value: "VALID") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Output only. Time when the DestinationEndpoint was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@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 @@ -2712,10 +2929,11 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin /** * Optional. Can be set to narrow down or pick a different address space while - * searching for a free range. If not set, defaults to the "10.0.0.0/8" address - * space. This can be used to search in other rfc-1918 address spaces like - * "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918 address spaces used in - * the VPC. + * searching for a free range. If not set, defaults to the ["10.0.0.0/8", + * "172.16.0.0/12", "192.168.0.0/16"] address space (for auto-mode networks, + * the "10.0.0.0/9" range is used instead of "10.0.0.0/8"). This can be used to + * target the search in other rfc-1918 address spaces like "172.16.0.0/12" and + * "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC. */ @property(nonatomic, strong, nullable) NSArray *targetCidrRange; @@ -2782,9 +3000,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @interface GTLRNetworkconnectivity_LinkedInterconnectAttachments : GTLRObject /** - * Optional. IP ranges allowed to be included during import from hub (does not - * control transit connectivity). The only allowed value for now is - * "ALL_IPV4_RANGES". + * Optional. Hub routes fully encompassed by include import ranges are included + * during import from hub. */ @property(nonatomic, strong, nullable) NSArray *includeImportRanges; @@ -2862,9 +3079,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @interface GTLRNetworkconnectivity_LinkedRouterApplianceInstances : GTLRObject /** - * Optional. IP ranges allowed to be included during import from hub (does not - * control transit connectivity). The only allowed value for now is - * "ALL_IPV4_RANGES". + * Optional. Hub routes fully encompassed by include import ranges are included + * during import from hub. */ @property(nonatomic, strong, nullable) NSArray *includeImportRanges; @@ -2940,9 +3156,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @interface GTLRNetworkconnectivity_LinkedVpnTunnels : GTLRObject /** - * Optional. IP ranges allowed to be included during import from hub (does not - * control transit connectivity). The only allowed value for now is - * "ALL_IPV4_RANGES". + * Optional. Hub routes fully encompassed by include import ranges are included + * during import from hub. */ @property(nonatomic, strong, nullable) NSArray *includeImportRanges; @@ -2964,6 +3179,33 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Response message for ListDestinations. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "destinations" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRNetworkconnectivity_ListDestinationsResponse : GTLRCollectionObject + +/** + * Destinations to be returned. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *destinations; + +/** The next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * Response for HubService.ListGroups method. * @@ -3112,6 +3354,57 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Response message for ListMulticloudDataTransferConfigs. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "multicloudDataTransferConfigs" property. If returned as the + * result of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse : GTLRCollectionObject + +/** + * MulticloudDataTransferConfigs to be returned. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *multicloudDataTransferConfigs; + +/** The next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Response message for ListMulticloudDataTransferSupportedServices. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "multicloudDataTransferSupportedServices" property. If returned as + * the result of a query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse : GTLRCollectionObject + +/** + * The list of supported services. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *multicloudDataTransferSupportedServices; + +/** The next page token. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + /** * Response for PolicyBasedRoutingService.ListPolicyBasedRoutes method. * @@ -3480,6 +3773,122 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The MulticloudDataTransferConfig resource. This lists the services for which + * customer is opting in for Multicloud Data Transfer. + */ +@interface GTLRNetworkconnectivity_MulticloudDataTransferConfig : GTLRObject + +/** Output only. Time when the MulticloudDataTransferConfig was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. An optional field to provide a description of this resource. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Output only. The number of Destinations in use under the + * MulticloudDataTransferConfig resource. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *destinationsActiveCount; + +/** + * Output only. The number of Destinations configured under the + * MulticloudDataTransferConfig resource. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *destinationsCount; + +/** + * The etag is computed by the server, and may be sent on update and delete + * requests to ensure the client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Optional. User-defined labels. */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels *labels; + +/** + * Identifier. The name of the MulticloudDataTransferConfig resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. This map services to either their current or planned states. + * Service names are keys, and the associated values describe the service's + * state. If a state change is expected, the value will be the list of ADDING + * or DELETING states depending on the actions taken. Example: "services": { + * "big-query": { "states": [ { "state": "ADDING", "effective_time": + * "2024-12-12T08:00:00Z" }, ] }, "cloud-storage": { "states": [ { "state": + * "ACTIVE", } ] } } + */ +@property(nonatomic, strong, nullable) GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services *services; + +/** + * Output only. The Google-generated UUID for the MulticloudDataTransferConfig. + * This value is unique across all MulticloudDataTransferConfig resources. If a + * MulticloudDataTransferConfig is deleted and another with the same name is + * created, the new MulticloudDataTransferConfig is assigned a different uid. + */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Time when the MulticloudDataTransferConfig was updated. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User-defined 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 GTLRNetworkconnectivity_MulticloudDataTransferConfig_Labels : GTLRObject +@end + + +/** + * Optional. This map services to either their current or planned states. + * Service names are keys, and the associated values describe the service's + * state. If a state change is expected, the value will be the list of ADDING + * or DELETING states depending on the actions taken. Example: "services": { + * "big-query": { "states": [ { "state": "ADDING", "effective_time": + * "2024-12-12T08:00:00Z" }, ] }, "cloud-storage": { "states": [ { "state": + * "ACTIVE", } ] } } + * + * @note This class is documented as having more properties of + * GTLRNetworkconnectivity_StateTimeline. Use @c -additionalJSONKeys and + * @c -additionalPropertyForName: to get the list of properties and then + * fetch them; or @c -additionalProperties to fetch them all at once. + */ +@interface GTLRNetworkconnectivity_MulticloudDataTransferConfig_Services : GTLRObject +@end + + +/** + * The supported service for Multicloud Data Transfer. + */ +@interface GTLRNetworkconnectivity_MulticloudDataTransferSupportedService : GTLRObject + +/** Identifier. The name of the service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The network service tiers supported for the service. */ +@property(nonatomic, strong, nullable) NSArray *serviceConfigs; + +@end + + /** * A route next hop that leads to an interconnect attachment resource. */ @@ -4626,6 +5035,44 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * Specifies the Multicloud Data Transfer supported services configuration. + * This includes either the network tier or the request endpoint. If end of + * support for multicloud data transfer is planned for a service's network tier + * or request endpoint, the end time will be provided. + */ +@interface GTLRNetworkconnectivity_ServiceConfig : GTLRObject + +/** + * Output only. The eligibility criteria for the service. The user has to meet + * the eligibility criteria specified here for the service to qualify for + * multicloud data transfer. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_EligibilityCriteriaUnspecified + * An invalid eligibility criteria as the default case. (Value: + * "ELIGIBILITY_CRITERIA_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierPremiumOnly + * The service is eligible for multicloud data transfer only for the + * premium network tier. (Value: "NETWORK_SERVICE_TIER_PREMIUM_ONLY") + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_NetworkServiceTierStandardOnly + * The service is eligible for multicloud data transfer only for the + * standard network tier. (Value: "NETWORK_SERVICE_TIER_STANDARD_ONLY") + * @arg @c kGTLRNetworkconnectivity_ServiceConfig_EligibilityCriteria_RequestEndpointRegionalEndpointOnly + * The service is eligible for multicloud data transfer only for the + * regional endpoint. (Value: "REQUEST_ENDPOINT_REGIONAL_ENDPOINT_ONLY") + */ +@property(nonatomic, copy, nullable) NSString *eligibilityCriteria; + +/** + * Output only. The eligibility criteria support end time. If the end time is + * not specified, no planned end time is available. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *supportEndTime; + +@end + + /** * The ServiceConnectionMap resource. */ @@ -5197,6 +5644,44 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The state and activation time details of the resource state. + */ +@interface GTLRNetworkconnectivity_StateMetadata : GTLRObject + +/** + * Output only. This field will be accompanied only with transient states + * (PENDING_ADD, PENDING_DELETE, PENDING_SUSPENSION) and denotes the time when + * the transient state of the resource will be effective. For instance, if the + * state is "ADDING," this field will show the time the resource transitions to + * "ACTIVE." Similarly, if the state is "PENDING_DELETE," it will show the + * deletion time. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *effectiveTime; + +/** + * Output only. The state of the resource. + * + * Likely values: + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Active The resource + * is in use. (Value: "ACTIVE") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Adding The resource + * is being added. (Value: "ADDING") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Deleting The resource + * is being deleted. (Value: "DELETING") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_StateUnspecified An + * invalid state as the default case. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Suspended The + * resource is not in use for billing and is suspended. (Value: + * "SUSPENDED") + * @arg @c kGTLRNetworkconnectivity_StateMetadata_State_Suspending The + * resource is being suspended. (Value: "SUSPENDING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * The reason a spoke is inactive. */ @@ -5238,6 +5723,19 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivity_Warnings_Code_Warnin @end +/** + * The timeline of pending states for a resource. + */ +@interface GTLRNetworkconnectivity_StateTimeline : GTLRObject + +/** + * Output only. The state and activation time details of the resource state. + */ +@property(nonatomic, strong, nullable) NSArray *states; + +@end + + /** * Request message for `TestIamPermissions` method. */ diff --git a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h index e5b78c50d..0d78f5cb1 100644 --- a/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h +++ b/Sources/GeneratedServices/Networkconnectivity/Public/GoogleAPIClientForREST/GTLRNetworkconnectivityQuery.h @@ -1766,8 +1766,8 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @interface GTLRNetworkconnectivityQuery_ProjectsLocationsList : GTLRNetworkconnectivityQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -1810,6 +1810,549 @@ FOUNDATION_EXTERN NSString * const kGTLRNetworkconnectivityViewSpokeViewUnspecif @end +/** + * Creates a MulticloudDataTransferConfig in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate : GTLRNetworkconnectivityQuery + +/** + * Required. The ID to use for the MulticloudDataTransferConfig, which will + * become the final component of the MulticloudDataTransferConfig's resource + * name. + */ +@property(nonatomic, copy, nullable) NSString *multicloudDataTransferConfigId; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate MulticloudDataTransferConfigs. The request ID must be a + * valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Creates a MulticloudDataTransferConfig in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_MulticloudDataTransferConfig to + * include in the query. + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single MulticloudDataTransferConfig. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete : GTLRNetworkconnectivityQuery + +/** + * Optional. The etag is computed by the server, and may be sent on update and + * delete requests to ensure the client has an up-to-date value before + * proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. The name of the MulticloudDataTransferConfig resource to delete. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate MulticloudDataTransferConfigs. The request ID must be a + * valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Deletes a single MulticloudDataTransferConfig. + * + * @param name Required. The name of the MulticloudDataTransferConfig resource + * to delete. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a Destination in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate : GTLRNetworkconnectivityQuery + +/** + * Required. The ID to use for the Destination, which will become the final + * component of the Destination's resource name. + */ +@property(nonatomic, copy, nullable) NSString *destinationId; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate Destinations. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Creates a Destination in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_Destination to include in the + * query. + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsCreate + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Destination. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete : GTLRNetworkconnectivityQuery + +/** + * Optional. The etag is computed by the server, and may be sent on update and + * delete requests to ensure the client has an up-to-date value before + * proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Required. The name of the Destination resource to delete. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Deletes a single Destination. + * + * @param name Required. The name of the Destination resource to delete. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Destination. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet : GTLRNetworkconnectivityQuery + +/** Required. Name of the Destination to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_Destination. + * + * Gets details of a single Destination. + * + * @param name Required. Name of the Destination to get. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Destinations in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList : GTLRNetworkconnectivityQuery + +/** + * Optional. A filter expression that filters the results listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Sort the results by a certain order. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results per page that should be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. The page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource's name */ +@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 GTLRNetworkconnectivity_ListDestinationsResponse. + * + * Lists Destinations in a given project and location. + * + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsList + * + * @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 Destination in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.destinations.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch : GTLRNetworkconnectivityQuery + +/** + * Identifier. The name of the Destination resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * Destination resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. If the user does not provide a mask then + * all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Updates a Destination in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_Destination to include in the + * query. + * @param name Identifier. The name of the Destination resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}`. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsDestinationsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_Destination *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single MulticloudDataTransferConfig. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet : GTLRNetworkconnectivityQuery + +/** Required. Name of the MulticloudDataTransferConfig to get. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_MulticloudDataTransferConfig. + * + * Gets details of a single MulticloudDataTransferConfig. + * + * @param name Required. Name of the MulticloudDataTransferConfig to get. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists MulticloudDataTransferConfigs in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList : GTLRNetworkconnectivityQuery + +/** + * Optional. A filter expression that filters the results listed in the + * response. + */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Sort the results by a certain order. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of results per page that should be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. The page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource's name */ +@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 + * GTLRNetworkconnectivity_ListMulticloudDataTransferConfigsResponse. + * + * Lists MulticloudDataTransferConfigs in a given project and location. + * + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsList + * + * @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 MulticloudDataTransferConfig in a given project and location. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferConfigs.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch : GTLRNetworkconnectivityQuery + +/** + * Identifier. The name of the MulticloudDataTransferConfig resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate MulticloudDataTransferConfigs. The request ID must be a + * valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * MulticloudDataTransferConfig resource by the update. The fields specified in + * the update_mask are relative to the resource, not the full request. A field + * will be overwritten if it is in the mask. If the user does not provide a + * mask then all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRNetworkconnectivity_GoogleLongrunningOperation. + * + * Updates a MulticloudDataTransferConfig in a given project and location. + * + * @param object The @c GTLRNetworkconnectivity_MulticloudDataTransferConfig to + * include in the query. + * @param name Identifier. The name of the MulticloudDataTransferConfig + * resource. Format: + * `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}`. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferConfigsPatch + */ ++ (instancetype)queryWithObject:(GTLRNetworkconnectivity_MulticloudDataTransferConfig *)object + name:(NSString *)name; + +@end + +/** + * Gets details of a single MulticloudDataTransferSupportedServices. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet : GTLRNetworkconnectivityQuery + +/** Required. The name of the service. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRNetworkconnectivity_MulticloudDataTransferSupportedService. + * + * Gets details of a single MulticloudDataTransferSupportedServices. + * + * @param name Required. The name of the service. + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the supported services for Multicloud Data Transfer. This is a + * passthrough method. + * + * Method: networkconnectivity.projects.locations.multicloudDataTransferSupportedServices.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeNetworkconnectivityCloudPlatform + */ +@interface GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList : GTLRNetworkconnectivityQuery + +/** + * Optional. The maximum number of results per page that should be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** Optional. The page token. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. The parent resource's name */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c + * GTLRNetworkconnectivity_ListMulticloudDataTransferSupportedServicesResponse. + * + * Lists the supported services for Multicloud Data Transfer. This is a + * passthrough method. + * + * @param parent Required. The parent resource's name + * + * @return GTLRNetworkconnectivityQuery_ProjectsLocationsMulticloudDataTransferSupportedServicesList + * + * @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 + /** * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not guaranteed. diff --git a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m index 01ccfbce9..a6cff79bd 100644 --- a/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m +++ b/Sources/GeneratedServices/OnDemandScanning/GTLROnDemandScanningObjects.m @@ -493,6 +493,16 @@ @implementation GTLROnDemandScanning_Category @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_CISAKnownExploitedVulnerabilities +// + +@implementation GTLROnDemandScanning_CISAKnownExploitedVulnerabilities +@dynamic knownRansomwareCampaignUse; +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_CloudRepoSourceContext @@ -663,6 +673,16 @@ @implementation GTLROnDemandScanning_EnvelopeSignature @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_ExploitPredictionScoringSystem +// + +@implementation GTLROnDemandScanning_ExploitPredictionScoringSystem +@dynamic percentile, score; +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_File @@ -1498,6 +1518,16 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLROnDemandScanning_Risk +// + +@implementation GTLROnDemandScanning_Risk +@dynamic cisaKev, epss; +@end + + // ---------------------------------------------------------------------------- // // GTLROnDemandScanning_RunDetails @@ -1965,7 +1995,7 @@ @implementation GTLROnDemandScanning_VexAssessment @implementation GTLROnDemandScanning_VulnerabilityOccurrence @dynamic cvssScore, cvssV2, cvssv3, cvssVersion, effectiveSeverity, extraDetails, fixAvailable, longDescription, packageIssue, relatedUrls, - severity, shortDescription, type, vexAssessment; + risk, severity, shortDescription, type, vexAssessment; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h index 7ec93d041..643b94814 100644 --- a/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h +++ b/Sources/GeneratedServices/OnDemandScanning/Public/GoogleAPIClientForREST/GTLROnDemandScanningObjects.h @@ -29,6 +29,7 @@ @class GTLROnDemandScanning_BuildProvenance; @class GTLROnDemandScanning_BuildProvenance_BuildOptions; @class GTLROnDemandScanning_Category; +@class GTLROnDemandScanning_CISAKnownExploitedVulnerabilities; @class GTLROnDemandScanning_CloudRepoSourceContext; @class GTLROnDemandScanning_Command; @class GTLROnDemandScanning_Completeness; @@ -40,6 +41,7 @@ @class GTLROnDemandScanning_DSSEAttestationOccurrence; @class GTLROnDemandScanning_Envelope; @class GTLROnDemandScanning_EnvelopeSignature; +@class GTLROnDemandScanning_ExploitPredictionScoringSystem; @class GTLROnDemandScanning_File; @class GTLROnDemandScanning_File_Digest; @class GTLROnDemandScanning_FileHashes; @@ -98,6 +100,7 @@ @class GTLROnDemandScanning_ResourceDescriptor; @class GTLROnDemandScanning_ResourceDescriptor_Annotations; @class GTLROnDemandScanning_ResourceDescriptor_Digest; +@class GTLROnDemandScanning_Risk; @class GTLROnDemandScanning_RunDetails; @class GTLROnDemandScanning_SbomReferenceIntotoPayload; @class GTLROnDemandScanning_SbomReferenceIntotoPredicate; @@ -1354,6 +1357,20 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * GTLROnDemandScanning_CISAKnownExploitedVulnerabilities + */ +@interface GTLROnDemandScanning_CISAKnownExploitedVulnerabilities : GTLRObject + +/** + * Whether the vulnerability is known to have been leveraged as part of a + * ransomware campaign. + */ +@property(nonatomic, copy, nullable) NSString *knownRansomwareCampaignUse; + +@end + + /** * A CloudRepoSourceContext denotes a particular revision in a Google Cloud * Source Repo. @@ -1849,6 +1866,30 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * GTLROnDemandScanning_ExploitPredictionScoringSystem + */ +@interface GTLROnDemandScanning_ExploitPredictionScoringSystem : GTLRObject + +/** + * The percentile of the current score, the proportion of all scored + * vulnerabilities with the same or a lower EPSS score + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *percentile; + +/** + * The EPSS score representing the probability [0-1] of exploitation in the + * wild in the next 30 days + * + * Uses NSNumber of doubleValue. + */ +@property(nonatomic, strong, nullable) NSNumber *score; + +@end + + /** * GTLROnDemandScanning_File */ @@ -3314,6 +3355,26 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence @end +/** + * GTLROnDemandScanning_Risk + */ +@interface GTLROnDemandScanning_Risk : GTLRObject + +/** + * CISA maintains the authoritative source of vulnerabilities that have been + * exploited in the wild. + */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_CISAKnownExploitedVulnerabilities *cisaKev; + +/** + * The Exploit Prediction Scoring System (EPSS) estimates the likelihood + * (probability) that a software vulnerability will be exploited in the wild. + */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_ExploitPredictionScoringSystem *epss; + +@end + + /** * GTLROnDemandScanning_RunDetails */ @@ -4227,6 +4288,9 @@ FOUNDATION_EXTERN NSString * const kGTLROnDemandScanning_VulnerabilityOccurrence /** Output only. URLs related to this vulnerability. */ @property(nonatomic, strong, nullable) NSArray *relatedUrls; +/** Risk information about the vulnerability, such as CISA, EPSS, etc. */ +@property(nonatomic, strong, nullable) GTLROnDemandScanning_Risk *risk; + /** * Output only. The note provider assigned severity of this vulnerability. * diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m index dc3281b2b..6283d3186 100644 --- a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseObjects.m @@ -312,6 +312,25 @@ NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_MaintenanceWindowPreferenceUnspecified = @"MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED"; NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_NoPreference = @"NO_PREFERENCE"; +// GTLROracleDatabase_OdbNetwork.state +NSString * const kGTLROracleDatabase_OdbNetwork_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_OdbNetwork_State_Failed = @"FAILED"; +NSString * const kGTLROracleDatabase_OdbNetwork_State_Provisioning = @"PROVISIONING"; +NSString * const kGTLROracleDatabase_OdbNetwork_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_OdbNetwork_State_Terminating = @"TERMINATING"; + +// GTLROracleDatabase_OdbSubnet.purpose +NSString * const kGTLROracleDatabase_OdbSubnet_Purpose_BackupSubnet = @"BACKUP_SUBNET"; +NSString * const kGTLROracleDatabase_OdbSubnet_Purpose_ClientSubnet = @"CLIENT_SUBNET"; +NSString * const kGTLROracleDatabase_OdbSubnet_Purpose_PurposeUnspecified = @"PURPOSE_UNSPECIFIED"; + +// GTLROracleDatabase_OdbSubnet.state +NSString * const kGTLROracleDatabase_OdbSubnet_State_Available = @"AVAILABLE"; +NSString * const kGTLROracleDatabase_OdbSubnet_State_Failed = @"FAILED"; +NSString * const kGTLROracleDatabase_OdbSubnet_State_Provisioning = @"PROVISIONING"; +NSString * const kGTLROracleDatabase_OdbSubnet_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLROracleDatabase_OdbSubnet_State_Terminating = @"TERMINATING"; + // GTLROracleDatabase_ScheduledOperationDetails.dayOfWeek NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_DayOfWeekUnspecified = @"DAY_OF_WEEK_UNSPECIFIED"; NSString * const kGTLROracleDatabase_ScheduledOperationDetails_DayOfWeek_Friday = @"FRIDAY"; @@ -340,7 +359,8 @@ @implementation GTLROracleDatabase_AllConnectionStrings @implementation GTLROracleDatabase_AutonomousDatabase @dynamic adminPassword, cidr, createTime, database, disasterRecoverySupportedLocations, displayName, entitlementId, labels, - name, network, peerAutonomousDatabases, properties, sourceConfig; + name, network, odbNetwork, odbSubnet, peerAutonomousDatabases, + properties, sourceConfig; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -595,8 +615,9 @@ @implementation GTLROracleDatabase_CloudExadataInfrastructureProperties // @implementation GTLROracleDatabase_CloudVmCluster -@dynamic backupSubnetCidr, cidr, createTime, displayName, exadataInfrastructure, - gcpOracleZone, labels, name, network, properties; +@dynamic backupOdbSubnet, backupSubnetCidr, cidr, createTime, displayName, + exadataInfrastructure, gcpOracleZone, labels, name, network, + odbNetwork, odbSubnet, properties; @end @@ -688,8 +709,8 @@ @implementation GTLROracleDatabase_DbNode // @implementation GTLROracleDatabase_DbNodeProperties -@dynamic dbNodeStorageSizeGb, dbServerOcid, hostname, memorySizeGb, ocid, - ocpuCount, state, totalCpuCoreCount; +@dynamic createTime, dbNodeStorageSizeGb, dbServerOcid, hostname, memorySizeGb, + ocid, ocpuCount, state, totalCpuCoreCount; @end @@ -1049,6 +1070,52 @@ + (NSString *)collectionItemsKey { @end +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListOdbNetworksResponse +// + +@implementation GTLROracleDatabase_ListOdbNetworksResponse +@dynamic nextPageToken, odbNetworks, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"odbNetworks" : [GTLROracleDatabase_OdbNetwork class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"odbNetworks"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_ListOdbSubnetsResponse +// + +@implementation GTLROracleDatabase_ListOdbSubnetsResponse +@dynamic nextPageToken, odbSubnets, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"odbSubnets" : [GTLROracleDatabase_OdbSubnet class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"odbSubnets"; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLROracleDatabase_ListOperationsResponse @@ -1150,6 +1217,54 @@ @implementation GTLROracleDatabase_MaintenanceWindow @end +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_OdbNetwork +// + +@implementation GTLROracleDatabase_OdbNetwork +@dynamic createTime, entitlementId, labels, name, network, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_OdbNetwork_Labels +// + +@implementation GTLROracleDatabase_OdbNetwork_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_OdbSubnet +// + +@implementation GTLROracleDatabase_OdbSubnet +@dynamic cidrRange, createTime, labels, name, purpose, state; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLROracleDatabase_OdbSubnet_Labels +// + +@implementation GTLROracleDatabase_OdbSubnet_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLROracleDatabase_Operation diff --git a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m index 5ec332b63..3c011991a 100644 --- a/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m +++ b/Sources/GeneratedServices/OracleDatabase/GTLROracleDatabaseQuery.m @@ -628,6 +628,174 @@ + (instancetype)queryWithName:(NSString *)name { @end +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksCreate + +@dynamic odbNetworkId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_OdbNetwork *)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}/odbNetworks"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.create"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.delete"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_OdbNetwork class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.get"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/odbNetworks"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListOdbNetworksResponse class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.list"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsCreate + +@dynamic odbSubnetId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLROracleDatabase_OdbSubnet *)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}/odbSubnets"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.odbSubnets.create"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_Operation class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.odbSubnets.delete"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLROracleDatabase_OdbSubnet class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.odbSubnets.get"; + return query; +} + +@end + +@implementation GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/odbSubnets"; + GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLROracleDatabase_ListOdbSubnetsResponse class]; + query.loggingName = @"oracledatabase.projects.locations.odbNetworks.odbSubnets.list"; + return query; +} + +@end + @implementation GTLROracleDatabaseQuery_ProjectsLocationsOperationsCancel @dynamic name; diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h index 14f9f676e..d155a247f 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseObjects.h @@ -49,6 +49,10 @@ @class GTLROracleDatabase_Location_Labels; @class GTLROracleDatabase_Location_Metadata; @class GTLROracleDatabase_MaintenanceWindow; +@class GTLROracleDatabase_OdbNetwork; +@class GTLROracleDatabase_OdbNetwork_Labels; +@class GTLROracleDatabase_OdbSubnet; +@class GTLROracleDatabase_OdbSubnet_Labels; @class GTLROracleDatabase_Operation; @class GTLROracleDatabase_Operation_Metadata; @class GTLROracleDatabase_Operation_Response; @@ -1557,6 +1561,96 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Prefere */ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_MaintenanceWindow_Preference_NoPreference; +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_OdbNetwork.state + +/** + * Indicates that the resource is in available state. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbNetwork_State_Available; +/** + * Indicates that the resource is in failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbNetwork_State_Failed; +/** + * Indicates that the resource is in provisioning state. + * + * Value: "PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbNetwork_State_Provisioning; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbNetwork_State_StateUnspecified; +/** + * Indicates that the resource is in terminating state. + * + * Value: "TERMINATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbNetwork_State_Terminating; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_OdbSubnet.purpose + +/** + * Subnet to be used for backup. + * + * Value: "BACKUP_SUBNET" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_Purpose_BackupSubnet; +/** + * Subnet to be used for client connections. + * + * Value: "CLIENT_SUBNET" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_Purpose_ClientSubnet; +/** + * Default unspecified value. + * + * Value: "PURPOSE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_Purpose_PurposeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLROracleDatabase_OdbSubnet.state + +/** + * Indicates that the resource is in available state. + * + * Value: "AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_State_Available; +/** + * Indicates that the resource is in failed state. + * + * Value: "FAILED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_State_Failed; +/** + * Indicates that the resource is in provisioning state. + * + * Value: "PROVISIONING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_State_Provisioning; +/** + * Default unspecified value. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_State_StateUnspecified; +/** + * Indicates that the resource is in terminating state. + * + * Value: "TERMINATING" + */ +FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_OdbSubnet_State_Terminating; + // ---------------------------------------------------------------------------- // GTLROracleDatabase_ScheduledOperationDetails.dayOfWeek @@ -1694,6 +1788,22 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Optional. The name of the OdbNetwork associated with the Autonomous + * Database. Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network} It is + * optional but if specified, this should match the parent ODBNetwork of the + * OdbSubnet. + */ +@property(nonatomic, copy, nullable) NSString *odbNetwork; + +/** + * Optional. The name of the OdbSubnet associated with the Autonomous Database. + * Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} + */ +@property(nonatomic, copy, nullable) NSString *odbSubnet; + /** * Output only. The peer Autonomous Database names of the given Autonomous * Database. @@ -3064,6 +3174,13 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails */ @interface GTLROracleDatabase_CloudVmCluster : GTLRObject +/** + * Optional. The name of the backup OdbSubnet associated with the VM Cluster. + * Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} + */ +@property(nonatomic, copy, nullable) NSString *backupOdbSubnet; + /** Optional. CIDR range of the backup subnet. */ @property(nonatomic, copy, nullable) NSString *backupSubnetCidr; @@ -3104,6 +3221,21 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails */ @property(nonatomic, copy, nullable) NSString *network; +/** + * Optional. The name of the OdbNetwork associated with the VM Cluster. Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network} It is + * optional but if specified, this should match the parent ODBNetwork of the + * odb_subnet and backup_odb_subnet. + */ +@property(nonatomic, copy, nullable) NSString *odbNetwork; + +/** + * Optional. The name of the OdbSubnet associated with the VM Cluster for IP + * allocation. Format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} + */ +@property(nonatomic, copy, nullable) NSString *odbSubnet; + /** Optional. Various properties of the VM Cluster. */ @property(nonatomic, strong, nullable) GTLROracleDatabase_CloudVmClusterProperties *properties; @@ -3521,6 +3653,9 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails */ @interface GTLROracleDatabase_DbNodeProperties : GTLRObject +/** Output only. The date and time that the database node was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + /** * Optional. Local storage per database node. * @@ -4191,6 +4326,66 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails @end +/** + * The response for `OdbNetwork.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "odbNetworks" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLROracleDatabase_ListOdbNetworksResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of ODB Networks. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *odbNetworks; + +/** + * Unreachable locations when listing resources across all locations using + * wildcard location '-'. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response for `OdbSubnet.List`. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "odbSubnets" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLROracleDatabase_ListOdbSubnetsResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of ODB Subnets. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *odbSubnets; + +/** + * Unreachable locations when listing resources across all locations using + * wildcard location '-'. + */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + /** * The response message for Operations.ListOperations. * @@ -4380,6 +4575,132 @@ FOUNDATION_EXTERN NSString * const kGTLROracleDatabase_ScheduledOperationDetails @end +/** + * Represents OdbNetwork resource. + */ +@interface GTLROracleDatabase_OdbNetwork : GTLRObject + +/** Output only. The date and time that the OdbNetwork was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Output only. The ID of the subscription entitlement associated with the + * OdbNetwork. + */ +@property(nonatomic, copy, nullable) NSString *entitlementId; + +/** Optional. Labels or tags associated with the resource. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_OdbNetwork_Labels *labels; + +/** + * Identifier. The name of the OdbNetwork resource in the following format: + * projects/{project}/locations/{region}/odbNetworks/{odb_network} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. The name of the VPC network in the following format: + * projects/{project}/global/networks/{network} + */ +@property(nonatomic, copy, nullable) NSString *network; + +/** + * Output only. State of the ODB Network. + * + * Likely values: + * @arg @c kGTLROracleDatabase_OdbNetwork_State_Available Indicates that the + * resource is in available state. (Value: "AVAILABLE") + * @arg @c kGTLROracleDatabase_OdbNetwork_State_Failed Indicates that the + * resource is in failed state. (Value: "FAILED") + * @arg @c kGTLROracleDatabase_OdbNetwork_State_Provisioning Indicates that + * the resource is in provisioning state. (Value: "PROVISIONING") + * @arg @c kGTLROracleDatabase_OdbNetwork_State_StateUnspecified Default + * unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_OdbNetwork_State_Terminating Indicates that + * the resource is in terminating state. (Value: "TERMINATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Optional. Labels or tags associated with the resource. + * + * @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 GTLROracleDatabase_OdbNetwork_Labels : GTLRObject +@end + + +/** + * Represents OdbSubnet resource. + */ +@interface GTLROracleDatabase_OdbSubnet : GTLRObject + +/** Required. The CIDR range of the subnet. */ +@property(nonatomic, copy, nullable) NSString *cidrRange; + +/** Output only. The date and time that the OdbNetwork was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Optional. Labels or tags associated with the resource. */ +@property(nonatomic, strong, nullable) GTLROracleDatabase_OdbSubnet_Labels *labels; + +/** + * Identifier. The name of the OdbSubnet resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet} + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Purpose of the subnet. + * + * Likely values: + * @arg @c kGTLROracleDatabase_OdbSubnet_Purpose_BackupSubnet Subnet to be + * used for backup. (Value: "BACKUP_SUBNET") + * @arg @c kGTLROracleDatabase_OdbSubnet_Purpose_ClientSubnet Subnet to be + * used for client connections. (Value: "CLIENT_SUBNET") + * @arg @c kGTLROracleDatabase_OdbSubnet_Purpose_PurposeUnspecified Default + * unspecified value. (Value: "PURPOSE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *purpose; + +/** + * Output only. State of the ODB Subnet. + * + * Likely values: + * @arg @c kGTLROracleDatabase_OdbSubnet_State_Available Indicates that the + * resource is in available state. (Value: "AVAILABLE") + * @arg @c kGTLROracleDatabase_OdbSubnet_State_Failed Indicates that the + * resource is in failed state. (Value: "FAILED") + * @arg @c kGTLROracleDatabase_OdbSubnet_State_Provisioning Indicates that + * the resource is in provisioning state. (Value: "PROVISIONING") + * @arg @c kGTLROracleDatabase_OdbSubnet_State_StateUnspecified Default + * unspecified value. (Value: "STATE_UNSPECIFIED") + * @arg @c kGTLROracleDatabase_OdbSubnet_State_Terminating Indicates that the + * resource is in terminating state. (Value: "TERMINATING") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + +/** + * Optional. Labels or tags associated with the resource. + * + * @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 GTLROracleDatabase_OdbSubnet_Labels : GTLRObject +@end + + /** * This resource represents a long-running operation that is the result of a * network API call. diff --git a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h index b8ac0d545..f1e4a744d 100644 --- a/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h +++ b/Sources/GeneratedServices/OracleDatabase/Public/GoogleAPIClientForREST/GTLROracleDatabaseQuery.h @@ -1208,8 +1208,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLROracleDatabaseQuery_ProjectsLocationsList : GTLROracleDatabaseQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; @@ -1252,6 +1252,354 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Creates a new ODB Network in a given project and location. + * + * Method: oracledatabase.projects.locations.odbNetworks.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksCreate : GTLROracleDatabaseQuery + +/** + * Required. The ID of the OdbNetwork to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters + * in length. The value must start with a letter and end with a letter or a + * number. + */ +@property(nonatomic, copy, nullable) NSString *odbNetworkId; + +/** + * Required. The parent value for the OdbNetwork in the following format: + * projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLROracleDatabase_Operation. + * + * Creates a new ODB Network in a given project and location. + * + * @param object The @c GTLROracleDatabase_OdbNetwork to include in the query. + * @param parent Required. The parent value for the OdbNetwork in the following + * format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksCreate + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_OdbNetwork *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single ODB Network. + * + * Method: oracledatabase.projects.locations.odbNetworks.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksDelete : GTLROracleDatabaseQuery + +/** + * Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLROracleDatabase_Operation. + * + * Deletes a single ODB Network. + * + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single ODB Network. + * + * Method: oracledatabase.projects.locations.odbNetworks.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksGet : GTLROracleDatabaseQuery + +/** + * Required. The name of the OdbNetwork in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_OdbNetwork. + * + * Gets details of a single ODB Network. + * + * @param name Required. The name of the OdbNetwork in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists the ODB Networks in a given project and location. + * + * Method: oracledatabase.projects.locations.odbNetworks.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksList : GTLROracleDatabaseQuery + +/** Optional. An expression for filtering the results of the request. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. An expression for ordering the results of the request. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * ODB Networks will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent value for the ODB Network in the following format: + * projects/{project}/locations/{location}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListOdbNetworksResponse. + * + * Lists the ODB Networks in a given project and location. + * + * @param parent Required. The parent value for the ODB Network in the + * following format: projects/{project}/locations/{location}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Creates a new ODB Subnet in a given ODB Network. + * + * Method: oracledatabase.projects.locations.odbNetworks.odbSubnets.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsCreate : GTLROracleDatabaseQuery + +/** + * Required. The ID of the OdbSubnet to create. This value is restricted to + * (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63 characters + * in length. The value must start with a letter and end with a letter or a + * number. + */ +@property(nonatomic, copy, nullable) NSString *odbSubnetId; + +/** + * Required. The parent value for the OdbSubnet in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLROracleDatabase_Operation. + * + * Creates a new ODB Subnet in a given ODB Network. + * + * @param object The @c GTLROracleDatabase_OdbSubnet to include in the query. + * @param parent Required. The parent value for the OdbSubnet in the following + * format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsCreate + */ ++ (instancetype)queryWithObject:(GTLROracleDatabase_OdbSubnet *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single ODB Subnet. + * + * Method: oracledatabase.projects.locations.odbNetworks.odbSubnets.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsDelete : GTLROracleDatabaseQuery + +/** + * Required. The name of the resource in the following format: + * projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional ID to identify the request. This value is used to + * identify duplicate requests. If you make a request with the same request ID + * and the original request is still in progress or completed, the server + * ignores the second request. This prevents clients from accidentally creating + * duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLROracleDatabase_Operation. + * + * Deletes a single ODB Subnet. + * + * @param name Required. The name of the resource in the following format: + * projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single ODB Subnet. + * + * Method: oracledatabase.projects.locations.odbNetworks.odbSubnets.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsGet : GTLROracleDatabaseQuery + +/** + * Required. The name of the OdbSubnet in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLROracleDatabase_OdbSubnet. + * + * Gets details of a single ODB Subnet. + * + * @param name Required. The name of the OdbSubnet in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists all the ODB Subnets in a given ODB Network. + * + * Method: oracledatabase.projects.locations.odbNetworks.odbSubnets.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeOracleDatabaseCloudPlatform + */ +@interface GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsList : GTLROracleDatabaseQuery + +/** Optional. An expression for filtering the results of the request. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. An expression for ordering the results of the request. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. The maximum number of items to return. If unspecified, at most 50 + * ODB Networks will be returned. The maximum value is 1000; values above 1000 + * will be coerced to 1000. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The parent value for the OdbSubnet in the following format: + * projects/{project}/locations/{location}/odbNetworks/{odb_network}. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLROracleDatabase_ListOdbSubnetsResponse. + * + * Lists all the ODB Subnets in a given ODB Network. + * + * @param parent Required. The parent value for the OdbSubnet in the following + * format: projects/{project}/locations/{location}/odbNetworks/{odb_network}. + * + * @return GTLROracleDatabaseQuery_ProjectsLocationsOdbNetworksOdbSubnetsList + * + * @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 + /** * Starts asynchronous cancellation on a long-running operation. The server * makes a best effort to cancel the operation, but success is not guaranteed. diff --git a/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerObjects.m b/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerObjects.m new file mode 100644 index 000000000..bde84b489 --- /dev/null +++ b/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerObjects.m @@ -0,0 +1,201 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Parameter Manager API (parametermanager/v1) +// Description: +// Parameter Manager is a single source of truth to store, access and manage +// the lifecycle of your workload parameters. Parameter Manager aims to make +// management of sensitive application parameters effortless for customers +// without diminishing focus on security. +// Documentation: +// https://cloud.google.com/secret-manager/parameter-manager/docs/overview + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRParameterManager_Parameter.format +NSString * const kGTLRParameterManager_Parameter_Format_Json = @"JSON"; +NSString * const kGTLRParameterManager_Parameter_Format_ParameterFormatUnspecified = @"PARAMETER_FORMAT_UNSPECIFIED"; +NSString * const kGTLRParameterManager_Parameter_Format_Unformatted = @"UNFORMATTED"; +NSString * const kGTLRParameterManager_Parameter_Format_Yaml = @"YAML"; + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_Empty +// + +@implementation GTLRParameterManager_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_ListLocationsResponse +// + +@implementation GTLRParameterManager_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRParameterManager_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_ListParametersResponse +// + +@implementation GTLRParameterManager_ListParametersResponse +@dynamic nextPageToken, parameters, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"parameters" : [GTLRParameterManager_Parameter class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"parameters"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_ListParameterVersionsResponse +// + +@implementation GTLRParameterManager_ListParameterVersionsResponse +@dynamic nextPageToken, parameterVersions, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"parameterVersions" : [GTLRParameterManager_ParameterVersion class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"parameterVersions"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_Location +// + +@implementation GTLRParameterManager_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_Location_Labels +// + +@implementation GTLRParameterManager_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_Location_Metadata +// + +@implementation GTLRParameterManager_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_Parameter +// + +@implementation GTLRParameterManager_Parameter +@dynamic createTime, format, kmsKey, labels, name, policyMember, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_Parameter_Labels +// + +@implementation GTLRParameterManager_Parameter_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_ParameterVersion +// + +@implementation GTLRParameterManager_ParameterVersion +@dynamic createTime, disabled, kmsKeyVersion, name, payload, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_ParameterVersionPayload +// + +@implementation GTLRParameterManager_ParameterVersionPayload +@dynamic data; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_RenderParameterVersionResponse +// + +@implementation GTLRParameterManager_RenderParameterVersionResponse +@dynamic parameterVersion, payload, renderedPayload; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRParameterManager_ResourcePolicyMember +// + +@implementation GTLRParameterManager_ResourcePolicyMember +@dynamic iamPolicyNamePrincipal, iamPolicyUidPrincipal; +@end diff --git a/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerQuery.m b/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerQuery.m new file mode 100644 index 000000000..5c723aaf4 --- /dev/null +++ b/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerQuery.m @@ -0,0 +1,318 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Parameter Manager API (parametermanager/v1) +// Description: +// Parameter Manager is a single source of truth to store, access and manage +// the lifecycle of your workload parameters. Parameter Manager aims to make +// management of sensitive application parameters effortless for customers +// without diminishing focus on security. +// Documentation: +// https://cloud.google.com/secret-manager/parameter-manager/docs/overview + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// view +NSString * const kGTLRParameterManagerViewBasic = @"BASIC"; +NSString * const kGTLRParameterManagerViewFull = @"FULL"; +NSString * const kGTLRParameterManagerViewViewUnspecified = @"VIEW_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// Query Classes +// + +@implementation GTLRParameterManagerQuery + +@dynamic fields; + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRParameterManagerQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_Location class]; + query.loggingName = @"parametermanager.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRParameterManagerQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_ListLocationsResponse class]; + query.loggingName = @"parametermanager.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersCreate + +@dynamic parameterId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRParameterManager_Parameter *)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}/parameters"; + GTLRParameterManagerQuery_ProjectsLocationsParametersCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRParameterManager_Parameter class]; + query.loggingName = @"parametermanager.projects.locations.parameters.create"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRParameterManagerQuery_ProjectsLocationsParametersDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_Empty class]; + query.loggingName = @"parametermanager.projects.locations.parameters.delete"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRParameterManagerQuery_ProjectsLocationsParametersGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_Parameter class]; + query.loggingName = @"parametermanager.projects.locations.parameters.get"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/parameters"; + GTLRParameterManagerQuery_ProjectsLocationsParametersList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRParameterManager_ListParametersResponse class]; + query.loggingName = @"parametermanager.projects.locations.parameters.list"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRParameterManager_Parameter *)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}"; + GTLRParameterManagerQuery_ProjectsLocationsParametersPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_Parameter class]; + query.loggingName = @"parametermanager.projects.locations.parameters.patch"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsCreate + +@dynamic parameterVersionId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRParameterManager_ParameterVersion *)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}/versions"; + GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRParameterManager_ParameterVersion class]; + query.loggingName = @"parametermanager.projects.locations.parameters.versions.create"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_Empty class]; + query.loggingName = @"parametermanager.projects.locations.parameters.versions.delete"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsGet + +@dynamic name, view; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_ParameterVersion class]; + query.loggingName = @"parametermanager.projects.locations.parameters.versions.get"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/versions"; + GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRParameterManager_ListParameterVersionsResponse class]; + query.loggingName = @"parametermanager.projects.locations.parameters.versions.list"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsPatch + +@dynamic name, requestId, updateMask; + ++ (instancetype)queryWithObject:(GTLRParameterManager_ParameterVersion *)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}"; + GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_ParameterVersion class]; + query.loggingName = @"parametermanager.projects.locations.parameters.versions.patch"; + return query; +} + +@end + +@implementation GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsRender + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:render"; + GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsRender *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRParameterManager_RenderParameterVersionResponse class]; + query.loggingName = @"parametermanager.projects.locations.parameters.versions.render"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerService.m b/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerService.m new file mode 100644 index 000000000..114c9a1d0 --- /dev/null +++ b/Sources/GeneratedServices/ParameterManager/GTLRParameterManagerService.m @@ -0,0 +1,38 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Parameter Manager API (parametermanager/v1) +// Description: +// Parameter Manager is a single source of truth to store, access and manage +// the lifecycle of your workload parameters. Parameter Manager aims to make +// management of sensitive application parameters effortless for customers +// without diminishing focus on security. +// Documentation: +// https://cloud.google.com/secret-manager/parameter-manager/docs/overview + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeParameterManagerCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRParameterManagerService +// + +@implementation GTLRParameterManagerService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://parametermanager.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManager.h b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManager.h new file mode 100644 index 000000000..332a2bbb6 --- /dev/null +++ b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManager.h @@ -0,0 +1,16 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Parameter Manager API (parametermanager/v1) +// Description: +// Parameter Manager is a single source of truth to store, access and manage +// the lifecycle of your workload parameters. Parameter Manager aims to make +// management of sensitive application parameters effortless for customers +// without diminishing focus on security. +// Documentation: +// https://cloud.google.com/secret-manager/parameter-manager/docs/overview + +#import "GTLRParameterManagerObjects.h" +#import "GTLRParameterManagerQuery.h" +#import "GTLRParameterManagerService.h" diff --git a/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerObjects.h b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerObjects.h new file mode 100644 index 000000000..3816a7302 --- /dev/null +++ b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerObjects.h @@ -0,0 +1,399 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Parameter Manager API (parametermanager/v1) +// Description: +// Parameter Manager is a single source of truth to store, access and manage +// the lifecycle of your workload parameters. Parameter Manager aims to make +// management of sensitive application parameters effortless for customers +// without diminishing focus on security. +// Documentation: +// https://cloud.google.com/secret-manager/parameter-manager/docs/overview + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +@class GTLRParameterManager_Location; +@class GTLRParameterManager_Location_Labels; +@class GTLRParameterManager_Location_Metadata; +@class GTLRParameterManager_Parameter; +@class GTLRParameterManager_Parameter_Labels; +@class GTLRParameterManager_ParameterVersion; +@class GTLRParameterManager_ParameterVersionPayload; +@class GTLRParameterManager_ResourcePolicyMember; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRParameterManager_Parameter.format + +/** + * JSON format. + * + * Value: "JSON" + */ +FOUNDATION_EXTERN NSString * const kGTLRParameterManager_Parameter_Format_Json; +/** + * The default / unset value. The API will default to the UNFORMATTED format. + * + * Value: "PARAMETER_FORMAT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRParameterManager_Parameter_Format_ParameterFormatUnspecified; +/** + * Unformatted. + * + * Value: "UNFORMATTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRParameterManager_Parameter_Format_Unformatted; +/** + * YAML format. + * + * Value: "YAML" + */ +FOUNDATION_EXTERN NSString * const kGTLRParameterManager_Parameter_Format_Yaml; + +/** + * 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 GTLRParameterManager_Empty : GTLRObject +@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 GTLRParameterManager_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 + + +/** + * Message for response to listing Parameters + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "parameters" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRParameterManager_ListParametersResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of Parameters + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *parameters; + +/** Unordered list. Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * Message for response to listing ParameterVersions + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "parameterVersions" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRParameterManager_ListParameterVersionsResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of ParameterVersions + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *parameterVersions; + +/** Unordered list. Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRParameterManager_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) GTLRParameterManager_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) GTLRParameterManager_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 GTLRParameterManager_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 GTLRParameterManager_Location_Metadata : GTLRObject +@end + + +/** + * Message describing Parameter resource + */ +@interface GTLRParameterManager_Parameter : GTLRObject + +/** Output only. [Output only] Create time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Specifies the format of a Parameter. + * + * Likely values: + * @arg @c kGTLRParameterManager_Parameter_Format_Json JSON format. (Value: + * "JSON") + * @arg @c kGTLRParameterManager_Parameter_Format_ParameterFormatUnspecified + * The default / unset value. The API will default to the UNFORMATTED + * format. (Value: "PARAMETER_FORMAT_UNSPECIFIED") + * @arg @c kGTLRParameterManager_Parameter_Format_Unformatted Unformatted. + * (Value: "UNFORMATTED") + * @arg @c kGTLRParameterManager_Parameter_Format_Yaml YAML format. (Value: + * "YAML") + */ +@property(nonatomic, copy, nullable) NSString *format; + +/** + * Optional. Customer managed encryption key (CMEK) to use for encrypting the + * Parameter Versions. If not set, the default Google-managed encryption key + * will be used. Cloud KMS CryptoKeys must reside in the same location as the + * Parameter. The expected format is `projects/ * /locations/ * /keyRings/ * + * /cryptoKeys/ *`. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + +/** Optional. Labels as key value pairs */ +@property(nonatomic, strong, nullable) GTLRParameterManager_Parameter_Labels *labels; + +/** + * Identifier. [Output only] The resource name of the Parameter in the format + * `projects/ * /locations/ * /parameters/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. [Output-only] policy member strings of a Google Cloud resource. + */ +@property(nonatomic, strong, nullable) GTLRParameterManager_ResourcePolicyMember *policyMember; + +/** Output only. [Output only] Update time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. Labels as key value pairs + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRParameterManager_Parameter_Labels : GTLRObject +@end + + +/** + * Message describing ParameterVersion resource + */ +@interface GTLRParameterManager_ParameterVersion : GTLRObject + +/** Output only. [Output only] Create time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Disabled boolean to determine if a ParameterVersion acts as a + * metadata only resource (payload is never returned if disabled is true). If + * true any calls will always default to BASIC view even if the user explicitly + * passes FULL view as part of the request. A render call on a disabled + * resource fails with an error. Default value is False. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** + * Optional. Output only. [Output only] The resource name of the KMS key + * version used to encrypt the ParameterVersion payload. This field is + * populated only if the Parameter resource has customer managed encryption key + * (CMEK) configured. + */ +@property(nonatomic, copy, nullable) NSString *kmsKeyVersion; + +/** + * Identifier. [Output only] The resource name of the ParameterVersion in the + * format `projects/ * /locations/ * /parameters/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Immutable. Payload content of a ParameterVersion resource. This is + * only returned when the request provides the View value of FULL (default for + * GET request). + */ +@property(nonatomic, strong, nullable) GTLRParameterManager_ParameterVersionPayload *payload; + +/** Output only. [Output only] Update time stamp */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Message for storing a ParameterVersion resource's payload data + */ +@interface GTLRParameterManager_ParameterVersionPayload : GTLRObject + +/** + * Required. bytes data for storing payload. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *data; + +@end + + +/** + * Message describing RenderParameterVersionResponse resource + */ +@interface GTLRParameterManager_RenderParameterVersionResponse : GTLRObject + +/** + * Output only. Resource identifier of a ParameterVersion in the format + * `projects/ * /locations/ * /parameters/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *parameterVersion; + +/** Payload content of a ParameterVersion resource. */ +@property(nonatomic, strong, nullable) GTLRParameterManager_ParameterVersionPayload *payload; + +/** + * Output only. Server generated rendered version of the user provided payload + * data (ParameterVersionPayload) which has substitutions of all (if any) + * references to a SecretManager SecretVersion resources. This substitution + * only works for a Parameter which is in JSON or YAML format. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *renderedPayload; + +@end + + +/** + * Output-only policy member strings of a Google Cloud resource's built-in + * identity. + */ +@interface GTLRParameterManager_ResourcePolicyMember : GTLRObject + +/** + * Output only. IAM policy binding member referring to a Google Cloud resource + * by user-assigned name (https://google.aip.dev/122). If a resource is deleted + * and recreated with the same name, the binding will be applicable to the new + * resource. Example: + * `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter` + */ +@property(nonatomic, copy, nullable) NSString *iamPolicyNamePrincipal; + +/** + * Output only. IAM policy binding member referring to a Google Cloud resource + * by system-assigned unique identifier (https://google.aip.dev/148#uid). If a + * resource is deleted and recreated with the same name, the binding will not + * be applicable to the new resource Example: + * `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5` + */ +@property(nonatomic, copy, nullable) NSString *iamPolicyUidPrincipal; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerQuery.h b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerQuery.h new file mode 100644 index 000000000..ab4b621d5 --- /dev/null +++ b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerQuery.h @@ -0,0 +1,661 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Parameter Manager API (parametermanager/v1) +// Description: +// Parameter Manager is a single source of truth to store, access and manage +// the lifecycle of your workload parameters. Parameter Manager aims to make +// management of sensitive application parameters effortless for customers +// without diminishing focus on security. +// Documentation: +// https://cloud.google.com/secret-manager/parameter-manager/docs/overview + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +#import "GTLRParameterManagerObjects.h" + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Constants - For some of the query classes' properties below. + +// ---------------------------------------------------------------------------- +// view + +/** + * Include only the metadata for the resource. + * + * Value: "BASIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRParameterManagerViewBasic; +/** + * Include metadata & other relevant payload data as well. This is the default + * view. + * + * Value: "FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRParameterManagerViewFull; +/** + * The default / unset value. The API will default to the FULL view.. + * + * Value: "VIEW_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRParameterManagerViewViewUnspecified; + +// ---------------------------------------------------------------------------- +// Query Classes +// + +/** + * Parent class for other Parameter Manager query classes. + */ +@interface GTLRParameterManagerQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Gets information about a location. + * + * Method: parametermanager.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsGet : GTLRParameterManagerQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRParameterManager_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: parametermanager.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsList : GTLRParameterManagerQuery + +/** + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + +/** + * 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 GTLRParameterManager_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRParameterManagerQuery_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 + +/** + * Creates a new Parameter in a given project and location. + * + * Method: parametermanager.projects.locations.parameters.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersCreate : GTLRParameterManagerQuery + +/** Required. Id of the Parameter resource */ +@property(nonatomic, copy, nullable) NSString *parameterId; + +/** Required. Value for parent in the format `projects/ * /locations/ *`. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRParameterManager_Parameter. + * + * Creates a new Parameter in a given project and location. + * + * @param object The @c GTLRParameterManager_Parameter to include in the query. + * @param parent Required. Value for parent in the format `projects/ * + * /locations/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersCreate + */ ++ (instancetype)queryWithObject:(GTLRParameterManager_Parameter *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single Parameter. + * + * Method: parametermanager.projects.locations.parameters.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersDelete : GTLRParameterManagerQuery + +/** + * Required. Name of the resource in the format `projects/ * /locations/ * + * /parameters/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRParameterManager_Empty. + * + * Deletes a single Parameter. + * + * @param name Required. Name of the resource in the format `projects/ * + * /locations/ * /parameters/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single Parameter. + * + * Method: parametermanager.projects.locations.parameters.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersGet : GTLRParameterManagerQuery + +/** + * Required. Name of the resource in the format `projects/ * /locations/ * + * /parameters/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRParameterManager_Parameter. + * + * Gets details of a single Parameter. + * + * @param name Required. Name of the resource in the format `projects/ * + * /locations/ * /parameters/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists Parameters in a given project and location. + * + * Method: parametermanager.projects.locations.parameters.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersList : GTLRParameterManagerQuery + +/** Optional. Filtering results */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Hint for how to order the results */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Parent value for ListParametersRequest in the format `projects/ * + * /locations/ *`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRParameterManager_ListParametersResponse. + * + * Lists Parameters in a given project and location. + * + * @param parent Required. Parent value for ListParametersRequest in the format + * `projects/ * /locations/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a single Parameter. + * + * Method: parametermanager.projects.locations.parameters.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersPatch : GTLRParameterManagerQuery + +/** + * Identifier. [Output only] The resource name of the Parameter in the format + * `projects/ * /locations/ * /parameters/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * Parameter resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A mutable field will be + * overwritten if it is in the mask. If the user does not provide a mask then + * all mutable fields present in the request will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRParameterManager_Parameter. + * + * Updates a single Parameter. + * + * @param object The @c GTLRParameterManager_Parameter to include in the query. + * @param name Identifier. [Output only] The resource name of the Parameter in + * the format `projects/ * /locations/ * /parameters/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersPatch + */ ++ (instancetype)queryWithObject:(GTLRParameterManager_Parameter *)object + name:(NSString *)name; + +@end + +/** + * Creates a new ParameterVersion in a given project, location, and parameter. + * + * Method: parametermanager.projects.locations.parameters.versions.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsCreate : GTLRParameterManagerQuery + +/** Required. Id of the ParameterVersion resource */ +@property(nonatomic, copy, nullable) NSString *parameterVersionId; + +/** + * Required. Value for parent in the format `projects/ * /locations/ * + * /parameters/ *`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRParameterManager_ParameterVersion. + * + * Creates a new ParameterVersion in a given project, location, and parameter. + * + * @param object The @c GTLRParameterManager_ParameterVersion to include in the + * query. + * @param parent Required. Value for parent in the format `projects/ * + * /locations/ * /parameters/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsCreate + */ ++ (instancetype)queryWithObject:(GTLRParameterManager_ParameterVersion *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single ParameterVersion. + * + * Method: parametermanager.projects.locations.parameters.versions.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsDelete : GTLRParameterManagerQuery + +/** + * Required. Name of the resource in the format `projects/ * /locations/ * + * /parameters/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRParameterManager_Empty. + * + * Deletes a single ParameterVersion. + * + * @param name Required. Name of the resource in the format `projects/ * + * /locations/ * /parameters/ * /versions/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single ParameterVersion. + * + * Method: parametermanager.projects.locations.parameters.versions.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsGet : GTLRParameterManagerQuery + +/** + * Required. Name of the resource in the format `projects/ * /locations/ * + * /parameters/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. View of the ParameterVersion. In the default FULL view, all + * metadata & payload associated with the ParameterVersion will be returned. + * + * Likely values: + * @arg @c kGTLRParameterManagerViewViewUnspecified The default / unset + * value. The API will default to the FULL view.. (Value: + * "VIEW_UNSPECIFIED") + * @arg @c kGTLRParameterManagerViewBasic Include only the metadata for the + * resource. (Value: "BASIC") + * @arg @c kGTLRParameterManagerViewFull Include metadata & other relevant + * payload data as well. This is the default view. (Value: "FULL") + */ +@property(nonatomic, copy, nullable) NSString *view; + +/** + * Fetches a @c GTLRParameterManager_ParameterVersion. + * + * Gets details of a single ParameterVersion. + * + * @param name Required. Name of the resource in the format `projects/ * + * /locations/ * /parameters/ * /versions/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists ParameterVersions in a given project, location, and parameter. + * + * Method: parametermanager.projects.locations.parameters.versions.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsList : GTLRParameterManagerQuery + +/** Optional. Filtering results */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Optional. Hint for how to order the results */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. Parent value for ListParameterVersionsRequest in the format + * `projects/ * /locations/ * /parameters/ *`. + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRParameterManager_ListParameterVersionsResponse. + * + * Lists ParameterVersions in a given project, location, and parameter. + * + * @param parent Required. Parent value for ListParameterVersionsRequest in the + * format `projects/ * /locations/ * /parameters/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsList + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithParent:(NSString *)parent; + +@end + +/** + * Updates a single ParameterVersion. + * + * Method: parametermanager.projects.locations.parameters.versions.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsPatch : GTLRParameterManagerQuery + +/** + * Identifier. [Output only] The resource name of the ParameterVersion in the + * format `projects/ * /locations/ * /parameters/ * /versions/ *`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * ParameterVersion resource by the update. The fields specified in the + * update_mask are relative to the resource, not the full request. A mutable + * field will be overwritten if it is in the mask. If the user does not provide + * a mask then all mutable fields present in the request will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRParameterManager_ParameterVersion. + * + * Updates a single ParameterVersion. + * + * @param object The @c GTLRParameterManager_ParameterVersion to include in the + * query. + * @param name Identifier. [Output only] The resource name of the + * ParameterVersion in the format `projects/ * /locations/ * /parameters/ * + * /versions/ *`. + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsPatch + */ ++ (instancetype)queryWithObject:(GTLRParameterManager_ParameterVersion *)object + name:(NSString *)name; + +@end + +/** + * Gets rendered version of a ParameterVersion. + * + * Method: parametermanager.projects.locations.parameters.versions.render + * + * Authorization scope(s): + * @c kGTLRAuthScopeParameterManagerCloudPlatform + */ +@interface GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsRender : GTLRParameterManagerQuery + +/** Required. Name of the resource */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRParameterManager_RenderParameterVersionResponse. + * + * Gets rendered version of a ParameterVersion. + * + * @param name Required. Name of the resource + * + * @return GTLRParameterManagerQuery_ProjectsLocationsParametersVersionsRender + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerService.h b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerService.h new file mode 100644 index 000000000..896b5afd5 --- /dev/null +++ b/Sources/GeneratedServices/ParameterManager/Public/GoogleAPIClientForREST/GTLRParameterManagerService.h @@ -0,0 +1,79 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Parameter Manager API (parametermanager/v1) +// Description: +// Parameter Manager is a single source of truth to store, access and manage +// the lifecycle of your workload parameters. Parameter Manager aims to make +// management of sensitive application parameters effortless for customers +// without diminishing focus on security. +// Documentation: +// https://cloud.google.com/secret-manager/parameter-manager/docs/overview + +#import + +#if GTLR_RUNTIME_VERSION != 3000 +#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. +#endif + +// Generated comments include content from the discovery document; avoid them +// causing warnings since clang's checks are some what arbitrary. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdocumentation" + +NS_ASSUME_NONNULL_BEGIN + +// ---------------------------------------------------------------------------- +// Authorization scope + +/** + * Authorization scope: See, edit, configure, and delete your Google Cloud data + * and see the email address for your Google Account. + * + * Value "https://www.googleapis.com/auth/cloud-platform" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeParameterManagerCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRParameterManagerService +// + +/** + * Service for executing Parameter Manager API queries. + * + * Parameter Manager is a single source of truth to store, access and manage + * the lifecycle of your workload parameters. Parameter Manager aims to make + * management of sensitive application parameters effortless for customers + * without diminishing focus on security. + */ +@interface GTLRParameterManagerService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRParameterManagerQuery.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/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m index 1581498a2..735dd7f7f 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionObjects.m @@ -11,184 +11,184 @@ // ---------------------------------------------------------------------------- // Constants -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.cancellationReason -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration.unit -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day = @"DAY"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour = @"HOUR"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month = @"MONTH"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified = @"UNIT_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.offering -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingHardBundle = @"OFFERING_HARD_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingSoftBundle = @"OFFERING_SOFT_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingUnspecified = @"OFFERING_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasBundle = @"OFFERING_VAS_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasStandalone = @"OFFERING_VAS_STANDALONE"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.salesChannel -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp = @"CHANNEL_ONLINE_ANDROID_APP"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineIosApp = @"CHANNEL_ONLINE_IOS_APP"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineWeb = @"CHANNEL_ONLINE_WEB"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelRetail = @"CHANNEL_RETAIL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelUnspecified = @"CHANNEL_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product.productType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeBundleSubscription = @"PRODUCT_TYPE_BUNDLE_SUBSCRIPTION"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeSubscription = @"PRODUCT_TYPE_SUBSCRIPTION"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion.promotionType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.processingState -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateCancelling = @"PROCESSING_STATE_CANCELLING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateRecurring = @"PROCESSING_STATE_RECURRING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateUnspecified = @"PROCESSING_STATE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.state -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateActive = @"STATE_ACTIVE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelAtEndOfCycle = @"STATE_CANCEL_AT_END_OF_CYCLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelled = @"STATE_CANCELLED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCreated = @"STATE_CREATED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateInGracePeriod = @"STATE_IN_GRACE_PERIOD"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateSuspended = @"STATE_SUSPENDED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateUnspecified = @"STATE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails.reason -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.recurrenceType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime = @"LINE_ITEM_RECURRENCE_TYPE_ONE_TIME"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic = @"LINE_ITEM_RECURRENCE_TYPE_PERIODIC"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified = @"LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.state -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActivating = @"LINE_ITEM_STATE_ACTIVATING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActive = @"LINE_ITEM_STATE_ACTIVE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateDeactivating = @"LINE_ITEM_STATE_DEACTIVATING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateInactive = @"LINE_ITEM_STATE_INACTIVE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateNew = @"LINE_ITEM_STATE_NEW"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateOffCycleCharging = @"LINE_ITEM_STATE_OFF_CYCLE_CHARGING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateUnspecified = @"LINE_ITEM_STATE_UNSPECIFIED"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateWaitingToDeactivate = @"LINE_ITEM_STATE_WAITING_TO_DEACTIVATE"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec.type -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails.billingCycleSpec -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription = @"BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence = @"BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately = @"BILLING_CYCLE_SPEC_START_IMMEDIATELY"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified = @"BILLING_CYCLE_SPEC_UNSPECIFIED"; - -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.partnerPlanType -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle = @"PARTNER_PLAN_TYPE_HARD_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle = @"PARTNER_PLAN_TYPE_SOFT_BUNDLE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone = @"PARTNER_PLAN_TYPE_STANDALONE"; -NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified = @"PARTNER_PLAN_TYPE_UNSPECIFIED"; +// GTLRPaymentsResellerSubscription_CancelSubscriptionRequest.cancellationReason +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; +NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; + +// GTLRPaymentsResellerSubscription_Duration.unit +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Day = @"DAY"; +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Hour = @"HOUR"; +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Month = @"MONTH"; +NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_UnitUnspecified = @"UNIT_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_GoogleOnePayload.offering +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingHardBundle = @"OFFERING_HARD_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingSoftBundle = @"OFFERING_SOFT_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingUnspecified = @"OFFERING_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasBundle = @"OFFERING_VAS_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasStandalone = @"OFFERING_VAS_STANDALONE"; + +// GTLRPaymentsResellerSubscription_GoogleOnePayload.salesChannel +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp = @"CHANNEL_ONLINE_ANDROID_APP"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineIosApp = @"CHANNEL_ONLINE_IOS_APP"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineWeb = @"CHANNEL_ONLINE_WEB"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelRetail = @"CHANNEL_RETAIL"; +NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelUnspecified = @"CHANNEL_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_Product.productType +NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeBundleSubscription = @"PRODUCT_TYPE_BUNDLE_SUBSCRIPTION"; +NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeSubscription = @"PRODUCT_TYPE_SUBSCRIPTION"; +NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeUnspecified = @"PRODUCT_TYPE_UNSPECIFIED"; // GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull = @"ENTITLEMENT_MODE_FULL"; NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental = @"ENTITLEMENT_MODE_INCREMENTAL"; NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified = @"ENTITLEMENT_MODE_UNSPECIFIED"; -// ---------------------------------------------------------------------------- -// -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount -// - -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount +// GTLRPaymentsResellerSubscription_Promotion.promotionType +NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; +NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; +NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_Subscription.processingState +NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateCancelling = @"PROCESSING_STATE_CANCELLING"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateRecurring = @"PROCESSING_STATE_RECURRING"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateUnspecified = @"PROCESSING_STATE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_Subscription.state +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateActive = @"STATE_ACTIVE"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelAtEndOfCycle = @"STATE_CANCEL_AT_END_OF_CYCLE"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelled = @"STATE_CANCELLED"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCreated = @"STATE_CREATED"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateInGracePeriod = @"STATE_IN_GRACE_PERIOD"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateSuspended = @"STATE_SUSPENDED"; +NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails.reason +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase = @"CANCELLATION_REASON_ACCIDENTAL_PURCHASE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed = @"CANCELLATION_REASON_ACCOUNT_CLOSED"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonFraud = @"CANCELLATION_REASON_FRAUD"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonOther = @"CANCELLATION_REASON_OTHER"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonPastDue = @"CANCELLATION_REASON_PAST_DUE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonRemorse = @"CANCELLATION_REASON_REMORSE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel = @"CANCELLATION_REASON_SYSTEM_CANCEL"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemError = @"CANCELLATION_REASON_SYSTEM_ERROR"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified = @"CANCELLATION_REASON_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade = @"CANCELLATION_REASON_UPGRADE_DOWNGRADE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency = @"CANCELLATION_REASON_USER_DELINQUENCY"; + +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.recurrenceType +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime = @"LINE_ITEM_RECURRENCE_TYPE_ONE_TIME"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic = @"LINE_ITEM_RECURRENCE_TYPE_PERIODIC"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified = @"LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.state +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActivating = @"LINE_ITEM_STATE_ACTIVATING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActive = @"LINE_ITEM_STATE_ACTIVE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateDeactivating = @"LINE_ITEM_STATE_DEACTIVATING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateInactive = @"LINE_ITEM_STATE_INACTIVE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateNew = @"LINE_ITEM_STATE_NEW"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateOffCycleCharging = @"LINE_ITEM_STATE_OFF_CYCLE_CHARGING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateUnspecified = @"LINE_ITEM_STATE_UNSPECIFIED"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateWaitingToDeactivate = @"LINE_ITEM_STATE_WAITING_TO_DEACTIVATE"; + +// GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec.type +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial = @"PROMOTION_TYPE_FREE_TRIAL"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing = @"PROMOTION_TYPE_INTRODUCTORY_PRICING"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeUnspecified = @"PROMOTION_TYPE_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails.billingCycleSpec +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription = @"BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence = @"BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately = @"BILLING_CYCLE_SPEC_START_IMMEDIATELY"; +NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified = @"BILLING_CYCLE_SPEC_UNSPECIFIED"; + +// GTLRPaymentsResellerSubscription_YoutubePayload.partnerPlanType +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle = @"PARTNER_PLAN_TYPE_HARD_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle = @"PARTNER_PLAN_TYPE_SOFT_BUNDLE"; +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone = @"PARTNER_PLAN_TYPE_STANDALONE"; +NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified = @"PARTNER_PLAN_TYPE_UNSPECIFIED"; + +// ---------------------------------------------------------------------------- +// +// GTLRPaymentsResellerSubscription_Amount +// + +@implementation GTLRPaymentsResellerSubscription_Amount @dynamic amountMicros, currencyCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest +// GTLRPaymentsResellerSubscription_CancelSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_CancelSubscriptionRequest @dynamic cancelImmediately, cancellationReason; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse +// GTLRPaymentsResellerSubscription_CancelSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_CancelSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent +// GTLRPaymentsResellerSubscription_CreateSubscriptionIntent // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent +@implementation GTLRPaymentsResellerSubscription_CreateSubscriptionIntent @dynamic parent, subscription, subscriptionId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration +// GTLRPaymentsResellerSubscription_Duration // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration +@implementation GTLRPaymentsResellerSubscription_Duration @dynamic count, unit; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent +// GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent @dynamic name; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest +// GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest @dynamic lineItemEntitlementDetails; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"lineItemEntitlementDetails" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails class] + @"lineItemEntitlementDetails" : [GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails class] }; return map; } @@ -198,10 +198,10 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails +// GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails @dynamic lineItemIndex, products; + (NSDictionary *)arrayPropertyToClassMap { @@ -216,65 +216,65 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse +// GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest +// GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest @dynamic extension, requestId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse +// GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse @dynamic cycleEndTime, freeTrialEndTime, renewalTime; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension +// GTLRPaymentsResellerSubscription_Extension // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension +@implementation GTLRPaymentsResellerSubscription_Extension @dynamic duration, partnerUserToken; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest +// GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest +@implementation GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest @dynamic filter, pageSize, pageToken; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse +// GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse +@implementation GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse @dynamic nextPageToken, promotions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"promotions" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion class] + @"promotions" : [GTLRPaymentsResellerSubscription_Promotion class] }; return map; } @@ -288,50 +288,50 @@ + (NSString *)collectionItemsKey { // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails +// GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails +@implementation GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails @dynamic billingCycleCountLimit; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest +// GTLRPaymentsResellerSubscription_GenerateUserSessionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest +@implementation GTLRPaymentsResellerSubscription_GenerateUserSessionRequest @dynamic intentPayload; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse +// GTLRPaymentsResellerSubscription_GenerateUserSessionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse +@implementation GTLRPaymentsResellerSubscription_GenerateUserSessionResponse @dynamic userSession; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload +// GTLRPaymentsResellerSubscription_GoogleHomePayload // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload -@dynamic attachedToGoogleStructure, partnerStructureId; +@implementation GTLRPaymentsResellerSubscription_GoogleHomePayload +@dynamic attachedToGoogleStructure, googleStructureId, partnerStructureId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload +// GTLRPaymentsResellerSubscription_GoogleOnePayload // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload +@implementation GTLRPaymentsResellerSubscription_GoogleOnePayload @dynamic campaigns, offering, salesChannel, storeId; + (NSDictionary *)arrayPropertyToClassMap { @@ -346,25 +346,35 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload +// GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload +@implementation GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText +@dynamic languageCode, text; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPaymentsResellerSubscription_IntentPayload +// + +@implementation GTLRPaymentsResellerSubscription_IntentPayload @dynamic createIntent, entitleIntent; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse +// GTLRPaymentsResellerSubscription_ListProductsResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse +@implementation GTLRPaymentsResellerSubscription_ListProductsResponse @dynamic nextPageToken, products; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"products" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product class] + @"products" : [GTLRPaymentsResellerSubscription_Product class] }; return map; } @@ -378,15 +388,15 @@ + (NSString *)collectionItemsKey { // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse +// GTLRPaymentsResellerSubscription_ListPromotionsResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse +@implementation GTLRPaymentsResellerSubscription_ListPromotionsResponse @dynamic nextPageToken, promotions; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"promotions" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion class] + @"promotions" : [GTLRPaymentsResellerSubscription_Promotion class] }; return map; } @@ -400,26 +410,26 @@ + (NSString *)collectionItemsKey { // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location +// GTLRPaymentsResellerSubscription_Location // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location +@implementation GTLRPaymentsResellerSubscription_Location @dynamic postalCode, regionCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product +// GTLRPaymentsResellerSubscription_Product // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product +@implementation GTLRPaymentsResellerSubscription_Product @dynamic bundleDetails, finiteBillingCycleDetails, name, priceConfigs, productType, regionCodes, subscriptionBillingCycleDuration, titles; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"priceConfigs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig class], + @"priceConfigs" : [GTLRPaymentsResellerSubscription_ProductPriceConfig class], @"regionCodes" : [NSString class], @"titles" : [GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText class] }; @@ -431,40 +441,58 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement +// GTLRPaymentsResellerSubscription_ProductBundleDetails +// + +@implementation GTLRPaymentsResellerSubscription_ProductBundleDetails +@dynamic bundleElements, entitlementMode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bundleElements" : [GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement +@implementation GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement @dynamic product; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload +// GTLRPaymentsResellerSubscription_ProductPayload // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload +@implementation GTLRPaymentsResellerSubscription_ProductPayload @dynamic googleHomePayload, googleOnePayload, youtubePayload; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig +// GTLRPaymentsResellerSubscription_ProductPriceConfig // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig +@implementation GTLRPaymentsResellerSubscription_ProductPriceConfig @dynamic amount, regionCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion +// GTLRPaymentsResellerSubscription_Promotion // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion +@implementation GTLRPaymentsResellerSubscription_Promotion @dynamic applicableProducts, endTime, freeTrialDuration, introductoryPricingDetails, name, promotionType, regionCodes, startTime, titles; @@ -483,15 +511,15 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails +// GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails +@implementation GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails @dynamic introductoryPricingSpecs; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"introductoryPricingSpecs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec class] + @"introductoryPricingSpecs" : [GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec class] }; return map; } @@ -501,49 +529,49 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec +// GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec +@implementation GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec @dynamic discountAmount, discountRatioMicros, recurrenceCount, regionCode; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest +// GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse +// GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod +// GTLRPaymentsResellerSubscription_ServicePeriod // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod +@implementation GTLRPaymentsResellerSubscription_ServicePeriod @dynamic endTime, startTime; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription +// GTLRPaymentsResellerSubscription_Subscription // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription +@implementation GTLRPaymentsResellerSubscription_Subscription @dynamic cancellationDetails, createTime, cycleEndTime, endUserEntitled, freeTrialEndTime, lineItems, migrationDetails, name, partnerUserToken, processingState, products, promotions, promotionSpecs, purchaseTime, @@ -552,10 +580,10 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"lineItems" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem class], + @"lineItems" : [GTLRPaymentsResellerSubscription_SubscriptionLineItem class], @"products" : [NSString class], @"promotions" : [NSString class], - @"promotionSpecs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec class] + @"promotionSpecs" : [GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec class] }; return map; } @@ -565,20 +593,20 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails +// GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails +@implementation GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails @dynamic reason; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem +// GTLRPaymentsResellerSubscription_SubscriptionLineItem // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItem @dynamic amount, bundleDetails, descriptionProperty, finiteBillingCycleDetails, lineItemFreeTrialEndTime, lineItemIndex, lineItemPromotionSpecs, oneTimeRecurrenceDetails, product, productPayload, recurrenceType, @@ -590,7 +618,7 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"lineItemPromotionSpecs" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec class] + @"lineItemPromotionSpecs" : [GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec class] }; return map; } @@ -600,159 +628,131 @@ @implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubs // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails +// GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails -@dynamic product, userAccountLinkedTime; -@end - +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails +@dynamic bundleElementDetails; -// ---------------------------------------------------------------------------- -// -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails -// ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"bundleElementDetails" : [GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails class] + }; + return map; +} -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails -@dynamic servicePeriod; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails +// GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails -@dynamic migratedSubscriptionId; +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails +@dynamic product, userAccountLinkedTime; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec +// GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec -@dynamic freeTrialDuration, introductoryPricingDetails, promotion, type; +@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails +@dynamic servicePeriod; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails +// GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails -@dynamic billingCycleSpec, previousSubscriptionId; +@implementation GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails +@dynamic migratedSubscriptionId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest +// GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec +@dynamic freeTrialDuration, introductoryPricingDetails, promotion, type; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse +// GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse -@dynamic subscription; +@implementation GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails +@dynamic billingCycleSpec, previousSubscriptionId; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest +// GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest +@implementation GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse +// GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse +@implementation GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse @dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession +// GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest // -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession -@dynamic expireTime, token; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload -// - -@implementation GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload -@dynamic accessEndTime, partnerEligibilityIds, partnerPlanType; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"partnerEligibilityIds" : [NSString class] - }; - return map; -} - +@implementation GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText +// GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse // -@implementation GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText -@dynamic languageCode, text; +@implementation GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse +@dynamic subscription; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_ProductBundleDetails +// GTLRPaymentsResellerSubscription_UserSession // -@implementation GTLRPaymentsResellerSubscription_ProductBundleDetails -@dynamic bundleElements, entitlementMode; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"bundleElements" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement class] - }; - return map; -} - +@implementation GTLRPaymentsResellerSubscription_UserSession +@dynamic expireTime, token; @end // ---------------------------------------------------------------------------- // -// GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails +// GTLRPaymentsResellerSubscription_YoutubePayload // -@implementation GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails -@dynamic bundleElementDetails; +@implementation GTLRPaymentsResellerSubscription_YoutubePayload +@dynamic accessEndTime, partnerEligibilityIds, partnerPlanType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ - @"bundleElementDetails" : [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails class] + @"partnerEligibilityIds" : [NSString class] }; return map; } diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m index f9e02fc93..e7a9423f3 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/GTLRPaymentsResellerSubscriptionQuery.m @@ -26,7 +26,7 @@ + (instancetype)queryWithParent:(NSString *)parent { HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ListProductsResponse class]; query.loggingName = @"paymentsresellersubscription.partners.products.list"; return query; } @@ -37,7 +37,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersPromotionsFindElig @dynamic parent; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -53,7 +53,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse class]; query.loggingName = @"paymentsresellersubscription.partners.promotions.findEligible"; return query; } @@ -72,7 +72,7 @@ + (instancetype)queryWithParent:(NSString *)parent { HTTPMethod:nil pathParameterNames:pathParams]; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ListPromotionsResponse class]; query.loggingName = @"paymentsresellersubscription.partners.promotions.list"; return query; } @@ -83,7 +83,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCance @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_CancelSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -99,7 +99,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_CancelSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.cancel"; return query; } @@ -110,7 +110,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCreat @dynamic parent, subscriptionId; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -126,7 +126,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_Subscription class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.create"; return query; } @@ -137,7 +137,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsEntit @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -153,7 +153,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.entitle"; return query; } @@ -164,7 +164,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsExten @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -180,7 +180,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.extend"; return query; } @@ -199,7 +199,7 @@ + (instancetype)queryWithName:(NSString *)name { HTTPMethod:nil pathParameterNames:pathParams]; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_Subscription class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.get"; return query; } @@ -210,7 +210,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsProvi @dynamic parent, subscriptionId; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -226,7 +226,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_Subscription class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.provision"; return query; } @@ -237,7 +237,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsResum @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -253,7 +253,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.resume"; return query; } @@ -264,7 +264,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsSuspe @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -280,7 +280,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.suspend"; return query; } @@ -291,7 +291,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsUndoC @dynamic name; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest *)object name:(NSString *)name { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -307,7 +307,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.name = name; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.subscriptions.undoCancel"; return query; } @@ -318,7 +318,7 @@ @implementation GTLRPaymentsResellerSubscriptionQuery_PartnersUserSessionsGenera @dynamic parent; -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GenerateUserSessionRequest *)object parent:(NSString *)parent { if (object == nil) { #if defined(DEBUG) && DEBUG @@ -334,7 +334,7 @@ + (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPay pathParameterNames:pathParams]; query.bodyObject = object; query.parent = parent; - query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse class]; + query.expectedObjectClass = [GTLRPaymentsResellerSubscription_GenerateUserSessionResponse class]; query.loggingName = @"paymentsresellersubscription.partners.userSessions.generate"; return query; } diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h index 40bb14940..64930bc32 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionObjects.h @@ -12,38 +12,38 @@ #error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source. #endif -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession; -@class GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload; +@class GTLRPaymentsResellerSubscription_Amount; +@class GTLRPaymentsResellerSubscription_CreateSubscriptionIntent; +@class GTLRPaymentsResellerSubscription_Duration; +@class GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent; +@class GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails; +@class GTLRPaymentsResellerSubscription_Extension; +@class GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails; +@class GTLRPaymentsResellerSubscription_GoogleHomePayload; +@class GTLRPaymentsResellerSubscription_GoogleOnePayload; @class GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText; +@class GTLRPaymentsResellerSubscription_IntentPayload; +@class GTLRPaymentsResellerSubscription_Location; +@class GTLRPaymentsResellerSubscription_Product; @class GTLRPaymentsResellerSubscription_ProductBundleDetails; +@class GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement; +@class GTLRPaymentsResellerSubscription_ProductPayload; +@class GTLRPaymentsResellerSubscription_ProductPriceConfig; +@class GTLRPaymentsResellerSubscription_Promotion; +@class GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails; +@class GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec; +@class GTLRPaymentsResellerSubscription_ServicePeriod; +@class GTLRPaymentsResellerSubscription_Subscription; +@class GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionLineItem; @class GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails; +@class GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec; +@class GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails; +@class GTLRPaymentsResellerSubscription_UserSession; +@class GTLRPaymentsResellerSubscription_YoutubePayload; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -56,108 +56,108 @@ NS_ASSUME_NONNULL_BEGIN // Constants - For some of the classes' properties below. // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.cancellationReason +// GTLRPaymentsResellerSubscription_CancelSubscriptionRequest.cancellationReason /** * Accidential purchase. * * Value: "CANCELLATION_REASON_ACCIDENTAL_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase; /** * Used for notification only, do not use in Cancel API. User account closed. * * Value: "CANCELLATION_REASON_ACCOUNT_CLOSED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed; /** * Fraudualant transaction. * * Value: "CANCELLATION_REASON_FRAUD" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud; /** * Other reason. * * Value: "CANCELLATION_REASON_OTHER" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonOther; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonOther; /** * Payment is past due. * * Value: "CANCELLATION_REASON_PAST_DUE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue; /** * Buyer's remorse. * * Value: "CANCELLATION_REASON_REMORSE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse; /** * Used for notification only, do not use in Cancel API. The subscription is * cancelled by Google automatically since it is no longer valid. * * Value: "CANCELLATION_REASON_SYSTEM_CANCEL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel; /** * Used for notification only, do not use in Cancel API. Cancellation due to an * unrecoverable system error. * * Value: "CANCELLATION_REASON_SYSTEM_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError; /** * Reason is unspecified. Should not be used. * * Value: "CANCELLATION_REASON_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified; /** * Used for notification only, do not use in Cancel API. Cancellation due to * upgrade or downgrade. * * Value: "CANCELLATION_REASON_UPGRADE_DOWNGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade; /** * Cancellation due to user delinquency * * Value: "CANCELLATION_REASON_USER_DELINQUENCY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration.unit +// GTLRPaymentsResellerSubscription_Duration.unit /** * Unit of a day. * * Value: "DAY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Day; /** * Unit of an hour. It is used for testing. * * Value: "HOUR" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Hour; /** * Unit of a calendar month. * * Value: "MONTH" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_Month; /** * Default value, reserved as an invalid or an unexpected value. * * Value: "UNIT_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Duration_Unit_UnitUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.offering +// GTLRPaymentsResellerSubscription_GoogleOnePayload.offering /** * Product purchased as part of a hard bundle where Google One was included @@ -165,20 +165,20 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "OFFERING_HARD_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingHardBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingHardBundle; /** * Purchased as part of a bundle where Google One was provided as an option. * Google One pricing is included in the bundle. * * Value: "OFFERING_SOFT_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingSoftBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingSoftBundle; /** * The type of partner offering is unspecified. * * Value: "OFFERING_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingUnspecified; /** * Google One product purchased as a Value added service in addition to * existing partner's products. Customer pays additional amount for Google One @@ -186,51 +186,51 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "OFFERING_VAS_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasBundle; /** * Google One product purchased by itself by customer as a value add service. * Customer pays additional amount for Google One product. * * Value: "OFFERING_VAS_STANDALONE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasStandalone; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasStandalone; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload.salesChannel +// GTLRPaymentsResellerSubscription_GoogleOnePayload.salesChannel /** * Sold through partner android app. * * Value: "CHANNEL_ONLINE_ANDROID_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp; /** * Sold through partner iOS app. * * Value: "CHANNEL_ONLINE_IOS_APP" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineIosApp; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineIosApp; /** * Sold through partner website. * * Value: "CHANNEL_ONLINE_WEB" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineWeb; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineWeb; /** * Sold at store. * * Value: "CHANNEL_RETAIL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelRetail; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelRetail; /** * The channel type is unspecified. * * Value: "CHANNEL_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product.productType +// GTLRPaymentsResellerSubscription_Product.productType /** * The product is a bundled subscription plan, which includes multiple @@ -238,92 +238,114 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeBundleSubscription; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeBundleSubscription; /** * The product is a subscription. * * Value: "PRODUCT_TYPE_SUBSCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeSubscription; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeSubscription; /** * Unspecified. It's reserved as an unexpected value, should not be used. * * Value: "PRODUCT_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion.promotionType +// GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode + +/** + * All the bundle elements must be fully activated in a single request. + * + * Value: "ENTITLEMENT_MODE_FULL" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull; +/** + * The bundle elements could be incrementally activated. + * + * Value: "ENTITLEMENT_MODE_INCREMENTAL" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental; +/** + * Unspecified. It's reserved as an unexpected value, should not be used. + * + * Value: "ENTITLEMENT_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRPaymentsResellerSubscription_Promotion.promotionType /** * The promotion is a free trial. * * Value: "PROMOTION_TYPE_FREE_TRIAL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeFreeTrial; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeFreeTrial; /** * The promotion is a reduced introductory pricing. * * Value: "PROMOTION_TYPE_INTRODUCTORY_PRICING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeIntroductoryPricing; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeIntroductoryPricing; /** * The promotion type is unspecified. * * Value: "PROMOTION_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.processingState +// GTLRPaymentsResellerSubscription_Subscription.processingState /** * The subscription is being cancelled. * * Value: "PROCESSING_STATE_CANCELLING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateCancelling; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateCancelling; /** * The subscription is recurring. * * Value: "PROCESSING_STATE_RECURRING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateRecurring; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateRecurring; /** * The processing state is unspecified. * * Value: "PROCESSING_STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription.state +// GTLRPaymentsResellerSubscription_Subscription.state /** * The subscription is active. * * Value: "STATE_ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateActive; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateActive; /** * The subscription is waiting to be cancelled by the next recurrence cycle. * * Value: "STATE_CANCEL_AT_END_OF_CYCLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelAtEndOfCycle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelAtEndOfCycle; /** * The subscription is cancelled. This is the final state of the subscription, * as it can no longer be modified or reactivated. * * Value: "STATE_CANCELLED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelled; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelled; /** * The subscription is created, a state before it is moved to STATE_ACTIVE. * * Value: "STATE_CREATED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCreated; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateCreated; /** * The subscription is in grace period. It can happen: 1) in manual extend * mode, the subscription is not extended by the partner at the end of current @@ -332,117 +354,117 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "STATE_IN_GRACE_PERIOD" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateInGracePeriod; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateInGracePeriod; /** * The subscription is suspended. * * Value: "STATE_SUSPENDED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateSuspended; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateSuspended; /** * The state is unspecified. * * Value: "STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_Subscription_State_StateUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails.reason +// GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails.reason /** * Accidential purchase. * * Value: "CANCELLATION_REASON_ACCIDENTAL_PURCHASE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase; /** * Used for notification only, do not use in Cancel API. User account closed. * * Value: "CANCELLATION_REASON_ACCOUNT_CLOSED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed; /** * Fraudualant transaction. * * Value: "CANCELLATION_REASON_FRAUD" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonFraud; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonFraud; /** * Other reason. * * Value: "CANCELLATION_REASON_OTHER" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonOther; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonOther; /** * Payment is past due. * * Value: "CANCELLATION_REASON_PAST_DUE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonPastDue; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonPastDue; /** * Buyer's remorse. * * Value: "CANCELLATION_REASON_REMORSE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonRemorse; /** * Used for notification only, do not use in Cancel API. The subscription is * cancelled by Google automatically since it is no longer valid. * * Value: "CANCELLATION_REASON_SYSTEM_CANCEL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel; /** * Used for notification only, do not use in Cancel API. Cancellation due to an * unrecoverable system error. * * Value: "CANCELLATION_REASON_SYSTEM_ERROR" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemError; /** * Reason is unspecified. Should not be used. * * Value: "CANCELLATION_REASON_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified; /** * Used for notification only, do not use in Cancel API. Cancellation due to * upgrade or downgrade. * * Value: "CANCELLATION_REASON_UPGRADE_DOWNGRADE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade; /** * Cancellation due to user delinquency * * Value: "CANCELLATION_REASON_USER_DELINQUENCY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.recurrenceType +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.recurrenceType /** * The line item does not recur in the future. * * Value: "LINE_ITEM_RECURRENCE_TYPE_ONE_TIME" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime; /** * The line item recurs periodically. * * Value: "LINE_ITEM_RECURRENCE_TYPE_PERIODIC" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic; /** * The line item recurrence type is unspecified. * * Value: "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem.state +// GTLRPaymentsResellerSubscription_SubscriptionLineItem.state /** * The line item is being activated in order to be charged. If a free trial @@ -452,7 +474,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "LINE_ITEM_STATE_ACTIVATING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActivating; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActivating; /** * The line item is in ACTIVE state. If the subscription is cancelled or * suspended, the line item will not be charged even if the line item is @@ -460,70 +482,70 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "LINE_ITEM_STATE_ACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActive; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActive; /** * The line item is being deactivated, and a prorated refund in being * processed. * * Value: "LINE_ITEM_STATE_DEACTIVATING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateDeactivating; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateDeactivating; /** * The line item is in INACTIVE state. * * Value: "LINE_ITEM_STATE_INACTIVE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateInactive; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateInactive; /** * The line item is new, and is not activated or charged yet. * * Value: "LINE_ITEM_STATE_NEW" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateNew; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateNew; /** * Line item is being charged off-cycle. * * Value: "LINE_ITEM_STATE_OFF_CYCLE_CHARGING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateOffCycleCharging; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateOffCycleCharging; /** * Unspecified state. * * Value: "LINE_ITEM_STATE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateUnspecified; /** * The line item is scheduled to be deactivated at the end of the current * cycle. * * Value: "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateWaitingToDeactivate; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateWaitingToDeactivate; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec.type +// GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec.type /** * The promotion is a free trial. * * Value: "PROMOTION_TYPE_FREE_TRIAL" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial; /** * The promotion is a reduced introductory pricing. * * Value: "PROMOTION_TYPE_INTRODUCTORY_PRICING" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing; /** * The promotion type is unspecified. * * Value: "PROMOTION_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails.billingCycleSpec +// GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails.billingCycleSpec /** * The billing cycle of the new subscription starts immediately but aligns with @@ -532,29 +554,29 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription; /** * The billing cycle starts at the end of the previous subscription's billing * cycle and aligns with the previous subscription's billing cycle. * * Value: "BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence; /** * The billing cycle of the new subscription starts immediately. * * Value: "BILLING_CYCLE_SPEC_START_IMMEDIATELY" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately; /** * Billing cycle spec is not specified. * * Value: "BILLING_CYCLE_SPEC_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified; // ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.partnerPlanType +// GTLRPaymentsResellerSubscription_YoutubePayload.partnerPlanType /** * This item is bundled with another partner offering, the item is provisioned @@ -562,53 +584,31 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloud * * Value: "PARTNER_PLAN_TYPE_HARD_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle; /** * This item is bundled with another partner offering, the item is provisioned * after puchase, when the user opts in this Google service. * * Value: "PARTNER_PLAN_TYPE_SOFT_BUNDLE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle; /** * This item is offered as a standalone product to the user. * * Value: "PARTNER_PLAN_TYPE_STANDALONE" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone; /** * Unspecified. Should not use, reserved as an invalid value. * * Value: "PARTNER_PLAN_TYPE_UNSPECIFIED" */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRPaymentsResellerSubscription_ProductBundleDetails.entitlementMode - -/** - * All the bundle elements must be fully activated in a single request. - * - * Value: "ENTITLEMENT_MODE_FULL" - */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull; -/** - * The bundle elements could be incrementally activated. - * - * Value: "ENTITLEMENT_MODE_INCREMENTAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental; -/** - * Unspecified. It's reserved as an unexpected value, should not be used. - * - * Value: "ENTITLEMENT_MODE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified; +FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified; /** * Describes the amount unit including the currency code. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount : GTLRObject +@interface GTLRPaymentsResellerSubscription_Amount : GTLRObject /** * Required. Amount in micros (1_000_000 micros = 1 currency unit) @@ -629,7 +629,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to cancel a subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_CancelSubscriptionRequest : GTLRObject /** * Optional. If true, Google will cancel the subscription immediately, and may @@ -647,36 +647,36 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Specifies the reason for the cancellation. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccidentalPurchase * Accidential purchase. (Value: * "CANCELLATION_REASON_ACCIDENTAL_PURCHASE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonAccountClosed * Used for notification only, do not use in Cancel API. User account * closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonFraud * Fraudualant transaction. (Value: "CANCELLATION_REASON_FRAUD") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonOther + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonOther * Other reason. (Value: "CANCELLATION_REASON_OTHER") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonPastDue * Payment is past due. (Value: "CANCELLATION_REASON_PAST_DUE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonRemorse * Buyer's remorse. (Value: "CANCELLATION_REASON_REMORSE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemCancel * Used for notification only, do not use in Cancel API. The subscription * is cancelled by Google automatically since it is no longer valid. * (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonSystemError * Used for notification only, do not use in Cancel API. Cancellation due * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUnspecified * Reason is unspecified. Should not be used. (Value: * "CANCELLATION_REASON_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUpgradeDowngrade * Used for notification only, do not use in Cancel API. Cancellation due * to upgrade or downgrade. (Value: * "CANCELLATION_REASON_UPGRADE_DOWNGRADE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency + * @arg @c kGTLRPaymentsResellerSubscription_CancelSubscriptionRequest_CancellationReason_CancellationReasonUserDelinquency * Cancellation due to user delinquency (Value: * "CANCELLATION_REASON_USER_DELINQUENCY") */ @@ -688,10 +688,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Response that contains the cancelled subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_CancelSubscriptionResponse : GTLRObject /** The cancelled subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -699,7 +699,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Intent message for creating a Subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent : GTLRObject +@interface GTLRPaymentsResellerSubscription_CreateSubscriptionIntent : GTLRObject /** * Required. The parent resource name, which is the identifier of the partner. @@ -707,7 +707,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, copy, nullable) NSString *parent; /** Required. The Subscription to be created. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; /** * Required. Identifies the subscription resource on the Partner side. The @@ -723,7 +723,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the length of a period of a time. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration : GTLRObject +@interface GTLRPaymentsResellerSubscription_Duration : GTLRObject /** * number of duration units to be included. @@ -736,13 +736,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * The unit used for the duration * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Day - * Unit of a day. (Value: "DAY") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Hour - * Unit of an hour. It is used for testing. (Value: "HOUR") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_Month - * Unit of a calendar month. (Value: "MONTH") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration_Unit_UnitUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_Day Unit of a day. + * (Value: "DAY") + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_Hour Unit of an + * hour. It is used for testing. (Value: "HOUR") + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_Month Unit of a + * calendar month. (Value: "MONTH") + * @arg @c kGTLRPaymentsResellerSubscription_Duration_Unit_UnitUnspecified * Default value, reserved as an invalid or an unexpected value. (Value: * "UNIT_UNSPECIFIED") */ @@ -754,11 +754,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Intent for entitling the previously provisioned subscription to an end user. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent : GTLRObject /** * Required. The name of the subscription resource that is entitled to the - * current end user. + * current end user. It is in the format of + * "partners/{partner_id}/subscriptions/{subscriptionId}". */ @property(nonatomic, copy, nullable) NSString *name; @@ -769,13 +770,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Partner request for entitling the previously provisioned subscription to an * end user. The end user identity is inferred from the request OAuth context. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest : GTLRObject /** * Optional. The line items to be entitled. If unspecified, all line items will * be entitled. */ -@property(nonatomic, strong, nullable) NSArray *lineItemEntitlementDetails; +@property(nonatomic, strong, nullable) NSArray *lineItemEntitlementDetails; @end @@ -783,7 +784,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * The details of the line item to be entitled. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionRequestLineItemEntitlementDetails : GTLRObject /** * Required. The index of the line item to be entitled. @@ -806,10 +807,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Response that contains the entitled subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse : GTLRObject /** The subscription that has user linked to it. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -818,13 +819,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Request message for extending a Subscription resource. A new recurrence will * be made based on the subscription schedule defined by the original product. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest : GTLRObject /** * Required. Specifies details of the extension. Currently, the duration of the * extension must be exactly one billing cycle of the original subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension *extension; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Extension *extension; /** * Required. Restricted to 36 ASCII characters. A random UUID is recommended. @@ -841,7 +842,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Response that contains the timestamps after the extension. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse : GTLRObject /** * The time at which the subscription is expected to be extended, in ISO 8061 @@ -872,10 +873,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the details of an extension request. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Extension : GTLRObject +@interface GTLRPaymentsResellerSubscription_Extension : GTLRObject /** Required. Specifies the period of access the subscription should grant. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *duration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *duration; /** Required. Identifier of the end-user in partner’s system. */ @property(nonatomic, copy, nullable) NSString *partnerUserToken; @@ -886,7 +887,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to find eligible promotions for the current user. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest : GTLRObject /** * Optional. Specifies the filters for the promotion results. The syntax is @@ -931,7 +932,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse : GTLRCollectionObject +@interface GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse : GTLRCollectionObject /** * A token, which can be sent as `page_token` to retrieve the next page. If @@ -945,7 +946,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. */ -@property(nonatomic, strong, nullable) NSArray *promotions; +@property(nonatomic, strong, nullable) NSArray *promotions; @end @@ -953,7 +954,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Details for a subscriptiin line item with finite billing cycles. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails : GTLRObject /** * Required. The number of a subscription line item billing cycles after which @@ -967,27 +968,26 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** - * [Preview only] Request to generate a user session. + * Request to generate a user session. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_GenerateUserSessionRequest : GTLRObject /** The user intent to generate the user session. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload *intentPayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_IntentPayload *intentPayload; @end /** - * [Preview only] Response that contains the details for generated user - * session. + * Response that contains the details for generated user session. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_GenerateUserSessionResponse : GTLRObject /** * The generated user session. The token size is proportional to the size of * the intent payload. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession *userSession; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_UserSession *userSession; @end @@ -995,7 +995,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Payload specific for Google Home products. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_GoogleHomePayload : GTLRObject /** * Output only. This identifies whether the subscription is attached to a @@ -1005,6 +1005,9 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund */ @property(nonatomic, strong, nullable) NSNumber *attachedToGoogleStructure; +/** Optional. Structure identifier on Google side. */ +@property(nonatomic, copy, nullable) NSString *googleStructureId; + /** * Optional. This identifies the structure ID on partner side that the * subscription should be applied to. Only required when the partner requires @@ -1018,7 +1021,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Payload specific to Google One products. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_GoogleOnePayload : GTLRObject /** Campaign attributed to sales of this subscription. */ @property(nonatomic, strong, nullable) NSArray *campaigns; @@ -1027,22 +1030,22 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * The type of offering the subscription was sold by the partner. e.g. VAS. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingHardBundle + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingHardBundle * Product purchased as part of a hard bundle where Google One was * included with the bundle. Google One pricing is included in the * bundle. (Value: "OFFERING_HARD_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingSoftBundle + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingSoftBundle * Purchased as part of a bundle where Google One was provided as an * option. Google One pricing is included in the bundle. (Value: * "OFFERING_SOFT_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingUnspecified * The type of partner offering is unspecified. (Value: * "OFFERING_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasBundle + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasBundle * Google One product purchased as a Value added service in addition to * existing partner's products. Customer pays additional amount for * Google One product. (Value: "OFFERING_VAS_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_Offering_OfferingVasStandalone + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_Offering_OfferingVasStandalone * Google One product purchased by itself by customer as a value add * service. Customer pays additional amount for Google One product. * (Value: "OFFERING_VAS_STANDALONE") @@ -1053,16 +1056,16 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * The type of sales channel through which the subscription was sold. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineAndroidApp * Sold through partner android app. (Value: * "CHANNEL_ONLINE_ANDROID_APP") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineIosApp + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineIosApp * Sold through partner iOS app. (Value: "CHANNEL_ONLINE_IOS_APP") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelOnlineWeb + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelOnlineWeb * Sold through partner website. (Value: "CHANNEL_ONLINE_WEB") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelRetail + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelRetail * Sold at store. (Value: "CHANNEL_RETAIL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload_SalesChannel_ChannelUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_GoogleOnePayload_SalesChannel_ChannelUnspecified * The channel type is unspecified. (Value: "CHANNEL_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *salesChannel; @@ -1073,16 +1076,34 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end +/** + * Localized variant of a text in a particular language. + */ +@interface GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText : GTLRObject + +/** + * The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more + * information, see + * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, copy, nullable) NSString *languageCode; + +/** Localized string in the language corresponding to language_code below. */ +@property(nonatomic, copy, nullable) NSString *text; + +@end + + /** * The payload that describes the user intent. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1IntentPayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_IntentPayload : GTLRObject /** The request to create a subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CreateSubscriptionIntent *createIntent; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_CreateSubscriptionIntent *createIntent; /** The request to entitle a subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent *entitleIntent; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_EntitleSubscriptionIntent *entitleIntent; @end @@ -1095,7 +1116,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse : GTLRCollectionObject +@interface GTLRPaymentsResellerSubscription_ListProductsResponse : GTLRCollectionObject /** * A token, which can be sent as `page_token` to retrieve the next page. If @@ -1109,7 +1130,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. */ -@property(nonatomic, strong, nullable) NSArray *products; +@property(nonatomic, strong, nullable) NSArray *products; @end @@ -1122,7 +1143,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * should support automatic pagination (when @c shouldFetchNextPages is * enabled). */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse : GTLRCollectionObject +@interface GTLRPaymentsResellerSubscription_ListPromotionsResponse : GTLRCollectionObject /** * A token, which can be sent as `page_token` to retrieve the next page. If @@ -1136,7 +1157,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * @note This property is used to support NSFastEnumeration and indexed * subscripting on this class. */ -@property(nonatomic, strong, nullable) NSArray *promotions; +@property(nonatomic, strong, nullable) NSArray *promotions; @end @@ -1144,7 +1165,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes a location of an end user. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location : GTLRObject +@interface GTLRPaymentsResellerSubscription_Location : GTLRObject /** The postal code this location refers to. Ex. "94043" */ @property(nonatomic, copy, nullable) NSString *postalCode; @@ -1161,7 +1182,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * A Product resource that defines a subscription service that can be resold. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product : GTLRObject +@interface GTLRPaymentsResellerSubscription_Product : GTLRObject /** Output only. Specifies the details for a bundle product. */ @property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_ProductBundleDetails *bundleDetails; @@ -1170,7 +1191,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Optional. Details for a subscription line item with finite billing cycles. * If unset, the line item will be charged indefinitely. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails *finiteBillingCycleDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails *finiteBillingCycleDetails; /** * Identifier. Response only. Resource name of the product. It will have the @@ -1179,18 +1200,18 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, copy, nullable) NSString *name; /** Output only. Price configs for the product in the available regions. */ -@property(nonatomic, strong, nullable) NSArray *priceConfigs; +@property(nonatomic, strong, nullable) NSArray *priceConfigs; /** * Output only. Specifies the type of the product. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeBundleSubscription + * @arg @c kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeBundleSubscription * The product is a bundled subscription plan, which includes multiple * subscription elements. (Value: "PRODUCT_TYPE_BUNDLE_SUBSCRIPTION") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeSubscription + * @arg @c kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeSubscription * The product is a subscription. (Value: "PRODUCT_TYPE_SUBSCRIPTION") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Product_ProductType_ProductTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Product_ProductType_ProductTypeUnspecified * Unspecified. It's reserved as an unexpected value, should not be used. * (Value: "PRODUCT_TYPE_UNSPECIFIED") */ @@ -1205,7 +1226,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Output only. Specifies the length of the billing cycle of the subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *subscriptionBillingCycleDuration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *subscriptionBillingCycleDuration; /** Output only. Localized human readable name of the product. */ @property(nonatomic, strong, nullable) NSArray *titles; @@ -1213,10 +1234,37 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end +/** + * Details for a bundle product. + */ +@interface GTLRPaymentsResellerSubscription_ProductBundleDetails : GTLRObject + +/** The individual products that are included in the bundle. */ +@property(nonatomic, strong, nullable) NSArray *bundleElements; + +/** + * The entitlement mode of the bundle product. + * + * Likely values: + * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull + * All the bundle elements must be fully activated in a single request. + * (Value: "ENTITLEMENT_MODE_FULL") + * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental + * The bundle elements could be incrementally activated. (Value: + * "ENTITLEMENT_MODE_INCREMENTAL") + * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified + * Unspecified. It's reserved as an unexpected value, should not be used. + * (Value: "ENTITLEMENT_MODE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *entitlementMode; + +@end + + /** * The individual product that is included in the bundle. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement : GTLRObject +@interface GTLRPaymentsResellerSubscription_ProductBundleDetailsBundleElement : GTLRObject /** * Required. Output only. Product resource name that identifies the bundle @@ -1230,16 +1278,16 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Specifies product specific payload. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_ProductPayload : GTLRObject /** Payload specific to Google Home products. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleHomePayload *googleHomePayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleHomePayload *googleHomePayload; /** Product-specific payloads. Payload specific to Google One products. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload *googleOnePayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleOnePayload *googleOnePayload; /** Payload specific to Youtube products. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload *youtubePayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_YoutubePayload *youtubePayload; @end @@ -1247,10 +1295,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Configs the prices in an available region. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPriceConfig : GTLRObject +@interface GTLRPaymentsResellerSubscription_ProductPriceConfig : GTLRObject /** Output only. The price in the region. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount *amount; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Amount *amount; /** * Output only. 2-letter ISO region code where the product is available in. Ex. @@ -1265,7 +1313,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * A Promotion resource that defines a promotion for a subscription that can be * resold. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion : GTLRObject +@interface GTLRPaymentsResellerSubscription_Promotion : GTLRObject /** Output only. The product ids this promotion can be applied to. */ @property(nonatomic, strong, nullable) NSArray *applicableProducts; @@ -1281,13 +1329,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Optional. Specifies the duration of the free trial of the subscription when * promotion_type is PROMOTION_TYPE_FREE_TRIAL */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *freeTrialDuration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *freeTrialDuration; /** * Optional. Specifies the introductory pricing details when the promotion_type * is PROMOTION_TYPE_INTRODUCTORY_PRICING. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails *introductoryPricingDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails *introductoryPricingDetails; /** * Identifier. Response only. Resource name of the subscription promotion. It @@ -1299,12 +1347,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Output only. Specifies the type of the promotion. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeFreeTrial + * @arg @c kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeFreeTrial * The promotion is a free trial. (Value: "PROMOTION_TYPE_FREE_TRIAL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeIntroductoryPricing + * @arg @c kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeIntroductoryPricing * The promotion is a reduced introductory pricing. (Value: * "PROMOTION_TYPE_INTRODUCTORY_PRICING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Promotion_PromotionType_PromotionTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Promotion_PromotionType_PromotionTypeUnspecified * The promotion type is unspecified. (Value: * "PROMOTION_TYPE_UNSPECIFIED") */ @@ -1331,10 +1379,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * The details of a introductory pricing promotion. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails : GTLRObject /** Output only. Specifies the introductory pricing periods. */ -@property(nonatomic, strong, nullable) NSArray *introductoryPricingSpecs; +@property(nonatomic, strong, nullable) NSArray *introductoryPricingSpecs; @end @@ -1342,10 +1390,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * The duration of an introductory pricing promotion. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec : GTLRObject +@interface GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetailsIntroductoryPricingSpec : GTLRObject /** Output only. The discount amount. The value is positive. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount *discountAmount; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Amount *discountAmount; /** * Output only. The discount percentage in micros. For example, 50,000 @@ -1374,17 +1422,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to resume a suspended subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest : GTLRObject @end /** * Response that contains the resumed subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse : GTLRObject /** The resumed subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -1393,7 +1441,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * A description of what time period or moment in time the product or service * is being delivered over. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod : GTLRObject +@interface GTLRPaymentsResellerSubscription_ServicePeriod : GTLRObject /** Optional. The end time of the service period. Time is exclusive. */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; @@ -1415,13 +1463,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * not do the same. To fully understand the specific details, please consult * the relevant contract or product policy. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription : GTLRObject +@interface GTLRPaymentsResellerSubscription_Subscription : GTLRObject /** * Output only. Describes the details of a cancelled subscription. Only * applicable to subscription of state `STATE_CANCELLED`. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails *cancellationDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails *cancellationDetails; /** * Output only. System generated timestamp when the subscription is created. @@ -1450,13 +1498,13 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, strong, nullable) GTLRDateTime *freeTrialEndTime; /** Required. The line items of the subscription. */ -@property(nonatomic, strong, nullable) NSArray *lineItems; +@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; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails *migrationDetails; /** * Identifier. Resource name of the subscription. It will have the format of @@ -1477,12 +1525,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle). * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateCancelling + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateCancelling * The subscription is being cancelled. (Value: * "PROCESSING_STATE_CANCELLING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateRecurring + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateRecurring * The subscription is recurring. (Value: "PROCESSING_STATE_RECURRING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_ProcessingState_ProcessingStateUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_ProcessingState_ProcessingStateUnspecified * The processing state is unspecified. (Value: * "PROCESSING_STATE_UNSPECIFIED") */ @@ -1510,7 +1558,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * the end of the free trial period. Specify the promotion resource name only * when used as input. */ -@property(nonatomic, strong, nullable) NSArray *promotionSpecs; +@property(nonatomic, strong, nullable) NSArray *promotionSpecs; /** * Optional. The timestamp when the user transaction was made with the Partner. @@ -1540,7 +1588,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Required. The location that the service is provided as indicated by the * partner. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Location *serviceLocation; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Location *serviceLocation; /** * Output only. Describes the state of the subscription. See more details at @@ -1548,26 +1596,26 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * subscription](/payments/reseller/subscription/reference/index/Receive.Notifications#payments-subscription-lifecycle). * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateActive + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateActive * The subscription is active. (Value: "STATE_ACTIVE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelAtEndOfCycle + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelAtEndOfCycle * The subscription is waiting to be cancelled by the next recurrence * cycle. (Value: "STATE_CANCEL_AT_END_OF_CYCLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCancelled + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateCancelled * The subscription is cancelled. This is the final state of the * subscription, as it can no longer be modified or reactivated. (Value: * "STATE_CANCELLED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateCreated + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateCreated * The subscription is created, a state before it is moved to * STATE_ACTIVE. (Value: "STATE_CREATED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateInGracePeriod + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateInGracePeriod * The subscription is in grace period. It can happen: 1) in manual * extend mode, the subscription is not extended by the partner at the * end of current cycle. 2) for outbound authorization enabled partners, * a renewal purchase order is rejected. (Value: "STATE_IN_GRACE_PERIOD") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateSuspended + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateSuspended * The subscription is suspended. (Value: "STATE_SUSPENDED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription_State_StateUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_Subscription_State_StateUnspecified * The state is unspecified. (Value: "STATE_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *state; @@ -1583,7 +1631,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * upgrades/downgrades from. Only populated if this subscription is an * upgrade/downgrade from another subscription. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails *upgradeDowngradeDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails *upgradeDowngradeDetails; @end @@ -1591,42 +1639,42 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the details of a cancelled or cancelling subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionCancellationDetails : GTLRObject /** * Output only. The reason of the cancellation. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccidentalPurchase * Accidential purchase. (Value: * "CANCELLATION_REASON_ACCIDENTAL_PURCHASE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonAccountClosed * Used for notification only, do not use in Cancel API. User account * closed. (Value: "CANCELLATION_REASON_ACCOUNT_CLOSED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonFraud + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonFraud * Fraudualant transaction. (Value: "CANCELLATION_REASON_FRAUD") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonOther + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonOther * Other reason. (Value: "CANCELLATION_REASON_OTHER") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonPastDue + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonPastDue * Payment is past due. (Value: "CANCELLATION_REASON_PAST_DUE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonRemorse + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonRemorse * Buyer's remorse. (Value: "CANCELLATION_REASON_REMORSE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemCancel * Used for notification only, do not use in Cancel API. The subscription * is cancelled by Google automatically since it is no longer valid. * (Value: "CANCELLATION_REASON_SYSTEM_CANCEL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonSystemError + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonSystemError * Used for notification only, do not use in Cancel API. Cancellation due * to an unrecoverable system error. (Value: * "CANCELLATION_REASON_SYSTEM_ERROR") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUnspecified * Reason is unspecified. Should not be used. (Value: * "CANCELLATION_REASON_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUpgradeDowngrade * Used for notification only, do not use in Cancel API. Cancellation due * to upgrade or downgrade. (Value: * "CANCELLATION_REASON_UPGRADE_DOWNGRADE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionCancellationDetails_Reason_CancellationReasonUserDelinquency * Cancellation due to user delinquency (Value: * "CANCELLATION_REASON_USER_DELINQUENCY") */ @@ -1638,14 +1686,14 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Individual line item definition of a subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItem : GTLRObject /** * Output only. The price of the product/service in this line item. The amount * could be the wholesale price, or it can include a cost of sale based on the * contract. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Amount *amount; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Amount *amount; /** * Output only. The bundle details for the line item. Only populated if the @@ -1665,7 +1713,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * If unset, the line item will be charged indefinitely. Used only with * LINE_ITEM_RECURRENCE_TYPE_PERIODIC. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails *finiteBillingCycleDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_FiniteBillingCycleDetails *finiteBillingCycleDetails; /** * Output only. The free trial end time will be populated after the line item @@ -1688,10 +1736,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * not enabled. If used, the request will be rejected. When used as input in * Create or Provision API, specify its resource name only. */ -@property(nonatomic, strong, nullable) NSArray *lineItemPromotionSpecs; +@property(nonatomic, strong, nullable) NSArray *lineItemPromotionSpecs; /** Output only. Details only set for a ONE_TIME recurrence line item. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails *oneTimeRecurrenceDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails *oneTimeRecurrenceDetails; /** * Required. Product resource name that identifies one the line item The format @@ -1700,19 +1748,19 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @property(nonatomic, copy, nullable) NSString *product; /** Optional. Product specific payload for this line item. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ProductPayload *productPayload; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_ProductPayload *productPayload; /** * Output only. The recurrence type of the line item. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeOneTime * The line item does not recur in the future. (Value: * "LINE_ITEM_RECURRENCE_TYPE_ONE_TIME") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypePeriodic * The line item recurs periodically. (Value: * "LINE_ITEM_RECURRENCE_TYPE_PERIODIC") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_RecurrenceType_LineItemRecurrenceTypeUnspecified * The line item recurrence type is unspecified. (Value: * "LINE_ITEM_RECURRENCE_TYPE_UNSPECIFIED") */ @@ -1722,30 +1770,30 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Output only. The state of the line item. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActivating + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActivating * The line item is being activated in order to be charged. If a free * trial applies to the line item, the line item is pending a prorated * charge at the end of the free trial period, as indicated by * `line_item_free_trial_end_time`. (Value: "LINE_ITEM_STATE_ACTIVATING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateActive + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateActive * The line item is in ACTIVE state. If the subscription is cancelled or * suspended, the line item will not be charged even if the line item is * active. (Value: "LINE_ITEM_STATE_ACTIVE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateDeactivating + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateDeactivating * The line item is being deactivated, and a prorated refund in being * processed. (Value: "LINE_ITEM_STATE_DEACTIVATING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateInactive + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateInactive * The line item is in INACTIVE state. (Value: * "LINE_ITEM_STATE_INACTIVE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateNew + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateNew * The line item is new, and is not activated or charged yet. (Value: * "LINE_ITEM_STATE_NEW") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateOffCycleCharging + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateOffCycleCharging * Line item is being charged off-cycle. (Value: * "LINE_ITEM_STATE_OFF_CYCLE_CHARGING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateUnspecified * Unspecified state. (Value: "LINE_ITEM_STATE_UNSPECIFIED") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItem_State_LineItemStateWaitingToDeactivate + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionLineItem_State_LineItemStateWaitingToDeactivate * The line item is scheduled to be deactivated at the end of the current * cycle. (Value: "LINE_ITEM_STATE_WAITING_TO_DEACTIVATE") */ @@ -1754,10 +1802,21 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end +/** + * The bundle details for a line item corresponding to a hard bundle. + */ +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails : GTLRObject + +/** Output only. The details for each element in the hard bundle. */ +@property(nonatomic, strong, nullable) NSArray *bundleElementDetails; + +@end + + /** * The details for an element in the hard bundle. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemBundleDetailsBundleElementDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetailsBundleElementDetails : GTLRObject /** * Output only. Product resource name that identifies the bundle element. The @@ -1774,10 +1833,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Details for a ONE_TIME recurrence line item. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionLineItemOneTimeRecurrenceDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemOneTimeRecurrenceDetails : GTLRObject /** Output only. The service period of the ONE_TIME line item. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ServicePeriod *servicePeriod; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_ServicePeriod *servicePeriod; @end @@ -1785,7 +1844,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the details of the migrated subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionMigrationDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionMigrationDetails : GTLRObject /** Output only. The migrated subscription id in the legacy system. */ @property(nonatomic, copy, nullable) NSString *migratedSubscriptionId; @@ -1796,19 +1855,19 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Describes the spec for one promotion. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionPromotionSpec : GTLRObject /** * Output only. The duration of the free trial if the promotion is of type * FREE_TRIAL. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Duration *freeTrialDuration; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Duration *freeTrialDuration; /** * Output only. The details of the introductory pricing spec if the promotion * is of type INTRODUCTORY_PRICING. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails *introductoryPricingDetails; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_PromotionIntroductoryPricingDetails *introductoryPricingDetails; /** * Required. Promotion resource name that identifies a promotion. The format is @@ -1820,12 +1879,12 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Output only. The type of the promotion for the spec. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeFreeTrial * The promotion is a free trial. (Value: "PROMOTION_TYPE_FREE_TRIAL") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeIntroductoryPricing * The promotion is a reduced introductory pricing. (Value: * "PROMOTION_TYPE_INTRODUCTORY_PRICING") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionPromotionSpec_Type_PromotionTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionPromotionSpec_Type_PromotionTypeUnspecified * The promotion type is unspecified. (Value: * "PROMOTION_TYPE_UNSPECIFIED") */ @@ -1838,34 +1897,37 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Details about the previous subscription that this new subscription * upgrades/downgrades from. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails : GTLRObject +@interface GTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails : GTLRObject /** * Required. Specifies the billing cycle spec for the new upgraded/downgraded * subscription. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecAlignWithPreviousSubscription * The billing cycle of the new subscription starts immediately but * aligns with the previous subscription it upgrades or downgrades from. * First cycle of the new subscription will be prorated. (Value: * "BILLING_CYCLE_SPEC_ALIGN_WITH_PREVIOUS_SUBSCRIPTION") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecDeferredToNextRecurrence * The billing cycle starts at the end of the previous subscription's * billing cycle and aligns with the previous subscription's billing * cycle. (Value: "BILLING_CYCLE_SPEC_DEFERRED_TO_NEXT_RECURRENCE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecStartImmediately * The billing cycle of the new subscription starts immediately. (Value: * "BILLING_CYCLE_SPEC_START_IMMEDIATELY") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_SubscriptionUpgradeDowngradeDetails_BillingCycleSpec_BillingCycleSpecUnspecified * Billing cycle spec is not specified. (Value: * "BILLING_CYCLE_SPEC_UNSPECIFIED") */ @property(nonatomic, copy, nullable) NSString *billingCycleSpec; /** - * Required. The previous subscription id to be replaced. This is not the full - * resource name, use the subscription_id segment only. + * Required. The previous subscription id to be replaced. The format can be one + * of the following: 1. `subscription_id`: the old subscription id under the + * same partner_id. 2. `partners/{partner_id}/subscriptions/{subscription_id}`. + * A different partner_id is allowed. But they must be under the same partner + * group. */ @property(nonatomic, copy, nullable) NSString *previousSubscriptionId; @@ -1875,17 +1937,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to suspend a subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest : GTLRObject @end /** * Response that contains the suspended subscription. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse : GTLRObject /** The suspended subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -1893,17 +1955,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Request to revoke a cancellation request. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest : GTLRObject +@interface GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest : GTLRObject @end /** * Response that contains the updated subscription resource. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse : GTLRObject +@interface GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse : GTLRObject /** The updated subscription resource. */ -@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *subscription; +@property(nonatomic, strong, nullable) GTLRPaymentsResellerSubscription_Subscription *subscription; @end @@ -1919,10 +1981,10 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * expired or not. You don't need to worry about multiple sessions resulting in * duplicate fulfillments as guaranteed by the same subscription id. Please * refer to the [Google Managed - * Signup](/payments/reseller/subscription/reference/index/User.Signup.Integration/Google.Managed.Signup.\\(In.Preview\\)) + * Signup](/payments/reseller/subscription/reference/index/User.Signup.Integration/Google.Managed.Signup) * documentation for additional integration details. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UserSession : GTLRObject +@interface GTLRPaymentsResellerSubscription_UserSession : GTLRObject /** Output only. The time at which the user session expires. */ @property(nonatomic, strong, nullable) GTLRDateTime *expireTime; @@ -1940,7 +2002,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund /** * Payload specific to Youtube products. */ -@interface GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload : GTLRObject +@interface GTLRPaymentsResellerSubscription_YoutubePayload : GTLRObject /** Output only. The access expiration time for this line item. */ @property(nonatomic, strong, nullable) GTLRDateTime *accessEndTime; @@ -1952,17 +2014,17 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund * Optional. Specifies the plan type offered to the end user by the partner. * * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeHardBundle * This item is bundled with another partner offering, the item is * provisioned at purchase time. (Value: "PARTNER_PLAN_TYPE_HARD_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeSoftBundle * This item is bundled with another partner offering, the item is * provisioned after puchase, when the user opts in this Google service. * (Value: "PARTNER_PLAN_TYPE_SOFT_BUNDLE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeStandalone * This item is offered as a standalone product to the user. (Value: * "PARTNER_PLAN_TYPE_STANDALONE") - * @arg @c kGTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified + * @arg @c kGTLRPaymentsResellerSubscription_YoutubePayload_PartnerPlanType_PartnerPlanTypeUnspecified * Unspecified. Should not use, reserved as an invalid value. (Value: * "PARTNER_PLAN_TYPE_UNSPECIFIED") */ @@ -1970,62 +2032,6 @@ FOUNDATION_EXTERN NSString * const kGTLRPaymentsResellerSubscription_ProductBund @end - -/** - * Localized variant of a text in a particular language. - */ -@interface GTLRPaymentsResellerSubscription_GoogleTypeLocalizedText : GTLRObject - -/** - * The text's BCP-47 language code, such as "en-US" or "sr-Latn". For more - * information, see - * http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. - */ -@property(nonatomic, copy, nullable) NSString *languageCode; - -/** Localized string in the language corresponding to language_code below. */ -@property(nonatomic, copy, nullable) NSString *text; - -@end - - -/** - * Details for a bundle product. - */ -@interface GTLRPaymentsResellerSubscription_ProductBundleDetails : GTLRObject - -/** The individual products that are included in the bundle. */ -@property(nonatomic, strong, nullable) NSArray *bundleElements; - -/** - * The entitlement mode of the bundle product. - * - * Likely values: - * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeFull - * All the bundle elements must be fully activated in a single request. - * (Value: "ENTITLEMENT_MODE_FULL") - * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeIncremental - * The bundle elements could be incrementally activated. (Value: - * "ENTITLEMENT_MODE_INCREMENTAL") - * @arg @c kGTLRPaymentsResellerSubscription_ProductBundleDetails_EntitlementMode_EntitlementModeUnspecified - * Unspecified. It's reserved as an unexpected value, should not be used. - * (Value: "ENTITLEMENT_MODE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *entitlementMode; - -@end - - -/** - * The bundle details for a line item corresponding to a hard bundle. - */ -@interface GTLRPaymentsResellerSubscription_SubscriptionLineItemBundleDetails : GTLRObject - -/** Output only. The details for each element in the hard bundle. */ -@property(nonatomic, strong, nullable) NSArray *bundleElementDetails; - -@end - NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h index a51ef5540..aba437d08 100644 --- a/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h +++ b/Sources/GeneratedServices/PaymentsResellerSubscription/Public/GoogleAPIClientForREST/GTLRPaymentsResellerSubscriptionQuery.h @@ -79,8 +79,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListProductsResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ListProductsResponse. * * Currently, it doesn't support **YouTube** products. Retrieves the products * that can be resold by the partner. It should be autenticated with a service @@ -120,7 +119,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsResponse. + * GTLRPaymentsResellerSubscription_FindEligiblePromotionsResponse. * * Currently, it is only enabeld for **YouTube**. Finds eligible promotions for * the current user. The API requires user authorization via OAuth. The bare @@ -128,14 +127,14 @@ NS_ASSUME_NONNULL_BEGIN * screen. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest to include + * in the query. * @param parent Required. The parent, the partner that can resell. Format: * partners/{partner} * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersPromotionsFindEligible */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1FindEligiblePromotionsRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_FindEligiblePromotionsRequest *)object parent:(NSString *)parent; @end @@ -189,8 +188,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ListPromotionsResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ListPromotionsResponse. * * Currently, it doesn't support **YouTube** promotions. Retrieves the * promotions, such as free trial, that can be used by the partner. It should @@ -228,23 +226,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_CancelSubscriptionResponse. * * Cancels a subscription service either immediately or by the end of the * current billing cycle for their customers. It should be called directly by * the partner using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_CancelSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be cancelled. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCancel */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_CancelSubscriptionRequest *)object name:(NSString *)name; @end @@ -276,22 +273,20 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *subscriptionId; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription. + * Fetches a @c GTLRPaymentsResellerSubscription_Subscription. * * Used by partners to create a subscription for their customers. The created * subscription is associated with the end user inferred from the end user * credentials. This API must be authorized by the end user using OAuth. * - * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription - * to include in the query. + * @param object The @c GTLRPaymentsResellerSubscription_Subscription to + * include in the query. * @param parent Required. The parent resource name, which is the identifier of * the partner. It will have the format of "partners/{partner_id}". * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsCreate */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent; @end @@ -316,23 +311,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_EntitleSubscriptionResponse. * * Entitles a previously provisioned subscription to the current end user. The * end user identity is inferred from the authorized credential of the request. * This API must be authorized by the end user using OAuth. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource that is entitled * to the current end user. It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsEntitle */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_EntitleSubscriptionRequest *)object name:(NSString *)name; @end @@ -357,8 +351,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ExtendSubscriptionResponse. * * [Opt-in only] Most partners should be on auto-extend by default. Extends a * subscription service for their customers on an ongoing basis for the @@ -366,15 +359,15 @@ NS_ASSUME_NONNULL_BEGIN * the partner using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be extended. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}". * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsExtend */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ExtendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ExtendSubscriptionRequest *)object name:(NSString *)name; @end @@ -397,8 +390,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription. + * Fetches a @c GTLRPaymentsResellerSubscription_Subscription. * * Gets a subscription by id. It should be called directly by the partner using * service accounts. @@ -442,8 +434,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *subscriptionId; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription. + * Fetches a @c GTLRPaymentsResellerSubscription_Subscription. * * Used by partners to provision a subscription for their customers. This * creates a subscription without associating it with the end user account. @@ -451,15 +442,14 @@ NS_ASSUME_NONNULL_BEGIN * end user account to be associated with the subscription. It should be called * directly by the partner using service accounts. * - * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription - * to include in the query. + * @param object The @c GTLRPaymentsResellerSubscription_Subscription to + * include in the query. * @param parent Required. The parent resource name, which is the identifier of * the partner. It will have the format of "partners/{partner_id}". * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsProvision */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1Subscription *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_Subscription *)object parent:(NSString *)parent; @end @@ -483,23 +473,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_ResumeSubscriptionResponse. * * Resumes a suspended subscription. The new billing cycle will start at the * time of the request. It should be called directly by the partner using * service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be resumed. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsResume */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1ResumeSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_ResumeSubscriptionRequest *)object name:(NSString *)name; @end @@ -523,23 +512,22 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *name; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_SuspendSubscriptionResponse. * * Suspends a subscription. Contract terms may dictate if a prorated refund * will be issued upon suspension. It should be called directly by the partner * using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest to include in + * the query. * @param name Required. The name of the subscription resource to be suspended. * It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsSuspend */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1SuspendSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_SuspendSubscriptionRequest *)object name:(NSString *)name; @end @@ -567,7 +555,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionResponse. + * GTLRPaymentsResellerSubscription_UndoCancelSubscriptionResponse. * * Currently, it is used by **Google One, Play Pass** partners. Revokes the * pending cancellation of a subscription, which is currently in @@ -576,15 +564,15 @@ NS_ASSUME_NONNULL_BEGIN * partner using service accounts. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest to include + * in the query. * @param name Required. The name of the subscription resource whose pending * cancellation needs to be undone. It will have the format of * "partners/{partner_id}/subscriptions/{subscription_id}" * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersSubscriptionsUndoCancel */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1UndoCancelSubscriptionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_UndoCancelSubscriptionRequest *)object name:(NSString *)name; @end @@ -611,8 +599,7 @@ NS_ASSUME_NONNULL_BEGIN @property(nonatomic, copy, nullable) NSString *parent; /** - * Fetches a @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionResponse. + * Fetches a @c GTLRPaymentsResellerSubscription_GenerateUserSessionResponse. * * This API replaces user authorized OAuth consent based APIs (Create, * Entitle). Issues a timed session token for the given user intent. You can @@ -622,14 +609,14 @@ NS_ASSUME_NONNULL_BEGIN * default, the session token is valid for 1 hour. * * @param object The @c - * GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest - * to include in the query. + * GTLRPaymentsResellerSubscription_GenerateUserSessionRequest to include in + * the query. * @param parent Required. The parent, the partner that can resell. Format: * partners/{partner} * * @return GTLRPaymentsResellerSubscriptionQuery_PartnersUserSessionsGenerate */ -+ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest *)object ++ (instancetype)queryWithObject:(GTLRPaymentsResellerSubscription_GenerateUserSessionRequest *)object parent:(NSString *)parent; @end diff --git a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m index 5410585fb..c80f068f4 100644 --- a/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m +++ b/Sources/GeneratedServices/PlayIntegrity/GTLRPlayIntegrityObjects.m @@ -70,6 +70,12 @@ NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_PossibleRisk = @"POSSIBLE_RISK"; NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated = @"UNEVALUATED"; +// GTLRPlayIntegrity_PcAccountDetails.appLicensingVerdict +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Licensed = @"LICENSED"; +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unevaluated = @"UNEVALUATED"; +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unknown = @"UNKNOWN"; +NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unlicensed = @"UNLICENSED"; + // GTLRPlayIntegrity_PcDeviceIntegrity.deviceRecognitionVerdict NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_DeviceRecognitionVerdictUnspecified = @"DEVICE_RECOGNITION_VERDICT_UNSPECIFIED"; NSString * const kGTLRPlayIntegrity_PcDeviceIntegrity_DeviceRecognitionVerdict_MeetsPcIntegrity = @"MEETS_PC_INTEGRITY"; @@ -233,6 +239,16 @@ @implementation GTLRPlayIntegrity_EnvironmentDetails @end +// ---------------------------------------------------------------------------- +// +// GTLRPlayIntegrity_PcAccountDetails +// + +@implementation GTLRPlayIntegrity_PcAccountDetails +@dynamic appLicensingVerdict; +@end + + // ---------------------------------------------------------------------------- // // GTLRPlayIntegrity_PcDeviceIntegrity @@ -267,7 +283,7 @@ @implementation GTLRPlayIntegrity_PcRequestDetails // @implementation GTLRPlayIntegrity_PcTokenPayloadExternal -@dynamic deviceIntegrity, requestDetails; +@dynamic accountDetails, deviceIntegrity, requestDetails; @end diff --git a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h index a7aeee8a8..84f5db730 100644 --- a/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h +++ b/Sources/GeneratedServices/PlayIntegrity/Public/GoogleAPIClientForREST/GTLRPlayIntegrityObjects.h @@ -25,6 +25,7 @@ @class GTLRPlayIntegrity_DeviceIntegrity; @class GTLRPlayIntegrity_DeviceRecall; @class GTLRPlayIntegrity_EnvironmentDetails; +@class GTLRPlayIntegrity_PcAccountDetails; @class GTLRPlayIntegrity_PcDeviceIntegrity; @class GTLRPlayIntegrity_PcRequestDetails; @class GTLRPlayIntegrity_PcTokenPayloadExternal; @@ -91,7 +92,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountActivity_ActivityLe // GTLRPlayIntegrity_AccountDetails.appLicensingVerdict /** - * The app and certificate match the versions distributed by Play. + * The user has a valid license to use the app. * * Value: "LICENSED" */ @@ -111,7 +112,7 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensin */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unknown; /** - * The certificate or package name does not match Google Play records. + * The user does not have a valid license to use the app. * * Value: "UNLICENSED" */ @@ -340,6 +341,35 @@ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayPro */ FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_EnvironmentDetails_PlayProtectVerdict_Unevaluated; +// ---------------------------------------------------------------------------- +// GTLRPlayIntegrity_PcAccountDetails.appLicensingVerdict + +/** + * The user has a valid license to use the app. + * + * Value: "LICENSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Licensed; +/** + * Licensing details were not evaluated since a necessary requirement was + * missed. + * + * Value: "UNEVALUATED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unevaluated; +/** + * Play does not have sufficient information to evaluate licensing details + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unknown; +/** + * The user does not have a valid license to use the app. + * + * Value: "UNLICENSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unlicensed; + // ---------------------------------------------------------------------------- // GTLRPlayIntegrity_PcDeviceIntegrity.deviceRecognitionVerdict @@ -447,8 +477,7 @@ GTLR_DEPRECATED * * Likely values: * @arg @c kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Licensed The - * app and certificate match the versions distributed by Play. (Value: - * "LICENSED") + * user has a valid license to use the app. (Value: "LICENSED") * @arg @c kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unevaluated * Licensing details were not evaluated since a necessary requirement was * missed. For example DeviceIntegrity did not meet the minimum bar or @@ -457,8 +486,8 @@ GTLR_DEPRECATED * does not have sufficient information to evaluate licensing details * (Value: "UNKNOWN") * @arg @c kGTLRPlayIntegrity_AccountDetails_AppLicensingVerdict_Unlicensed - * The certificate or package name does not match Google Play records. - * (Value: "UNLICENSED") + * The user does not have a valid license to use the app. (Value: + * "UNLICENSED") */ @property(nonatomic, copy, nullable) NSString *appLicensingVerdict; @@ -669,6 +698,34 @@ GTLR_DEPRECATED @end +/** + * Contains the account information such as the licensing status for the user + * in the scope. + */ +@interface GTLRPlayIntegrity_PcAccountDetails : GTLRObject + +/** + * Required. Details about the licensing status of the user for the app in the + * scope. + * + * Likely values: + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Licensed + * The user has a valid license to use the app. (Value: "LICENSED") + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unevaluated + * Licensing details were not evaluated since a necessary requirement was + * missed. (Value: "UNEVALUATED") + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unknown + * Play does not have sufficient information to evaluate licensing + * details (Value: "UNKNOWN") + * @arg @c kGTLRPlayIntegrity_PcAccountDetails_AppLicensingVerdict_Unlicensed + * The user does not have a valid license to use the app. (Value: + * "UNLICENSED") + */ +@property(nonatomic, copy, nullable) NSString *appLicensingVerdict; + +@end + + /** * Contains the device attestation information. */ @@ -705,6 +762,9 @@ GTLR_DEPRECATED */ @interface GTLRPlayIntegrity_PcTokenPayloadExternal : GTLRObject +/** Details about the account information such as the licensing status. */ +@property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcAccountDetails *accountDetails; + /** Required. Details about the device integrity. */ @property(nonatomic, strong, nullable) GTLRPlayIntegrity_PcDeviceIntegrity *deviceIntegrity; diff --git a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h index d6140d028..789913d11 100644 --- a/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h +++ b/Sources/GeneratedServices/PolicySimulator/Public/GoogleAPIClientForREST/GTLRPolicySimulatorObjects.h @@ -922,8 +922,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } ``` */ @property(nonatomic, strong, nullable) GTLRPolicySimulator_GoogleCloudOrgpolicyV2PolicySpecPolicyRule_Parameters *parameters; @@ -939,8 +939,8 @@ FOUNDATION_EXTERN NSString * const kGTLRPolicySimulator_GoogleIamV1AuditLogConfi /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } ``` * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m index 8c28d7cde..1b181dd3c 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m +++ b/Sources/GeneratedServices/RecaptchaEnterprise/GTLRRecaptchaEnterpriseObjects.m @@ -165,6 +165,7 @@ NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_Checkbox = @"CHECKBOX"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_IntegrationTypeUnspecified = @"INTEGRATION_TYPE_UNSPECIFIED"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_Invisible = @"INVISIBLE"; +NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_PolicyBasedChallenge = @"POLICY_BASED_CHALLENGE"; NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_Score = @"SCORE"; // ---------------------------------------------------------------------------- @@ -1118,7 +1119,7 @@ @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSetti @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings @dynamic allowAllDomains, allowAmpTraffic, allowedDomains, - challengeSecurityPreference, integrationType; + challengeSecurityPreference, challengeSettings, integrationType; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1130,6 +1131,40 @@ @implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySe @end +// ---------------------------------------------------------------------------- +// +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings +// + +@implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings +@dynamic scoreThreshold; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings +// + +@implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings +@dynamic actionSettings, defaultSettings; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings_ActionSettings +// + +@implementation GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings_ActionSettings + ++ (Class)classForAdditionalProperties { + return [GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings class]; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRRecaptchaEnterprise_GoogleProtobufEmpty diff --git a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h index 88892203b..5d3a624c4 100644 --- a/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h +++ b/Sources/GeneratedServices/RecaptchaEnterprise/Public/GoogleAPIClientForREST/GTLRRecaptchaEnterpriseObjects.h @@ -68,6 +68,9 @@ @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1UserInfo; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WafSettings; @class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings; +@class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings; +@class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings; +@class GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings_ActionSettings; @class GTLRRecaptchaEnterprise_GoogleRpcStatus; @class GTLRRecaptchaEnterprise_GoogleRpcStatus_Details_Item; @@ -930,6 +933,13 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha * Value: "INVISIBLE" */ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_Invisible; +/** + * Displays a visual challenge or not depending on the user risk analysis + * score. + * + * Value: "POLICY_BASED_CHALLENGE" + */ +FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_PolicyBasedChallenge; /** * Only used to produce scores. It doesn't display the "I'm not a robot" * checkbox and never shows captcha challenges. @@ -2315,7 +2325,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1RiskAnalysis : GTLRObject /** - * Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE + * Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE * keys * * Likely values: @@ -3091,7 +3101,7 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha /** * Optional. Settings for the frequency and difficulty at which this key * triggers captcha challenges. This should only be specified for - * IntegrationTypes CHECKBOX and INVISIBLE and SCORE_AND_CHALLENGE. + * `IntegrationType` CHECKBOX, INVISIBLE or POLICY_BASED_CHALLENGE. * * Likely values: * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_ChallengeSecurityPreference_Balance @@ -3107,6 +3117,9 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha */ @property(nonatomic, copy, nullable) NSString *challengeSecurityPreference; +/** Optional. Challenge settings. */ +@property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings *challengeSettings; + /** * Required. Describes how this key is integrated with the website. * @@ -3121,6 +3134,9 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_Invisible * Doesn't display the "I'm not a robot" checkbox, but may show captcha * challenges after risk analysis. (Value: "INVISIBLE") + * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_PolicyBasedChallenge + * Displays a visual challenge or not depending on the user risk analysis + * score. (Value: "POLICY_BASED_CHALLENGE") * @arg @c kGTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettings_IntegrationType_Score * Only used to produce scores. It doesn't display the "I'm not a robot" * checkbox and never shows captcha challenges. (Value: "SCORE") @@ -3130,6 +3146,63 @@ FOUNDATION_EXTERN NSString * const kGTLRRecaptchaEnterprise_GoogleCloudRecaptcha @end +/** + * Per-action challenge settings. + */ +@interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings : GTLRObject + +/** + * Required. A challenge is triggered if the end-user score is below that + * threshold. Value must be between 0 and 1 (inclusive). + * + * Uses NSNumber of floatValue. + */ +@property(nonatomic, strong, nullable) NSNumber *scoreThreshold; + +@end + + +/** + * Settings for POLICY_BASED_CHALLENGE keys to control when a challenge is + * triggered. + */ +@interface GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings : GTLRObject + +/** + * Optional. The action to score threshold map. The action name should be the + * same as the action name passed in the `data-action` attribute (see + * https://cloud.google.com/recaptcha/docs/actions-website). Action names are + * case-insensitive. There is a maximum of 100 action settings. An action name + * has a maximum length of 100. + */ +@property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings_ActionSettings *actionSettings; + +/** + * Required. Defines when a challenge is triggered (unless the default + * threshold is overridden for the given action, see `action_settings`). + */ +@property(nonatomic, strong, nullable) GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings *defaultSettings; + +@end + + +/** + * Optional. The action to score threshold map. The action name should be the + * same as the action name passed in the `data-action` attribute (see + * https://cloud.google.com/recaptcha/docs/actions-website). Action names are + * case-insensitive. There is a maximum of 100 action settings. An action name + * has a maximum length of 100. + * + * @note This class is documented as having more properties of + * GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsActionSettings. + * 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 GTLRRecaptchaEnterprise_GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings_ActionSettings : GTLRObject +@end + + /** * A generic empty message that you can re-use to avoid defining duplicated * empty messages in your APIs. A typical example is to use it as the request diff --git a/Sources/GeneratedServices/Reports/GTLRReportsObjects.m b/Sources/GeneratedServices/Reports/GTLRReportsObjects.m index 00b044d67..4295e7f0e 100644 --- a/Sources/GeneratedServices/Reports/GTLRReportsObjects.m +++ b/Sources/GeneratedServices/Reports/GTLRReportsObjects.m @@ -40,8 +40,8 @@ @implementation GTLRReports_Activities // @implementation GTLRReports_Activity -@dynamic actor, ETag, events, identifier, ipAddress, kind, ownerDomain, - resourceDetails; +@dynamic actor, ETag, events, identifier, ipAddress, kind, networkInfo, + ownerDomain, resourceDetails; + (NSDictionary *)propertyToJSONKeyMap { NSDictionary *map = @{ @@ -168,6 +168,24 @@ @implementation GTLRReports_Activity_Events_Item_Parameters_Item_MultiMessageVal @end +// ---------------------------------------------------------------------------- +// +// GTLRReports_ActivityNetworkInfo +// + +@implementation GTLRReports_ActivityNetworkInfo +@dynamic ipAsn, regionCode, subdivisionCode; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"ipAsn" : [NSNumber class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRReports_AppliedLabel diff --git a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m index 400b8d093..187a182d1 100644 --- a/Sources/GeneratedServices/Reports/GTLRReportsQuery.m +++ b/Sources/GeneratedServices/Reports/GTLRReportsQuery.m @@ -21,6 +21,7 @@ NSString * const kGTLRReportsApplicationNameCalendar = @"calendar"; NSString * const kGTLRReportsApplicationNameChat = @"chat"; NSString * const kGTLRReportsApplicationNameChrome = @"chrome"; +NSString * const kGTLRReportsApplicationNameClassroom = @"classroom"; NSString * const kGTLRReportsApplicationNameContextAwareAccess = @"context_aware_access"; NSString * const kGTLRReportsApplicationNameDataStudio = @"data_studio"; NSString * const kGTLRReportsApplicationNameDrive = @"drive"; diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h index 212ed771a..7569448da 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsObjects.h @@ -24,6 +24,7 @@ @class GTLRReports_Activity_Events_Item_Parameters_Item_MessageValue; @class GTLRReports_Activity_Events_Item_Parameters_Item_MultiMessageValue_Item; @class GTLRReports_Activity_Id; +@class GTLRReports_ActivityNetworkInfo; @class GTLRReports_AppliedLabel; @class GTLRReports_Channel_Params; @class GTLRReports_Date; @@ -122,6 +123,9 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, copy, nullable) NSString *kind; +/** Network information of the user doing the action. */ +@property(nonatomic, strong, nullable) GTLRReports_ActivityNetworkInfo *networkInfo; + /** * This is the domain that is affected by the report's event. For example * domain of Admin console or the Drive application's document owner. @@ -332,6 +336,30 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Network information of the user doing the action. + */ +@interface GTLRReports_ActivityNetworkInfo : GTLRObject + +/** + * IP Address of the user doing the action. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSArray *ipAsn; + +/** ISO 3166-1 alpha-2 region code of the user doing the action. */ +@property(nonatomic, copy, nullable) NSString *regionCode; + +/** + * ISO 3166-2 region code (states and provinces) for countries of the user + * doing the action. + */ +@property(nonatomic, copy, nullable) NSString *subdivisionCode; + +@end + + /** * Details of the label applied on the resource. */ @@ -721,7 +749,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Output only. Parameter value pairs for various applications. For the Entity * Usage Report parameters and values, see [the Entity Usage parameters - * reference](/admin-sdk/reports/v1/reference/usage-ref-appendix-a/entities). + * reference](https://developers.google.com/workspace/admin/reports/v1/reference/usage-ref-appendix-a/entities). */ @property(nonatomic, strong, nullable) NSArray *parameters; diff --git a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h index a13a74c60..9ab1abf13 100644 --- a/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h +++ b/Sources/GeneratedServices/Reports/Public/GoogleAPIClientForREST/GTLRReportsQuery.h @@ -66,6 +66,14 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameChat; * Value: "chrome" */ FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameChrome; +/** + * The Classroom activity reports return information about different types of + * [Classroom activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * + * Value: "classroom" + */ +FOUNDATION_EXTERN NSString * const kGTLRReportsApplicationNameClassroom; /** * The Context-aware access activity reports return information about users' * access denied events due to Context-aware access rules. @@ -316,6 +324,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * Workspace activity reports return information about various types of * Gemini activity events performed by users within a Workspace * application. (Value: "gemini_in_workspace_apps") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") */ @property(nonatomic, copy, nullable) NSString *applicationName; @@ -534,6 +547,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * Workspace activity reports return information about various types of * Gemini activity events performed by users within a Workspace * application. (Value: "gemini_in_workspace_apps") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") * * @return GTLRReportsQuery_ActivitiesList * @@ -639,6 +657,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * reports return information about various Google Keep activity events. * The Keep activity report is only available for Google Workspace * Business and Enterprise customers. (Value: "keep") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") */ @property(nonatomic, copy, nullable) NSString *applicationName; @@ -709,15 +732,16 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; @property(nonatomic, copy, nullable) NSString *filters; /** - * Comma separated group ids (obfuscated) on which user activities are - * filtered, i.e. the response will contain activities for only those users - * that are a part of at least one of the group ids mentioned here. Format: - * "id:abc123,id:xyz456" *Important:* To filter by groups, you must explicitly - * add the groups to your filtering groups allowlist. For more information - * about adding groups to filtering groups allowlist, see [Filter results by - * Google Group](https://support.google.com/a/answer/11482175) + * `Deprecated`. This field is deprecated and is no longer supported. Comma + * separated group ids (obfuscated) on which user activities are filtered, i.e. + * the response will contain activities for only those users that are a part of + * at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456" + * *Important:* To filter by groups, you must explicitly add the groups to your + * filtering groups allowlist. For more information about adding groups to + * filtering groups allowlist, see [Filter results by Google + * Group](https://support.google.com/a/answer/11482175) */ -@property(nonatomic, copy, nullable) NSString *groupIdFilter; +@property(nonatomic, copy, nullable) NSString *groupIdFilter GTLR_DEPRECATED; /** * Determines how many activity records are shown on each response page. For @@ -850,6 +874,11 @@ FOUNDATION_EXTERN NSString * const kGTLRReportsEntityTypeGplusCommunities; * reports return information about various Google Keep activity events. * The Keep activity report is only available for Google Workspace * Business and Enterprise customers. (Value: "keep") + * @arg @c kGTLRReportsApplicationNameClassroom The Classroom activity + * reports return information about different types of [Classroom + * activity + * events](https://developers.google.com/workspace/admin/reports/v1/appendix/activity/classroom). + * (Value: "classroom") * * @return GTLRReportsQuery_ActivitiesWatch */ diff --git a/Sources/GeneratedServices/SA360/GTLRSA360Objects.m b/Sources/GeneratedServices/SA360/GTLRSA360Objects.m index 0d56b0b13..ad1395d6e 100644 --- a/Sources/GeneratedServices/SA360/GTLRSA360Objects.m +++ b/Sources/GeneratedServices/SA360/GTLRSA360Objects.m @@ -64,6 +64,7 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description1 = @"DESCRIPTION_1"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Description2 = @"DESCRIPTION_2"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionInPortrait = @"DESCRIPTION_IN_PORTRAIT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionPrefix = @"DESCRIPTION_PREFIX"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline = @"HEADLINE"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline1 = @"HEADLINE_1"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline2 = @"HEADLINE_2"; @@ -362,6 +363,20 @@ NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_AuthorizationError_Unspecified = @"UNSPECIFIED"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_AuthorizationError_UserPermissionDenied = @"USER_PERMISSION_DENIED"; +// GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode.conversionCustomVariableError +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_DuplicateName = @"DUPLICATE_NAME"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_DuplicateTag = @"DUPLICATE_TAG"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_ExceedsCardinalityLimit = @"EXCEEDS_CARDINALITY_LIMIT"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_IncompatibleType = @"INCOMPATIBLE_TYPE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_IncompatibleWithSelectedResource = @"INCOMPATIBLE_WITH_SELECTED_RESOURCE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_InvalidDimension = @"INVALID_DIMENSION"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_InvalidMetric = @"INVALID_METRIC"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_NotAvailable = @"NOT_AVAILABLE"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_NotFound = @"NOT_FOUND"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_ReservedTag = @"RESERVED_TAG"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_Unknown = @"UNKNOWN"; +NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_Unspecified = @"UNSPECIFIED"; + // GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode.customColumnError NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_CustomColumnError_CustomColumnNotAvailable = @"CUSTOM_COLUMN_NOT_AVAILABLE"; NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_CustomColumnError_CustomColumnNotFound = @"CUSTOM_COLUMN_NOT_FOUND"; @@ -2302,10 +2317,10 @@ @implementation GTLRSA360_GoogleAdsSearchads360V0CommonYoutubeVideoAsset // @implementation GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode -@dynamic authenticationError, authorizationError, customColumnError, dateError, - dateRangeError, distinctError, headerError, internalError, - invalidParameterError, queryError, quotaError, requestError, - sizeLimitError; +@dynamic authenticationError, authorizationError, conversionCustomVariableError, + customColumnError, dateError, dateRangeError, distinctError, + headerError, internalError, invalidParameterError, queryError, + quotaError, requestError, sizeLimitError; @end diff --git a/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h b/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h index da318bb6a..cf4859e82 100644 --- a/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h +++ b/Sources/GeneratedServices/SA360/Public/GoogleAPIClientForREST/GTLRSA360Objects.h @@ -451,6 +451,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAsset * Value: "DESCRIPTION_IN_PORTRAIT" */ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionInPortrait; +/** + * The asset is used as a description prefix. + * + * Value: "DESCRIPTION_PREFIX" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionPrefix; /** * The asset was used in a headline. Use this only if there is only one * headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or HEADLINE_3 @@ -2053,6 +2059,85 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsError */ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_AuthorizationError_UserPermissionDenied; +// ---------------------------------------------------------------------------- +// GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode.conversionCustomVariableError + +/** + * A conversion custom variable with the specified name already exists. + * + * Value: "DUPLICATE_NAME" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_DuplicateName; +/** + * A conversion custom variable with the specified tag already exists. + * + * Value: "DUPLICATE_TAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_DuplicateTag; +/** + * The conversion custom variable's cardinality exceeds the segmentation limit. + * + * Value: "EXCEEDS_CARDINALITY_LIMIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_ExceedsCardinalityLimit; +/** + * The conversion custom variable requested is incompatible with the current + * request. + * + * Value: "INCOMPATIBLE_TYPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_IncompatibleType; +/** + * The conversion custom variable requested is incompatible with the selected + * resource. + * + * Value: "INCOMPATIBLE_WITH_SELECTED_RESOURCE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_IncompatibleWithSelectedResource; +/** + * The conversion custom variable requested is not of type DIMENSION. + * + * Value: "INVALID_DIMENSION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_InvalidDimension; +/** + * The conversion custom variable requested is not of type METRIC. + * + * Value: "INVALID_METRIC" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_InvalidMetric; +/** + * The conversion custom variable is not available for use. + * + * Value: "NOT_AVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_NotAvailable; +/** + * The conversion custom variable is not found. + * + * Value: "NOT_FOUND" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_NotFound; +/** + * A conversion custom variable with the specified tag is reserved for other + * uses. + * + * Value: "RESERVED_TAG" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_ReservedTag; +/** + * The received error code is not known in this version. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_Unknown; +/** + * Enum unspecified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_Unspecified; + // ---------------------------------------------------------------------------- // GTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode.customColumnError @@ -8959,6 +9044,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionInPortrait * The asset was used as description in portrait image. (Value: * "DESCRIPTION_IN_PORTRAIT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_DescriptionPrefix + * The asset is used as a description prefix. (Value: + * "DESCRIPTION_PREFIX") * @arg @c kGTLRSA360_GoogleAdsSearchads360V0CommonAssetUsage_ServedAssetFieldType_Headline * The asset was used in a headline. Use this only if there is only one * headline in the ad. Otherwise, use the HEADLINE_1, HEADLINE_2 or @@ -11971,6 +12059,47 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea */ @property(nonatomic, copy, nullable) NSString *authorizationError; +/** + * The reasons for the conversion custom variable error + * + * Likely values: + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_DuplicateName + * A conversion custom variable with the specified name already exists. + * (Value: "DUPLICATE_NAME") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_DuplicateTag + * A conversion custom variable with the specified tag already exists. + * (Value: "DUPLICATE_TAG") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_ExceedsCardinalityLimit + * The conversion custom variable's cardinality exceeds the segmentation + * limit. (Value: "EXCEEDS_CARDINALITY_LIMIT") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_IncompatibleType + * The conversion custom variable requested is incompatible with the + * current request. (Value: "INCOMPATIBLE_TYPE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_IncompatibleWithSelectedResource + * The conversion custom variable requested is incompatible with the + * selected resource. (Value: "INCOMPATIBLE_WITH_SELECTED_RESOURCE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_InvalidDimension + * The conversion custom variable requested is not of type DIMENSION. + * (Value: "INVALID_DIMENSION") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_InvalidMetric + * The conversion custom variable requested is not of type METRIC. + * (Value: "INVALID_METRIC") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_NotAvailable + * The conversion custom variable is not available for use. (Value: + * "NOT_AVAILABLE") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_NotFound + * The conversion custom variable is not found. (Value: "NOT_FOUND") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_ReservedTag + * A conversion custom variable with the specified tag is reserved for + * other uses. (Value: "RESERVED_TAG") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_Unknown + * The received error code is not known in this version. (Value: + * "UNKNOWN") + * @arg @c kGTLRSA360_GoogleAdsSearchads360V0ErrorsErrorCode_ConversionCustomVariableError_Unspecified + * Enum unspecified. (Value: "UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *conversionCustomVariableError; + /** * The reasons for the custom column error * @@ -12892,9 +13021,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSA360_GoogleAdsSearchads360V0ServicesSea /** * Immutable. The name of the ad. This is only used to be able to identify the - * ad. It does not need to be unique and does not affect the served ad. The - * name field is currently only supported for DisplayUploadAd, ImageAd, - * ShoppingComparisonListingAd and VideoAd. + * ad. It does not need to be unique and does not affect the served ad. */ @property(nonatomic, copy, nullable) NSString *name; diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m index fed7f551d..d9070790d 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminObjects.m @@ -243,6 +243,10 @@ NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Sqlserver2022Standard = @"SQLSERVER_2022_STANDARD"; NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Sqlserver2022Web = @"SQLSERVER_2022_WEB"; +// GTLRSQLAdmin_ConnectSettings.mdxProtocolSupport +NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_ClientProtocolType = @"CLIENT_PROTOCOL_TYPE"; +NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_MdxProtocolSupportUnspecified = @"MDX_PROTOCOL_SUPPORT_UNSPECIFIED"; + // GTLRSQLAdmin_ConnectSettings.serverCaMode NSString * const kGTLRSQLAdmin_ConnectSettings_ServerCaMode_CaModeUnspecified = @"CA_MODE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_ConnectSettings_ServerCaMode_CustomerManagedCasCa = @"CUSTOMER_MANAGED_CAS_CA"; @@ -588,6 +592,11 @@ NSString * const kGTLRSQLAdmin_Settings_ReplicationType_SqlReplicationTypeUnspecified = @"SQL_REPLICATION_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_Settings_ReplicationType_Synchronous = @"SYNCHRONOUS"; +// GTLRSQLAdmin_SqlActiveDirectoryConfig.mode +NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ActiveDirectoryModeUnspecified = @"ACTIVE_DIRECTORY_MODE_UNSPECIFIED"; +NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ManagedActiveDirectory = @"MANAGED_ACTIVE_DIRECTORY"; +NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_SelfManagedActiveDirectory = @"SELF_MANAGED_ACTIVE_DIRECTORY"; + // GTLRSQLAdmin_SqlExternalSyncSettingError.type NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_BinlogNotEnabled = @"BINLOG_NOT_ENABLED"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_BinlogRetentionSetting = @"BINLOG_RETENTION_SETTING"; @@ -620,10 +629,12 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PgSubscriptionCount = @"PG_SUBSCRIPTION_COUNT"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PgSyncParallelLevel = @"PG_SYNC_PARALLEL_LEVEL"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup = @"PRIMARY_ALREADY_SETUP"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PromptDeleteExisting = @"PROMPT_DELETE_EXISTING"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PscOnlyInstanceWithNoNetworkAttachmentUri = @"PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_ReplicaAlreadySetup = @"REPLICA_ALREADY_SETUP"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_RiskyBackupAdminPrivilege = @"RISKY_BACKUP_ADMIN_PRIVILEGE"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsNotExistOnSource = @"SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsReferenceUnselectedObjects = @"SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SourceMaxSubscriptions = @"SOURCE_MAX_SUBSCRIPTIONS"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlExternalSyncSettingErrorTypeUnspecified = @"SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SqlserverAgentNotRunning = @"SQLSERVER_AGENT_NOT_RUNNING"; @@ -644,6 +655,7 @@ NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTableDefinition = @"UNSUPPORTED_TABLE_DEFINITION"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UnsupportedTablesWithReplicaIdentity = @"UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY"; NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UsersNotCreatedInReplica = @"USERS_NOT_CREATED_IN_REPLICA"; +NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_WillDeleteExisting = @"WILL_DELETE_EXISTING"; // GTLRSQLAdmin_SqlInstancesStartExternalSyncRequest.migrationType NSString * const kGTLRSQLAdmin_SqlInstancesStartExternalSyncRequest_MigrationType_Logical = @"LOGICAL"; @@ -919,7 +931,7 @@ + (BOOL)isKindValidForClassRegistry { @implementation GTLRSQLAdmin_CloneContext @dynamic allocatedIpRange, binLogCoordinates, databaseNames, destinationInstanceName, kind, pitrTimestampMs, pointInTime, - preferredSecondaryZone, preferredZone; + preferredSecondaryZone, preferredZone, sourceInstanceDeletionTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -937,13 +949,23 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Column +// + +@implementation GTLRSQLAdmin_Column +@dynamic name, type; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_ConnectionPoolConfig // @implementation GTLRSQLAdmin_ConnectionPoolConfig -@dynamic connectionPoolingEnabled, flags; +@dynamic connectionPoolingEnabled, flags, poolerCount; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -991,14 +1013,15 @@ @implementation GTLRSQLAdmin_ConnectPoolNodeConfig @implementation GTLRSQLAdmin_ConnectSettings @dynamic backendType, customSubjectAlternativeNames, databaseVersion, dnsName, - dnsNames, ipAddresses, kind, nodeCount, nodes, pscEnabled, region, - serverCaCert, serverCaMode; + dnsNames, ipAddresses, kind, mdxProtocolSupport, nodeCount, nodes, + pscEnabled, region, serverCaCert, serverCaMode; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"customSubjectAlternativeNames" : [NSString class], @"dnsNames" : [GTLRSQLAdmin_DnsNameMapping class], @"ipAddresses" : [GTLRSQLAdmin_IpMapping class], + @"mdxProtocolSupport" : [NSString class], @"nodes" : [GTLRSQLAdmin_ConnectPoolNodeConfig class] }; return map; @@ -1051,10 +1074,10 @@ @implementation GTLRSQLAdmin_DatabaseFlags // @implementation GTLRSQLAdmin_DatabaseInstance -@dynamic availableMaintenanceVersions, backendType, clearNetwork, - connectionName, createTime, currentDiskSize, databaseInstalledVersion, - databaseVersion, diskEncryptionConfiguration, diskEncryptionStatus, - dnsName, dnsNames, ETag, failoverReplica, gceZone, geminiConfig, +@dynamic availableMaintenanceVersions, backendType, connectionName, createTime, + currentDiskSize, databaseInstalledVersion, databaseVersion, + diskEncryptionConfiguration, diskEncryptionStatus, dnsName, dnsNames, + ETag, failoverReplica, gceZone, geminiConfig, includeReplicasForMajorVersionUpgrade, instanceType, ipAddresses, ipv6Address, kind, maintenanceVersion, masterInstanceName, maxDiskSize, name, nodeCount, nodes, onPremisesConfiguration, outOfDiskReport, @@ -1282,6 +1305,16 @@ @implementation GTLRSQLAdmin_Empty @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_ExecuteSqlPayload +// + +@implementation GTLRSQLAdmin_ExecuteSqlPayload +@dynamic autoIamAuthn, database, rowLimit, sqlStatement; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_ExportContext @@ -1405,6 +1438,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_FinalBackupConfig +// + +@implementation GTLRSQLAdmin_FinalBackupConfig +@dynamic enabled, retentionDays; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_Flag @@ -1766,7 +1809,16 @@ @implementation GTLRSQLAdmin_InstancesReencryptRequest // @implementation GTLRSQLAdmin_InstancesRestoreBackupRequest -@dynamic backup, backupdrBackup, restoreBackupContext, restoreInstanceSettings; +@dynamic backup, backupdrBackup, restoreBackupContext, + restoreInstanceClearOverridesFieldNames, restoreInstanceSettings; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"restoreInstanceClearOverridesFieldNames" : [NSString class] + }; + return map; +} + @end @@ -1898,6 +1950,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Metadata +// + +@implementation GTLRSQLAdmin_Metadata +@dynamic sqlStatementExecutionTime; +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_MySqlReplicaConfiguration @@ -2148,6 +2210,25 @@ @implementation GTLRSQLAdmin_PscConfig @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_QueryResult +// + +@implementation GTLRSQLAdmin_QueryResult +@dynamic columns, message, partialResult, rows; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"columns" : [GTLRSQLAdmin_Column class], + @"rows" : [GTLRSQLAdmin_Row class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_ReplicaConfiguration @@ -2236,6 +2317,24 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Row +// + +@implementation GTLRSQLAdmin_Row +@dynamic values; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"values" : [GTLRSQLAdmin_Value class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_SelectedObjects @@ -2259,12 +2358,12 @@ @implementation GTLRSQLAdmin_Settings dataCacheConfig, dataDiskProvisionedIops, dataDiskProvisionedThroughput, dataDiskSizeGb, dataDiskType, deletionProtectionEnabled, denyMaintenancePeriods, edition, - enableDataplexIntegration, enableGoogleMlIntegration, insightsConfig, - ipConfiguration, kind, locationPreference, maintenanceWindow, - passwordValidationPolicy, pricingPlan, replicationLagMaxSeconds, - replicationType, retainBackupsOnDelete, settingsVersion, - sqlServerAuditConfig, storageAutoResize, storageAutoResizeLimit, tier, - timeZone, userLabels; + enableDataplexIntegration, enableGoogleMlIntegration, + finalBackupConfig, insightsConfig, ipConfiguration, kind, + locationPreference, maintenanceWindow, passwordValidationPolicy, + pricingPlan, replicationLagMaxSeconds, replicationType, + retainBackupsOnDelete, settingsVersion, sqlServerAuditConfig, + storageAutoResize, storageAutoResizeLimit, tier, timeZone, userLabels; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -2304,7 +2403,15 @@ + (Class)classForAdditionalProperties { // @implementation GTLRSQLAdmin_SqlActiveDirectoryConfig -@dynamic domain, kind; +@dynamic adminCredentialSecretName, dnsServers, domain, kind, mode, + organizationalUnit; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"dnsServers" : [NSString class] + }; + return map; +} + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to @@ -2342,6 +2449,24 @@ @implementation GTLRSQLAdmin_SqlInstancesAcquireSsrsLeaseResponse @end +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_SqlInstancesExecuteSqlResponse +// + +@implementation GTLRSQLAdmin_SqlInstancesExecuteSqlResponse +@dynamic metadata, results; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"results" : [GTLRSQLAdmin_QueryResult class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSQLAdmin_SqlInstancesGetDiskShrinkConfigResponse @@ -2411,8 +2536,8 @@ @implementation GTLRSQLAdmin_SqlInstancesResetReplicaSizeRequest // @implementation GTLRSQLAdmin_SqlInstancesStartExternalSyncRequest -@dynamic migrationType, mysqlSyncConfig, skipVerification, syncMode, - syncParallelLevel; +@dynamic migrationType, mysqlSyncConfig, replicaOverwriteEnabled, + skipVerification, syncMode, syncParallelLevel; @end @@ -2763,3 +2888,13 @@ + (BOOL)isKindValidForClassRegistry { } @end + + +// ---------------------------------------------------------------------------- +// +// GTLRSQLAdmin_Value +// + +@implementation GTLRSQLAdmin_Value +@dynamic nullValue, value; +@end diff --git a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m index 19d1f96d6..7a121f8c8 100644 --- a/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m +++ b/Sources/GeneratedServices/SQLAdmin/GTLRSQLAdminQuery.m @@ -686,6 +686,37 @@ + (instancetype)queryWithObject:(GTLRSQLAdmin_InstancesDemoteMasterRequest *)obj @end +@implementation GTLRSQLAdminQuery_InstancesExecuteSql + +@dynamic instance, project; + ++ (instancetype)queryWithObject:(GTLRSQLAdmin_ExecuteSqlPayload *)object + project:(NSString *)project + instance:(NSString *)instance { + if (object == nil) { +#if defined(DEBUG) && DEBUG + NSAssert(object != nil, @"Got a nil object"); +#endif + return nil; + } + NSArray *pathParams = @[ + @"instance", @"project" + ]; + NSString *pathURITemplate = @"v1/projects/{project}/instances/{instance}/executeSql"; + GTLRSQLAdminQuery_InstancesExecuteSql *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.project = project; + query.instance = instance; + query.expectedObjectClass = [GTLRSQLAdmin_SqlInstancesExecuteSqlResponse class]; + query.loggingName = @"sql.instances.executeSql"; + return query; +} + +@end + @implementation GTLRSQLAdminQuery_InstancesExport @dynamic instance, project; @@ -1389,7 +1420,7 @@ + (instancetype)queryWithProject:(NSString *)project @implementation GTLRSQLAdminQuery_ProjectsInstancesGetLatestRecoveryTime -@dynamic instance, project; +@dynamic instance, project, sourceInstanceDeletionTime; + (instancetype)queryWithProject:(NSString *)project instance:(NSString *)instance { diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h index c99e83556..d1757f7e7 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminObjects.h @@ -27,6 +27,7 @@ @class GTLRSQLAdmin_BackupRun; @class GTLRSQLAdmin_BinLogCoordinates; @class GTLRSQLAdmin_CloneContext; +@class GTLRSQLAdmin_Column; @class GTLRSQLAdmin_ConnectionPoolConfig; @class GTLRSQLAdmin_ConnectionPoolFlags; @class GTLRSQLAdmin_ConnectPoolNodeConfig; @@ -53,6 +54,7 @@ @class GTLRSQLAdmin_ExportContext_TdeExportOptions; @class GTLRSQLAdmin_ExternalSyncSelectedObject; @class GTLRSQLAdmin_FailoverContext; +@class GTLRSQLAdmin_FinalBackupConfig; @class GTLRSQLAdmin_Flag; @class GTLRSQLAdmin_GeminiInstanceConfig; @class GTLRSQLAdmin_ImportContext; @@ -69,6 +71,7 @@ @class GTLRSQLAdmin_IpMapping; @class GTLRSQLAdmin_LocationPreference; @class GTLRSQLAdmin_MaintenanceWindow; +@class GTLRSQLAdmin_Metadata; @class GTLRSQLAdmin_MySqlReplicaConfiguration; @class GTLRSQLAdmin_MySqlSyncConfig; @class GTLRSQLAdmin_OnPremisesConfiguration; @@ -80,12 +83,14 @@ @class GTLRSQLAdmin_PoolNodeConfig; @class GTLRSQLAdmin_PscAutoConnectionConfig; @class GTLRSQLAdmin_PscConfig; +@class GTLRSQLAdmin_QueryResult; @class GTLRSQLAdmin_ReplicaConfiguration; @class GTLRSQLAdmin_ReplicationCluster; @class GTLRSQLAdmin_Reschedule; @class GTLRSQLAdmin_RestoreBackupContext; @class GTLRSQLAdmin_RotateServerCaContext; @class GTLRSQLAdmin_RotateServerCertificateContext; +@class GTLRSQLAdmin_Row; @class GTLRSQLAdmin_SelectedObjects; @class GTLRSQLAdmin_Settings; @class GTLRSQLAdmin_Settings_UserLabels; @@ -104,6 +109,7 @@ @class GTLRSQLAdmin_TruncateLogContext; @class GTLRSQLAdmin_User; @class GTLRSQLAdmin_UserPasswordValidationPolicy; +@class GTLRSQLAdmin_Value; // Generated comments include content from the discovery document; avoid them // causing warnings since clang's checks are some what arbitrary. @@ -1387,6 +1393,22 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_DatabaseVersion_Sqlserver2022Web; +// ---------------------------------------------------------------------------- +// GTLRSQLAdmin_ConnectSettings.mdxProtocolSupport + +/** + * Client should send the client protocol type in the MDX request. + * + * Value: "CLIENT_PROTOCOL_TYPE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_ClientProtocolType; +/** + * Not specified. + * + * Value: "MDX_PROTOCOL_SUPPORT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_ConnectSettings_MdxProtocolSupport_MdxProtocolSupportUnspecified; + // ---------------------------------------------------------------------------- // GTLRSQLAdmin_ConnectSettings.serverCaMode @@ -3226,6 +3248,29 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Settings_ReplicationType_SqlRep */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_Settings_ReplicationType_Synchronous; +// ---------------------------------------------------------------------------- +// GTLRSQLAdmin_SqlActiveDirectoryConfig.mode + +/** + * Unspecified mode. Will default to MANAGED_ACTIVE_DIRECTORY if the mode is + * not specified to maintain backward compatibility. + * + * Value: "ACTIVE_DIRECTORY_MODE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ActiveDirectoryModeUnspecified; +/** + * Managed Active Directory mode. + * + * Value: "MANAGED_ACTIVE_DIRECTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ManagedActiveDirectory; +/** + * Self-managed Active Directory mode. + * + * Value: "SELF_MANAGED_ACTIVE_DIRECTORY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_SelfManagedActiveDirectory; + // ---------------------------------------------------------------------------- // GTLRSQLAdmin_SqlExternalSyncSettingError.type @@ -3413,6 +3458,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "PRIMARY_ALREADY_SETUP" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup; +/** + * The migration will delete existing data in the replica; set + * replica_overwrite_enabled in the request to acknowledge this. This is an + * error. MySQL only. + * + * Value: "PROMPT_DELETE_EXISTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PromptDeleteExisting; /** * PSC only destination instance does not have a network attachment URI. * @@ -3434,6 +3487,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsNotExistOnSource; +/** + * Selected objects reference unselected objects. Based on their object type + * (foreign key constraint or view), selected objects will fail during + * migration. + * + * Value: "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsReferenceUnselectedObjects; /** * This warning message indicates that Cloud SQL uses the maximum number of * subscriptions to migrate data from the source to the destination. @@ -3563,6 +3624,14 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Typ * Value: "USERS_NOT_CREATED_IN_REPLICA" */ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_UsersNotCreatedInReplica; +/** + * The migration will delete existing data in the replica; + * replica_overwrite_enabled was set in the request acknowledging this. This is + * a warning rather than an error. MySQL only. + * + * Value: "WILL_DELETE_EXISTING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_WillDeleteExisting; // ---------------------------------------------------------------------------- // GTLRSQLAdmin_SqlInstancesStartExternalSyncRequest.migrationType @@ -4850,6 +4919,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *preferredZone; +/** + * The timestamp used to identify the time when the source instance is deleted. + * If this instance is deleted, then you must set the timestamp. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *sourceInstanceDeletionTime; + +@end + + +/** + * Contains the name and datatype of a column. + */ +@interface GTLRSQLAdmin_Column : GTLRObject + +/** Name of the column. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Datatype of the column. */ +@property(nonatomic, copy, nullable) NSString *type; + @end @@ -4868,6 +4957,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** Optional. List of connection pool configuration flags. */ @property(nonatomic, strong, nullable) NSArray *flags; +/** + * Output only. Number of connection poolers. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *poolerCount; + @end @@ -5096,6 +5192,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** This is always `sql#connectSettings`. */ @property(nonatomic, copy, nullable) NSString *kind; +/** + * Optional. Output only. mdx_protocol_support controls how the client uses + * metadata exchange when connecting to the instance. The values in the list + * representing parts of the MDX protocol that are supported by this instance. + * When the list is empty, the instance does not support MDX, so the client + * must not send an MDX request. The default is empty. + */ +@property(nonatomic, strong, nullable) NSArray *mdxProtocolSupport; + /** * The number of read pool nodes in a read pool. * @@ -5242,13 +5347,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, copy, nullable) NSString *backendType; -/** - * Clears private network settings when the instance is restored. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *clearNetwork; - /** Connection name of the Cloud SQL instance used in connection strings. */ @property(nonatomic, copy, nullable) NSString *connectionName; @@ -5987,6 +6085,39 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * The request payload used to execute SQL statements. + */ +@interface GTLRSQLAdmin_ExecuteSqlPayload : GTLRObject + +/** + * Optional. When set to true, the API caller identity associated with the + * request is used for database authentication. The API caller must be an IAM + * user in the database. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoIamAuthn; + +/** Optional. Name of the database on which the statement will be executed. */ +@property(nonatomic, copy, nullable) NSString *database; + +/** + * Optional. The maximum number of rows returned per SQL statement. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *rowLimit; + +/** + * Required. SQL statements to run on the database. It can be a single + * statement or a sequence of statements separated by semicolons. + */ +@property(nonatomic, copy, nullable) NSString *sqlStatement; + +@end + + /** * Database instance export context. */ @@ -6306,6 +6437,30 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Config used to determine the final backup settings for the instance. + */ +@interface GTLRSQLAdmin_FinalBackupConfig : GTLRObject + +/** + * Whether the final backup is enabled for the instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +/** + * The number of days to retain the final backup after the instance deletion. + * The final backup will be purged at (time_of_instance_deletion + + * retention_days). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *retentionDays; + +@end + + /** * A flag resource. */ @@ -7061,6 +7216,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** Parameters required to perform the restore backup operation. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_RestoreBackupContext *restoreBackupContext; +/** + * Optional. This field has the same purpose as restore_instance_settings, + * changes any instance settings stored in the backup you are restoring from. + * With the difference that these fields are cleared in the settings. + */ +@property(nonatomic, strong, nullable) NSArray *restoreInstanceClearOverridesFieldNames; + /** * Optional. By using this parameter, Cloud SQL overrides any instance settings * stored in the backup you are restoring from. You can't change the instance's @@ -7430,6 +7592,18 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * The additional metadata information regarding the execution of the SQL + * statements. + */ +@interface GTLRSQLAdmin_Metadata : GTLRObject + +/** The time taken to execute the SQL statements. */ +@property(nonatomic, strong, nullable) GTLRDuration *sqlStatementExecutionTime; + +@end + + /** * Read-replica configuration specific to MySQL databases. */ @@ -8008,7 +8182,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * 1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the name * must be 1-63 characters long and match the regular expression * [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use. - * http://go/speckle-subnet-picker-clone */ @property(nonatomic, copy, nullable) NSString *allocatedIpRange; @@ -8177,6 +8350,33 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * QueryResult contains the result of executing a single SQL statement. + */ +@interface GTLRSQLAdmin_QueryResult : GTLRObject + +/** + * List of columns included in the result. This also includes the data type of + * the column. + */ +@property(nonatomic, strong, nullable) NSArray *columns; + +/** Message related to the SQL execution result. */ +@property(nonatomic, copy, nullable) NSString *message; + +/** + * Set to true if the SQL execution's result is truncated due to size limits. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *partialResult; + +/** Rows returned by the SQL statement. */ +@property(nonatomic, strong, nullable) NSArray *rows; + +@end + + /** * Read-replica configuration for connecting to the primary instance. */ @@ -8350,6 +8550,17 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Contains the values for a row. + */ +@interface GTLRSQLAdmin_Row : GTLRObject + +/** The values for the row. */ +@property(nonatomic, strong, nullable) NSArray *values; + +@end + + /** * A list of objects that the user selects for replication from an external * source instance. @@ -8563,6 +8774,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @property(nonatomic, strong, nullable) NSNumber *enableGoogleMlIntegration; +/** Optional. The final backup configuration for the instance. */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_FinalBackupConfig *finalBackupConfig; + /** Insights configuration, for now relevant only for Postgres. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_InsightsConfig *insightsConfig; @@ -8711,12 +8925,46 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; */ @interface GTLRSQLAdmin_SqlActiveDirectoryConfig : GTLRObject +/** + * Optional. The secret manager key storing the administrator credential. + * (e.g., projects/{project}/secrets/{secret}). + */ +@property(nonatomic, copy, nullable) NSString *adminCredentialSecretName; + +/** + * Optional. Domain controller IPv4 addresses used to bootstrap Active + * Directory. + */ +@property(nonatomic, strong, nullable) NSArray *dnsServers; + /** The name of the domain (e.g., mydomain.com). */ @property(nonatomic, copy, nullable) NSString *domain; /** This is always sql#activeDirectoryConfig. */ @property(nonatomic, copy, nullable) NSString *kind; +/** + * Optional. The mode of the Active Directory configuration. + * + * Likely values: + * @arg @c kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ActiveDirectoryModeUnspecified + * Unspecified mode. Will default to MANAGED_ACTIVE_DIRECTORY if the mode + * is not specified to maintain backward compatibility. (Value: + * "ACTIVE_DIRECTORY_MODE_UNSPECIFIED") + * @arg @c kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_ManagedActiveDirectory + * Managed Active Directory mode. (Value: "MANAGED_ACTIVE_DIRECTORY") + * @arg @c kGTLRSQLAdmin_SqlActiveDirectoryConfig_Mode_SelfManagedActiveDirectory + * Self-managed Active Directory mode. (Value: + * "SELF_MANAGED_ACTIVE_DIRECTORY") + */ +@property(nonatomic, copy, nullable) NSString *mode; + +/** + * Optional. The organizational unit distinguished name. This is the full + * hierarchical path to the organizational unit. + */ +@property(nonatomic, copy, nullable) NSString *organizationalUnit; + @end @@ -8833,6 +9081,10 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PrimaryAlreadySetup * The primary instance has been setup and will fail the setup. (Value: * "PRIMARY_ALREADY_SETUP") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PromptDeleteExisting + * The migration will delete existing data in the replica; set + * replica_overwrite_enabled in the request to acknowledge this. This is + * an error. MySQL only. (Value: "PROMPT_DELETE_EXISTING") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_PscOnlyInstanceWithNoNetworkAttachmentUri * PSC only destination instance does not have a network attachment URI. * (Value: "PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI") @@ -8845,6 +9097,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsNotExistOnSource * The selected objects don't exist on the source instance. (Value: * "SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SelectedObjectsReferenceUnselectedObjects + * Selected objects reference unselected objects. Based on their object + * type (foreign key constraint or view), selected objects will fail + * during migration. (Value: + * "SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS") * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_SourceMaxSubscriptions * This warning message indicates that Cloud SQL uses the maximum number * of subscriptions to migrate data from the source to the destination. @@ -8913,6 +9170,11 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; * First, create all users, which are in the pg_user_mappings table of * the source database, in the destination instance. Then, perform the * migration. (Value: "USERS_NOT_CREATED_IN_REPLICA") + * @arg @c kGTLRSQLAdmin_SqlExternalSyncSettingError_Type_WillDeleteExisting + * The migration will delete existing data in the replica; + * replica_overwrite_enabled was set in the request acknowledging this. + * This is a warning rather than an error. MySQL only. (Value: + * "WILL_DELETE_EXISTING") */ @property(nonatomic, copy, nullable) NSString *type; @@ -8930,6 +9192,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end +/** + * Execute SQL statements response. + */ +@interface GTLRSQLAdmin_SqlInstancesExecuteSqlResponse : GTLRObject + +/** + * The additional metadata information regarding the execution of the SQL + * statements. + */ +@property(nonatomic, strong, nullable) GTLRSQLAdmin_Metadata *metadata; + +/** The list of results after executing all the SQL statements. */ +@property(nonatomic, strong, nullable) NSArray *results; + +@end + + /** * Instance get disk shrink config response. */ @@ -9018,6 +9297,16 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; /** MySQL-specific settings for start external sync. */ @property(nonatomic, strong, nullable) GTLRSQLAdmin_MySqlSyncConfig *mysqlSyncConfig; +/** + * Optional. MySQL only. True if end-user has confirmed that this SES call will + * wipe replica databases overlapping with the proposed selected_objects. If + * this field is not set and there are both overlapping and additional + * databases proposed, an error will be returned. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *replicaOverwriteEnabled; + /** * Whether to skip the verification step (VESS). * @@ -9690,6 +9979,24 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdmin_User_Type_CloudIamUser; @end + +/** + * The cell value of the table. + */ +@interface GTLRSQLAdmin_Value : GTLRObject + +/** + * If cell value is null, then this flag will be set to true. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *nullValue; + +/** The cell value in string format. */ +@property(nonatomic, copy, nullable) NSString *value; + +@end + NS_ASSUME_NONNULL_END #pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h index 2d3e00210..05032ec79 100644 --- a/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h +++ b/Sources/GeneratedServices/SQLAdmin/Public/GoogleAPIClientForREST/GTLRSQLAdminQuery.h @@ -1077,6 +1077,42 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdminFlagScopeSqlFlagScopeUnspecified @end +/** + * Execute SQL statements. + * + * Method: sql.instances.executeSql + * + * Authorization scope(s): + * @c kGTLRAuthScopeSQLAdminCloudPlatform + * @c kGTLRAuthScopeSQLAdminSqlserviceAdmin + */ +@interface GTLRSQLAdminQuery_InstancesExecuteSql : GTLRSQLAdminQuery + +/** Required. Database instance ID. This does not include the project ID. */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** Required. Project ID of the project that contains the instance. */ +@property(nonatomic, copy, nullable) NSString *project; + +/** + * Fetches a @c GTLRSQLAdmin_SqlInstancesExecuteSqlResponse. + * + * Execute SQL statements. + * + * @param object The @c GTLRSQLAdmin_ExecuteSqlPayload to include in the query. + * @param project Required. Project ID of the project that contains the + * instance. + * @param instance Required. Database instance ID. This does not include the + * project ID. + * + * @return GTLRSQLAdminQuery_InstancesExecuteSql + */ ++ (instancetype)queryWithObject:(GTLRSQLAdmin_ExecuteSqlPayload *)object + project:(NSString *)project + instance:(NSString *)instance; + +@end + /** * Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL * dump or CSV file. @@ -2108,6 +2144,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSQLAdminFlagScopeSqlFlagScopeUnspecified /** Project ID of the project that contains the instance. */ @property(nonatomic, copy, nullable) NSString *project; +/** + * The timestamp used to identify the time when the source instance is deleted. + * If this instance is deleted, then you must set the timestamp. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *sourceInstanceDeletionTime; + /** * Fetches a @c GTLRSQLAdmin_SqlInstancesGetLatestRecoveryTimeResponse. * diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m index 1bf1055aa..68deb0d41 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementObjects.m @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m index 60d7ac934..2158361f4 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementQuery.m @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m index c29ac5fe1..be37aaedd 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m +++ b/Sources/GeneratedServices/SaaSServiceManagement/GTLRSaaSServiceManagementService.m @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h index dd3a969d6..59af9eb82 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagement.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h index 0166cb05c..4d3d07427 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementObjects.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs @@ -1583,8 +1585,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ @property(nonatomic, strong, nullable) GTLRSaaSServiceManagement_Saas_Labels *labels; /** - * Optional. Immutable. List of locations that the service is available in. - * Rollout refers to the list to generate a rollout plan. + * Optional. List of locations that the service is available in. Rollout refers + * to the list to generate a rollout plan. */ @property(nonatomic, strong, nullable) NSArray *locations; @@ -1676,7 +1678,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ /** * Optional. Immutable. A reference to the consumer resource this SaaS Tenant * is representing. The relationship with a consumer resource can be used by - * EasySaaS for retrieving consumer-defined settings and policies such as + * SaaS Runtime for retrieving consumer-defined settings and policies such as * maintenance policies (using Unified Maintenance Policy API). */ @property(nonatomic, copy, nullable) NSString *consumerResource; @@ -1706,8 +1708,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ /** * Required. Immutable. A reference to the Saas that defines the product - * (managed service) that the producer wants to manage with EasySaaS. Part of - * the EasySaaS common data model. + * (managed service) that the producer wants to manage with SaaS Runtime. Part + * of the SaaS Runtime common data model. */ @property(nonatomic, copy, nullable) NSString *saas; @@ -1770,7 +1772,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ @property(nonatomic, copy, nullable) NSString *dependency; /** - * Optional. Tells EasySaaS if this mapping should be used during lookup or not + * Optional. Tells SaaS Runtime if this mapping should be used during lookup or + * not * * Uses NSNumber of boolValue. */ @@ -2141,8 +2144,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ /** * Required. Immutable. A reference to the Saas that defines the product - * (managed service) that the producer wants to manage with EasySaaS. Part of - * the EasySaaS common data model. Immutable once set. + * (managed service) that the producer wants to manage with SaaS Runtime. Part + * of the SaaS Runtime common data model. Immutable once set. */ @property(nonatomic, copy, nullable) NSString *saas; @@ -2200,7 +2203,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSaaSServiceManagement_UnitVariable_Type_ * will be allowed to execute at a time (that can change in the future for * non-mutating operations). UnitOperations allow different actors interacting * with the same unit to focus only on the change they have requested. This is - * a base object that contains the common fields in all unit operations. + * a base object that contains the common fields in all unit operations. Next: + * 19 */ @interface GTLRSaaSServiceManagement_UnitOperation : GTLRObject diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h index b9551acd7..e456fbd0b 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementQuery.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs diff --git a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h index 93bd789ee..869f0bc1b 100644 --- a/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h +++ b/Sources/GeneratedServices/SaaSServiceManagement/Public/GoogleAPIClientForREST/GTLRSaaSServiceManagementService.h @@ -3,6 +3,8 @@ // ---------------------------------------------------------------------------- // API: // SaaS Runtime API (saasservicemgmt/v1beta1) +// Description: +// Model, deploy, and operate your SaaS at scale. // Documentation: // https://cloud.google.com/saas-runtime/docs @@ -36,6 +38,8 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeSaaSServiceManagementCloudPlatf /** * Service for executing SaaS Runtime API queries. + * + * Model, deploy, and operate your SaaS at scale. */ @interface GTLRSaaSServiceManagementService : GTLRService diff --git a/Sources/GeneratedServices/SearchConsole/GTLRSearchConsoleObjects.m b/Sources/GeneratedServices/SearchConsole/GTLRSearchConsoleObjects.m index bfd54658a..d71c95135 100644 --- a/Sources/GeneratedServices/SearchConsole/GTLRSearchConsoleObjects.m +++ b/Sources/GeneratedServices/SearchConsole/GTLRSearchConsoleObjects.m @@ -414,6 +414,16 @@ @implementation GTLRSearchConsole_Item @end +// ---------------------------------------------------------------------------- +// +// GTLRSearchConsole_Metadata +// + +@implementation GTLRSearchConsole_Metadata +@dynamic firstIncompleteDate, firstIncompleteHour; +@end + + // ---------------------------------------------------------------------------- // // GTLRSearchConsole_MobileFriendlyIssue @@ -546,7 +556,7 @@ @implementation GTLRSearchConsole_SearchAnalyticsQueryRequest // @implementation GTLRSearchConsole_SearchAnalyticsQueryResponse -@dynamic responseAggregationType, rows; +@dynamic metadata, responseAggregationType, rows; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/SearchConsole/Public/GoogleAPIClientForREST/GTLRSearchConsoleObjects.h b/Sources/GeneratedServices/SearchConsole/Public/GoogleAPIClientForREST/GTLRSearchConsoleObjects.h index d15f0468d..e9bacba73 100644 --- a/Sources/GeneratedServices/SearchConsole/Public/GoogleAPIClientForREST/GTLRSearchConsoleObjects.h +++ b/Sources/GeneratedServices/SearchConsole/Public/GoogleAPIClientForREST/GTLRSearchConsoleObjects.h @@ -25,6 +25,7 @@ @class GTLRSearchConsole_Image; @class GTLRSearchConsole_IndexStatusInspectionResult; @class GTLRSearchConsole_Item; +@class GTLRSearchConsole_Metadata; @class GTLRSearchConsole_MobileFriendlyIssue; @class GTLRSearchConsole_MobileUsabilityInspectionResult; @class GTLRSearchConsole_MobileUsabilityIssue; @@ -1518,6 +1519,42 @@ FOUNDATION_EXTERN NSString * const kGTLRSearchConsole_WmxSitemapContent_Type_Web @end +/** + * An object that may be returned with your query results, providing context + * about the state of the data. When you request recent data (using `all` or + * `hourly_all` for `dataState`), some of the rows returned may represent data + * that is incomplete, which means that the data is still being collected and + * processed. This metadata object helps you identify exactly when this starts + * and ends. All dates and times provided in this object are in the + * `America/Los_Angeles` time zone. The specific field returned within this + * object depends on how you've grouped your data in the request. See details + * in inner fields. + */ +@interface GTLRSearchConsole_Metadata : GTLRObject + +/** + * The first date for which the data is still being collected and processed, + * presented in `YYYY-MM-DD` format (ISO-8601 extended local date format). This + * field is populated only when the request's `dataState` is "`all`", data is + * grouped by "`DATE`", and the requested date range contains incomplete data + * points. All values after the `first_incomplete_date` may still change + * noticeably. + */ +@property(nonatomic, copy, nullable) NSString *firstIncompleteDate; + +/** + * The first hour for which the data is still being collected and processed, + * presented in `YYYY-MM-DDThh:mm:ss[+|-]hh:mm` format (ISO-8601 extended + * offset date-time format). This field is populated only when the request's + * `dataState` is "`hourly_all`", data is grouped by "`HOUR`" and the requested + * date range contains incomplete data points. All values after the + * `first_incomplete_hour` may still change noticeably. + */ +@property(nonatomic, copy, nullable) NSString *firstIncompleteHour; + +@end + + /** * Mobile-friendly issue. */ @@ -1918,6 +1955,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSearchConsole_WmxSitemapContent_Type_Web */ @interface GTLRSearchConsole_SearchAnalyticsQueryResponse : GTLRObject +/** + * An object that may be returned with your query results, providing context + * about the state of the data. See details in Metadata object documentation. + */ +@property(nonatomic, strong, nullable) GTLRSearchConsole_Metadata *metadata; + /** * How the results were aggregated. * diff --git a/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerObjects.m b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerObjects.m new file mode 100644 index 000000000..ee2eecf27 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerObjects.m @@ -0,0 +1,1045 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +// ---------------------------------------------------------------------------- +// Constants + +// GTLRSecureSourceManager_AuditLogConfig.logType +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_AdminRead = @"ADMIN_READ"; +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataRead = @"DATA_READ"; +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataWrite = @"DATA_WRITE"; +NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_LogTypeUnspecified = @"LOG_TYPE_UNSPECIFIED"; + +// GTLRSecureSourceManager_FileDiff.action +NSString * const kGTLRSecureSourceManager_FileDiff_Action_ActionUnspecified = @"ACTION_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_FileDiff_Action_Added = @"ADDED"; +NSString * const kGTLRSecureSourceManager_FileDiff_Action_Deleted = @"DELETED"; +NSString * const kGTLRSecureSourceManager_FileDiff_Action_Modified = @"MODIFIED"; + +// GTLRSecureSourceManager_Hook.events +NSString * const kGTLRSecureSourceManager_Hook_Events_PullRequest = @"PULL_REQUEST"; +NSString * const kGTLRSecureSourceManager_Hook_Events_Push = @"PUSH"; +NSString * const kGTLRSecureSourceManager_Hook_Events_Unspecified = @"UNSPECIFIED"; + +// GTLRSecureSourceManager_Instance.state +NSString * const kGTLRSecureSourceManager_Instance_State_Active = @"ACTIVE"; +NSString * const kGTLRSecureSourceManager_Instance_State_Creating = @"CREATING"; +NSString * const kGTLRSecureSourceManager_Instance_State_Deleting = @"DELETING"; +NSString * const kGTLRSecureSourceManager_Instance_State_Paused = @"PAUSED"; +NSString * const kGTLRSecureSourceManager_Instance_State_StateUnspecified = @"STATE_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_Instance_State_Unknown = @"UNKNOWN"; + +// GTLRSecureSourceManager_Instance.stateNote +NSString * const kGTLRSecureSourceManager_Instance_StateNote_InstanceResuming = @"INSTANCE_RESUMING"; +NSString * const kGTLRSecureSourceManager_Instance_StateNote_PausedCmekUnavailable = @"PAUSED_CMEK_UNAVAILABLE"; +NSString * const kGTLRSecureSourceManager_Instance_StateNote_StateNoteUnspecified = @"STATE_NOTE_UNSPECIFIED"; + +// GTLRSecureSourceManager_Issue.state +NSString * const kGTLRSecureSourceManager_Issue_State_Closed = @"CLOSED"; +NSString * const kGTLRSecureSourceManager_Issue_State_Open = @"OPEN"; +NSString * const kGTLRSecureSourceManager_Issue_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRSecureSourceManager_PullRequest.state +NSString * const kGTLRSecureSourceManager_PullRequest_State_Closed = @"CLOSED"; +NSString * const kGTLRSecureSourceManager_PullRequest_State_Merged = @"MERGED"; +NSString * const kGTLRSecureSourceManager_PullRequest_State_Open = @"OPEN"; +NSString * const kGTLRSecureSourceManager_PullRequest_State_StateUnspecified = @"STATE_UNSPECIFIED"; + +// GTLRSecureSourceManager_Review.actionType +NSString * const kGTLRSecureSourceManager_Review_ActionType_ActionTypeUnspecified = @"ACTION_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_Review_ActionType_Approved = @"APPROVED"; +NSString * const kGTLRSecureSourceManager_Review_ActionType_ChangeRequested = @"CHANGE_REQUESTED"; +NSString * const kGTLRSecureSourceManager_Review_ActionType_Comment = @"COMMENT"; + +// GTLRSecureSourceManager_TreeEntry.type +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Blob = @"BLOB"; +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Commit = @"COMMIT"; +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_ObjectTypeUnspecified = @"OBJECT_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Tree = @"TREE"; + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_AuditConfig +// + +@implementation GTLRSecureSourceManager_AuditConfig +@dynamic auditLogConfigs, service; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditLogConfigs" : [GTLRSecureSourceManager_AuditLogConfig class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_AuditLogConfig +// + +@implementation GTLRSecureSourceManager_AuditLogConfig +@dynamic exemptedMembers, logType; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"exemptedMembers" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest +// + +@implementation GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest +@dynamic requests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requests" : [GTLRSecureSourceManager_CreatePullRequestCommentRequest class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Binding +// + +@implementation GTLRSecureSourceManager_Binding +@dynamic condition, members, role; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"members" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Branch +// + +@implementation GTLRSecureSourceManager_Branch +@dynamic ref, sha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_BranchRule +// + +@implementation GTLRSecureSourceManager_BranchRule +@dynamic allowStaleReviews, annotations, createTime, disabled, ETag, + includePattern, minimumApprovalsCount, minimumReviewsCount, name, + requireCommentsResolved, requiredStatusChecks, requireLinearHistory, + requirePullRequest, uid, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"requiredStatusChecks" : [GTLRSecureSourceManager_Check class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_BranchRule_Annotations +// + +@implementation GTLRSecureSourceManager_BranchRule_Annotations + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_CancelOperationRequest +// + +@implementation GTLRSecureSourceManager_CancelOperationRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Check +// + +@implementation GTLRSecureSourceManager_Check +@dynamic context; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_CloseIssueRequest +// + +@implementation GTLRSecureSourceManager_CloseIssueRequest +@dynamic ETag; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ClosePullRequestRequest +// + +@implementation GTLRSecureSourceManager_ClosePullRequestRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Code +// + +@implementation GTLRSecureSourceManager_Code +@dynamic body, effectiveCommitSha, effectiveRootComment, position, reply, + resolved; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Comment +// + +@implementation GTLRSecureSourceManager_Comment +@dynamic body; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_CreatePullRequestCommentRequest +// + +@implementation GTLRSecureSourceManager_CreatePullRequestCommentRequest +@dynamic parent, pullRequestComment; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Empty +// + +@implementation GTLRSecureSourceManager_Empty +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Expr +// + +@implementation GTLRSecureSourceManager_Expr +@dynamic descriptionProperty, expression, location, title; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"descriptionProperty" : @"description" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_FetchBlobResponse +// + +@implementation GTLRSecureSourceManager_FetchBlobResponse +@dynamic content, sha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_FetchTreeResponse +// + +@implementation GTLRSecureSourceManager_FetchTreeResponse +@dynamic nextPageToken, treeEntries; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"treeEntries" : [GTLRSecureSourceManager_TreeEntry class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"treeEntries"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_FileDiff +// + +@implementation GTLRSecureSourceManager_FileDiff +@dynamic action, name, patch, sha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Hook +// + +@implementation GTLRSecureSourceManager_Hook +@dynamic createTime, disabled, events, name, pushOption, sensitiveQueryString, + targetUri, uid, updateTime; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"events" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_HostConfig +// + +@implementation GTLRSecureSourceManager_HostConfig +@dynamic api, gitHttp, gitSsh, html; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_InitialConfig +// + +@implementation GTLRSecureSourceManager_InitialConfig +@dynamic defaultBranch, gitignores, license, readme; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"gitignores" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Instance +// + +@implementation GTLRSecureSourceManager_Instance +@dynamic createTime, hostConfig, kmsKey, labels, name, privateConfig, state, + stateNote, updateTime, workforceIdentityFederationConfig; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Instance_Labels +// + +@implementation GTLRSecureSourceManager_Instance_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Issue +// + +@implementation GTLRSecureSourceManager_Issue +@dynamic body, closeTime, createTime, ETag, name, state, title, updateTime; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_IssueComment +// + +@implementation GTLRSecureSourceManager_IssueComment +@dynamic body, createTime, name, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListBranchRulesResponse +// + +@implementation GTLRSecureSourceManager_ListBranchRulesResponse +@dynamic branchRules, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"branchRules" : [GTLRSecureSourceManager_BranchRule class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"branchRules"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListHooksResponse +// + +@implementation GTLRSecureSourceManager_ListHooksResponse +@dynamic hooks, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"hooks" : [GTLRSecureSourceManager_Hook class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"hooks"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListInstancesResponse +// + +@implementation GTLRSecureSourceManager_ListInstancesResponse +@dynamic instances, nextPageToken, unreachable; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"instances" : [GTLRSecureSourceManager_Instance class], + @"unreachable" : [NSString class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"instances"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListIssueCommentsResponse +// + +@implementation GTLRSecureSourceManager_ListIssueCommentsResponse +@dynamic issueComments, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"issueComments" : [GTLRSecureSourceManager_IssueComment class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"issueComments"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListIssuesResponse +// + +@implementation GTLRSecureSourceManager_ListIssuesResponse +@dynamic issues, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"issues" : [GTLRSecureSourceManager_Issue class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"issues"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListLocationsResponse +// + +@implementation GTLRSecureSourceManager_ListLocationsResponse +@dynamic locations, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"locations" : [GTLRSecureSourceManager_Location class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"locations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListOperationsResponse +// + +@implementation GTLRSecureSourceManager_ListOperationsResponse +@dynamic nextPageToken, operations; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"operations" : [GTLRSecureSourceManager_Operation class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"operations"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListPullRequestCommentsResponse +// + +@implementation GTLRSecureSourceManager_ListPullRequestCommentsResponse +@dynamic nextPageToken, pullRequestComments; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pullRequestComments" : [GTLRSecureSourceManager_PullRequestComment class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"pullRequestComments"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListPullRequestFileDiffsResponse +// + +@implementation GTLRSecureSourceManager_ListPullRequestFileDiffsResponse +@dynamic fileDiffs, nextPageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"fileDiffs" : [GTLRSecureSourceManager_FileDiff class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"fileDiffs"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListPullRequestsResponse +// + +@implementation GTLRSecureSourceManager_ListPullRequestsResponse +@dynamic nextPageToken, pullRequests; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pullRequests" : [GTLRSecureSourceManager_PullRequest class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"pullRequests"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ListRepositoriesResponse +// + +@implementation GTLRSecureSourceManager_ListRepositoriesResponse +@dynamic nextPageToken, repositories; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"repositories" : [GTLRSecureSourceManager_Repository class] + }; + return map; +} + ++ (NSString *)collectionItemsKey { + return @"repositories"; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Location +// + +@implementation GTLRSecureSourceManager_Location +@dynamic displayName, labels, locationId, metadata, name; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Location_Labels +// + +@implementation GTLRSecureSourceManager_Location_Labels + ++ (Class)classForAdditionalProperties { + return [NSString class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Location_Metadata +// + +@implementation GTLRSecureSourceManager_Location_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_MergePullRequestRequest +// + +@implementation GTLRSecureSourceManager_MergePullRequestRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_OpenIssueRequest +// + +@implementation GTLRSecureSourceManager_OpenIssueRequest +@dynamic ETag; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_OpenPullRequestRequest +// + +@implementation GTLRSecureSourceManager_OpenPullRequestRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Operation +// + +@implementation GTLRSecureSourceManager_Operation +@dynamic done, error, metadata, name, response; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Operation_Metadata +// + +@implementation GTLRSecureSourceManager_Operation_Metadata + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Operation_Response +// + +@implementation GTLRSecureSourceManager_Operation_Response + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_OperationMetadata +// + +@implementation GTLRSecureSourceManager_OperationMetadata +@dynamic apiVersion, createTime, endTime, requestedCancellation, statusMessage, + target, verb; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Policy +// + +@implementation GTLRSecureSourceManager_Policy +@dynamic auditConfigs, bindings, ETag, version; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"auditConfigs" : [GTLRSecureSourceManager_AuditConfig class], + @"bindings" : [GTLRSecureSourceManager_Binding class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Position +// + +@implementation GTLRSecureSourceManager_Position +@dynamic line, path; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PrivateConfig +// + +@implementation GTLRSecureSourceManager_PrivateConfig +@dynamic caPool, httpServiceAttachment, isPrivate, pscAllowedProjects, + sshServiceAttachment; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"pscAllowedProjects" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PullRequest +// + +@implementation GTLRSecureSourceManager_PullRequest +@dynamic base, body, closeTime, createTime, head, name, state, title, + updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PullRequestComment +// + +@implementation GTLRSecureSourceManager_PullRequestComment +@dynamic code, comment, createTime, name, review, updateTime; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_PushOption +// + +@implementation GTLRSecureSourceManager_PushOption +@dynamic branchFilter; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Repository +// + +@implementation GTLRSecureSourceManager_Repository +@dynamic createTime, descriptionProperty, ETag, initialConfig, instance, name, + uid, updateTime, uris; + ++ (NSDictionary *)propertyToJSONKeyMap { + NSDictionary *map = @{ + @"descriptionProperty" : @"description", + @"ETag" : @"etag" + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_ResolvePullRequestCommentsRequest +// + +@implementation GTLRSecureSourceManager_ResolvePullRequestCommentsRequest +@dynamic autoFill, names; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"names" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Review +// + +@implementation GTLRSecureSourceManager_Review +@dynamic actionType, body, effectiveCommitSha; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_SetIamPolicyRequest +// + +@implementation GTLRSecureSourceManager_SetIamPolicyRequest +@dynamic policy, updateMask; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Status +// + +@implementation GTLRSecureSourceManager_Status +@dynamic code, details, message; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"details" : [GTLRSecureSourceManager_Status_Details_Item class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_Status_Details_Item +// + +@implementation GTLRSecureSourceManager_Status_Details_Item + ++ (Class)classForAdditionalProperties { + return [NSObject class]; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_TestIamPermissionsRequest +// + +@implementation GTLRSecureSourceManager_TestIamPermissionsRequest +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_TestIamPermissionsResponse +// + +@implementation GTLRSecureSourceManager_TestIamPermissionsResponse +@dynamic permissions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"permissions" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_TreeEntry +// + +@implementation GTLRSecureSourceManager_TreeEntry +@dynamic mode, path, sha, size, type; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest +// + +@implementation GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest +@dynamic autoFill, names; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"names" : [NSString class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_URIs +// + +@implementation GTLRSecureSourceManager_URIs +@dynamic api, gitHttps, html; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRSecureSourceManager_WorkforceIdentityFederationConfig +// + +@implementation GTLRSecureSourceManager_WorkforceIdentityFederationConfig +@dynamic enabled; +@end diff --git a/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerQuery.m b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerQuery.m new file mode 100644 index 000000000..6d3ed995f --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerQuery.m @@ -0,0 +1,1420 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +@implementation GTLRSecureSourceManagerQuery + +@dynamic fields; + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Location class]; + query.loggingName = @"securesourcemanager.projects.locations.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate + +@dynamic instanceId, parent, requestId; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Instance *)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}/instances"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete + +@dynamic name, requestId; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Instance class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList + +@dynamic filter, orderBy, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/instances"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListInstancesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_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"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_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"; + GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_TestIamPermissionsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.instances.testIamPermissions"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsList + +@dynamic extraLocationTypes, filter, name, pageSize, pageToken; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"extraLocationTypes" : [NSString class] + }; + return map; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/locations"; + GTLRSecureSourceManagerQuery_ProjectsLocationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_ListLocationsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_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"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Empty class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.cancel"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Empty class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsList + +@dynamic filter, name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}/operations"; + GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_ListOperationsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.operations.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate + +@dynamic branchRuleId, parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)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}/branchRules"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete + +@dynamic allowMissing, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_BranchRule class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/branchRules"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListBranchRulesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch + +@dynamic name, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)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}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.branchRules.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate + +@dynamic parent, repositoryId; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)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}/repositories"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete + +@dynamic allowMissing, name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob + +@dynamic repository, sha; + ++ (instancetype)queryWithRepository:(NSString *)repository { + NSArray *pathParams = @[ @"repository" ]; + NSString *pathURITemplate = @"v1/{+repository}:fetchBlob"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.repository = repository; + query.expectedObjectClass = [GTLRSecureSourceManager_FetchBlobResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.fetchBlob"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree + +@dynamic pageSize, pageToken, recursive, ref, repository; + ++ (instancetype)queryWithRepository:(NSString *)repository { + NSArray *pathParams = @[ @"repository" ]; + NSString *pathURITemplate = @"v1/{+repository}:fetchTree"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.repository = repository; + query.expectedObjectClass = [GTLRSecureSourceManager_FetchTreeResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.fetchTree"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Repository class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy + +@dynamic optionsRequestedPolicyVersion, resource; + ++ (NSDictionary *)parameterNameMap { + return @{ @"optionsRequestedPolicyVersion" : @"options.requestedPolicyVersion" }; +} + ++ (instancetype)queryWithResource:(NSString *)resource { + NSArray *pathParams = @[ @"resource" ]; + NSString *pathURITemplate = @"v1/{+resource}:getIamPolicy"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.getIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate + +@dynamic hookId, parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)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}/hooks"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Hook class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/hooks"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListHooksResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)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}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.hooks.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_CloseIssueRequest *)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}:close"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.close"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)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"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete + +@dynamic ETag, name; + ++ (NSDictionary *)parameterNameMap { + return @{ @"ETag" : @"etag" }; +} + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Issue class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)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}/issueComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_IssueComment class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/issueComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListIssueCommentsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)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}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.issueComments.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList + +@dynamic filter, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/issues"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListIssuesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenIssueRequest *)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}:open"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.open"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)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}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.issues.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList + +@dynamic filter, instance, pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/repositories"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListRepositoriesResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch + +@dynamic name, updateMask, validateOnly; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)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}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ClosePullRequestRequest *)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}:close"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.close"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)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}/pullRequests"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_PullRequest class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequests"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListPullRequestsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs + +@dynamic name, pageSize, pageToken; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}:listFileDiffs"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_ListPullRequestFileDiffsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.listFileDiffs"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_MergePullRequestRequest *)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}:merge"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.merge"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenPullRequestRequest *)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}:open"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.open"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)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}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest *)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}/pullRequestComments:batchCreate"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.batchCreate"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)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}/pullRequestComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.create"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"DELETE" + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.delete"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet + +@dynamic name; + ++ (instancetype)queryWithName:(NSString *)name { + NSArray *pathParams = @[ @"name" ]; + NSString *pathURITemplate = @"v1/{+name}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_PullRequestComment class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.get"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList + +@dynamic pageSize, pageToken, parent; + ++ (instancetype)queryWithParent:(NSString *)parent { + NSArray *pathParams = @[ @"parent" ]; + NSString *pathURITemplate = @"v1/{+parent}/pullRequestComments"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:nil + pathParameterNames:pathParams]; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_ListPullRequestCommentsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.list"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch + +@dynamic name, updateMask; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)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}"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"PATCH" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.patch"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ResolvePullRequestCommentsRequest *)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}/pullRequestComments:resolve"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.resolve"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve + +@dynamic parent; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest *)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}/pullRequestComments:unresolve"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.parent = parent; + query.expectedObjectClass = [GTLRSecureSourceManager_Operation class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.unresolve"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_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"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_Policy class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.setIamPolicy"; + return query; +} + +@end + +@implementation GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions + +@dynamic resource; + ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_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"; + GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.resource = resource; + query.expectedObjectClass = [GTLRSecureSourceManager_TestIamPermissionsResponse class]; + query.loggingName = @"securesourcemanager.projects.locations.repositories.testIamPermissions"; + return query; +} + +@end diff --git a/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerService.m b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerService.m new file mode 100644 index 000000000..06e584228 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/GTLRSecureSourceManagerService.m @@ -0,0 +1,36 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import + +// ---------------------------------------------------------------------------- +// Authorization scope + +NSString * const kGTLRAuthScopeSecureSourceManagerCloudPlatform = @"https://www.googleapis.com/auth/cloud-platform"; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManagerService +// + +@implementation GTLRSecureSourceManagerService + +- (instancetype)init { + self = [super init]; + if (self) { + // From discovery. + self.rootURLString = @"https://securesourcemanager.googleapis.com/"; + self.batchPath = @"batch"; + self.prettyPrintQueryParameterNames = @[ @"prettyPrint" ]; + } + return self; +} + +@end diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManager.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManager.h new file mode 100644 index 000000000..e6c0047b8 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManager.h @@ -0,0 +1,14 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#import "GTLRSecureSourceManagerObjects.h" +#import "GTLRSecureSourceManagerQuery.h" +#import "GTLRSecureSourceManagerService.h" diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerObjects.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerObjects.h new file mode 100644 index 000000000..9e7e75913 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerObjects.h @@ -0,0 +1,2268 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#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 GTLRSecureSourceManager_AuditConfig; +@class GTLRSecureSourceManager_AuditLogConfig; +@class GTLRSecureSourceManager_Binding; +@class GTLRSecureSourceManager_Branch; +@class GTLRSecureSourceManager_BranchRule; +@class GTLRSecureSourceManager_BranchRule_Annotations; +@class GTLRSecureSourceManager_Check; +@class GTLRSecureSourceManager_Code; +@class GTLRSecureSourceManager_Comment; +@class GTLRSecureSourceManager_CreatePullRequestCommentRequest; +@class GTLRSecureSourceManager_Expr; +@class GTLRSecureSourceManager_FileDiff; +@class GTLRSecureSourceManager_Hook; +@class GTLRSecureSourceManager_HostConfig; +@class GTLRSecureSourceManager_InitialConfig; +@class GTLRSecureSourceManager_Instance; +@class GTLRSecureSourceManager_Instance_Labels; +@class GTLRSecureSourceManager_Issue; +@class GTLRSecureSourceManager_IssueComment; +@class GTLRSecureSourceManager_Location; +@class GTLRSecureSourceManager_Location_Labels; +@class GTLRSecureSourceManager_Location_Metadata; +@class GTLRSecureSourceManager_Operation; +@class GTLRSecureSourceManager_Operation_Metadata; +@class GTLRSecureSourceManager_Operation_Response; +@class GTLRSecureSourceManager_Policy; +@class GTLRSecureSourceManager_Position; +@class GTLRSecureSourceManager_PrivateConfig; +@class GTLRSecureSourceManager_PullRequest; +@class GTLRSecureSourceManager_PullRequestComment; +@class GTLRSecureSourceManager_PushOption; +@class GTLRSecureSourceManager_Repository; +@class GTLRSecureSourceManager_Review; +@class GTLRSecureSourceManager_Status; +@class GTLRSecureSourceManager_Status_Details_Item; +@class GTLRSecureSourceManager_TreeEntry; +@class GTLRSecureSourceManager_URIs; +@class GTLRSecureSourceManager_WorkforceIdentityFederationConfig; + +// 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. + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_AuditLogConfig.logType + +/** + * Admin reads. Example: CloudIAM getIamPolicy + * + * Value: "ADMIN_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_AdminRead; +/** + * Data reads. Example: CloudSQL Users list + * + * Value: "DATA_READ" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataRead; +/** + * Data writes. Example: CloudSQL Users create + * + * Value: "DATA_WRITE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_DataWrite; +/** + * Default case. Should never be this. + * + * Value: "LOG_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_AuditLogConfig_LogType_LogTypeUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_FileDiff.action + +/** + * Unspecified. + * + * Value: "ACTION_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_ActionUnspecified; +/** + * The file was added. + * + * Value: "ADDED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_Added; +/** + * The file was deleted. + * + * Value: "DELETED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_Deleted; +/** + * The file was modified. + * + * Value: "MODIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_FileDiff_Action_Modified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Hook.events + +/** + * Pull request events are triggered when a pull request is opened, closed, + * reopened, or edited. + * + * Value: "PULL_REQUEST" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Hook_Events_PullRequest; +/** + * Push events are triggered when pushing to the repository. + * + * Value: "PUSH" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Hook_Events_Push; +/** + * Unspecified. + * + * Value: "UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Hook_Events_Unspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Instance.state + +/** + * Instance is ready. + * + * Value: "ACTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Active; +/** + * Instance is being created. + * + * Value: "CREATING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Creating; +/** + * Instance is being deleted. + * + * Value: "DELETING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Deleting; +/** + * Instance is paused. + * + * Value: "PAUSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Paused; +/** + * Not set. This should only be the case for incoming requests. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_StateUnspecified; +/** + * Instance is unknown, we are not sure if it's functioning. + * + * Value: "UNKNOWN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_State_Unknown; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Instance.stateNote + +/** + * INSTANCE_RESUMING indicates that the instance was previously paused and is + * under the process of being brought back. + * + * Value: "INSTANCE_RESUMING" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_StateNote_InstanceResuming GTLR_DEPRECATED; +/** + * CMEK access is unavailable. + * + * Value: "PAUSED_CMEK_UNAVAILABLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_StateNote_PausedCmekUnavailable; +/** + * STATE_NOTE_UNSPECIFIED as the first value of State. + * + * Value: "STATE_NOTE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Instance_StateNote_StateNoteUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Issue.state + +/** + * A closed issue. + * + * Value: "CLOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Issue_State_Closed; +/** + * An open issue. + * + * Value: "OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Issue_State_Open; +/** + * Unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Issue_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_PullRequest.state + +/** + * A closed pull request. + * + * Value: "CLOSED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_Closed; +/** + * A merged pull request. + * + * Value: "MERGED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_Merged; +/** + * An open pull request. + * + * Value: "OPEN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_Open; +/** + * Unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_PullRequest_State_StateUnspecified; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_Review.actionType + +/** + * Unspecified. + * + * Value: "ACTION_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_ActionTypeUnspecified; +/** + * Change approved from this review. + * + * Value: "APPROVED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_Approved; +/** + * Change required from this review. + * + * Value: "CHANGE_REQUESTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_ChangeRequested; +/** + * A general review comment. + * + * Value: "COMMENT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_Review_ActionType_Comment; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManager_TreeEntry.type + +/** + * Represents a file (contains file data). + * + * Value: "BLOB" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Blob; +/** + * Represents a pointer to another repository (submodule). + * + * Value: "COMMIT" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Commit; +/** + * Default value, indicating the object type is unspecified. + * + * Value: "OBJECT_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_ObjectTypeUnspecified; +/** + * Represents a directory (folder). + * + * Value: "TREE" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecureSourceManager_TreeEntry_Type_Tree; + +/** + * 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 GTLRSecureSourceManager_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 GTLRSecureSourceManager_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 kGTLRSecureSourceManager_AuditLogConfig_LogType_AdminRead Admin + * reads. Example: CloudIAM getIamPolicy (Value: "ADMIN_READ") + * @arg @c kGTLRSecureSourceManager_AuditLogConfig_LogType_DataRead Data + * reads. Example: CloudSQL Users list (Value: "DATA_READ") + * @arg @c kGTLRSecureSourceManager_AuditLogConfig_LogType_DataWrite Data + * writes. Example: CloudSQL Users create (Value: "DATA_WRITE") + * @arg @c kGTLRSecureSourceManager_AuditLogConfig_LogType_LogTypeUnspecified + * Default case. Should never be this. (Value: "LOG_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *logType; + +@end + + +/** + * The request to batch create pull request comments. + */ +@interface GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest : GTLRObject + +/** + * Required. The request message specifying the resources to create. There + * should be exactly one CreatePullRequestCommentRequest with CommentDetail + * being REVIEW in the list, and no more than 100 + * CreatePullRequestCommentRequests with CommentDetail being CODE in the list + */ +@property(nonatomic, strong, nullable) NSArray *requests; + +@end + + +/** + * Associates `members`, or principals, with a `role`. + */ +@interface GTLRSecureSourceManager_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) GTLRSecureSourceManager_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 + + +/** + * Branch represents a branch involved in a pull request. + */ +@interface GTLRSecureSourceManager_Branch : GTLRObject + +/** Required. Name of the branch. */ +@property(nonatomic, copy, nullable) NSString *ref; + +/** Output only. The commit at the tip of the branch. */ +@property(nonatomic, copy, nullable) NSString *sha; + +@end + + +/** + * Metadata of a BranchRule. BranchRule is the protection rule to enforce + * pre-defined rules on designated branches within a repository. + */ +@interface GTLRSecureSourceManager_BranchRule : GTLRObject + +/** + * Optional. Determines if allow stale reviews or approvals before merging to + * the branch. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *allowStaleReviews; + +/** + * Optional. User annotations. These attributes can only be set and used by the + * user. See https://google.aip.dev/128#annotations for more details such as + * format and size limitations. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_BranchRule_Annotations *annotations; + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Determines if the branch rule is disabled or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. The pattern of the branch that can match to this BranchRule. + * Specified as regex. .* for all branches. Examples: main, (main|release.*). + * Current MVP phase only support `.*` for wildcard. + */ +@property(nonatomic, copy, nullable) NSString *includePattern; + +/** + * Optional. The minimum number of approvals required for the branch rule to be + * matched. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minimumApprovalsCount; + +/** + * Optional. The minimum number of reviews required for the branch rule to be + * matched. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *minimumReviewsCount; + +/** + * Optional. A unique identifier for a BranchRule. The name should be of the + * format: + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Determines if require comments resolved before merging to the + * branch. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireCommentsResolved; + +/** Optional. List of required status checks before merging to the branch. */ +@property(nonatomic, strong, nullable) NSArray *requiredStatusChecks; + +/** + * Optional. Determines if require linear history before merging to the branch. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requireLinearHistory; + +/** + * Optional. Determines if the branch rule requires a pull request or not. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requirePullRequest; + +/** Output only. Unique identifier of the repository. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * Optional. User annotations. These attributes can only be set and used by the + * user. See https://google.aip.dev/128#annotations for more details such as + * format and size limitations. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecureSourceManager_BranchRule_Annotations : GTLRObject +@end + + +/** + * The request message for Operations.CancelOperation. + */ +@interface GTLRSecureSourceManager_CancelOperationRequest : GTLRObject +@end + + +/** + * Check is a type for status check. + */ +@interface GTLRSecureSourceManager_Check : GTLRObject + +/** Required. The context of the check. */ +@property(nonatomic, copy, nullable) NSString *context; + +@end + + +/** + * The request to close an issue. + */ +@interface GTLRSecureSourceManager_CloseIssueRequest : GTLRObject + +/** + * Optional. The current etag of the issue. If the etag is provided and does + * not match the current etag of the issue, closing will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +@end + + +/** + * ClosePullRequestRequest is the request to close a pull request. + */ +@interface GTLRSecureSourceManager_ClosePullRequestRequest : GTLRObject +@end + + +/** + * The comment on a code line. + */ +@interface GTLRSecureSourceManager_Code : GTLRObject + +/** Required. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. The effective commit sha this code comment is pointing to. */ +@property(nonatomic, copy, nullable) NSString *effectiveCommitSha; + +/** + * Output only. The root comment of the conversation, derived from the reply + * field. + */ +@property(nonatomic, copy, nullable) NSString *effectiveRootComment; + +/** Optional. The position of the comment. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Position *position; + +/** + * Optional. Input only. The PullRequestComment resource name that this comment + * is replying to. + */ +@property(nonatomic, copy, nullable) NSString *reply; + +/** + * Output only. Boolean indicator if the comment is resolved. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *resolved; + +@end + + +/** + * The general pull request comment. + */ +@interface GTLRSecureSourceManager_Comment : GTLRObject + +/** Required. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +@end + + +/** + * The request to create a pull request comment. + */ +@interface GTLRSecureSourceManager_CreatePullRequestCommentRequest : GTLRObject + +/** + * Required. The pull request in which to create the pull request comment. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** Required. The pull request comment to create. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_PullRequestComment *pullRequestComment; + +@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 GTLRSecureSourceManager_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 GTLRSecureSourceManager_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 + + +/** + * Response message containing the content of a blob. + */ +@interface GTLRSecureSourceManager_FetchBlobResponse : GTLRObject + +/** The content of the blob, encoded as base64. */ +@property(nonatomic, copy, nullable) NSString *content; + +/** The SHA-1 hash of the blob. */ +@property(nonatomic, copy, nullable) NSString *sha; + +@end + + +/** + * Response message containing a list of TreeEntry objects. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "treeEntries" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_FetchTreeResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of TreeEntry objects. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *treeEntries; + +@end + + +/** + * Metadata of a FileDiff. FileDiff represents a single file diff in a pull + * request. + */ +@interface GTLRSecureSourceManager_FileDiff : GTLRObject + +/** + * Output only. The action taken on the file (eg. added, modified, deleted). + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_ActionUnspecified + * Unspecified. (Value: "ACTION_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_Added The file was added. + * (Value: "ADDED") + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_Deleted The file was + * deleted. (Value: "DELETED") + * @arg @c kGTLRSecureSourceManager_FileDiff_Action_Modified The file was + * modified. (Value: "MODIFIED") + */ +@property(nonatomic, copy, nullable) NSString *action; + +/** Output only. The name of the file. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. The git patch containing the file changes. */ +@property(nonatomic, copy, nullable) NSString *patch; + +/** Output only. The commit pointing to the file changes. */ +@property(nonatomic, copy, nullable) NSString *sha; + +@end + + +/** + * Metadata of a Secure Source Manager Hook. + */ +@interface GTLRSecureSourceManager_Hook : GTLRObject + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Determines if the hook disabled or not. Set to true to stop + * sending traffic. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *disabled; + +/** Optional. The events that trigger hook on. */ +@property(nonatomic, strong, nullable) NSArray *events; + +/** + * Identifier. A unique identifier for a Hook. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. The trigger option for push events. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_PushOption *pushOption; + +/** Optional. The sensitive query string to be appended to the target URI. */ +@property(nonatomic, copy, nullable) NSString *sensitiveQueryString; + +/** Required. The target URI to which the payloads will be delivered. */ +@property(nonatomic, copy, nullable) NSString *targetUri; + +/** Output only. Unique identifier of the hook. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * HostConfig has different instance endpoints. + */ +@interface GTLRSecureSourceManager_HostConfig : GTLRObject + +/** Output only. API hostname. */ +@property(nonatomic, copy, nullable) NSString *api; + +/** Output only. Git HTTP hostname. */ +@property(nonatomic, copy, nullable) NSString *gitHttp; + +/** Output only. Git SSH hostname. */ +@property(nonatomic, copy, nullable) NSString *gitSsh; + +/** Output only. HTML hostname. */ +@property(nonatomic, copy, nullable) NSString *html; + +@end + + +/** + * Repository initialization configuration. + */ +@interface GTLRSecureSourceManager_InitialConfig : GTLRObject + +/** Default branch name of the repository. */ +@property(nonatomic, copy, nullable) NSString *defaultBranch; + +/** + * List of gitignore template names user can choose from. Valid values: + * actionscript, ada, agda, android, anjuta, ansible, appcelerator-titanium, + * app-engine, archives, arch-linux-packages, atmel-studio, autotools, backup, + * bazaar, bazel, bitrix, bricx-cc, c, cake-php, calabash, cf-wheels, + * chef-cookbook, clojure, cloud9, c-make, code-igniter, code-kit, + * code-sniffer, common-lisp, composer, concrete5, coq, cordova, cpp, + * craft-cms, cuda, cvs, d, dart, dart-editor, delphi, diff, dm, dreamweaver, + * dropbox, drupal, drupal-7, eagle, eclipse, eiffel-studio, elisp, elixir, + * elm, emacs, ensime, epi-server, erlang, esp-idf, espresso, exercism, + * expression-engine, ext-js, fancy, finale, flex-builder, force-dot-com, + * fortran, fuel-php, gcov, git-book, gnome-shell-extension, go, godot, gpg, + * gradle, grails, gwt, haskell, hugo, iar-ewarm, idris, igor-pro, images, + * infor-cms, java, jboss, jboss-4, jboss-6, jdeveloper, jekyll, jenkins-home, + * jenv, jet-brains, jigsaw, joomla, julia, jupyter-notebooks, kate, kdevelop4, + * kentico, ki-cad, kohana, kotlin, lab-view, laravel, lazarus, leiningen, + * lemon-stand, libre-office, lilypond, linux, lithium, logtalk, lua, lyx, + * mac-os, magento, magento-1, magento-2, matlab, maven, mercurial, mercury, + * metals, meta-programming-system, meteor, microsoft-office, model-sim, + * momentics, mono-develop, nanoc, net-beans, nikola, nim, ninja, node, + * notepad-pp, nwjs, objective--c, ocaml, octave, opa, open-cart, openssl, + * oracle-forms, otto, packer, patch, perl, perl6, phalcon, phoenix, pimcore, + * play-framework, plone, prestashop, processing, psoc-creator, puppet, + * pure-script, putty, python, qooxdoo, qt, r, racket, rails, raku, red, + * redcar, redis, rhodes-rhomobile, ros, ruby, rust, sam, sass, sbt, scala, + * scheme, scons, scrivener, sdcc, seam-gen, sketch-up, slick-edit, smalltalk, + * snap, splunk, stata, stella, sublime-text, sugar-crm, svn, swift, symfony, + * symphony-cms, synopsys-vcs, tags, terraform, tex, text-mate, textpattern, + * think-php, tortoise-git, turbo-gears-2, typo3, umbraco, unity, + * unreal-engine, vagrant, vim, virtual-env, virtuoso, visual-studio, + * visual-studio-code, vue, vvvv, waf, web-methods, windows, word-press, xcode, + * xilinx, xilinx-ise, xojo, yeoman, yii, zend-framework, zephir. + */ +@property(nonatomic, strong, nullable) NSArray *gitignores; + +/** + * License template name user can choose from. Valid values: license-0bsd, + * license-389-exception, aal, abstyles, adobe-2006, adobe-glyph, adsl, + * afl-1-1, afl-1-2, afl-2-0, afl-2-1, afl-3-0, afmparse, agpl-1-0, + * agpl-1-0-only, agpl-1-0-or-later, agpl-3-0-only, agpl-3-0-or-later, aladdin, + * amdplpa, aml, ampas, antlr-pd, antlr-pd-fallback, apache-1-0, apache-1-1, + * apache-2-0, apafml, apl-1-0, apsl-1-0, apsl-1-1, apsl-1-2, apsl-2-0, + * artistic-1-0, artistic-1-0-cl8, artistic-1-0-perl, artistic-2-0, + * autoconf-exception-2-0, autoconf-exception-3-0, bahyph, barr, beerware, + * bison-exception-2-2, bittorrent-1-0, bittorrent-1-1, blessing, + * blueoak-1-0-0, bootloader-exception, borceux, bsd-1-clause, bsd-2-clause, + * bsd-2-clause-freebsd, bsd-2-clause-netbsd, bsd-2-clause-patent, + * bsd-2-clause-views, bsd-3-clause, bsd-3-clause-attribution, + * bsd-3-clause-clear, bsd-3-clause-lbnl, bsd-3-clause-modification, + * bsd-3-clause-no-nuclear-license, bsd-3-clause-no-nuclear-license-2014, + * bsd-3-clause-no-nuclear-warranty, bsd-3-clause-open-mpi, bsd-4-clause, + * bsd-4-clause-shortened, bsd-4-clause-uc, bsd-protection, bsd-source-code, + * bsl-1-0, busl-1-1, cal-1-0, cal-1-0-combined-work-exception, caldera, + * catosl-1-1, cc0-1-0, cc-by-1-0, cc-by-2-0, cc-by-3-0, cc-by-3-0-at, + * cc-by-3-0-us, cc-by-4-0, cc-by-nc-1-0, cc-by-nc-2-0, cc-by-nc-3-0, + * cc-by-nc-4-0, cc-by-nc-nd-1-0, cc-by-nc-nd-2-0, cc-by-nc-nd-3-0, + * cc-by-nc-nd-3-0-igo, cc-by-nc-nd-4-0, cc-by-nc-sa-1-0, cc-by-nc-sa-2-0, + * cc-by-nc-sa-3-0, cc-by-nc-sa-4-0, cc-by-nd-1-0, cc-by-nd-2-0, cc-by-nd-3-0, + * cc-by-nd-4-0, cc-by-sa-1-0, cc-by-sa-2-0, cc-by-sa-2-0-uk, cc-by-sa-2-1-jp, + * cc-by-sa-3-0, cc-by-sa-3-0-at, cc-by-sa-4-0, cc-pddc, cddl-1-0, cddl-1-1, + * cdla-permissive-1-0, cdla-sharing-1-0, cecill-1-0, cecill-1-1, cecill-2-0, + * cecill-2-1, cecill-b, cecill-c, cern-ohl-1-1, cern-ohl-1-2, cern-ohl-p-2-0, + * cern-ohl-s-2-0, cern-ohl-w-2-0, clartistic, classpath-exception-2-0, + * clisp-exception-2-0, cnri-jython, cnri-python, cnri-python-gpl-compatible, + * condor-1-1, copyleft-next-0-3-0, copyleft-next-0-3-1, cpal-1-0, cpl-1-0, + * cpol-1-02, crossword, crystal-stacker, cua-opl-1-0, cube, c-uda-1-0, curl, + * d-fsl-1-0, diffmark, digirule-foss-exception, doc, dotseqn, drl-1-0, dsdp, + * dvipdfm, ecl-1-0, ecl-2-0, ecos-exception-2-0, efl-1-0, efl-2-0, egenix, + * entessa, epics, epl-1-0, epl-2-0, erlpl-1-1, etalab-2-0, eu-datagrid, + * eupl-1-0, eupl-1-1, eupl-1-2, eurosym, fair, fawkes-runtime-exception, + * fltk-exception, font-exception-2-0, frameworx-1-0, freebsd-doc, freeimage, + * freertos-exception-2-0, fsfap, fsful, fsfullr, ftl, gcc-exception-2-0, + * gcc-exception-3-1, gd, gfdl-1-1-invariants-only, + * gfdl-1-1-invariants-or-later, gfdl-1-1-no-invariants-only, + * gfdl-1-1-no-invariants-or-later, gfdl-1-1-only, gfdl-1-1-or-later, + * gfdl-1-2-invariants-only, gfdl-1-2-invariants-or-later, + * gfdl-1-2-no-invariants-only, gfdl-1-2-no-invariants-or-later, gfdl-1-2-only, + * gfdl-1-2-or-later, gfdl-1-3-invariants-only, gfdl-1-3-invariants-or-later, + * gfdl-1-3-no-invariants-only, gfdl-1-3-no-invariants-or-later, gfdl-1-3-only, + * gfdl-1-3-or-later, giftware, gl2ps, glide, glulxe, glwtpl, + * gnu-javamail-exception, gnuplot, gpl-1-0-only, gpl-1-0-or-later, + * gpl-2-0-only, gpl-2-0-or-later, gpl-3-0-linking-exception, + * gpl-3-0-linking-source-exception, gpl-3-0-only, gpl-3-0-or-later, + * gpl-cc-1-0, gsoap-1-3b, haskell-report, hippocratic-2-1, hpnd, + * hpnd-sell-variant, htmltidy, i2p-gpl-java-exception, ibm-pibs, icu, ijg, + * image-magick, imatix, imlib2, info-zip, intel, intel-acpi, interbase-1-0, + * ipa, ipl-1-0, isc, jasper-2-0, jpnic, json, lal-1-2, lal-1-3, latex2e, + * leptonica, lgpl-2-0-only, lgpl-2-0-or-later, lgpl-2-1-only, + * lgpl-2-1-or-later, lgpl-3-0-linking-exception, lgpl-3-0-only, + * lgpl-3-0-or-later, lgpllr, libpng, libpng-2-0, libselinux-1-0, libtiff, + * libtool-exception, liliq-p-1-1, liliq-r-1-1, liliq-rplus-1-1, linux-openib, + * linux-syscall-note, llvm-exception, lpl-1-0, lpl-1-02, lppl-1-0, lppl-1-1, + * lppl-1-2, lppl-1-3a, lppl-1-3c, lzma-exception, make-index, mif-exception, + * miros, mit, mit-0, mit-advertising, mit-cmu, mit-enna, mit-feh, + * mit-modern-variant, mitnfa, mit-open-group, motosoto, mpich2, mpl-1-0, + * mpl-1-1, mpl-2-0, mpl-2-0-no-copyleft-exception, ms-pl, ms-rl, mtll, + * mulanpsl-1-0, mulanpsl-2-0, multics, mup, naist-2003, nasa-1-3, naumen, + * nbpl-1-0, ncgl-uk-2-0, ncsa, netcdf, net-snmp, newsletr, ngpl, nist-pd, + * nist-pd-fallback, nlod-1-0, nlpl, nokia, nokia-qt-exception-1-1, nosl, + * noweb, npl-1-0, npl-1-1, nposl-3-0, nrl, ntp, ntp-0, + * ocaml-lgpl-linking-exception, occt-exception-1-0, occt-pl, oclc-2-0, + * odbl-1-0, odc-by-1-0, ofl-1-0, ofl-1-0-no-rfn, ofl-1-0-rfn, ofl-1-1, + * ofl-1-1-no-rfn, ofl-1-1-rfn, ogc-1-0, ogdl-taiwan-1-0, ogl-canada-2-0, + * ogl-uk-1-0, ogl-uk-2-0, ogl-uk-3-0, ogtsl, oldap-1-1, oldap-1-2, oldap-1-3, + * oldap-1-4, oldap-2-0, oldap-2-0-1, oldap-2-1, oldap-2-2, oldap-2-2-1, + * oldap-2-2-2, oldap-2-3, oldap-2-4, oldap-2-7, oml, + * openjdk-assembly-exception-1-0, openssl, openvpn-openssl-exception, opl-1-0, + * oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0, o-uda-1-0, + * parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01, plexus, + * polyform-noncommercial-1-0-0, polyform-small-business-1-0-0, postgresql, + * psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils, python-2-0, + * qhull, qpl-1-0, qt-gpl-exception-1-0, qt-lgpl-exception-1-1, + * qwt-exception-1-0, rdisc, rhecos-1-1, rpl-1-1, rpsl-1-0, rsa-md, rscpl, + * ruby, saxpath, sax-pd, scea, sendmail, sendmail-8-23, sgi-b-1-0, sgi-b-1-1, + * sgi-b-2-0, shl-0-51, shl-2-0, shl-2-1, simpl-2-0, sissl, sissl-1-2, + * sleepycat, smlnj, smppl, snia, spencer-86, spencer-94, spencer-99, spl-1-0, + * ssh-openssh, ssh-short, sspl-1-0, sugarcrm-1-1-3, swift-exception, swl, + * tapr-ohl-1-0, tcl, tcp-wrappers, tmate, torque-1-1, tosl, tu-berlin-1-0, + * tu-berlin-2-0, u-boot-exception-2-0, ucl-1-0, unicode-dfs-2015, + * unicode-dfs-2016, unicode-tou, universal-foss-exception-1-0, unlicense, + * upl-1-0, vim, vostrom, vsl-1-0, w3c, w3c-19980720, w3c-20150513, watcom-1-0, + * wsuipa, wtfpl, wxwindows-exception-3-1, x11, xerox, xfree86-1-1, xinetd, + * xnet, xpp, xskat, ypl-1-0, ypl-1-1, zed, zend-2-0, zimbra-1-3, zimbra-1-4, + * zlib, zlib-acknowledgement, zpl-1-1, zpl-2-0, zpl-2-1. + */ +@property(nonatomic, copy, nullable) NSString *license; + +/** README template name. Valid template name(s) are: default. */ +@property(nonatomic, copy, nullable) NSString *readme; + +@end + + +/** + * A resource that represents a Secure Source Manager instance. + */ +@interface GTLRSecureSourceManager_Instance : GTLRObject + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. A list of hostnames for this instance. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_HostConfig *hostConfig; + +/** + * Optional. Immutable. Customer-managed encryption key name, in the format + * projects/ * /locations/ * /keyRings/ * /cryptoKeys/ *. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + +/** Optional. Labels as key value pairs. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Instance_Labels *labels; + +/** + * Optional. A unique identifier for an instance. The name should be of the + * format: + * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` + * `project_number`: Maps to a unique int64 id assigned to each project. + * `location_id`: Refers to the region where the instance will be deployed. + * Since Secure Source Manager is a regional service, it must be one of the + * valid GCP regions. `instance_id`: User provided name for the instance, must + * be unique for a project_number and location_id combination. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. Private settings for private instance. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_PrivateConfig *privateConfig; + +/** + * Output only. Current state of the instance. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Instance_State_Active Instance is ready. + * (Value: "ACTIVE") + * @arg @c kGTLRSecureSourceManager_Instance_State_Creating Instance is being + * created. (Value: "CREATING") + * @arg @c kGTLRSecureSourceManager_Instance_State_Deleting Instance is being + * deleted. (Value: "DELETING") + * @arg @c kGTLRSecureSourceManager_Instance_State_Paused Instance is paused. + * (Value: "PAUSED") + * @arg @c kGTLRSecureSourceManager_Instance_State_StateUnspecified Not set. + * This should only be the case for incoming requests. (Value: + * "STATE_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_Instance_State_Unknown Instance is + * unknown, we are not sure if it's functioning. (Value: "UNKNOWN") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** + * Output only. An optional field providing information about the current + * instance state. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Instance_StateNote_InstanceResuming + * INSTANCE_RESUMING indicates that the instance was previously paused + * and is under the process of being brought back. (Value: + * "INSTANCE_RESUMING") + * @arg @c kGTLRSecureSourceManager_Instance_StateNote_PausedCmekUnavailable + * CMEK access is unavailable. (Value: "PAUSED_CMEK_UNAVAILABLE") + * @arg @c kGTLRSecureSourceManager_Instance_StateNote_StateNoteUnspecified + * STATE_NOTE_UNSPECIFIED as the first value of State. (Value: + * "STATE_NOTE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *stateNote; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** + * Optional. Configuration for Workforce Identity Federation to support third + * party identity provider. If unset, defaults to the Google OIDC IdP. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_WorkforceIdentityFederationConfig *workforceIdentityFederationConfig; + +@end + + +/** + * Optional. Labels as key value pairs. + * + * @note This class is documented as having more properties of NSString. Use @c + * -additionalJSONKeys and @c -additionalPropertyForName: to get the list + * of properties and then fetch them; or @c -additionalProperties to + * fetch them all at once. + */ +@interface GTLRSecureSourceManager_Instance_Labels : GTLRObject +@end + + +/** + * Metadata of an Issue. + */ +@interface GTLRSecureSourceManager_Issue : GTLRObject + +/** Optional. Issue body. Provides a detailed description of the issue. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. Close timestamp (if closed). Cleared when is re-opened. */ +@property(nonatomic, strong, nullable) GTLRDateTime *closeTime; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Identifier. Unique identifier for an issue. The issue id is generated by the + * server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. State of the issue. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Issue_State_Closed A closed issue. + * (Value: "CLOSED") + * @arg @c kGTLRSecureSourceManager_Issue_State_Open An open issue. (Value: + * "OPEN") + * @arg @c kGTLRSecureSourceManager_Issue_State_StateUnspecified Unspecified. + * (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Required. Issue title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * IssueComment represents a comment on an issue. + */ +@interface GTLRSecureSourceManager_IssueComment : GTLRObject + +/** Required. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. Unique identifier for an issue comment. The comment id is + * generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * ListBranchRulesResponse is the response to listing branchRules. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "branchRules" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListBranchRulesResponse : GTLRCollectionObject + +/** + * The list of branch rules. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *branchRules; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * ListHooksResponse is response to list hooks. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "hooks" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListHooksResponse : GTLRCollectionObject + +/** + * The list of hooks. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *hooks; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * GTLRSecureSourceManager_ListInstancesResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "instances" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListInstancesResponse : GTLRCollectionObject + +/** + * The list of instances. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *instances; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** Locations that could not be reached. */ +@property(nonatomic, strong, nullable) NSArray *unreachable; + +@end + + +/** + * The response to list issue comments. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "issueComments" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListIssueCommentsResponse : GTLRCollectionObject + +/** + * The list of issue comments. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *issueComments; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * The response to list issues. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "issues" property. If returned as the result of a query, it should + * support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListIssuesResponse : GTLRCollectionObject + +/** + * The list of issues. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *issues; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@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 GTLRSecureSourceManager_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 GTLRSecureSourceManager_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 + + +/** + * The response to list pull request comments. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "pullRequestComments" property. If returned as the result of a + * query, it should support automatic pagination (when @c + * shouldFetchNextPages is enabled). + */ +@interface GTLRSecureSourceManager_ListPullRequestCommentsResponse : GTLRCollectionObject + +/** + * A token to set as page_token to retrieve the next page. If this field is + * omitted, there are no subsequent pages. + */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of pull request comments. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *pullRequestComments; + +@end + + +/** + * ListPullRequestFileDiffsResponse is the response containing file diffs + * returned from ListPullRequestFileDiffs. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "fileDiffs" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListPullRequestFileDiffsResponse : GTLRCollectionObject + +/** + * The list of pull request file diffs. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *fileDiffs; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +@end + + +/** + * ListPullRequestsResponse is the response to list pull requests. + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "pullRequests" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListPullRequestsResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of pull requests. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *pullRequests; + +@end + + +/** + * GTLRSecureSourceManager_ListRepositoriesResponse + * + * @note This class supports NSFastEnumeration and indexed subscripting over + * its "repositories" property. If returned as the result of a query, it + * should support automatic pagination (when @c shouldFetchNextPages is + * enabled). + */ +@interface GTLRSecureSourceManager_ListRepositoriesResponse : GTLRCollectionObject + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *nextPageToken; + +/** + * The list of repositories. + * + * @note This property is used to support NSFastEnumeration and indexed + * subscripting on this class. + */ +@property(nonatomic, strong, nullable) NSArray *repositories; + +@end + + +/** + * A resource that represents a Google Cloud location. + */ +@interface GTLRSecureSourceManager_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) GTLRSecureSourceManager_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) GTLRSecureSourceManager_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 GTLRSecureSourceManager_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 GTLRSecureSourceManager_Location_Metadata : GTLRObject +@end + + +/** + * MergePullRequestRequest is the request to merge a pull request. + */ +@interface GTLRSecureSourceManager_MergePullRequestRequest : GTLRObject +@end + + +/** + * The request to open an issue. + */ +@interface GTLRSecureSourceManager_OpenIssueRequest : GTLRObject + +/** + * Optional. The current etag of the issue. If the etag is provided and does + * not match the current etag of the issue, opening will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +@end + + +/** + * OpenPullRequestRequest is the request to open a pull request. + */ +@interface GTLRSecureSourceManager_OpenPullRequestRequest : GTLRObject +@end + + +/** + * This resource represents a long-running operation that is the result of a + * network API call. + */ +@interface GTLRSecureSourceManager_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) GTLRSecureSourceManager_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) GTLRSecureSourceManager_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) GTLRSecureSourceManager_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 GTLRSecureSourceManager_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 GTLRSecureSourceManager_Operation_Response : GTLRObject +@end + + +/** + * Represents the metadata of the long-running operation. + */ +@interface GTLRSecureSourceManager_OperationMetadata : GTLRObject + +/** Output only. API version used to start the operation. */ +@property(nonatomic, copy, nullable) NSString *apiVersion; + +/** Output only. The time the operation was created. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Output only. The time the operation finished running. */ +@property(nonatomic, strong, nullable) GTLRDateTime *endTime; + +/** + * Output only. Identifies whether the user has requested cancellation of the + * operation. Operations that have successfully been cancelled have + * Operation.error value with a google.rpc.Status.code of 1, corresponding to + * `Code.CANCELLED`. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *requestedCancellation; + +/** Output only. Human-readable status of the operation, if any. */ +@property(nonatomic, copy, nullable) NSString *statusMessage; + +/** + * Output only. Server-defined resource path for the target of the operation. + */ +@property(nonatomic, copy, nullable) NSString *target; + +/** Output only. Name of the verb executed by the operation. */ +@property(nonatomic, copy, nullable) NSString *verb; + +@end + + +/** + * 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 GTLRSecureSourceManager_Policy : GTLRObject + +/** Specifies cloud audit logging configuration for this policy. */ +@property(nonatomic, strong, nullable) NSArray *auditConfigs; + +/** + * Associates a list of `members`, or principals, with a `role`. Optionally, + * may specify a `condition` that determines how and when the `bindings` are + * applied. Each of the `bindings` must contain at least one principal. The + * `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of + * these principals can be Google groups. Each occurrence of a principal counts + * towards these limits. For example, if the `bindings` grant 50 different + * roles to `user:alice\@example.com`, and not to any other principal, then you + * can add another 1,450 principals to the `bindings` in the `Policy`. + */ +@property(nonatomic, strong, nullable) NSArray *bindings; + +/** + * `etag` is used for optimistic concurrency control as a way to help prevent + * simultaneous updates of a policy from overwriting each other. It is strongly + * suggested that systems make use of the `etag` in the read-modify-write cycle + * to perform policy updates in order to avoid race conditions: An `etag` is + * returned in the response to `getIamPolicy`, and systems are expected to put + * that etag in the request to `setIamPolicy` to ensure that their change will + * be applied to the same version of the policy. **Important:** If you use IAM + * Conditions, you must include the `etag` field whenever you call + * `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a + * version `3` policy with a version `1` policy, and all of the conditions in + * the version `3` policy are lost. + * + * Contains encoded binary data; GTLRBase64 can encode/decode (probably + * web-safe format). + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. + * Requests that specify an invalid value are rejected. Any operation that + * affects conditional role bindings must specify version `3`. This requirement + * applies to the following operations: * Getting a policy that includes a + * conditional role binding * Adding a conditional role binding to a policy * + * Changing a conditional role binding in a policy * Removing any role binding, + * with or without a condition, from a policy that includes conditions + * **Important:** If you use IAM Conditions, you must include the `etag` field + * whenever you call `setIamPolicy`. If you omit this field, then IAM allows + * you to overwrite a version `3` policy with a version `1` policy, and all of + * the conditions in the version `3` policy are lost. If a policy does not + * include any conditions, operations on that policy may specify any valid + * version or leave the field unset. To learn which resources support + * conditions in their IAM policies, see the [IAM + * documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + +/** + * The position of the code comment. + */ +@interface GTLRSecureSourceManager_Position : GTLRObject + +/** + * Required. The line number of the comment. Positive value means it's on the + * new side of the diff, negative value means it's on the old side. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *line; + +/** Required. The path of the file. */ +@property(nonatomic, copy, nullable) NSString *path; + +@end + + +/** + * PrivateConfig includes settings for private instance. + */ +@interface GTLRSecureSourceManager_PrivateConfig : GTLRObject + +/** + * Optional. Immutable. CA pool resource, resource must in the format of + * `projects/{project}/locations/{location}/caPools/{ca_pool}`. + */ +@property(nonatomic, copy, nullable) NSString *caPool; + +/** + * Output only. Service Attachment for HTTP, resource is in the format of + * `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. + */ +@property(nonatomic, copy, nullable) NSString *httpServiceAttachment; + +/** + * Required. Immutable. Indicate if it's private instance. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isPrivate; + +/** + * Optional. Additional allowed projects for setting up PSC connections. + * Instance host project is automatically allowed and does not need to be + * included in this list. + */ +@property(nonatomic, strong, nullable) NSArray *pscAllowedProjects; + +/** + * Output only. Service Attachment for SSH, resource is in the format of + * `projects/{project}/regions/{region}/serviceAttachments/{service_attachment}`. + */ +@property(nonatomic, copy, nullable) NSString *sshServiceAttachment; + +@end + + +/** + * Metadata of a PullRequest. PullRequest is the request from a user to merge a + * branch (head) into another branch (base). + */ +@interface GTLRSecureSourceManager_PullRequest : GTLRObject + +/** Required. The branch to merge changes in. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Branch *base; + +/** + * Optional. The pull request body. Provides a detailed description of the + * changes. + */ +@property(nonatomic, copy, nullable) NSString *body; + +/** + * Output only. Close timestamp (if closed or merged). Cleared when pull + * request is re-opened. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *closeTime; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** Immutable. The branch containing the changes to be merged. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Branch *head; + +/** + * Output only. A unique identifier for a PullRequest. The number appended at + * the end is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Output only. State of the pull request (open, closed or merged). + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_PullRequest_State_Closed A closed pull + * request. (Value: "CLOSED") + * @arg @c kGTLRSecureSourceManager_PullRequest_State_Merged A merged pull + * request. (Value: "MERGED") + * @arg @c kGTLRSecureSourceManager_PullRequest_State_Open An open pull + * request. (Value: "OPEN") + * @arg @c kGTLRSecureSourceManager_PullRequest_State_StateUnspecified + * Unspecified. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +/** Required. The pull request title. */ +@property(nonatomic, copy, nullable) NSString *title; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * PullRequestComment represents a comment on a pull request. + */ +@interface GTLRSecureSourceManager_PullRequestComment : GTLRObject + +/** Optional. The comment on a code line. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Code *code; + +/** Optional. The general pull request comment. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Comment *comment; + +/** Output only. Creation timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Identifier. Unique identifier for the pull request comment. The comment id + * is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Optional. The review summary comment. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Review *review; + +/** Output only. Last updated timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +@end + + +/** + * GTLRSecureSourceManager_PushOption + */ +@interface GTLRSecureSourceManager_PushOption : GTLRObject + +/** + * Optional. Trigger hook for matching branches only. Specified as glob + * pattern. If empty or *, events for all branches are reported. Examples: + * main, {main,release*}. See https://pkg.go.dev/github.com/gobwas/glob + * documentation. + */ +@property(nonatomic, copy, nullable) NSString *branchFilter; + +@end + + +/** + * Metadata of a Secure Source Manager repository. + */ +@interface GTLRSecureSourceManager_Repository : GTLRObject + +/** Output only. Create timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createTime; + +/** + * Optional. Description of the repository, which cannot exceed 500 characters. + * + * Remapped to 'descriptionProperty' to avoid NSObject's 'description'. + */ +@property(nonatomic, copy, nullable) NSString *descriptionProperty; + +/** + * Optional. This checksum is computed by the server based on the value of + * other fields, and may be sent on update and delete requests to ensure the + * client has an up-to-date value before proceeding. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** Input only. Initial configurations for the repository. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_InitialConfig *initialConfig; + +/** + * Optional. The name of the instance in which the repository is hosted, + * formatted as + * `projects/{project_number}/locations/{location_id}/instances/{instance_id}` + * When creating repository via securesourcemanager.googleapis.com, this field + * is used as input. When creating repository via *.sourcemanager.dev, this + * field is output only. + */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** + * Optional. A unique identifier for a repository. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** Output only. Unique identifier of the repository. */ +@property(nonatomic, copy, nullable) NSString *uid; + +/** Output only. Update timestamp. */ +@property(nonatomic, strong, nullable) GTLRDateTime *updateTime; + +/** Output only. URIs for the repository. */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_URIs *uris; + +@end + + +/** + * The request to resolve multiple pull request comments. + */ +@interface GTLRSecureSourceManager_ResolvePullRequestCommentsRequest : GTLRObject + +/** + * Optional. If set, at least one comment in a thread is required, rest of the + * comments in the same thread will be automatically updated to resolved. If + * unset, all comments in the same thread need be present. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoFill; + +/** + * Required. The names of the pull request comments to resolve. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` + * Only comments from the same threads are allowed in the same request. + */ +@property(nonatomic, strong, nullable) NSArray *names; + +@end + + +/** + * The review summary comment. + */ +@interface GTLRSecureSourceManager_Review : GTLRObject + +/** + * Required. The review action type. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_Review_ActionType_ActionTypeUnspecified + * Unspecified. (Value: "ACTION_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_Review_ActionType_Approved Change + * approved from this review. (Value: "APPROVED") + * @arg @c kGTLRSecureSourceManager_Review_ActionType_ChangeRequested Change + * required from this review. (Value: "CHANGE_REQUESTED") + * @arg @c kGTLRSecureSourceManager_Review_ActionType_Comment A general + * review comment. (Value: "COMMENT") + */ +@property(nonatomic, copy, nullable) NSString *actionType; + +/** Optional. The comment body. */ +@property(nonatomic, copy, nullable) NSString *body; + +/** Output only. The effective commit sha this review is pointing to. */ +@property(nonatomic, copy, nullable) NSString *effectiveCommitSha; + +@end + + +/** + * Request message for `SetIamPolicy` method. + */ +@interface GTLRSecureSourceManager_SetIamPolicyRequest : GTLRObject + +/** + * REQUIRED: The complete policy to be applied to the `resource`. The size of + * the policy is limited to a few 10s of KB. An empty policy is a valid policy + * but certain Google Cloud services (such as Projects) might reject them. + */ +@property(nonatomic, strong, nullable) GTLRSecureSourceManager_Policy *policy; + +/** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only + * the fields in the mask will be modified. If no mask is provided, the + * following default mask is used: `paths: "bindings, etag"` + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +@end + + +/** + * The `Status` type defines a logical error model that is suitable for + * different programming environments, including REST APIs and RPC APIs. It is + * used by [gRPC](https://github.com/grpc). Each `Status` message contains + * three pieces of data: error code, error message, and error details. You can + * find out more about this error model and how to work with it in the [API + * Design Guide](https://cloud.google.com/apis/design/errors). + */ +@interface GTLRSecureSourceManager_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 + + +/** + * GTLRSecureSourceManager_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 GTLRSecureSourceManager_Status_Details_Item : GTLRObject +@end + + +/** + * Request message for `TestIamPermissions` method. + */ +@interface GTLRSecureSourceManager_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 GTLRSecureSourceManager_TestIamPermissionsResponse : GTLRObject + +/** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ +@property(nonatomic, strong, nullable) NSArray *permissions; + +@end + + +/** + * Represents an entry within a tree structure (like a Git tree). + */ +@interface GTLRSecureSourceManager_TreeEntry : GTLRObject + +/** + * Output only. The file mode as a string (e.g., "100644"). Indicates file + * type. Output-only. + */ +@property(nonatomic, copy, nullable) NSString *mode; + +/** + * Output only. The path of the file or directory within the tree (e.g., + * "src/main/java/MyClass.java"). Output-only. + */ +@property(nonatomic, copy, nullable) NSString *path; + +/** + * Output only. The SHA-1 hash of the object (unique identifier). Output-only. + */ +@property(nonatomic, copy, nullable) NSString *sha; + +/** + * Output only. The size of the object in bytes (only for blobs). Output-only. + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *size; + +/** + * Output only. The type of the object (TREE, BLOB, COMMIT). Output-only. + * + * Likely values: + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_Blob Represents a file + * (contains file data). (Value: "BLOB") + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_Commit Represents a + * pointer to another repository (submodule). (Value: "COMMIT") + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_ObjectTypeUnspecified + * Default value, indicating the object type is unspecified. (Value: + * "OBJECT_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecureSourceManager_TreeEntry_Type_Tree Represents a + * directory (folder). (Value: "TREE") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * The request to unresolve multiple pull request comments. + */ +@interface GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest : GTLRObject + +/** + * Optional. If set, at least one comment in a thread is required, rest of the + * comments in the same thread will be automatically updated to unresolved. If + * unset, all comments in the same thread need be present. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *autoFill; + +/** + * Required. The names of the pull request comments to unresolve. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}` + * Only comments from the same threads are allowed in the same request. + */ +@property(nonatomic, strong, nullable) NSArray *names; + +@end + + +/** + * URIs for the repository. + */ +@interface GTLRSecureSourceManager_URIs : GTLRObject + +/** Output only. API is the URI for API access. */ +@property(nonatomic, copy, nullable) NSString *api; + +/** Output only. git_https is the git HTTPS URI for git operations. */ +@property(nonatomic, copy, nullable) NSString *gitHttps; + +/** + * Output only. HTML is the URI for user to view the repository in a browser. + */ +@property(nonatomic, copy, nullable) NSString *html; + +@end + + +/** + * WorkforceIdentityFederationConfig allows this instance to support users from + * external identity providers. + */ +@interface GTLRSecureSourceManager_WorkforceIdentityFederationConfig : GTLRObject + +/** + * Optional. Immutable. Whether Workforce Identity Federation is enabled. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *enabled; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerQuery.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerQuery.h new file mode 100644 index 000000000..2a79078f3 --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerQuery.h @@ -0,0 +1,2392 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#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 "GTLRSecureSourceManagerObjects.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 Secure Source Manager query classes. + */ +@interface GTLRSecureSourceManagerQuery : GTLRQuery + +/** Selector specifying which fields to include in a partial response. */ +@property(nonatomic, copy, nullable) NSString *fields; + +@end + +/** + * Gets information about a location. + * + * Method: securesourcemanager.projects.locations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsGet : GTLRSecureSourceManagerQuery + +/** Resource name for the location. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Location. + * + * Gets information about a location. + * + * @param name Resource name for the location. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates a new instance in a given project and location. + * + * Method: securesourcemanager.projects.locations.instances.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate : GTLRSecureSourceManagerQuery + +/** Required. ID of the instance to be created. */ +@property(nonatomic, copy, nullable) NSString *instanceId; + +/** Required. Value for parent. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes since the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a new instance in a given project and location. + * + * @param object The @c GTLRSecureSourceManager_Instance to include in the + * query. + * @param parent Required. Value for parent. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Instance *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a single instance. + * + * Method: securesourcemanager.projects.locations.instances.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete : GTLRSecureSourceManagerQuery + +/** Required. Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. An optional request ID to identify requests. Specify a unique + * request ID so that if you must retry your request, the server will know to + * ignore the request if it has already been completed. The server will + * guarantee that for at least 60 minutes after the first request. For example, + * consider a situation where you make an initial request and the request times + * out. If you make the request again with the same request ID, the server can + * check if original operation with the same request ID was received, and if + * so, will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with the + * exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ +@property(nonatomic, copy, nullable) NSString *requestId; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a single instance. + * + * @param name Required. Name of the resource. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets details of a single instance. + * + * Method: securesourcemanager.projects.locations.instances.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet : GTLRSecureSourceManagerQuery + +/** Required. Name of the resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Instance. + * + * Gets details of a single instance. + * + * @param name Required. Name of the resource. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGet + */ ++ (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: securesourcemanager.projects.locations.instances.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * 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 GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Lists Instances in a given project and location. + * + * Method: securesourcemanager.projects.locations.instances.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList : GTLRSecureSourceManagerQuery + +/** Filter for filtering results. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** Hint for how to order the results. */ +@property(nonatomic, copy, nullable) NSString *orderBy; + +/** + * Requested page size. Server may return fewer items than requested. If + * unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListInstancesRequest. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListInstancesResponse. + * + * Lists Instances in a given project and location. + * + * @param parent Required. Parent value for ListInstancesRequest. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesList + * + * @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: securesourcemanager.projects.locations.instances.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * 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 GTLRSecureSourceManager_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 GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_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: securesourcemanager.projects.locations.instances.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions : GTLRSecureSourceManagerQuery + +/** + * 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 GTLRSecureSourceManager_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 GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_ProjectsLocationsInstancesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Lists information about the supported locations for this service. + * + * Method: securesourcemanager.projects.locations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsList : GTLRSecureSourceManagerQuery + +/** + * Optional. A list of extra location types that should be used as conditions + * for controlling the visibility of the locations. + */ +@property(nonatomic, strong, nullable) NSArray *extraLocationTypes; + +/** + * 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 GTLRSecureSourceManager_ListLocationsResponse. + * + * Lists information about the supported locations for this service. + * + * @param name The resource that owns the locations collection, if applicable. + * + * @return GTLRSecureSourceManagerQuery_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: securesourcemanager.projects.locations.operations.cancel + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel : GTLRSecureSourceManagerQuery + +/** The name of the operation resource to be cancelled. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_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 GTLRSecureSourceManager_CancelOperationRequest to + * include in the query. + * @param name The name of the operation resource to be cancelled. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsCancel + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_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: securesourcemanager.projects.locations.operations.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsDelete : GTLRSecureSourceManagerQuery + +/** The name of the operation resource to be deleted. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_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: securesourcemanager.projects.locations.operations.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsGet : GTLRSecureSourceManagerQuery + +/** The name of the operation resource. */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_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: securesourcemanager.projects.locations.operations.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsOperationsList : GTLRSecureSourceManagerQuery + +/** 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 GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_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 + +/** + * CreateBranchRule creates a branch rule in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate : GTLRSecureSourceManagerQuery + +@property(nonatomic, copy, nullable) NSString *branchRuleId; + +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * CreateBranchRule creates a branch rule in a given repository. + * + * @param object The @c GTLRSecureSourceManager_BranchRule to include in the + * query. + * @param parent NSString + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)object + parent:(NSString *)parent; + +@end + +/** + * DeleteBranchRule deletes a branch rule. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete : GTLRSecureSourceManagerQuery + +/** + * Optional. If set to true, and the branch rule is not found, the request will + * succeed but no action will be taken on the server. + */ +@property(nonatomic, assign) BOOL allowMissing; + +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * DeleteBranchRule deletes a branch rule. + * + * @param name NSString + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * GetBranchRule gets a branch rule. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the repository to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_BranchRule. + * + * GetBranchRule gets a branch rule. + * + * @param name Required. Name of the repository to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * ListBranchRules lists branch rules in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList : GTLRSecureSourceManagerQuery + +@property(nonatomic, assign) NSInteger pageSize; + +@property(nonatomic, copy, nullable) NSString *pageToken; + +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListBranchRulesResponse. + * + * ListBranchRules lists branch rules in a given repository. + * + * @param parent NSString + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesList + * + * @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 + +/** + * UpdateBranchRule updates a branch rule. + * + * Method: securesourcemanager.projects.locations.repositories.branchRules.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch : GTLRSecureSourceManagerQuery + +/** + * Optional. A unique identifier for a BranchRule. The name should be of the + * format: + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Field mask is used to specify the fields to be overwritten in the + * branchRule 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. The special value "*" means full + * replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Optional. If set, validate the request and preview the review, but do not + * actually post it. (https://google.aip.dev/163, for declarative friendly) + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * UpdateBranchRule updates a branch rule. + * + * @param object The @c GTLRSecureSourceManager_BranchRule to include in the + * query. + * @param name Optional. A unique identifier for a BranchRule. The name should + * be of the format: + * `projects/{project}/locations/{location}/repositories/{repository}/branchRules/{branch_rule}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesBranchRulesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BranchRule *)object + name:(NSString *)name; + +@end + +/** + * Creates a new repository in a given project and location. The + * Repository.Instance field is required in the request body for requests using + * the securesourcemanager.googleapis.com endpoint. + * + * Method: securesourcemanager.projects.locations.repositories.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The project in which to create the repository. Values are of the + * form `projects/{project_number}/locations/{location_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Required. The ID to use for the repository, which will become the final + * component of the repository's resource name. This value should be 4-63 + * characters, and valid characters are /a-z-/. + */ +@property(nonatomic, copy, nullable) NSString *repositoryId; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a new repository in a given project and location. The + * Repository.Instance field is required in the request body for requests using + * the securesourcemanager.googleapis.com endpoint. + * + * @param object The @c GTLRSecureSourceManager_Repository to include in the + * query. + * @param parent Required. The project in which to create the repository. + * Values are of the form `projects/{project_number}/locations/{location_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a Repository. + * + * Method: securesourcemanager.projects.locations.repositories.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete : GTLRSecureSourceManagerQuery + +/** + * Optional. If set to true, and the repository is not found, the request will + * succeed but no action will be taken on the server. + */ +@property(nonatomic, assign) BOOL allowMissing; + +/** + * Required. Name of the repository to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a Repository. + * + * @param name Required. Name of the repository to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Fetches a blob from a repository. + * + * Method: securesourcemanager.projects.locations.repositories.fetchBlob + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob : GTLRSecureSourceManagerQuery + +/** + * Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository containing the blob. + */ +@property(nonatomic, copy, nullable) NSString *repository; + +/** Required. The SHA-1 hash of the blob to retrieve. */ +@property(nonatomic, copy, nullable) NSString *sha; + +/** + * Fetches a @c GTLRSecureSourceManager_FetchBlobResponse. + * + * Fetches a blob from a repository. + * + * @param repository Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository containing the blob. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchBlob + */ ++ (instancetype)queryWithRepository:(NSString *)repository; + +@end + +/** + * Fetches a tree from a repository. + * + * Method: securesourcemanager.projects.locations.repositories.fetchTree + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, at most 10,000 items will be returned. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Optional. If true, include all subfolders and their files in the response. + * If false, only the immediate children are returned. + */ +@property(nonatomic, assign) BOOL recursive; + +/** + * Optional. `ref` can be a SHA-1 hash, a branch name, or a tag. Specifies + * which tree to fetch. If not specified, the default branch will be used. + */ +@property(nonatomic, copy, nullable) NSString *ref; + +/** + * Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository to fetch the tree from. + */ +@property(nonatomic, copy, nullable) NSString *repository; + +/** + * Fetches a @c GTLRSecureSourceManager_FetchTreeResponse. + * + * Fetches a tree from a repository. + * + * @param repository Required. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * Specifies the repository to fetch the tree from. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesFetchTree + * + * @note Automatic pagination will be done when @c shouldFetchNextPages is + * enabled. See @c shouldFetchNextPages on @c GTLRService for more + * information. + */ ++ (instancetype)queryWithRepository:(NSString *)repository; + +@end + +/** + * Gets metadata of a repository. + * + * Method: securesourcemanager.projects.locations.repositories.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the repository to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Repository. + * + * Gets metadata of a repository. + * + * @param name Required. Name of the repository to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Get IAM policy for a repository. + * + * Method: securesourcemanager.projects.locations.repositories.getIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * 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 GTLRSecureSourceManager_Policy. + * + * Get IAM policy for a repository. + * + * @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 GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesGetIamPolicy + */ ++ (instancetype)queryWithResource:(NSString *)resource; + +@end + +/** + * Creates a new hook in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The ID to use for the hook, which will become the final component + * of the hook's resource name. This value restricts to lower-case letters, + * numbers, and hyphen, with the first character a letter, the last a letter or + * a number, and a 63 character maximum. + */ +@property(nonatomic, copy, nullable) NSString *hookId; + +/** + * Required. The repository in which to create the hook. Values are of the form + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a new hook in a given repository. + * + * @param object The @c GTLRSecureSourceManager_Hook to include in the query. + * @param parent Required. The repository in which to create the hook. Values + * are of the form + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a Hook. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the hook to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a Hook. + * + * @param name Required. Name of the hook to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets metadata of a hook. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the hook to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Hook. + * + * Gets metadata of a hook. + * + * @param name Required. Name of the hook to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists hooks in a given repository. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListHooksRequest. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListHooksResponse. + * + * Lists hooks in a given repository. + * + * @param parent Required. Parent value for ListHooksRequest. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksList + * + * @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 metadata of a hook. + * + * Method: securesourcemanager.projects.locations.repositories.hooks.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. A unique identifier for a Hook. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Required. Field mask is used to specify the fields to be overwritten in the + * hook 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. The special value "*" means full replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates the metadata of a hook. + * + * @param object The @c GTLRSecureSourceManager_Hook to include in the query. + * @param name Identifier. A unique identifier for a Hook. The name should be + * of the format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesHooksPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Hook *)object + name:(NSString *)name; + +@end + +/** + * Closes an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.close + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue to close. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Closes an issue. + * + * @param object The @c GTLRSecureSourceManager_CloseIssueRequest to include in + * the query. + * @param name Required. Name of the issue to close. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesClose + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_CloseIssueRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The repository in which to create the issue. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates an issue. + * + * @param object The @c GTLRSecureSourceManager_Issue to include in the query. + * @param parent Required. The repository in which to create the issue. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete : GTLRSecureSourceManagerQuery + +/** + * Optional. The current etag of the issue. If the etag is provided and does + * not match the current etag of the issue, deletion will be blocked and an + * ABORTED error will be returned. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Required. Name of the issue to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes an issue. + * + * @param name Required. Name of the issue to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Issue. + * + * Gets an issue. + * + * @param name Required. Name of the issue to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Creates an issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The issue in which to create the issue comment. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates an issue comment. + * + * @param object The @c GTLRSecureSourceManager_IssueComment to include in the + * query. + * @param parent Required. The issue in which to create the issue comment. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes an issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue comment to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes an issue comment. + * + * @param name Required. Name of the issue comment to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}/issueComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets an issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue comment to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_IssueComment. + * + * Gets an issue comment. + * + * @param name Required. Name of the issue comment to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}/issueComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists comments in an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The issue in which to list the comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListIssueCommentsResponse. + * + * Lists comments in an issue. + * + * @param parent Required. The issue in which to list the comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsList + * + * @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 issue comment. + * + * Method: securesourcemanager.projects.locations.repositories.issues.issueComments.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. Unique identifier for an issue comment. The comment id is + * generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * issue comment 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. The special value "*" means full + * replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates an issue comment. + * + * @param object The @c GTLRSecureSourceManager_IssueComment to include in the + * query. + * @param name Identifier. Unique identifier for an issue comment. The comment + * id is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesIssueCommentsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_IssueComment *)object + name:(NSString *)name; + +@end + +/** + * Lists issues in a repository. + * + * Method: securesourcemanager.projects.locations.repositories.issues.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList : GTLRSecureSourceManagerQuery + +/** Optional. Used to filter the resulting issues list. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The repository in which to list issues. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListIssuesResponse. + * + * Lists issues in a repository. + * + * @param parent Required. The repository in which to list issues. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesList + * + * @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 + +/** + * Opens an issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.open + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the issue to open. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Opens an issue. + * + * @param object The @c GTLRSecureSourceManager_OpenIssueRequest to include in + * the query. + * @param name Required. Name of the issue to open. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesOpen + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenIssueRequest *)object + name:(NSString *)name; + +@end + +/** + * Updates a issue. + * + * Method: securesourcemanager.projects.locations.repositories.issues.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. Unique identifier for an issue. The issue id is generated by the + * server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * issue 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. The special value "*" means full replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates a issue. + * + * @param object The @c GTLRSecureSourceManager_Issue to include in the query. + * @param name Identifier. Unique identifier for an issue. The issue id is + * generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/issues/{issue_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesIssuesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Issue *)object + name:(NSString *)name; + +@end + +/** + * Lists Repositories in a given project and location. The instance field is + * required in the query parameter for requests using the + * securesourcemanager.googleapis.com endpoint. + * + * Method: securesourcemanager.projects.locations.repositories.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList : GTLRSecureSourceManagerQuery + +/** Optional. Filter results. */ +@property(nonatomic, copy, nullable) NSString *filter; + +/** + * Optional. The name of the instance in which the repository is hosted, + * formatted as + * `projects/{project_number}/locations/{location_id}/instances/{instance_id}`. + * When listing repositories via securesourcemanager.googleapis.com, this field + * is required. When listing repositories via *.sourcemanager.dev, this field + * is ignored. + */ +@property(nonatomic, copy, nullable) NSString *instance; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** A token identifying a page of results the server should return. */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** Required. Parent value for ListRepositoriesRequest. */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListRepositoriesResponse. + * + * Lists Repositories in a given project and location. The instance field is + * required in the query parameter for requests using the + * securesourcemanager.googleapis.com endpoint. + * + * @param parent Required. Parent value for ListRepositoriesRequest. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesList + * + * @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 metadata of a repository. + * + * Method: securesourcemanager.projects.locations.repositories.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch : GTLRSecureSourceManagerQuery + +/** + * Optional. A unique identifier for a repository. The name should be of the + * format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * repository resource by the update. The fields specified in the update_mask + * are relative to the resource, not the full request. A field will be + * overwritten if it is in the mask. If the user does not provide a mask then + * all fields will be overwritten. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Optional. False by default. If set to true, the request is validated and the + * user is provided with an expected result, but no actual change is made. + */ +@property(nonatomic, assign) BOOL validateOnly; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates the metadata of a repository. + * + * @param object The @c GTLRSecureSourceManager_Repository to include in the + * query. + * @param name Optional. A unique identifier for a repository. The name should + * be of the format: + * `projects/{project}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_Repository *)object + name:(NSString *)name; + +@end + +/** + * Closes a pull request without merging. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.close + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to close. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Closes a pull request without merging. + * + * @param object The @c GTLRSecureSourceManager_ClosePullRequestRequest to + * include in the query. + * @param name Required. The pull request to close. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsClose + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ClosePullRequestRequest *)object + name:(NSString *)name; + +@end + +/** + * Creates a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The repository that the pull request is created from. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a pull request. + * + * @param object The @c GTLRSecureSourceManager_PullRequest to include in the + * query. + * @param parent Required. The repository that the pull request is created + * from. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Gets a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the pull request to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_PullRequest. + * + * Gets a pull request. + * + * @param name Required. Name of the pull request to retrieve. The format is + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists pull requests in a repository. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The repository in which to list pull requests. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListPullRequestsResponse. + * + * Lists pull requests in a repository. + * + * @param parent Required. The repository in which to list pull requests. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsList + * + * @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 a pull request's file diffs. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.listFileDiffs + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to list file diffs for. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Requested page size. Server may return fewer items than requested. + * If unspecified, server will pick an appropriate default. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Fetches a @c GTLRSecureSourceManager_ListPullRequestFileDiffsResponse. + * + * Lists a pull request's file diffs. + * + * @param name Required. The pull request to list file diffs for. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsListFileDiffs + * + * @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 + +/** + * Merges a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.merge + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to merge. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Merges a pull request. + * + * @param object The @c GTLRSecureSourceManager_MergePullRequestRequest to + * include in the query. + * @param name Required. The pull request to merge. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsMerge + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_MergePullRequestRequest *)object + name:(NSString *)name; + +@end + +/** + * Opens a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.open + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request to open. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Opens a pull request. + * + * @param object The @c GTLRSecureSourceManager_OpenPullRequestRequest to + * include in the query. + * @param name Required. The pull request to open. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsOpen + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_OpenPullRequestRequest *)object + name:(NSString *)name; + +@end + +/** + * Updates a pull request. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch : GTLRSecureSourceManagerQuery + +/** + * Output only. A unique identifier for a PullRequest. The number appended at + * the end is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * pull request 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. The special value "*" means full + * replacement. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates a pull request. + * + * @param object The @c GTLRSecureSourceManager_PullRequest to include in the + * query. + * @param name Output only. A unique identifier for a PullRequest. The number + * appended at the end is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequest *)object + name:(NSString *)name; + +@end + +/** + * Batch creates pull request comments. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.batchCreate + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to create the pull request comments. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Batch creates pull request comments. + * + * @param object The @c + * GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest to include + * in the query. + * @param parent Required. The pull request in which to create the pull request + * comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsBatchCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_BatchCreatePullRequestCommentsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Creates a pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.create + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to create the pull request comment. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Creates a pull request comment. + * + * @param object The @c GTLRSecureSourceManager_PullRequestComment to include + * in the query. + * @param parent Required. The pull request in which to create the pull request + * comment. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsCreate + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)object + parent:(NSString *)parent; + +@end + +/** + * Deletes a pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.delete + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the pull request comment to delete. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Deletes a pull request comment. + * + * @param name Required. Name of the pull request comment to delete. The format + * is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsDelete + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Gets a pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.get + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet : GTLRSecureSourceManagerQuery + +/** + * Required. Name of the pull request comment to retrieve. The format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRSecureSourceManager_PullRequestComment. + * + * Gets a pull request comment. + * + * @param name Required. Name of the pull request comment to retrieve. The + * format is + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}/pullRequestComments/{comment_id}`. + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsGet + */ ++ (instancetype)queryWithName:(NSString *)name; + +@end + +/** + * Lists pull request comments. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.list + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList : GTLRSecureSourceManagerQuery + +/** + * Optional. Requested page size. If unspecified, at most 100 pull request + * comments will be returned. The maximum value is 100; values above 100 will + * be coerced to 100. + */ +@property(nonatomic, assign) NSInteger pageSize; + +/** + * Optional. A token identifying a page of results the server should return. + */ +@property(nonatomic, copy, nullable) NSString *pageToken; + +/** + * Required. The pull request in which to list pull request comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_ListPullRequestCommentsResponse. + * + * Lists pull request comments. + * + * @param parent Required. The pull request in which to list pull request + * comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsList + * + * @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 pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.patch + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch : GTLRSecureSourceManagerQuery + +/** + * Identifier. Unique identifier for the pull request comment. The comment id + * is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Optional. Field mask is used to specify the fields to be overwritten in the + * pull request comment resource by the update. Updatable fields are `body`. + * + * String format is a comma-separated list of fields. + */ +@property(nonatomic, copy, nullable) NSString *updateMask; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Updates a pull request comment. + * + * @param object The @c GTLRSecureSourceManager_PullRequestComment to include + * in the query. + * @param name Identifier. Unique identifier for the pull request comment. The + * comment id is generated by the server. Format: + * `projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}/pullRequestComments/{comment_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsPatch + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_PullRequestComment *)object + name:(NSString *)name; + +@end + +/** + * Resolves pull request comments. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.resolve + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to resolve the pull request comments. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Resolves pull request comments. + * + * @param object The @c + * GTLRSecureSourceManager_ResolvePullRequestCommentsRequest to include in + * the query. + * @param parent Required. The pull request in which to resolve the pull + * request comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsResolve + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_ResolvePullRequestCommentsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Unresolves pull request comment. + * + * Method: securesourcemanager.projects.locations.repositories.pullRequests.pullRequestComments.unresolve + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve : GTLRSecureSourceManagerQuery + +/** + * Required. The pull request in which to resolve the pull request comments. + * Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + */ +@property(nonatomic, copy, nullable) NSString *parent; + +/** + * Fetches a @c GTLRSecureSourceManager_Operation. + * + * Unresolves pull request comment. + * + * @param object The @c + * GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest to include in + * the query. + * @param parent Required. The pull request in which to resolve the pull + * request comments. Format: + * `projects/{project_number}/locations/{location_id}/repositories/{repository_id}/pullRequests/{pull_request_id}` + * + * @return GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesPullRequestsPullRequestCommentsUnresolve + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_UnresolvePullRequestCommentsRequest *)object + parent:(NSString *)parent; + +@end + +/** + * Set IAM policy on a repository. + * + * Method: securesourcemanager.projects.locations.repositories.setIamPolicy + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy : GTLRSecureSourceManagerQuery + +/** + * 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 GTLRSecureSourceManager_Policy. + * + * Set IAM policy on a repository. + * + * @param object The @c GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesSetIamPolicy + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_SetIamPolicyRequest *)object + resource:(NSString *)resource; + +@end + +/** + * Test IAM permissions on a repository. IAM permission checks are not required + * on this method. + * + * Method: securesourcemanager.projects.locations.repositories.testIamPermissions + * + * Authorization scope(s): + * @c kGTLRAuthScopeSecureSourceManagerCloudPlatform + */ +@interface GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions : GTLRSecureSourceManagerQuery + +/** + * 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 GTLRSecureSourceManager_TestIamPermissionsResponse. + * + * Test IAM permissions on a repository. IAM permission checks are not required + * on this method. + * + * @param object The @c GTLRSecureSourceManager_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 GTLRSecureSourceManagerQuery_ProjectsLocationsRepositoriesTestIamPermissions + */ ++ (instancetype)queryWithObject:(GTLRSecureSourceManager_TestIamPermissionsRequest *)object + resource:(NSString *)resource; + +@end + +NS_ASSUME_NONNULL_END + +#pragma clang diagnostic pop diff --git a/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerService.h b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerService.h new file mode 100644 index 000000000..d7f28921f --- /dev/null +++ b/Sources/GeneratedServices/SecureSourceManager/Public/GoogleAPIClientForREST/GTLRSecureSourceManagerService.h @@ -0,0 +1,75 @@ +// NOTE: This file was generated by the ServiceGenerator. + +// ---------------------------------------------------------------------------- +// API: +// Secure Source Manager API (securesourcemanager/v1) +// Description: +// Regionally deployed, single-tenant managed source code repository hosted on +// Google Cloud. +// Documentation: +// https://cloud.google.com/secure-source-manager + +#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 kGTLRAuthScopeSecureSourceManagerCloudPlatform; + +// ---------------------------------------------------------------------------- +// GTLRSecureSourceManagerService +// + +/** + * Service for executing Secure Source Manager API queries. + * + * Regionally deployed, single-tenant managed source code repository hosted on + * Google Cloud. + */ +@interface GTLRSecureSourceManagerService : GTLRService + +// No new methods + +// Clients should create a standard query with any of the class methods in +// GTLRSecureSourceManagerQuery.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/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m index 3e40921f6..627c8d2c9 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m +++ b/Sources/GeneratedServices/SecurityCommandCenter/GTLRSecurityCommandCenterObjects.m @@ -47,6 +47,11 @@ NSString * const kGTLRSecurityCommandCenter_BulkMuteFindingsRequest_MuteState_MuteStateUnspecified = @"MUTE_STATE_UNSPECIFIED"; NSString * const kGTLRSecurityCommandCenter_BulkMuteFindingsRequest_MuteState_Undefined = @"UNDEFINED"; +// GTLRSecurityCommandCenter_CloudControl.type +NSString * const kGTLRSecurityCommandCenter_CloudControl_Type_BuiltIn = @"BUILT_IN"; +NSString * const kGTLRSecurityCommandCenter_CloudControl_Type_CloudControlTypeUnspecified = @"CLOUD_CONTROL_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_CloudControl_Type_Custom = @"CUSTOM"; + // GTLRSecurityCommandCenter_CloudDlpDataProfile.parentType NSString * const kGTLRSecurityCommandCenter_CloudDlpDataProfile_ParentType_Organization = @"ORGANIZATION"; NSString * const kGTLRSecurityCommandCenter_CloudDlpDataProfile_ParentType_ParentTypeUnspecified = @"PARENT_TYPE_UNSPECIFIED"; @@ -198,6 +203,18 @@ NSString * const kGTLRSecurityCommandCenter_Finding_State_Inactive = @"INACTIVE"; NSString * const kGTLRSecurityCommandCenter_Finding_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRSecurityCommandCenter_Framework.category +NSString * const kGTLRSecurityCommandCenter_Framework_Category_AssuredWorkloads = @"ASSURED_WORKLOADS"; +NSString * const kGTLRSecurityCommandCenter_Framework_Category_DataSecurity = @"DATA_SECURITY"; +NSString * const kGTLRSecurityCommandCenter_Framework_Category_FrameworkCategoryUnspecified = @"FRAMEWORK_CATEGORY_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_Framework_Category_GoogleBestPractices = @"GOOGLE_BEST_PRACTICES"; +NSString * const kGTLRSecurityCommandCenter_Framework_Category_SecurityBenchmarks = @"SECURITY_BENCHMARKS"; + +// GTLRSecurityCommandCenter_Framework.type +NSString * const kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeBuiltIn = @"FRAMEWORK_TYPE_BUILT_IN"; +NSString * const kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeCustom = @"FRAMEWORK_TYPE_CUSTOM"; +NSString * const kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeUnspecified = @"FRAMEWORK_TYPE_UNSPECIFIED"; + // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse.state NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse_State_Completed = @"COMPLETED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse_State_StateUnspecified = @"STATE_UNSPECIFIED"; @@ -306,6 +323,11 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AttackExposure_State_NotCalculated = @"NOT_CALCULATED"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AttackExposure_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl.type +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_BuiltIn = @"BUILT_IN"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_CloudControlTypeUnspecified = @"CLOUD_CONTROL_TYPE_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_Custom = @"CUSTOM"; + // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpDataProfile.parentType NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpDataProfile_ParentType_Organization = @"ORGANIZATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpDataProfile_ParentType_ParentTypeUnspecified = @"PARENT_TYPE_UNSPECIFIED"; @@ -434,6 +456,18 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_State_Inactive = @"INACTIVE"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_State_StateUnspecified = @"STATE_UNSPECIFIED"; +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework.category +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_AssuredWorkloads = @"ASSURED_WORKLOADS"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_DataSecurity = @"DATA_SECURITY"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_FrameworkCategoryUnspecified = @"FRAMEWORK_CATEGORY_UNSPECIFIED"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_GoogleBestPractices = @"GOOGLE_BEST_PRACTICES"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_SecurityBenchmarks = @"SECURITY_BENCHMARKS"; + +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework.type +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeBuiltIn = @"FRAMEWORK_TYPE_BUILT_IN"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeCustom = @"FRAMEWORK_TYPE_CUSTOM"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeUnspecified = @"FRAMEWORK_TYPE_UNSPECIFIED"; + // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2GroupMembership.groupType NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2GroupMembership_GroupType_GroupTypeChokepoint = @"GROUP_TYPE_CHOKEPOINT"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2GroupMembership_GroupType_GroupTypeToxicCombination = @"GROUP_TYPE_TOXIC_COMBINATION"; @@ -602,6 +636,7 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_MatchLegitimateNameOrLocation = @"MATCH_LEGITIMATE_NAME_OR_LOCATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ModifyAuthenticationProcess = @"MODIFY_AUTHENTICATION_PROCESS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ModifyCloudComputeInfrastructure = @"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_MultiFactorAuthentication = @"MULTI_FACTOR_AUTHENTICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_MultiHopProxy = @"MULTI_HOP_PROXY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_MultiStageChannels = @"MULTI_STAGE_CHANNELS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_NativeApi = @"NATIVE_API"; @@ -758,6 +793,7 @@ NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_MatchLegitimateNameOrLocation = @"MATCH_LEGITIMATE_NAME_OR_LOCATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ModifyAuthenticationProcess = @"MODIFY_AUTHENTICATION_PROCESS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ModifyCloudComputeInfrastructure = @"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE"; +NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_MultiFactorAuthentication = @"MULTI_FACTOR_AUTHENTICATION"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_MultiHopProxy = @"MULTI_HOP_PROXY"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_MultiStageChannels = @"MULTI_STAGE_CHANNELS"; NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_NativeApi = @"NATIVE_API"; @@ -1021,6 +1057,7 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_MatchLegitimateNameOrLocation = @"MATCH_LEGITIMATE_NAME_OR_LOCATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ModifyAuthenticationProcess = @"MODIFY_AUTHENTICATION_PROCESS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ModifyCloudComputeInfrastructure = @"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_MultiFactorAuthentication = @"MULTI_FACTOR_AUTHENTICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_MultiHopProxy = @"MULTI_HOP_PROXY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_MultiStageChannels = @"MULTI_STAGE_CHANNELS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_NativeApi = @"NATIVE_API"; @@ -1177,6 +1214,7 @@ NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_MatchLegitimateNameOrLocation = @"MATCH_LEGITIMATE_NAME_OR_LOCATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ModifyAuthenticationProcess = @"MODIFY_AUTHENTICATION_PROCESS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ModifyCloudComputeInfrastructure = @"MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE"; +NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_MultiFactorAuthentication = @"MULTI_FACTOR_AUTHENTICATION"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_MultiHopProxy = @"MULTI_HOP_PROXY"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_MultiStageChannels = @"MULTI_STAGE_CHANNELS"; NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_NativeApi = @"NATIVE_API"; @@ -1829,6 +1867,16 @@ @implementation GTLRSecurityCommandCenter_CloudArmor @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_CloudControl +// + +@implementation GTLRSecurityCommandCenter_CloudControl +@dynamic cloudControlName, policyType, type, version; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_CloudDlpDataProfile @@ -1877,6 +1925,25 @@ @implementation GTLRSecurityCommandCenter_Compliance @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_ComplianceDetails +// + +@implementation GTLRSecurityCommandCenter_ComplianceDetails +@dynamic cloudControl, cloudControlDeploymentNames, frameworks; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cloudControlDeploymentNames" : [NSString class], + @"frameworks" : [GTLRSecurityCommandCenter_Framework class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_Connection @@ -1933,6 +2000,16 @@ @implementation GTLRSecurityCommandCenter_Container @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_Control +// + +@implementation GTLRSecurityCommandCenter_Control +@dynamic controlName, displayName; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_CreateResourceValueConfigRequest @@ -2337,17 +2414,17 @@ @implementation GTLRSecurityCommandCenter_FileOperation @implementation GTLRSecurityCommandCenter_Finding @dynamic access, affectedResources, aiModel, application, attackExposure, backupDisasterRecovery, canonicalName, category, chokepoint, - cloudArmor, cloudDlpDataProfile, cloudDlpInspection, compliances, - connections, contacts, containers, createTime, dataAccessEvents, - database, dataFlowEvents, dataRetentionDeletionEvents, - descriptionProperty, disk, eventTime, exfiltration, externalSystems, - externalUri, files, findingClass, groupMemberships, iamBindings, - indicator, ipRules, job, kernelRootkit, kubernetes, loadBalancers, - logEntries, mitreAttack, moduleName, mute, muteInfo, muteInitiator, - muteUpdateTime, name, networks, nextSteps, notebook, orgPolicies, - parent, parentDisplayName, processes, resourceName, securityMarks, - securityPosture, severity, sourceProperties, state, toxicCombination, - vertexAi, vulnerability; + cloudArmor, cloudDlpDataProfile, cloudDlpInspection, complianceDetails, + compliances, connections, contacts, containers, createTime, + dataAccessEvents, database, dataFlowEvents, + dataRetentionDeletionEvents, descriptionProperty, disk, eventTime, + exfiltration, externalSystems, externalUri, files, findingClass, + groupMemberships, iamBindings, indicator, ipRules, job, kernelRootkit, + kubernetes, loadBalancers, logEntries, mitreAttack, moduleName, mute, + muteInfo, muteInitiator, muteUpdateTime, name, networks, nextSteps, + notebook, orgPolicies, parent, parentDisplayName, processes, + resourceName, securityMarks, securityPosture, severity, + sourceProperties, state, toxicCombination, vertexAi, vulnerability; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -2428,6 +2505,25 @@ @implementation GTLRSecurityCommandCenter_Folder @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_Framework +// + +@implementation GTLRSecurityCommandCenter_Framework +@dynamic category, controls, displayName, name, type; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"category" : [NSString class], + @"controls" : [GTLRSecurityCommandCenter_Control class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GcpMetadata @@ -3113,8 +3209,8 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2BackupDisas // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2BigQueryExport -@dynamic createTime, dataset, descriptionProperty, filter, mostRecentEditor, - name, principal, updateTime; +@dynamic createTime, cryptoKeyName, dataset, descriptionProperty, filter, + mostRecentEditor, name, principal, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -3179,6 +3275,16 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudArmor @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl +@dynamic cloudControlName, policyType, type, version; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpDataProfile @@ -3227,6 +3333,25 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Compliance @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ComplianceDetails +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ComplianceDetails +@dynamic cloudControl, cloudControlDeploymentNames, frameworks; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"cloudControlDeploymentNames" : [NSString class], + @"frameworks" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Connection @@ -3283,6 +3408,16 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Container @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Control +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Control +@dynamic controlName, displayName; +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Cve @@ -3561,17 +3696,17 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2FileOperati @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding @dynamic access, affectedResources, aiModel, application, attackExposure, backupDisasterRecovery, canonicalName, category, chokepoint, - cloudArmor, cloudDlpDataProfile, cloudDlpInspection, compliances, - connections, contacts, containers, createTime, dataAccessEvents, - database, dataFlowEvents, dataRetentionDeletionEvents, - descriptionProperty, disk, eventTime, exfiltration, externalSystems, - externalUri, files, findingClass, groupMemberships, iamBindings, - indicator, ipRules, job, kernelRootkit, kubernetes, loadBalancers, - logEntries, mitreAttack, moduleName, mute, muteInfo, muteInitiator, - muteUpdateTime, name, networks, nextSteps, notebook, orgPolicies, - parent, parentDisplayName, processes, resourceName, securityMarks, - securityPosture, severity, sourceProperties, state, toxicCombination, - vertexAi, vulnerability; + cloudArmor, cloudDlpDataProfile, cloudDlpInspection, complianceDetails, + compliances, connections, contacts, containers, createTime, + cryptoKeyName, dataAccessEvents, database, dataFlowEvents, + dataRetentionDeletionEvents, descriptionProperty, disk, eventTime, + exfiltration, externalSystems, externalUri, files, findingClass, + groupMemberships, iamBindings, indicator, ipRules, job, kernelRootkit, + kubernetes, loadBalancers, logEntries, mitreAttack, moduleName, mute, + muteInfo, muteInitiator, muteUpdateTime, name, networks, nextSteps, + notebook, orgPolicies, parent, parentDisplayName, processes, + resourceName, securityMarks, securityPosture, severity, + sourceProperties, state, toxicCombination, vertexAi, vulnerability; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -3652,6 +3787,25 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Folder @end +// ---------------------------------------------------------------------------- +// +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework +// + +@implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework +@dynamic category, controls, displayName, name, type; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"category" : [NSString class], + @"controls" : [GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Control class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Geolocation @@ -4052,8 +4206,8 @@ @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack // @implementation GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MuteConfig -@dynamic createTime, descriptionProperty, expiryTime, filter, mostRecentEditor, - name, type, updateTime; +@dynamic createTime, cryptoKeyName, descriptionProperty, expiryTime, filter, + mostRecentEditor, name, type, updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; diff --git a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h index 5c5017960..33a4169ff 100644 --- a/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h +++ b/Sources/GeneratedServices/SecurityCommandCenter/Public/GoogleAPIClientForREST/GTLRSecurityCommandCenterObjects.h @@ -48,14 +48,17 @@ @class GTLRSecurityCommandCenter_Binding; @class GTLRSecurityCommandCenter_Chokepoint; @class GTLRSecurityCommandCenter_CloudArmor; +@class GTLRSecurityCommandCenter_CloudControl; @class GTLRSecurityCommandCenter_CloudDlpDataProfile; @class GTLRSecurityCommandCenter_CloudDlpInspection; @class GTLRSecurityCommandCenter_CloudLoggingEntry; @class GTLRSecurityCommandCenter_Compliance; +@class GTLRSecurityCommandCenter_ComplianceDetails; @class GTLRSecurityCommandCenter_Connection; @class GTLRSecurityCommandCenter_Contact; @class GTLRSecurityCommandCenter_ContactDetails; @class GTLRSecurityCommandCenter_Container; +@class GTLRSecurityCommandCenter_Control; @class GTLRSecurityCommandCenter_CreateResourceValueConfigRequest; @class GTLRSecurityCommandCenter_CustomModuleValidationError; @class GTLRSecurityCommandCenter_CustomModuleValidationErrors; @@ -88,6 +91,7 @@ @class GTLRSecurityCommandCenter_Finding_ExternalSystems; @class GTLRSecurityCommandCenter_Finding_SourceProperties; @class GTLRSecurityCommandCenter_Folder; +@class GTLRSecurityCommandCenter_Framework; @class GTLRSecurityCommandCenter_GcpMetadata; @class GTLRSecurityCommandCenter_Geolocation; @class GTLRSecurityCommandCenter_GetPolicyOptions; @@ -133,14 +137,17 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Binding; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Chokepoint; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudArmor; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpDataProfile; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpInspection; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudLoggingEntry; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Compliance; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ComplianceDetails; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Connection; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Contact; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ContactDetails; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Container; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Control; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Cve; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Cvssv3; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Cwe; @@ -165,6 +172,7 @@ @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_ExternalSystems; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_SourceProperties; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Folder; +@class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Geolocation; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2GroupMembership; @class GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2IamBinding; @@ -462,6 +470,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_BulkMuteFindingsRe */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_BulkMuteFindingsRequest_MuteState_Undefined; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_CloudControl.type + +/** + * Built in Cloud Control. + * + * Value: "BUILT_IN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_CloudControl_Type_BuiltIn; +/** + * Unspecified. + * + * Value: "CLOUD_CONTROL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_CloudControl_Type_CloudControlTypeUnspecified; +/** + * Custom Cloud Control. + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_CloudControl_Type_Custom; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_CloudDlpDataProfile.parentType @@ -923,7 +953,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EffectiveEventThre */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_CloudProvider_CloudProviderUnspecified; /** - * Google Cloud Platform. + * Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -1237,6 +1267,63 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Finding_State_Inac */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Finding_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_Framework.category + +/** + * Assured Workloads framework + * + * Value: "ASSURED_WORKLOADS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Category_AssuredWorkloads; +/** + * Data Security framework + * + * Value: "DATA_SECURITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Category_DataSecurity; +/** + * Default value. This value is unused. + * + * Value: "FRAMEWORK_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Category_FrameworkCategoryUnspecified; +/** + * Google Best Practices framework + * + * Value: "GOOGLE_BEST_PRACTICES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Category_GoogleBestPractices; +/** + * Security Benchmarks framework + * + * Value: "SECURITY_BENCHMARKS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Category_SecurityBenchmarks; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_Framework.type + +/** + * The framework is a built-in framework if it is created and managed by GCP. + * + * Value: "FRAMEWORK_TYPE_BUILT_IN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeBuiltIn; +/** + * The framework is a custom framework if it is created and managed by the + * user. + * + * Value: "FRAMEWORK_TYPE_CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeCustom; +/** + * Default value. This value is unused. + * + * Value: "FRAMEWORK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse.state @@ -1316,7 +1403,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule_CloudProvider_CloudProviderUnspecified; /** - * Google Cloud Platform. + * Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -1481,7 +1568,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1Resource_CloudProvider_CloudProviderUnspecified; /** - * The cloud provider is Google Cloud Platform. + * The cloud provider is Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -1509,7 +1596,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig_CloudProvider_CloudProviderUnspecified; /** - * The cloud provider is Google Cloud Platform. + * The cloud provider is Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -1754,6 +1841,28 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2AttackExposure_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl.type + +/** + * Built in Cloud Control. + * + * Value: "BUILT_IN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_BuiltIn; +/** + * Unspecified. + * + * Value: "CLOUD_CONTROL_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_CloudControlTypeUnspecified; +/** + * Custom Cloud Control. + * + * Value: "CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_Custom; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpDataProfile.parentType @@ -2422,6 +2531,63 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Finding_State_StateUnspecified; +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework.category + +/** + * Assured Workloads framework + * + * Value: "ASSURED_WORKLOADS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_AssuredWorkloads; +/** + * Data Security framework + * + * Value: "DATA_SECURITY" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_DataSecurity; +/** + * Default value. This value is unused. + * + * Value: "FRAMEWORK_CATEGORY_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_FrameworkCategoryUnspecified; +/** + * Google Best Practices framework + * + * Value: "GOOGLE_BEST_PRACTICES" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_GoogleBestPractices; +/** + * Security Benchmarks framework + * + * Value: "SECURITY_BENCHMARKS" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Category_SecurityBenchmarks; + +// ---------------------------------------------------------------------------- +// GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework.type + +/** + * The framework is a built-in framework if it is created and managed by GCP. + * + * Value: "FRAMEWORK_TYPE_BUILT_IN" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeBuiltIn; +/** + * The framework is a custom framework if it is created and managed by the + * user. + * + * Value: "FRAMEWORK_TYPE_CUSTOM" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeCustom; +/** + * Default value. This value is unused. + * + * Value: "FRAMEWORK_TYPE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeUnspecified; + // ---------------------------------------------------------------------------- // GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2GroupMembership.groupType @@ -3339,6 +3505,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_ModifyCloudComputeInfrastructure; +/** + * T1556.006 + * + * Value: "MULTI_FACTOR_AUTHENTICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_AdditionalTechniques_MultiFactorAuthentication; /** * T1090.003 * @@ -4259,6 +4431,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit * Value: "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_ModifyCloudComputeInfrastructure; +/** + * T1556.006 + * + * Value: "MULTI_FACTOR_AUTHENTICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2MitreAttack_PrimaryTechniques_MultiFactorAuthentication; /** * T1090.003 * @@ -4615,7 +4793,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Resource_CloudProvider_CloudProviderUnspecified; /** - * The cloud provider is Google Cloud Platform. + * The cloud provider is Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -4707,7 +4885,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecurit */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ResourceValueConfig_CloudProvider_CloudProviderUnspecified; /** - * The cloud provider is Google Cloud Platform. + * The cloud provider is Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -5695,6 +5873,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Additi * Value: "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_ModifyCloudComputeInfrastructure; +/** + * T1556.006 + * + * Value: "MULTI_FACTOR_AUTHENTICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_AdditionalTechniques_MultiFactorAuthentication; /** * T1090.003 * @@ -6615,6 +6799,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_Primar * Value: "MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE" */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_ModifyCloudComputeInfrastructure; +/** + * T1556.006 + * + * Value: "MULTI_FACTOR_AUTHENTICATION" + */ +FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_MitreAttack_PrimaryTechniques_MultiFactorAuthentication; /** * T1090.003 * @@ -6942,7 +7132,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Resource_CloudProv */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Resource_CloudProvider_CloudProviderUnspecified; /** - * The cloud provider is Google Cloud Platform. + * The cloud provider is Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -7107,7 +7297,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Simulation_CloudPr */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_Simulation_CloudProvider_CloudProviderUnspecified; /** - * The cloud provider is Google Cloud Platform. + * The cloud provider is Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -7219,7 +7409,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnapshot_CloudProvider_CloudProviderUnspecified; /** - * The cloud provider is Google Cloud Platform. + * The cloud provider is Google Cloud. * * Value: "GOOGLE_CLOUD_PLATFORM" */ @@ -8353,6 +8543,40 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * CloudControl associated with the finding. + */ +@interface GTLRSecurityCommandCenter_CloudControl : GTLRObject + +/** Name of the CloudControl associated with the finding. */ +@property(nonatomic, copy, nullable) NSString *cloudControlName; + +/** Policy type of the CloudControl */ +@property(nonatomic, copy, nullable) NSString *policyType; + +/** + * Type of cloud control. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_CloudControl_Type_BuiltIn Built in + * Cloud Control. (Value: "BUILT_IN") + * @arg @c kGTLRSecurityCommandCenter_CloudControl_Type_CloudControlTypeUnspecified + * Unspecified. (Value: "CLOUD_CONTROL_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_CloudControl_Type_Custom Custom Cloud + * Control. (Value: "CUSTOM") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * Version of the Cloud Control + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + /** * The [data profile](https://cloud.google.com/dlp/docs/data-profiles) * associated with the finding. @@ -8469,6 +8693,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Compliance Details associated with the finding. + */ +@interface GTLRSecurityCommandCenter_ComplianceDetails : GTLRObject + +/** CloudControl associated with the finding */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_CloudControl *cloudControl; + +/** + * Cloud Control Deployments associated with the finding. For example, + * organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier + */ +@property(nonatomic, strong, nullable) NSArray *cloudControlDeploymentNames; + +/** Details of Frameworks associated with the finding */ +@property(nonatomic, strong, nullable) NSArray *frameworks; + +@end + + /** * Contains information about the IP connection associated with the finding. */ @@ -8571,6 +8815,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Compliance control associated with the finding. + */ +@interface GTLRSecurityCommandCenter_Control : GTLRObject + +/** Name of the Control */ +@property(nonatomic, copy, nullable) NSString *controlName; + +/** Display name of the control. For example, AU-02. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +@end + + /** * Request message to create single resource value config */ @@ -9232,7 +9490,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * @arg @c kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_CloudProvider_CloudProviderUnspecified * Unspecified cloud provider. (Value: "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_CloudProvider_GoogleCloudPlatform - * Google Cloud Platform. (Value: "GOOGLE_CLOUD_PLATFORM") + * Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_EffectiveEventThreatDetectionCustomModule_CloudProvider_MicrosoftAzure * Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -9684,6 +9942,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_CloudDlpInspection *cloudDlpInspection; +/** Details about the compliance implications of the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_ComplianceDetails *complianceDetails; + /** * Contains compliance information for security standards associated to the * finding. @@ -10102,8 +10363,53 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** - * GCP metadata associated with the resource, only applicable if the finding's - * cloud provider is Google Cloud Platform. + * Compliance framework associated with the finding. + */ +@interface GTLRSecurityCommandCenter_Framework : GTLRObject + +/** + * Category of the framework associated with the finding. E.g. Security + * Benchmark, or Assured Workloads + */ +@property(nonatomic, strong, nullable) NSArray *category; + +/** The controls associated with the framework. */ +@property(nonatomic, strong, nullable) NSArray *controls; + +/** + * Display name of the framework. For a standard framework, this will look like + * e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined + * string like MyFramework + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Name of the framework associated with the finding */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Type of the framework associated with the finding, to specify whether the + * framework is built-in (pre-defined and immutable) or a custom framework + * defined by the customer (equivalent to security posture) + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeBuiltIn The + * framework is a built-in framework if it is created and managed by GCP. + * (Value: "FRAMEWORK_TYPE_BUILT_IN") + * @arg @c kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeCustom The + * framework is a custom framework if it is created and managed by the + * user. (Value: "FRAMEWORK_TYPE_CUSTOM") + * @arg @c kGTLRSecurityCommandCenter_Framework_Type_FrameworkTypeUnspecified + * Default value. This value is unused. (Value: + * "FRAMEWORK_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + +/** + * Google Cloud metadata associated with the resource. Only applicable if the + * finding's cloud provider is Google Cloud. */ @interface GTLRSecurityCommandCenter_GcpMetadata : GTLRObject @@ -10409,7 +10715,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule_CloudProvider_CloudProviderUnspecified * Unspecified cloud provider. (Value: "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule_CloudProvider_GoogleCloudPlatform - * Google Cloud Platform. (Value: "GOOGLE_CLOUD_PLATFORM") + * Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule_CloudProvider_MicrosoftAzure * Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -10959,8 +11265,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * The cloud provider is unspecified. (Value: * "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1Resource_CloudProvider_GoogleCloudPlatform - * The cloud provider is Google Cloud Platform. (Value: - * "GOOGLE_CLOUD_PLATFORM") + * The cloud provider is Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1Resource_CloudProvider_MicrosoftAzure * The cloud provider is Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -11059,8 +11364,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * The cloud provider is unspecified. (Value: * "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig_CloudProvider_GoogleCloudPlatform - * The cloud provider is Google Cloud Platform. (Value: - * "GOOGLE_CLOUD_PLATFORM") + * The cloud provider is Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV1ResourceValueConfig_CloudProvider_MicrosoftAzure * The cloud provider is Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -11923,6 +12227,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The resource name of the Cloud KMS `CryptoKey` used to protect + * this configuration's data, if configured during Security Command Center + * activation. + */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyName; + /** * The dataset to write findings' updates to. Its format is * "projects/[project_id]/datasets/[bigquery_dataset_id]". BigQuery dataset @@ -12080,6 +12391,40 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * CloudControl associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl : GTLRObject + +/** Name of the CloudControl associated with the finding. */ +@property(nonatomic, copy, nullable) NSString *cloudControlName; + +/** Policy type of the CloudControl */ +@property(nonatomic, copy, nullable) NSString *policyType; + +/** + * Type of cloud control. + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_BuiltIn + * Built in Cloud Control. (Value: "BUILT_IN") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_CloudControlTypeUnspecified + * Unspecified. (Value: "CLOUD_CONTROL_TYPE_UNSPECIFIED") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl_Type_Custom + * Custom Cloud Control. (Value: "CUSTOM") + */ +@property(nonatomic, copy, nullable) NSString *type; + +/** + * Version of the Cloud Control + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *version; + +@end + + /** * The [data profile](https://cloud.google.com/dlp/docs/data-profiles) * associated with the finding. @@ -12196,6 +12541,26 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Compliance Details associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ComplianceDetails : GTLRObject + +/** CloudControl associated with the finding */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudControl *cloudControl; + +/** + * Cloud Control Deployments associated with the finding. For example, + * organizations/123/locations/global/cloudControlDeployments/deploymentIdentifier + */ +@property(nonatomic, strong, nullable) NSArray *cloudControlDeploymentNames; + +/** Details of Frameworks associated with the finding */ +@property(nonatomic, strong, nullable) NSArray *frameworks; + +@end + + /** * Contains information about the IP connection associated with the finding. */ @@ -12298,6 +12663,20 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Compliance control associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Control : GTLRObject + +/** Name of the Control */ +@property(nonatomic, copy, nullable) NSString *controlName; + +/** Display name of the control. For example, AU-02. */ +@property(nonatomic, copy, nullable) NSString *displayName; + +@end + + /** * CVE stands for Common Vulnerabilities and Exposures. Information from the * [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes @@ -13157,6 +13536,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2CloudDlpInspection *cloudDlpInspection; +/** Details about the compliance implications of the finding. */ +@property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ComplianceDetails *complianceDetails; + /** * Contains compliance information for security standards associated to the * finding. @@ -13190,6 +13572,12 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The name of the Cloud KMS key used to encrypt this finding, if + * any. + */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyName; + /** Data access events associated with the finding. */ @property(nonatomic, strong, nullable) NSArray *dataAccessEvents; @@ -13588,6 +13976,51 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps @end +/** + * Compliance framework associated with the finding. + */ +@interface GTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework : GTLRObject + +/** + * Category of the framework associated with the finding. E.g. Security + * Benchmark, or Assured Workloads + */ +@property(nonatomic, strong, nullable) NSArray *category; + +/** The controls associated with the framework. */ +@property(nonatomic, strong, nullable) NSArray *controls; + +/** + * Display name of the framework. For a standard framework, this will look like + * e.g. PCI DSS 3.2.1, whereas for a custom framework it can be a user defined + * string like MyFramework + */ +@property(nonatomic, copy, nullable) NSString *displayName; + +/** Name of the framework associated with the finding */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Type of the framework associated with the finding, to specify whether the + * framework is built-in (pre-defined and immutable) or a custom framework + * defined by the customer (equivalent to security posture) + * + * Likely values: + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeBuiltIn + * The framework is a built-in framework if it is created and managed by + * GCP. (Value: "FRAMEWORK_TYPE_BUILT_IN") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeCustom + * The framework is a custom framework if it is created and managed by + * the user. (Value: "FRAMEWORK_TYPE_CUSTOM") + * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Framework_Type_FrameworkTypeUnspecified + * Default value. This value is unused. (Value: + * "FRAMEWORK_TYPE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *type; + +@end + + /** * Represents a geographical location for a given access. */ @@ -14442,6 +14875,13 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps */ @property(nonatomic, strong, nullable) GTLRDateTime *createTime; +/** + * Output only. The resource name of the Cloud KMS `CryptoKey` used to encrypt + * this configuration data, if CMEK was enabled during Security Command Center + * activation. + */ +@property(nonatomic, copy, nullable) NSString *cryptoKeyName; + /** * A description of the mute config. * @@ -14954,8 +15394,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * The cloud provider is unspecified. (Value: * "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Resource_CloudProvider_GoogleCloudPlatform - * The cloud provider is Google Cloud Platform. (Value: - * "GOOGLE_CLOUD_PLATFORM") + * The cloud provider is Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2Resource_CloudProvider_MicrosoftAzure * The cloud provider is Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -14964,7 +15403,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps /** The human readable name of the resource. */ @property(nonatomic, copy, nullable) NSString *displayName; -/** The GCP metadata associated with the finding. */ +/** The Google Cloud metadata associated with the finding. */ @property(nonatomic, strong, nullable) GTLRSecurityCommandCenter_GcpMetadata *gcpMetadata; /** The region or location of the service (if applicable). */ @@ -15085,8 +15524,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * The cloud provider is unspecified. (Value: * "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ResourceValueConfig_CloudProvider_GoogleCloudPlatform - * The cloud provider is Google Cloud Platform. (Value: - * "GOOGLE_CLOUD_PLATFORM") + * The cloud provider is Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_GoogleCloudSecuritycenterV2ResourceValueConfig_CloudProvider_MicrosoftAzure * The cloud provider is Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -17630,8 +18068,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * The cloud provider is unspecified. (Value: * "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_Resource_CloudProvider_GoogleCloudPlatform - * The cloud provider is Google Cloud Platform. (Value: - * "GOOGLE_CLOUD_PLATFORM") + * The cloud provider is Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_Resource_CloudProvider_MicrosoftAzure * The cloud provider is Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -18216,8 +18653,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * The cloud provider is unspecified. (Value: * "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_Simulation_CloudProvider_GoogleCloudPlatform - * The cloud provider is Google Cloud Platform. (Value: - * "GOOGLE_CLOUD_PLATFORM") + * The cloud provider is Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_Simulation_CloudProvider_MicrosoftAzure * The cloud provider is Microsoft Azure. (Value: "MICROSOFT_AZURE") */ @@ -18695,8 +19131,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityCommandCenter_VulnerabilitySnaps * The cloud provider is unspecified. (Value: * "CLOUD_PROVIDER_UNSPECIFIED") * @arg @c kGTLRSecurityCommandCenter_VulnerabilitySnapshot_CloudProvider_GoogleCloudPlatform - * The cloud provider is Google Cloud Platform. (Value: - * "GOOGLE_CLOUD_PLATFORM") + * The cloud provider is Google Cloud. (Value: "GOOGLE_CLOUD_PLATFORM") * @arg @c kGTLRSecurityCommandCenter_VulnerabilitySnapshot_CloudProvider_MicrosoftAzure * The cloud provider is Microsoft Azure. (Value: "MICROSOFT_AZURE") */ diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h index 889c14ae5..d62bfb0a6 100644 --- a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureObjects.h @@ -826,8 +826,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Sever /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations": ["us-east1", "us-west1"], "allowAll": true } ``` */ @property(nonatomic, strong, nullable) GTLRSecurityPosture_GoogleCloudSecuritypostureV1PolicyRule_Parameters *parameters; @@ -849,8 +849,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Sever /** * Optional. Required for managed constraints if parameters are defined. Passes * parameter values when policy enforcement is enabled. Ensure that parameter - * value types match those defined in the constraint definition. For example: { - * "allowedLocations" : ["us-east1", "us-west1"], "allowAll" : true } + * value types match those defined in the constraint definition. For example: + * ``` { "allowedLocations": ["us-east1", "us-west1"], "allowAll": true } ``` * * @note This class is documented as having more properties of any valid JSON * type. Use @c -additionalJSONKeys and @c -additionalPropertyForName: to @@ -1797,19 +1797,15 @@ FOUNDATION_EXTERN NSString * const kGTLRSecurityPosture_Violation_Severity_Sever /** - * Set multiple resource types for one policy, for example: resourceTypes: + * Set multiple resource types for one policy, for example: ``` 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 supports managed constraints. - * Method type is `GOVERN_TAGS`. Refer go/multi-resource-support-force-tags-gmc - * to get more details. + * ``` Constraint definition contains an empty resource type in order to + * support multiple resource types in the policy. Only supports managed + * constraints. Method type is `GOVERN_TAGS`. */ @interface GTLRSecurityPosture_ResourceTypes : GTLRObject -/** - * Optional. The resource types we currently support. - * cloud/orgpolicy/customconstraintconfig/prod/resource_types.prototext - */ +/** Optional. The resource types we currently support. */ @property(nonatomic, strong, nullable) NSArray *included; @end diff --git a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h index 6926f79cf..1538dce19 100644 --- a/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h +++ b/Sources/GeneratedServices/SecurityPosture/Public/GoogleAPIClientForREST/GTLRSecurityPostureQuery.h @@ -963,8 +963,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRSecurityPostureQuery_ProjectsLocationsList : GTLRSecurityPostureQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m index ec7e29c8c..17e18875e 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m +++ b/Sources/GeneratedServices/ServiceConsumerManagement/GTLRServiceConsumerManagementObjects.m @@ -1341,7 +1341,7 @@ @implementation GTLRServiceConsumerManagement_Page // @implementation GTLRServiceConsumerManagement_PhpSettings -@dynamic common; +@dynamic common, libraryPackage; @end diff --git a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h index e545f92d8..4f65cba47 100644 --- a/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h +++ b/Sources/GeneratedServices/ServiceConsumerManagement/Public/GoogleAPIClientForREST/GTLRServiceConsumerManagementObjects.h @@ -3853,6 +3853,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceConsumerManagement_V1GenerateDefa /** Some settings. */ @property(nonatomic, strong, nullable) GTLRServiceConsumerManagement_CommonLanguageSettings *common; +/** + * The package name to use in Php. Clobbers the php_namespace option set in the + * protobuf. This should be used **only** by APIs who have already set the + * language_settings.php.package_name" field in gapic.yaml. API teams should + * use the protobuf php_namespace option where possible. Example of a YAML + * configuration:: publishing: library_settings: php_settings: library_package: + * Google\\Cloud\\PubSub\\V1 + */ +@property(nonatomic, copy, nullable) NSString *libraryPackage; + @end diff --git a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m index 98dd50d3d..a6f18a30d 100644 --- a/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m +++ b/Sources/GeneratedServices/ServiceNetworking/GTLRServiceNetworkingObjects.m @@ -305,7 +305,8 @@ @implementation GTLRServiceNetworking_AddSubnetworkRequest // @implementation GTLRServiceNetworking_Api -@dynamic methods, mixins, name, options, sourceContext, syntax, version; +@dynamic edition, methods, mixins, name, options, sourceContext, syntax, + version; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1387,8 +1388,8 @@ @implementation GTLRServiceNetworking_LongRunning // @implementation GTLRServiceNetworking_Method -@dynamic name, options, requestStreaming, requestTypeUrl, responseStreaming, - responseTypeUrl, syntax; +@dynamic edition, name, options, requestStreaming, requestTypeUrl, + responseStreaming, responseTypeUrl, syntax; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h index 7732c0146..9e6511035 100644 --- a/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h +++ b/Sources/GeneratedServices/ServiceNetworking/Public/GoogleAPIClientForREST/GTLRServiceNetworkingObjects.h @@ -1336,10 +1336,17 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * opposed to simply a description of methods and bindings. They are also * sometimes simply referred to as "APIs" in other contexts, such as the name * of this message itself. See https://cloud.google.com/apis/design/glossary - * for detailed terminology. + * for detailed terminology. New usages of this message as an alternative to + * ServiceDescriptorProto are strongly discouraged. This message does not + * reliability preserve all information necessary to model the schema and + * preserve semantics. Instead make use of FileDescriptorSet which preserves + * the necessary information. */ @interface GTLRServiceNetworking_Api : GTLRObject +/** The source edition string, only valid when syntax is SYNTAX_EDITIONS. */ +@property(nonatomic, copy, nullable) NSString *edition; + /** The methods of this interface, in unspecified order. */ @property(nonatomic, strong, nullable) NSArray *methods; @@ -1662,7 +1669,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @property(nonatomic, strong, nullable) GTLRServiceNetworking_BackendRule_OverridesByRequestProtocol *overridesByRequestProtocol; /** - * pathTranslation + * no-lint * * Likely values: * @arg @c kGTLRServiceNetworking_BackendRule_PathTranslation_AppendPathToAddress @@ -2759,7 +2766,11 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** - * Enum type definition. + * Enum type definition. New usages of this message as an alternative to + * EnumDescriptorProto are strongly discouraged. This message does not + * reliability preserve all information necessary to model the schema and + * preserve semantics. Instead make use of FileDescriptorSet which preserves + * the necessary information. */ @interface GTLRServiceNetworking_Enum : GTLRObject @@ -2795,7 +2806,11 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** - * Enum value definition. + * Enum value definition. New usages of this message as an alternative to + * EnumValueDescriptorProto are strongly discouraged. This message does not + * reliability preserve all information necessary to model the schema and + * preserve semantics. Instead make use of FileDescriptorSet which preserves + * the necessary information. */ @interface GTLRServiceNetworking_EnumValue : GTLRObject @@ -2855,7 +2870,11 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** - * A single field of a message type. + * A single field of a message type. New usages of this message as an + * alternative to FieldDescriptorProto are strongly discouraged. This message + * does not reliability preserve all information necessary to model the schema + * and preserve semantics. Instead make use of FileDescriptorSet which + * preserves the necessary information. */ @interface GTLRServiceNetworking_Field : GTLRObject @@ -3118,7 +3137,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** * 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: + * call options. Example: publishing: go_settings: renamed_services: Publisher: * TopicAdmin */ @property(nonatomic, strong, nullable) GTLRServiceNetworking_GoSettings_RenamedServices *renamedServices; @@ -3129,7 +3148,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** * 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: + * call options. Example: publishing: go_settings: renamed_services: Publisher: * TopicAdmin * * @note This class is documented as having more properties of NSString. Use @c @@ -3683,10 +3702,21 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** - * Method represents a method of an API interface. + * Method represents a method of an API interface. New usages of this message + * as an alternative to MethodDescriptorProto are strongly discouraged. This + * message does not reliability preserve all information necessary to model the + * schema and preserve semantics. Instead make use of FileDescriptorSet which + * preserves the necessary information. */ @interface GTLRServiceNetworking_Method : GTLRObject +/** + * The source edition string, only valid when syntax is SYNTAX_EDITIONS. This + * field should be ignored, instead the edition should be inherited from Api. + * This is similar to Field and EnumValue. + */ +@property(nonatomic, copy, nullable) NSString *edition GTLR_DEPRECATED; + /** The simple name of this method. */ @property(nonatomic, copy, nullable) NSString *name; @@ -3714,7 +3744,8 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @property(nonatomic, copy, nullable) NSString *responseTypeUrl; /** - * The source syntax of this method. + * The source syntax of this method. This field should be ignored, instead the + * syntax should be inherited from Api. This is similar to Field and EnumValue. * * Likely values: * @arg @c kGTLRServiceNetworking_Method_Syntax_SyntaxEditions Syntax @@ -3724,7 +3755,7 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig * @arg @c kGTLRServiceNetworking_Method_Syntax_SyntaxProto3 Syntax `proto3`. * (Value: "SYNTAX_PROTO3") */ -@property(nonatomic, copy, nullable) NSString *syntax; +@property(nonatomic, copy, nullable) NSString *syntax GTLR_DEPRECATED; @end @@ -4448,7 +4479,9 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** * A protocol buffer option, which can be attached to a message, field, - * enumeration, etc. + * enumeration, etc. New usages of this message as an alternative to + * FileOptions, MessageOptions, FieldOptions, EnumOptions, EnumValueOptions, + * ServiceOptions, or MethodOptions are strongly discouraged. */ @interface GTLRServiceNetworking_Option : GTLRObject @@ -5529,7 +5562,11 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig /** - * A protocol buffer message type. + * A protocol buffer message type. New usages of this message as an alternative + * to DescriptorProto are strongly discouraged. This message does not + * reliability preserve all information necessary to model the schema and + * preserve semantics. Instead make use of FileDescriptorSet which preserves + * the necessary information. */ @interface GTLRServiceNetworking_Type : GTLRObject @@ -5720,8 +5757,8 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceNetworking_ValidateConsumerConfig @property(nonatomic, strong, nullable) GTLRServiceNetworking_ConsumerProject *consumerProject; /** - * RANGES_EXHAUSTED, RANGES_EXHAUSTED, and RANGES_DELETED_LATER are done when - * range_reservation is provided. + * RANGES_EXHAUSTED, RANGES_NOT_RESERVED, and RANGES_DELETED_LATER are done + * when range_reservation is provided. */ @property(nonatomic, strong, nullable) GTLRServiceNetworking_RangeReservation *rangeReservation; diff --git a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m index 96166c972..c7cf9d960 100644 --- a/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m +++ b/Sources/GeneratedServices/ServiceUsage/GTLRServiceUsageObjects.m @@ -2056,7 +2056,7 @@ @implementation GTLRServiceUsage_Page // @implementation GTLRServiceUsage_PhpSettings -@dynamic common; +@dynamic common, libraryPackage; @end diff --git a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h index f0bc5520d..90f26938e 100644 --- a/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h +++ b/Sources/GeneratedServices/ServiceUsage/Public/GoogleAPIClientForREST/GTLRServiceUsageObjects.h @@ -5087,6 +5087,16 @@ FOUNDATION_EXTERN NSString * const kGTLRServiceUsage_Type_Syntax_SyntaxProto3; /** Some settings. */ @property(nonatomic, strong, nullable) GTLRServiceUsage_CommonLanguageSettings *common; +/** + * The package name to use in Php. Clobbers the php_namespace option set in the + * protobuf. This should be used **only** by APIs who have already set the + * language_settings.php.package_name" field in gapic.yaml. API teams should + * use the protobuf php_namespace option where possible. Example of a YAML + * configuration:: publishing: library_settings: php_settings: library_package: + * Google\\Cloud\\PubSub\\V1 + */ +@property(nonatomic, copy, nullable) NSString *libraryPackage; + @end diff --git a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h index d751792da..ad9db5ea2 100644 --- a/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h +++ b/Sources/GeneratedServices/ShoppingContent/Public/GoogleAPIClientForREST/GTLRShoppingContentQuery.h @@ -1585,7 +1585,8 @@ FOUNDATION_EXTERN NSString * const kGTLRShoppingContentViewMerchant; @property(nonatomic, assign) long long merchantId; /** - * Optional. List of fields being updated. + * Optional. List of fields being updated. The following fields can be updated: + * `attribution_settings`, `display_name`, `currency_code`. * * String format is a comma-separated list of fields. */ diff --git a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h index 945a5c7eb..030c71521 100644 --- a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h +++ b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarObjects.h @@ -47,10 +47,7 @@ NS_ASSUME_NONNULL_BEGIN /** * Solar data is derived from enhanced satellite imagery processed at 0.25 - * m/pixel. **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more information, - * see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). + * m/pixel. * * Value: "BASE" */ @@ -88,10 +85,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolar_BuildingInsights_ImageryQuality_Me /** * Solar data is derived from enhanced satellite imagery processed at 0.25 - * m/pixel. **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more information, - * see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). + * m/pixel. * * Value: "BASE" */ @@ -178,10 +172,6 @@ FOUNDATION_EXTERN NSString * const kGTLRSolar_Panel_Orientation_SolarPanelOrient * Likely values: * @arg @c kGTLRSolar_BuildingInsights_ImageryQuality_Base Solar data is * derived from enhanced satellite imagery processed at 0.25 m/pixel. - * **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more - * information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). * (Value: "BASE") * @arg @c kGTLRSolar_BuildingInsights_ImageryQuality_High Solar data is * derived from aerial imagery captured at low-altitude and processed at @@ -322,11 +312,8 @@ FOUNDATION_EXTERN NSString * const kGTLRSolar_Panel_Orientation_SolarPanelOrient * * Likely values: * @arg @c kGTLRSolar_DataLayers_ImageryQuality_Base Solar data is derived - * from enhanced satellite imagery processed at 0.25 m/pixel. **Note:** - * This enum is only available if `experiments=EXPANDED_COVERAGE` is set - * in the request. For more information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). - * (Value: "BASE") + * from enhanced satellite imagery processed at 0.25 m/pixel. (Value: + * "BASE") * @arg @c kGTLRSolar_DataLayers_ImageryQuality_High Solar data is derived * from aerial imagery captured at low-altitude and processed at 0.1 * m/pixel. (Value: "HIGH") diff --git a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h index d4744f4f2..bf2369469 100644 --- a/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h +++ b/Sources/GeneratedServices/Solar/Public/GoogleAPIClientForREST/GTLRSolarQuery.h @@ -47,10 +47,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolarExperimentsExperimentUnspecified; /** * Solar data is derived from enhanced satellite imagery processed at 0.25 - * m/pixel. **Note:** This enum is only available if - * `experiments=EXPANDED_COVERAGE` is set in the request. For more information, - * see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). + * m/pixel. * * Value: "BASE" */ @@ -186,11 +183,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolarViewImageryLayers; * @arg @c kGTLRSolarRequiredQualityLow Solar data is derived from enhanced * satellite imagery processed at 0.25 m/pixel. (Value: "LOW") * @arg @c kGTLRSolarRequiredQualityBase Solar data is derived from enhanced - * satellite imagery processed at 0.25 m/pixel. **Note:** This enum is - * only available if `experiments=EXPANDED_COVERAGE` is set in the - * request. For more information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). - * (Value: "BASE") + * satellite imagery processed at 0.25 m/pixel. (Value: "BASE") */ @property(nonatomic, copy, nullable) NSString *requiredQuality; @@ -286,11 +279,7 @@ FOUNDATION_EXTERN NSString * const kGTLRSolarViewImageryLayers; * @arg @c kGTLRSolarRequiredQualityLow Solar data is derived from enhanced * satellite imagery processed at 0.25 m/pixel. (Value: "LOW") * @arg @c kGTLRSolarRequiredQualityBase Solar data is derived from enhanced - * satellite imagery processed at 0.25 m/pixel. **Note:** This enum is - * only available if `experiments=EXPANDED_COVERAGE` is set in the - * request. For more information, see [Expanded - * Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage). - * (Value: "BASE") + * satellite imagery processed at 0.25 m/pixel. (Value: "BASE") */ @property(nonatomic, copy, nullable) NSString *requiredQuality; diff --git a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h index 474878d6d..dbdd91792 100644 --- a/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h +++ b/Sources/GeneratedServices/Spanner/Public/GoogleAPIClientForREST/GTLRSpannerObjects.h @@ -1977,17 +1977,9 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni @interface GTLRSpanner_BatchWriteRequest : GTLRObject /** - * Optional. When `exclude_txn_from_change_streams` is set to `true`: * - * Modifications from all transactions in this batch write operation are not be - * recorded in change streams with DDL option `allow_txn_exclusion=true` that - * are tracking columns modified by these transactions. * Modifications from - * all transactions in this batch write operation are recorded in change - * streams with DDL option `allow_txn_exclusion=false or not set` that are - * tracking columns modified by these transactions. When - * `exclude_txn_from_change_streams` is set to `false` or not set, - * Modifications from all transactions in this batch write operation are - * recorded in all change streams that are tracking columns modified by these - * transactions. + * Optional. If you don't set the `exclude_txn_from_change_streams` option or + * if it's set to `false`, then any change streams monitoring columns modified + * by transactions will capture the updates made within that transaction. * * Uses NSNumber of boolValue. */ @@ -3056,21 +3048,23 @@ FOUNDATION_EXTERN NSString * const kGTLRSpanner_VisualizationData_KeyUnit_KeyUni /** * Required. The unique identifier of the database resource in the Instance. - * For example if the database uri is projects/foo/instances/bar/databases/baz, - * the id to supply here is baz. + * For example, if the database uri is + * `projects/foo/instances/bar/databases/baz`, then the id to supply here is + * baz. */ @property(nonatomic, copy, nullable) NSString *databaseId; /** - * Optional. Encryption configuration to be used for the database in target - * configuration. Should be specified for every database which currently uses - * CMEK encryption. If a database currently uses GOOGLE_MANAGED encryption and - * a target encryption config is not specified, it defaults to GOOGLE_MANAGED. - * If a database currently uses Google-managed encryption and a target - * encryption config is specified, the request is rejected. If a database - * currently uses CMEK encryption, a target encryption config must be - * specified. You cannot move a CMEK database to a Google-managed encryption - * database by MoveInstance. + * Optional. Encryption configuration to be used for the database in the target + * configuration. The encryption configuration must be specified for every + * database which currently uses CMEK encryption. If a database currently uses + * Google-managed encryption and a target encryption configuration is not + * specified, then the database defaults to Google-managed encryption. If a + * database currently uses Google-managed encryption and a target CMEK + * encryption is specified, the request is rejected. If a database currently + * uses CMEK encryption, then a target encryption configuration must be + * specified. You can't move a CMEK database to a Google-managed encryption + * database using the MoveInstance API. */ @property(nonatomic, strong, nullable) GTLRSpanner_InstanceEncryptionConfig *encryptionConfig; diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index 5b0a90128..c218dbe82 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -10,6 +10,21 @@ #import +// ---------------------------------------------------------------------------- +// Constants + +// GTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig.restrictionMode +NSString * const kGTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted = @"FullyRestricted"; +NSString * const kGTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig_RestrictionMode_NotRestricted = @"NotRestricted"; + +// GTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig.restrictionMode +NSString * const kGTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted = @"FullyRestricted"; +NSString * const kGTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig_RestrictionMode_NotRestricted = @"NotRestricted"; + +// GTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig.restrictionMode +NSString * const kGTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted = @"FullyRestricted"; +NSString * const kGTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig_RestrictionMode_NotRestricted = @"NotRestricted"; + // ---------------------------------------------------------------------------- // // GTLRStorage_AdvanceRelocateBucketOperationRequest @@ -158,7 +173,9 @@ @implementation GTLRStorage_Bucket_CustomPlacementConfig // @implementation GTLRStorage_Bucket_Encryption -@dynamic defaultKmsKeyName; +@dynamic customerManagedEncryptionEnforcementConfig, + customerSuppliedEncryptionEnforcementConfig, defaultKmsKeyName, + googleManagedEncryptionEnforcementConfig; @end @@ -303,6 +320,36 @@ @implementation GTLRStorage_Bucket_Website @end +// ---------------------------------------------------------------------------- +// +// GTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig +// + +@implementation GTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig +@dynamic effectiveTime, restrictionMode; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig +// + +@implementation GTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig +@dynamic effectiveTime, restrictionMode; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig +// + +@implementation GTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig +@dynamic effectiveTime, restrictionMode; +@end + + // ---------------------------------------------------------------------------- // // GTLRStorage_Bucket_IamConfiguration_BucketPolicyOnly @@ -513,8 +560,8 @@ @implementation GTLRStorage_BucketStorageLayout_HierarchicalNamespace // @implementation GTLRStorage_BulkRestoreObjectsRequest -@dynamic allowOverwrite, copySourceAcl, matchGlobs, softDeletedAfterTime, - softDeletedBeforeTime; +@dynamic allowOverwrite, copySourceAcl, createdAfterTime, createdBeforeTime, + matchGlobs, softDeletedAfterTime, softDeletedBeforeTime; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index 8698c129e..78f694786 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h @@ -21,6 +21,9 @@ @class GTLRStorage_Bucket_Cors_Item; @class GTLRStorage_Bucket_CustomPlacementConfig; @class GTLRStorage_Bucket_Encryption; +@class GTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig; +@class GTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig; +@class GTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig; @class GTLRStorage_Bucket_HierarchicalNamespace; @class GTLRStorage_Bucket_IamConfiguration; @class GTLRStorage_Bucket_IamConfiguration_BucketPolicyOnly; @@ -79,6 +82,59 @@ NS_ASSUME_NONNULL_BEGIN +// ---------------------------------------------------------------------------- +// Constants - For some of the classes' properties below. + +// ---------------------------------------------------------------------------- +// GTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig.restrictionMode + +/** + * Creation of new objects with Customer-Managed Encryption is fully + * restricted. + * + * Value: "FullyRestricted" + */ +FOUNDATION_EXTERN NSString * const kGTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted; +/** + * Creation of new objects with Customer-Managed Encryption is not restricted. + * + * Value: "NotRestricted" + */ +FOUNDATION_EXTERN NSString * const kGTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig_RestrictionMode_NotRestricted; + +// ---------------------------------------------------------------------------- +// GTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig.restrictionMode + +/** + * Creation of new objects with Customer-Supplied Encryption is fully + * restricted. + * + * Value: "FullyRestricted" + */ +FOUNDATION_EXTERN NSString * const kGTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted; +/** + * Creation of new objects with Customer-Supplied Encryption is not restricted. + * + * Value: "NotRestricted" + */ +FOUNDATION_EXTERN NSString * const kGTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig_RestrictionMode_NotRestricted; + +// ---------------------------------------------------------------------------- +// GTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig.restrictionMode + +/** + * Creation of new objects with Google Managed Encryption is fully restricted. + * + * Value: "FullyRestricted" + */ +FOUNDATION_EXTERN NSString * const kGTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted; +/** + * Creation of new objects with Google Managed Encryption is not restricted. + * + * Value: "NotRestricted" + */ +FOUNDATION_EXTERN NSString * const kGTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig_RestrictionMode_NotRestricted; + /** * An AdvanceRelocateBucketOperation request. */ @@ -503,12 +559,36 @@ NS_ASSUME_NONNULL_BEGIN */ @interface GTLRStorage_Bucket_Encryption : GTLRObject +/** + * If set, the new objects created in this bucket must comply with this + * enforcement config. Changing this has no effect on existing objects; it + * applies to new objects only. If omitted, the new objects are allowed to be + * encrypted with Customer Managed Encryption type by default. + */ +@property(nonatomic, strong, nullable) GTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig *customerManagedEncryptionEnforcementConfig; + +/** + * If set, the new objects created in this bucket must comply with this + * enforcement config. Changing this has no effect on existing objects; it + * applies to new objects only. If omitted, the new objects are allowed to be + * encrypted with Customer Supplied Encryption type by default. + */ +@property(nonatomic, strong, nullable) GTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig *customerSuppliedEncryptionEnforcementConfig; + /** * A Cloud KMS key that will be used to encrypt objects inserted into this * bucket, if no encryption method is specified. */ @property(nonatomic, copy, nullable) NSString *defaultKmsKeyName; +/** + * If set, the new objects created in this bucket must comply with this + * enforcement config. Changing this has no effect on existing objects; it + * applies to new objects only. If omitted, the new objects are allowed to be + * encrypted with Google Managed Encryption type by default. + */ +@property(nonatomic, strong, nullable) GTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig *googleManagedEncryptionEnforcementConfig; + @end @@ -764,6 +844,99 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * If set, the new objects created in this bucket must comply with this + * enforcement config. Changing this has no effect on existing objects; it + * applies to new objects only. If omitted, the new objects are allowed to be + * encrypted with Customer Managed Encryption type by default. + */ +@interface GTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig : GTLRObject + +/** + * Server-determined value that indicates the time from which configuration was + * enforced and effective. This value is in RFC 3339 format. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *effectiveTime; + +/** + * Restriction mode for Customer-Managed Encryption Keys. Defaults to + * NotRestricted. + * + * Likely values: + * @arg @c kGTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted + * Creation of new objects with Customer-Managed Encryption is fully + * restricted. (Value: "FullyRestricted") + * @arg @c kGTLRStorage_Bucket_Encryption_CustomerManagedEncryptionEnforcementConfig_RestrictionMode_NotRestricted + * Creation of new objects with Customer-Managed Encryption is not + * restricted. (Value: "NotRestricted") + */ +@property(nonatomic, copy, nullable) NSString *restrictionMode; + +@end + + +/** + * If set, the new objects created in this bucket must comply with this + * enforcement config. Changing this has no effect on existing objects; it + * applies to new objects only. If omitted, the new objects are allowed to be + * encrypted with Customer Supplied Encryption type by default. + */ +@interface GTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig : GTLRObject + +/** + * Server-determined value that indicates the time from which configuration was + * enforced and effective. This value is in RFC 3339 format. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *effectiveTime; + +/** + * Restriction mode for Customer-Supplied Encryption Keys. Defaults to + * NotRestricted. + * + * Likely values: + * @arg @c kGTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted + * Creation of new objects with Customer-Supplied Encryption is fully + * restricted. (Value: "FullyRestricted") + * @arg @c kGTLRStorage_Bucket_Encryption_CustomerSuppliedEncryptionEnforcementConfig_RestrictionMode_NotRestricted + * Creation of new objects with Customer-Supplied Encryption is not + * restricted. (Value: "NotRestricted") + */ +@property(nonatomic, copy, nullable) NSString *restrictionMode; + +@end + + +/** + * If set, the new objects created in this bucket must comply with this + * enforcement config. Changing this has no effect on existing objects; it + * applies to new objects only. If omitted, the new objects are allowed to be + * encrypted with Google Managed Encryption type by default. + */ +@interface GTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig : GTLRObject + +/** + * Server-determined value that indicates the time from which configuration was + * enforced and effective. This value is in RFC 3339 format. + */ +@property(nonatomic, strong, nullable) GTLRDateTime *effectiveTime; + +/** + * Restriction mode for Google-Managed Encryption Keys. Defaults to + * NotRestricted. + * + * Likely values: + * @arg @c kGTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig_RestrictionMode_FullyRestricted + * Creation of new objects with Google Managed Encryption is fully + * restricted. (Value: "FullyRestricted") + * @arg @c kGTLRStorage_Bucket_Encryption_GoogleManagedEncryptionEnforcementConfig_RestrictionMode_NotRestricted + * Creation of new objects with Google Managed Encryption is not + * restricted. (Value: "NotRestricted") + */ +@property(nonatomic, copy, nullable) NSString *restrictionMode; + +@end + + /** * The bucket's uniform bucket-level access configuration. The feature was * formerly known as Bucket Policy Only. For backward compatibility, this field @@ -1208,6 +1381,12 @@ NS_ASSUME_NONNULL_BEGIN */ @property(nonatomic, strong, nullable) NSNumber *copySourceAcl NS_RETURNS_NOT_RETAINED; +/** Restores only the objects that were created after this time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createdAfterTime; + +/** Restores only the objects that were created before this time. */ +@property(nonatomic, strong, nullable) GTLRDateTime *createdBeforeTime; + /** * Restores only the objects matching any of the specified glob(s). If this * parameter is not specified, all objects will be restored within the diff --git a/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h b/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h index e2bfe98da..ce9f4c339 100644 --- a/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h +++ b/Sources/GeneratedServices/StorageBatchOperations/Public/GoogleAPIClientForREST/GTLRStorageBatchOperationsQuery.h @@ -256,8 +256,8 @@ NS_ASSUME_NONNULL_BEGIN @interface GTLRStorageBatchOperationsQuery_ProjectsLocationsList : GTLRStorageBatchOperationsQuery /** - * Optional. A list of extra location types that should be used as conditions - * for controlling the visibility of the locations. + * Optional. Do not use this field. It is unsupported and is ignored unless + * explicitly documented otherwise. This is primarily for internal usage. */ @property(nonatomic, strong, nullable) NSArray *extraLocationTypes; diff --git a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h index c38e47993..eff72cbd0 100644 --- a/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h +++ b/Sources/GeneratedServices/StorageTransfer/Public/GoogleAPIClientForREST/GTLRStorageTransferObjects.h @@ -1119,12 +1119,12 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @interface GTLRStorageTransfer_ErrorLogEntry : GTLRObject -/** A list of messages that carry the error details. */ +/** Optional. A list of messages that carry the error details. */ @property(nonatomic, strong, nullable) NSArray *errorDetails; /** - * Required. A URL that refers to the target (a data source, a data sink, or an - * object) with which the error is associated. + * Output only. A URL that refers to the target (a data source, a data sink, or + * an object) with which the error is associated. */ @property(nonatomic, copy, nullable) NSString *url; @@ -2643,19 +2643,19 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @interface GTLRStorageTransfer_TransferSpec : GTLRObject -/** An AWS S3 compatible data source. */ +/** Optional. An AWS S3 compatible data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_AwsS3CompatibleData *awsS3CompatibleDataSource; -/** An AWS S3 data source. */ +/** Optional. An AWS S3 data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_AwsS3Data *awsS3DataSource; -/** An Azure Blob Storage data source. */ +/** Optional. An Azure Blob Storage data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_AzureBlobStorageData *azureBlobStorageDataSource; -/** A Cloud Storage data sink. */ +/** Optional. A Cloud Storage data sink. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsDataSink; -/** A Cloud Storage data source. */ +/** Optional. A Cloud Storage data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsDataSource; /** @@ -2667,10 +2667,10 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_GcsData *gcsIntermediateDataLocation; -/** An HDFS cluster data source. */ +/** Optional. An HDFS cluster data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_HdfsData *hdfsDataSource; -/** An HTTP URL data source. */ +/** Optional. An HTTP URL data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_HttpData *httpDataSource; /** @@ -2680,10 +2680,10 @@ FOUNDATION_EXTERN NSString * const kGTLRStorageTransfer_TransferOptions_Overwrit */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_ObjectConditions *objectConditions; -/** A POSIX Filesystem data sink. */ +/** Optional. A POSIX Filesystem data sink. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_PosixFilesystem *posixDataSink; -/** A POSIX Filesystem data source. */ +/** Optional. A POSIX Filesystem data source. */ @property(nonatomic, strong, nullable) GTLRStorageTransfer_PosixFilesystem *posixDataSource; /** diff --git a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m index 56663d2cd..29889f0c1 100644 --- a/Sources/GeneratedServices/Testing/GTLRTestingObjects.m +++ b/Sources/GeneratedServices/Testing/GTLRTestingObjects.m @@ -30,10 +30,14 @@ NSString * const kGTLRTesting_AndroidModel_Form_Virtual = @"VIRTUAL"; // GTLRTesting_AndroidModel.formFactor +NSString * const kGTLRTesting_AndroidModel_FormFactor_Automotive = @"AUTOMOTIVE"; +NSString * const kGTLRTesting_AndroidModel_FormFactor_Desktop = @"DESKTOP"; NSString * const kGTLRTesting_AndroidModel_FormFactor_DeviceFormFactorUnspecified = @"DEVICE_FORM_FACTOR_UNSPECIFIED"; NSString * const kGTLRTesting_AndroidModel_FormFactor_Phone = @"PHONE"; NSString * const kGTLRTesting_AndroidModel_FormFactor_Tablet = @"TABLET"; +NSString * const kGTLRTesting_AndroidModel_FormFactor_Tv = @"TV"; NSString * const kGTLRTesting_AndroidModel_FormFactor_Wearable = @"WEARABLE"; +NSString * const kGTLRTesting_AndroidModel_FormFactor_Xr = @"XR"; // GTLRTesting_AndroidRoboTest.roboMode NSString * const kGTLRTesting_AndroidRoboTest_RoboMode_RoboModeUnspecified = @"ROBO_MODE_UNSPECIFIED"; @@ -70,10 +74,14 @@ NSString * const kGTLRTesting_DeviceSession_State_Unavailable = @"UNAVAILABLE"; // GTLRTesting_IosModel.formFactor +NSString * const kGTLRTesting_IosModel_FormFactor_Automotive = @"AUTOMOTIVE"; +NSString * const kGTLRTesting_IosModel_FormFactor_Desktop = @"DESKTOP"; NSString * const kGTLRTesting_IosModel_FormFactor_DeviceFormFactorUnspecified = @"DEVICE_FORM_FACTOR_UNSPECIFIED"; NSString * const kGTLRTesting_IosModel_FormFactor_Phone = @"PHONE"; NSString * const kGTLRTesting_IosModel_FormFactor_Tablet = @"TABLET"; +NSString * const kGTLRTesting_IosModel_FormFactor_Tv = @"TV"; NSString * const kGTLRTesting_IosModel_FormFactor_Wearable = @"WEARABLE"; +NSString * const kGTLRTesting_IosModel_FormFactor_Xr = @"XR"; // GTLRTesting_PerAndroidVersionInfo.deviceCapacity NSString * const kGTLRTesting_PerAndroidVersionInfo_DeviceCapacity_DeviceCapacityHigh = @"DEVICE_CAPACITY_HIGH"; diff --git a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h index 419898af1..59baea01a 100644 --- a/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h +++ b/Sources/GeneratedServices/Testing/Public/GoogleAPIClientForREST/GTLRTestingObjects.h @@ -183,6 +183,18 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_Form_Virtual; // ---------------------------------------------------------------------------- // GTLRTesting_AndroidModel.formFactor +/** + * This device has an automotive form factor. + * + * Value: "AUTOMOTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_FormFactor_Automotive; +/** + * This device has a desktop form factor. + * + * Value: "DESKTOP" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_FormFactor_Desktop; /** * Do not use. For proto versioning only. * @@ -201,12 +213,24 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_FormFactor_Phone; * Value: "TABLET" */ FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_FormFactor_Tablet; +/** + * This device has a television form factor. + * + * Value: "TV" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_FormFactor_Tv; /** * This device has the shape of a watch or other wearable. * * Value: "WEARABLE" */ FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_FormFactor_Wearable; +/** + * This device has an Extended Reality form factor. + * + * Value: "XR" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_AndroidModel_FormFactor_Xr; // ---------------------------------------------------------------------------- // GTLRTesting_AndroidRoboTest.roboMode @@ -402,6 +426,18 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_DeviceSession_State_Unavailable; // ---------------------------------------------------------------------------- // GTLRTesting_IosModel.formFactor +/** + * This device has an automotive form factor. + * + * Value: "AUTOMOTIVE" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_IosModel_FormFactor_Automotive; +/** + * This device has a desktop form factor. + * + * Value: "DESKTOP" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_IosModel_FormFactor_Desktop; /** * Do not use. For proto versioning only. * @@ -420,12 +456,24 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_IosModel_FormFactor_Phone; * Value: "TABLET" */ FOUNDATION_EXTERN NSString * const kGTLRTesting_IosModel_FormFactor_Tablet; +/** + * This device has a television form factor. + * + * Value: "TV" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_IosModel_FormFactor_Tv; /** * This device has the shape of a watch or other wearable. * * Value: "WEARABLE" */ FOUNDATION_EXTERN NSString * const kGTLRTesting_IosModel_FormFactor_Wearable; +/** + * This device has an Extended Reality form factor. + * + * Value: "XR" + */ +FOUNDATION_EXTERN NSString * const kGTLRTesting_IosModel_FormFactor_Xr; // ---------------------------------------------------------------------------- // GTLRTesting_PerAndroidVersionInfo.deviceCapacity @@ -1297,6 +1345,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; * Whether this device is a phone, tablet, wearable, etc. * * Likely values: + * @arg @c kGTLRTesting_AndroidModel_FormFactor_Automotive This device has an + * automotive form factor. (Value: "AUTOMOTIVE") + * @arg @c kGTLRTesting_AndroidModel_FormFactor_Desktop This device has a + * desktop form factor. (Value: "DESKTOP") * @arg @c kGTLRTesting_AndroidModel_FormFactor_DeviceFormFactorUnspecified * Do not use. For proto versioning only. (Value: * "DEVICE_FORM_FACTOR_UNSPECIFIED") @@ -1304,8 +1356,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; * shape of a phone. (Value: "PHONE") * @arg @c kGTLRTesting_AndroidModel_FormFactor_Tablet This device has the * shape of a tablet. (Value: "TABLET") + * @arg @c kGTLRTesting_AndroidModel_FormFactor_Tv This device has a + * television form factor. (Value: "TV") * @arg @c kGTLRTesting_AndroidModel_FormFactor_Wearable This device has the * shape of a watch or other wearable. (Value: "WEARABLE") + * @arg @c kGTLRTesting_AndroidModel_FormFactor_Xr This device has an + * Extended Reality form factor. (Value: "XR") */ @property(nonatomic, copy, nullable) NSString *formFactor; @@ -2228,6 +2284,10 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; * Whether this device is a phone, tablet, wearable, etc. * * Likely values: + * @arg @c kGTLRTesting_IosModel_FormFactor_Automotive This device has an + * automotive form factor. (Value: "AUTOMOTIVE") + * @arg @c kGTLRTesting_IosModel_FormFactor_Desktop This device has a desktop + * form factor. (Value: "DESKTOP") * @arg @c kGTLRTesting_IosModel_FormFactor_DeviceFormFactorUnspecified Do * not use. For proto versioning only. (Value: * "DEVICE_FORM_FACTOR_UNSPECIFIED") @@ -2235,8 +2295,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTesting_TestMatrix_State_Validating; * of a phone. (Value: "PHONE") * @arg @c kGTLRTesting_IosModel_FormFactor_Tablet This device has the shape * of a tablet. (Value: "TABLET") + * @arg @c kGTLRTesting_IosModel_FormFactor_Tv This device has a television + * form factor. (Value: "TV") * @arg @c kGTLRTesting_IosModel_FormFactor_Wearable This device has the * shape of a watch or other wearable. (Value: "WEARABLE") + * @arg @c kGTLRTesting_IosModel_FormFactor_Xr This device has an Extended + * Reality form factor. (Value: "XR") */ @property(nonatomic, copy, nullable) NSString *formFactor; diff --git a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m index e517657bf..0da65a325 100644 --- a/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m +++ b/Sources/GeneratedServices/Texttospeech/GTLRTexttospeechObjects.m @@ -365,5 +365,5 @@ @implementation GTLRTexttospeech_VoiceCloneParams // @implementation GTLRTexttospeech_VoiceSelectionParams -@dynamic customVoice, languageCode, name, ssmlGender, voiceClone; +@dynamic customVoice, languageCode, modelName, name, ssmlGender, voiceClone; @end diff --git a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h index 09838df60..4a207a814 100644 --- a/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h +++ b/Sources/GeneratedServices/Texttospeech/Public/GoogleAPIClientForREST/GTLRTexttospeechObjects.h @@ -53,7 +53,8 @@ NS_ASSUME_NONNULL_BEGIN */ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_AudioConfig_AudioEncoding_Alaw; /** - * Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT. + * Not specified. Only used by GenerateVoiceCloningKey. Otherwise, will return + * result google.rpc.Code.INVALID_ARGUMENT. * * Value: "AUDIO_ENCODING_UNSPECIFIED" */ @@ -261,8 +262,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe * that compand 14-bit audio samples using G.711 PCMU/A-law. Audio * content returned as ALAW also contains a WAV header. (Value: "ALAW") * @arg @c kGTLRTexttospeech_AudioConfig_AudioEncoding_AudioEncodingUnspecified - * Not specified. Will return result google.rpc.Code.INVALID_ARGUMENT. - * (Value: "AUDIO_ENCODING_UNSPECIFIED") + * Not specified. Only used by GenerateVoiceCloningKey. Otherwise, will + * return result google.rpc.Code.INVALID_ARGUMENT. (Value: + * "AUDIO_ENCODING_UNSPECIFIED") * @arg @c kGTLRTexttospeech_AudioConfig_AudioEncoding_Linear16 Uncompressed * 16-bit signed little-endian samples (Linear PCM). Audio content * returned as LINEAR16 also contains a WAV header. (Value: "LINEAR16") @@ -875,6 +877,12 @@ FOUNDATION_EXTERN NSString * const kGTLRTexttospeech_VoiceSelectionParams_SsmlGe */ @property(nonatomic, copy, nullable) NSString *languageCode; +/** + * Optional. The name of the model. If set, the service will choose the model + * matching the specified configuration. + */ +@property(nonatomic, copy, nullable) NSString *modelName; + /** * The name of the voice. If both the name and the gender are not set, the * service will choose a voice based on the other parameters such as diff --git a/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m b/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m index 29128ce2e..3d0670bfa 100644 --- a/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m +++ b/Sources/GeneratedServices/Transcoder/GTLRTranscoderObjects.m @@ -409,7 +409,25 @@ @implementation GTLRTranscoder_Image // @implementation GTLRTranscoder_Input -@dynamic key, preprocessingConfig, uri; +@dynamic attributes, key, preprocessingConfig, uri; +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_InputAttributes +// + +@implementation GTLRTranscoder_InputAttributes +@dynamic trackDefinitions; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"trackDefinitions" : [GTLRTranscoder_TrackDefinition class] + }; + return map; +} + @end @@ -419,9 +437,9 @@ @implementation GTLRTranscoder_Input // @implementation GTLRTranscoder_Job -@dynamic batchModePriority, config, createTime, endTime, error, inputUri, - labels, mode, name, optimization, outputUri, startTime, state, - templateId, ttlAfterCompletionDays; +@dynamic batchModePriority, config, createTime, endTime, error, fillContentGaps, + inputUri, labels, mode, name, optimization, outputUri, startTime, + state, templateId, ttlAfterCompletionDays; @end @@ -761,6 +779,25 @@ @implementation GTLRTranscoder_TextStream @end +// ---------------------------------------------------------------------------- +// +// GTLRTranscoder_TrackDefinition +// + +@implementation GTLRTranscoder_TrackDefinition +@dynamic detectedLanguages, detectLanguages, inputTrack, languages; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"detectedLanguages" : [NSString class], + @"languages" : [NSString class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRTranscoder_VideoStream diff --git a/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h b/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h index 20cb1d73b..a5ffa7b99 100644 --- a/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h +++ b/Sources/GeneratedServices/Transcoder/Public/GoogleAPIClientForREST/GTLRTranscoderObjects.h @@ -47,6 +47,7 @@ @class GTLRTranscoder_H265ColorFormatSDR; @class GTLRTranscoder_Image; @class GTLRTranscoder_Input; +@class GTLRTranscoder_InputAttributes; @class GTLRTranscoder_Job; @class GTLRTranscoder_Job_Labels; @class GTLRTranscoder_JobConfig; @@ -70,6 +71,7 @@ @class GTLRTranscoder_Status_Details_Item; @class GTLRTranscoder_TextMapping; @class GTLRTranscoder_TextStream; +@class GTLRTranscoder_TrackDefinition; @class GTLRTranscoder_VideoStream; @class GTLRTranscoder_Vp9CodecSettings; @class GTLRTranscoder_Vp9ColorFormatHLG; @@ -1408,6 +1410,9 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Vp9CodecSettings_FrameRateCon */ @interface GTLRTranscoder_Input : GTLRObject +/** Optional. Input Attributes. */ +@property(nonatomic, strong, nullable) GTLRTranscoder_InputAttributes *attributes; + /** * A unique key for this input. Must be specified when using advanced mapping * and edit lists. @@ -1429,6 +1434,17 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Vp9CodecSettings_FrameRateCon @end +/** + * Input attributes that provide additional information about the input asset. + */ +@interface GTLRTranscoder_InputAttributes : GTLRObject + +/** Optional. A list of track definitions for the input asset. */ +@property(nonatomic, strong, nullable) NSArray *trackDefinitions; + +@end + + /** * Transcoding job resource. */ @@ -1458,6 +1474,14 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Vp9CodecSettings_FrameRateCon */ @property(nonatomic, strong, nullable) GTLRTranscoder_Status *error; +/** + * Optional. Insert silence and duplicate frames when timestamp gaps are + * detected in a given stream. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *fillContentGaps; + /** * Input only. Specify the `input_uri` to populate empty `uri` fields in each * element of `Job.config.inputs` or `JobTemplate.config.inputs` when using @@ -2205,6 +2229,45 @@ FOUNDATION_EXTERN NSString * const kGTLRTranscoder_Vp9CodecSettings_FrameRateCon @end +/** + * Track definition for the input asset. + */ +@interface GTLRTranscoder_TrackDefinition : GTLRObject + +/** + * Output only. A list of languages detected in the input asset, represented by + * a BCP 47 language code, such as "en-US" or "sr-Latn". For more information, + * see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. This + * field is only populated if the detect_languages field is set to true. + */ +@property(nonatomic, strong, nullable) NSArray *detectedLanguages; + +/** + * Optional. Whether to automatically detect the languages present in the + * track. If true, the system will attempt to identify all the languages + * present in the track and populate the languages field. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *detectLanguages; + +/** + * The input track. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *inputTrack; + +/** + * Optional. A list of languages spoken in the input asset, represented by a + * BCP 47 language code, such as "en-US" or "sr-Latn". For more information, + * see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + */ +@property(nonatomic, strong, nullable) NSArray *languages; + +@end + + /** * Video stream resource. */ diff --git a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m index eefe24727..d9fd66c9d 100644 --- a/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m +++ b/Sources/GeneratedServices/VMMigrationService/GTLRVMMigrationServiceObjects.m @@ -465,8 +465,8 @@ @implementation GTLRVMMigrationService_AwsSourceVmDetails @implementation GTLRVMMigrationService_AwsVmDetails @dynamic architecture, bootOption, committedStorageMb, cpuCount, diskCount, displayName, instanceType, memoryMb, osDescription, powerState, - securityGroups, sourceDescription, sourceId, tags, virtualizationType, - vmId, vpcId, zoneProperty; + securityGroups, sourceDescription, sourceId, tags, vcpuCount, + virtualizationType, vmId, vpcId, zoneProperty; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"zoneProperty" : @"zone" }; diff --git a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h index d9f9fe5e4..537e39a2a 100644 --- a/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h +++ b/Sources/GeneratedServices/VMMigrationService/Public/GoogleAPIClientForREST/GTLRVMMigrationServiceObjects.h @@ -1924,7 +1924,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power @property(nonatomic, strong, nullable) NSNumber *committedStorageMb; /** - * The number of cpus the VM has. + * The number of CPU cores the VM has. * * Uses NSNumber of intValue. */ @@ -1985,6 +1985,14 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power /** The tags of the VM. */ @property(nonatomic, strong, nullable) GTLRVMMigrationService_AwsVmDetails_Tags *tags; +/** + * The number of vCPUs the VM has. It is calculated as the number of CPU cores + * * threads per CPU the VM has. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *vcpuCount; + /** * The virtualization type. * @@ -2693,7 +2701,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power */ @property(nonatomic, strong, nullable) NSNumber *secureBoot; -/** The service account to associate the VM with. */ +/** Optional. The service account to associate the VM with. */ @property(nonatomic, copy, nullable) NSString *serviceAccount; /** @@ -4711,7 +4719,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVMMigrationService_VmwareVmDetails_Power */ @property(nonatomic, copy, nullable) NSString *internalIp; -/** The network to connect the NIC to. */ +/** Optional. The network to connect the NIC to. */ @property(nonatomic, copy, nullable) NSString *network; /** diff --git a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m index 03ea2764d..107d8bfa6 100644 --- a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m +++ b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineObjects.m @@ -300,6 +300,21 @@ NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay_Tuesday = @"TUESDAY"; NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay_Wednesday = @"WEDNESDAY"; +// ---------------------------------------------------------------------------- +// +// GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest +// + +@implementation GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest +@dynamic ETag, requestId; + ++ (NSDictionary *)propertyToJSONKeyMap { + return @{ @"ETag" : @"etag" }; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRVMwareEngine_Announcement diff --git a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m index 77d4b52ad..73b998732 100644 --- a/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m +++ b/Sources/GeneratedServices/VMwareEngine/GTLRVMwareEngineQuery.m @@ -1520,6 +1520,33 @@ + (instancetype)queryWithObject:(GTLRVMwareEngine_PrivateCloud *)object @end +@implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow + +@dynamic name; + ++ (instancetype)queryWithObject:(GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest *)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}:privateCloudDeletionNow"; + GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow *query = + [[self alloc] initWithPathURITemplate:pathURITemplate + HTTPMethod:@"POST" + pathParameterNames:pathParams]; + query.bodyObject = object; + query.name = name; + query.expectedObjectClass = [GTLRVMwareEngine_Operation class]; + query.loggingName = @"vmwareengine.projects.locations.privateClouds.privateCloudDeletionNow"; + return query; +} + +@end + @implementation GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsResetNsxCredentials @dynamic privateCloud; diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h index 133e8d5f9..1d8ce546c 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineObjects.h @@ -1508,6 +1508,28 @@ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay */ FOUNDATION_EXTERN NSString * const kGTLRVMwareEngine_WeeklyTimeInterval_StartDay_Wednesday; +/** + * Request message for VmwareEngine.AcceleratePrivateCloudDeletion + */ +@interface GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest : GTLRObject + +/** + * Optional. Checksum used to ensure that the user-provided value is up to date + * before the server processes the request. The server compares provided + * checksum with the current checksum of the resource. If the user-provided + * value is out of date, this request returns an `ABORTED` error. + */ +@property(nonatomic, copy, nullable) NSString *ETag; + +/** + * Optional. 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; + +@end + + /** * Announcement for the resources of Vmware Engine. */ diff --git a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h index 78496596d..1ff9a00b0 100644 --- a/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h +++ b/Sources/GeneratedServices/VMwareEngine/Public/GoogleAPIClientForREST/GTLRVMwareEngineQuery.h @@ -3742,6 +3742,50 @@ NS_ASSUME_NONNULL_BEGIN @end +/** + * Accelerates the deletion of a private cloud that is currently in soft + * deletion A `PrivateCloud` resource in soft deletion has `PrivateCloud.state` + * set to `SOFT_DELETED` and `PrivateCloud.expireTime` set to the time when + * deletion can no longer be reversed. + * + * Method: vmwareengine.projects.locations.privateClouds.privateCloudDeletionNow + * + * Authorization scope(s): + * @c kGTLRAuthScopeVMwareEngineCloudPlatform + */ +@interface GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow : GTLRVMwareEngineQuery + +/** + * Required. The resource name of the private cloud in softdeletion. Resource + * names are schemeless URIs that follow the conventions in + * https://cloud.google.com/apis/design/resource_names. For example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + */ +@property(nonatomic, copy, nullable) NSString *name; + +/** + * Fetches a @c GTLRVMwareEngine_Operation. + * + * Accelerates the deletion of a private cloud that is currently in soft + * deletion A `PrivateCloud` resource in soft deletion has `PrivateCloud.state` + * set to `SOFT_DELETED` and `PrivateCloud.expireTime` set to the time when + * deletion can no longer be reversed. + * + * @param object The @c GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest + * to include in the query. + * @param name Required. The resource name of the private cloud in + * softdeletion. Resource names are schemeless URIs that follow the + * conventions in https://cloud.google.com/apis/design/resource_names. For + * example: + * `projects/my-project/locations/us-central1-a/privateClouds/my-cloud` + * + * @return GTLRVMwareEngineQuery_ProjectsLocationsPrivateCloudsPrivateCloudDeletionNow + */ ++ (instancetype)queryWithObject:(GTLRVMwareEngine_AcceleratePrivateCloudDeletionRequest *)object + name:(NSString *)name; + +@end + /** * Resets credentials of the NSX appliance. * diff --git a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m index 2ee24e31d..65345171e 100644 --- a/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m +++ b/Sources/GeneratedServices/VersionHistory/GTLRVersionHistoryObjects.m @@ -167,7 +167,33 @@ @implementation GTLRVersionHistory_Platform // @implementation GTLRVersionHistory_Release -@dynamic fraction, fractionGroup, name, pinnable, serving, version; +@dynamic fraction, fractionGroup, name, pinnable, rolloutData, serving, version; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"rolloutData" : [GTLRVersionHistory_RolloutData class] + }; + return map; +} + +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRVersionHistory_RolloutData +// + +@implementation GTLRVersionHistory_RolloutData +@dynamic rolloutName, tag; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"tag" : [NSString class] + }; + return map; +} + @end diff --git a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h index a3c7bdb5f..ef08348d6 100644 --- a/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h +++ b/Sources/GeneratedServices/VersionHistory/Public/GoogleAPIClientForREST/GTLRVersionHistoryObjects.h @@ -18,6 +18,7 @@ @class GTLRVersionHistory_Interval; @class GTLRVersionHistory_Platform; @class GTLRVersionHistory_Release; +@class GTLRVersionHistory_RolloutData; @class GTLRVersionHistory_Version; // Generated comments include content from the discovery document; avoid them @@ -441,6 +442,13 @@ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Platform_PlatformType_Win */ @property(nonatomic, strong, nullable) NSNumber *pinnable; +/** + * Rollout-related metadata. Some releases are part of one or more A/B + * rollouts. This field contains the names and data describing this release's + * role in any rollouts. + */ +@property(nonatomic, strong, nullable) NSArray *rolloutData; + /** * Timestamp interval of when the release was live. If end_time is unspecified, * the release is currently live. @@ -453,6 +461,24 @@ FOUNDATION_EXTERN NSString * const kGTLRVersionHistory_Platform_PlatformType_Win @end +/** + * Rollout-related metadata for a release. + */ +@interface GTLRVersionHistory_RolloutData : GTLRObject + +/** The name of the rollout. */ +@property(nonatomic, copy, nullable) NSString *rolloutName; + +/** + * Tags associated with a release's role in a rollout. Most rollouts will have + * at least one release with a "rollout" tag and another release with a + * "control" tag. Some rollouts may have additional named arms. + */ +@property(nonatomic, strong, nullable) NSArray *tag; + +@end + + /** * Each Version is owned by a Channel. A Version only displays the Version * number (e.g. 84.0.4147.38). A Version owns a collection of releases. diff --git a/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h b/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h index fb4588e93..d332689fb 100644 --- a/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h +++ b/Sources/GeneratedServices/Vision/Public/GoogleAPIClientForREST/GTLRVisionObjects.h @@ -5659,8 +5659,7 @@ FOUNDATION_EXTERN NSString * const kGTLRVision_SafeSearchAnnotation_Violence_Ver /** * Model to use for the feature. Supported values: "builtin/stable" (the * default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and - * `TEXT_DETECTION` also support "builtin/weekly" for the bleeding edge release - * updated weekly. + * `TEXT_DETECTION` also support "builtin/rc" for the latest release candidate. */ @property(nonatomic, copy, nullable) NSString *model; diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m index a138e57a3..bded1c760 100644 --- a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m @@ -1663,7 +1663,7 @@ @implementation GTLRWalletobjects_GroupingInfo // @implementation GTLRWalletobjects_Image -@dynamic contentDescription, kind, sourceUri; +@dynamic contentDescription, kind, privateImageId, sourceUri; + (BOOL)isKindValidForClassRegistry { // This class has a "kind" property that doesn't appear to be usable to @@ -2934,6 +2934,25 @@ @implementation GTLRWalletobjects_UpcomingNotification @end +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateImageRequest +// + +@implementation GTLRWalletobjects_UploadPrivateImageRequest +@end + + +// ---------------------------------------------------------------------------- +// +// GTLRWalletobjects_UploadPrivateImageResponse +// + +@implementation GTLRWalletobjects_UploadPrivateImageResponse +@dynamic privateImageId; +@end + + // ---------------------------------------------------------------------------- // // GTLRWalletobjects_Uri diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index 341b7b87e..a1d5f7666 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -6306,7 +6306,17 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri */ @property(nonatomic, copy, nullable) NSString *kind GTLR_DEPRECATED; -/** The URI for the image. */ +/** + * An ID for an already uploaded private image. Either this or source_uri + * should be set. Requests setting both or neither will be rejected. Please + * contact support to use private images. + */ +@property(nonatomic, copy, nullable) NSString *privateImageId; + +/** + * A URI for the image. Either this or private_image_id should be set. Requests + * setting both or neither will be rejected. + */ @property(nonatomic, strong, nullable) GTLRWalletobjects_ImageUri *sourceUri; @end @@ -10340,6 +10350,27 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri @end +/** + * Request to upload a private image to use in a pass. + */ +@interface GTLRWalletobjects_UploadPrivateImageRequest : GTLRObject +@end + + +/** + * Response for uploading the private image. + */ +@interface GTLRWalletobjects_UploadPrivateImageResponse : GTLRObject + +/** + * Unique ID of the uploaded image to be referenced later in + * Image.private_image_id. + */ +@property(nonatomic, copy, nullable) NSString *privateImageId; + +@end + + /** * GTLRWalletobjects_Uri */ diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m index 3f3c44163..45b3bbb85 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerObjects.m @@ -76,19 +76,6 @@ NSString * const kGTLRWorkloadManager_CloudResource_Kind_ResourceKindSubnetwork = @"RESOURCE_KIND_SUBNETWORK"; NSString * const kGTLRWorkloadManager_CloudResource_Kind_ResourceKindUnspecified = @"RESOURCE_KIND_UNSPECIFIED"; -// GTLRWorkloadManager_ComponentHealth.componentHealthType -NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeOptional = @"TYPE_OPTIONAL"; -NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeRequired = @"TYPE_REQUIRED"; -NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeSpecial = @"TYPE_SPECIAL"; -NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeUnspecified = @"TYPE_UNSPECIFIED"; - -// GTLRWorkloadManager_ComponentHealth.state -NSString * const kGTLRWorkloadManager_ComponentHealth_State_Critical = @"CRITICAL"; -NSString * const kGTLRWorkloadManager_ComponentHealth_State_HealthStateUnspecified = @"HEALTH_STATE_UNSPECIFIED"; -NSString * const kGTLRWorkloadManager_ComponentHealth_State_Healthy = @"HEALTHY"; -NSString * const kGTLRWorkloadManager_ComponentHealth_State_Unhealthy = @"UNHEALTHY"; -NSString * const kGTLRWorkloadManager_ComponentHealth_State_Unsupported = @"UNSUPPORTED"; - // GTLRWorkloadManager_DatabaseProperties.databaseType NSString * const kGTLRWorkloadManager_DatabaseProperties_DatabaseType_Ase = @"ASE"; NSString * const kGTLRWorkloadManager_DatabaseProperties_DatabaseType_DatabaseTypeUnspecified = @"DATABASE_TYPE_UNSPECIFIED"; @@ -105,6 +92,11 @@ NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SccIac = @"SCC_IAC"; NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SqlServer = @"SQL_SERVER"; +// GTLRWorkloadManager_Execution.engine +NSString * const kGTLRWorkloadManager_Execution_Engine_EngineScanner = @"ENGINE_SCANNER"; +NSString * const kGTLRWorkloadManager_Execution_Engine_EngineUnspecified = @"ENGINE_UNSPECIFIED"; +NSString * const kGTLRWorkloadManager_Execution_Engine_V2 = @"V2"; + // GTLRWorkloadManager_Execution.runType NSString * const kGTLRWorkloadManager_Execution_RunType_OneTime = @"ONE_TIME"; NSString * const kGTLRWorkloadManager_Execution_RunType_Scheduled = @"SCHEDULED"; @@ -125,14 +117,6 @@ NSString * const kGTLRWorkloadManager_ExternalDataSources_Type_BigQueryTable = @"BIG_QUERY_TABLE"; NSString * const kGTLRWorkloadManager_ExternalDataSources_Type_TypeUnspecified = @"TYPE_UNSPECIFIED"; -// GTLRWorkloadManager_HealthCheck.state -NSString * const kGTLRWorkloadManager_HealthCheck_State_Degraded = @"DEGRADED"; -NSString * const kGTLRWorkloadManager_HealthCheck_State_Failed = @"FAILED"; -NSString * const kGTLRWorkloadManager_HealthCheck_State_Passed = @"PASSED"; -NSString * const kGTLRWorkloadManager_HealthCheck_State_Skipped = @"SKIPPED"; -NSString * const kGTLRWorkloadManager_HealthCheck_State_StateUnspecified = @"STATE_UNSPECIFIED"; -NSString * const kGTLRWorkloadManager_HealthCheck_State_Unsupported = @"UNSUPPORTED"; - // GTLRWorkloadManager_InstanceProperties.roles NSString * const kGTLRWorkloadManager_InstanceProperties_Roles_InstanceRoleAppServer = @"INSTANCE_ROLE_APP_SERVER"; NSString * const kGTLRWorkloadManager_InstanceProperties_Roles_InstanceRoleAscs = @"INSTANCE_ROLE_ASCS"; @@ -235,6 +219,14 @@ NSString * const kGTLRWorkloadManager_SapWorkload_Architecture_StandaloneDatabase = @"STANDALONE_DATABASE"; NSString * const kGTLRWorkloadManager_SapWorkload_Architecture_StandaloneDatabaseHa = @"STANDALONE_DATABASE_HA"; +// GTLRWorkloadManager_ServiceStates.state +NSString * const kGTLRWorkloadManager_ServiceStates_State_ConfigFailure = @"CONFIG_FAILURE"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_Disabled = @"DISABLED"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_Enabled = @"ENABLED"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure = @"FUNCTIONAILITY_FAILURE"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_IamFailure = @"IAM_FAILURE"; +NSString * const kGTLRWorkloadManager_ServiceStates_State_StateUnspecified = @"STATE_UNSPECIFIED"; + // GTLRWorkloadManager_SqlserverValidationValidationDetail.type NSString * const kGTLRWorkloadManager_SqlserverValidationValidationDetail_Type_DbBackupPolicy = @"DB_BACKUP_POLICY"; NSString * const kGTLRWorkloadManager_SqlserverValidationValidationDetail_Type_DbBufferPoolExtension = @"DB_BUFFER_POOL_EXTENSION"; @@ -260,13 +252,6 @@ NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_S4Hana = @"S4_HANA"; NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_WorkloadTypeUnspecified = @"WORKLOAD_TYPE_UNSPECIFIED"; -// GTLRWorkloadManager_WorkloadProfileHealth.state -NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Critical = @"CRITICAL"; -NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_HealthStateUnspecified = @"HEALTH_STATE_UNSPECIFIED"; -NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Healthy = @"HEALTHY"; -NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Unhealthy = @"UNHEALTHY"; -NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Unsupported = @"UNSUPPORTED"; - // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_AgentCommand @@ -291,6 +276,17 @@ + (Class)classForAdditionalProperties { @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_AgentStates +// + +@implementation GTLRWorkloadManager_AgentStates +@dynamic availableVersion, hanaMonitoring, installedVersion, isFullyEnabled, + processMetrics, systemDiscovery; +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_AgentStatus @@ -299,7 +295,7 @@ + (Class)classForAdditionalProperties { @implementation GTLRWorkloadManager_AgentStatus @dynamic agentName, availableVersion, cloudApiAccessFullScopesGranted, configurationErrorMessage, configurationFilePath, configurationValid, - installedVersion, kernelVersion, references, services, + installedVersion, instanceUri, kernelVersion, references, services, systemdServiceEnabled, systemdServiceRunning; + (NSDictionary *)arrayPropertyToClassMap { @@ -419,27 +415,6 @@ @implementation GTLRWorkloadManager_Command @end -// ---------------------------------------------------------------------------- -// -// GTLRWorkloadManager_ComponentHealth -// - -@implementation GTLRWorkloadManager_ComponentHealth -@dynamic component, componentHealthChecks, componentHealthType, isRequired, - state, subComponentHealthes, subComponentsHealth; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"componentHealthChecks" : [GTLRWorkloadManager_HealthCheck class], - @"subComponentHealthes" : [GTLRWorkloadManager_ComponentHealth class], - @"subComponentsHealth" : [GTLRWorkloadManager_ComponentHealth class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_DatabaseProperties @@ -466,8 +441,9 @@ @implementation GTLRWorkloadManager_Empty @implementation GTLRWorkloadManager_Evaluation @dynamic bigQueryDestination, createTime, customRulesBucket, - descriptionProperty, evaluationType, labels, name, resourceFilter, - resourceStatus, ruleNames, ruleVersions, schedule, updateTime; + descriptionProperty, evaluationType, kmsKey, labels, name, + resourceFilter, resourceStatus, ruleNames, ruleVersions, schedule, + updateTime; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"descriptionProperty" : @"description" }; @@ -504,8 +480,9 @@ + (Class)classForAdditionalProperties { // @implementation GTLRWorkloadManager_Execution -@dynamic endTime, evaluationId, externalDataSources, inventoryTime, labels, - name, notices, resultSummary, ruleResults, runType, startTime, state; +@dynamic endTime, engine, evaluationId, externalDataSources, inventoryTime, + labels, name, notices, resultSummary, ruleResults, runType, startTime, + state; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -582,11 +559,11 @@ @implementation GTLRWorkloadManager_GceInstanceFilter // ---------------------------------------------------------------------------- // -// GTLRWorkloadManager_HealthCheck +// GTLRWorkloadManager_IAMPermission // -@implementation GTLRWorkloadManager_HealthCheck -@dynamic message, metric, resource, source, state; +@implementation GTLRWorkloadManager_IAMPermission +@dynamic granted, name; @end @@ -1236,7 +1213,7 @@ @implementation GTLRWorkloadManager_SapDiscoveryWorkloadPropertiesSoftwareCompon // @implementation GTLRWorkloadManager_SapInstanceProperties -@dynamic numbers; +@dynamic agentStates, numbers; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @@ -1336,6 +1313,24 @@ @implementation GTLRWorkloadManager_ScannedResource @end +// ---------------------------------------------------------------------------- +// +// GTLRWorkloadManager_ServiceStates +// + +@implementation GTLRWorkloadManager_ServiceStates +@dynamic iamPermissions, state; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"iamPermissions" : [GTLRWorkloadManager_IAMPermission class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_ShellCommand @@ -1530,25 +1525,6 @@ + (Class)classForAdditionalProperties { @end -// ---------------------------------------------------------------------------- -// -// GTLRWorkloadManager_WorkloadProfileHealth -// - -@implementation GTLRWorkloadManager_WorkloadProfileHealth -@dynamic checkTime, componentHealthes, componentsHealth, state; - -+ (NSDictionary *)arrayPropertyToClassMap { - NSDictionary *map = @{ - @"componentHealthes" : [GTLRWorkloadManager_ComponentHealth class], - @"componentsHealth" : [GTLRWorkloadManager_ComponentHealth class] - }; - return map; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRWorkloadManager_WriteInsightRequest diff --git a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerQuery.m b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerQuery.m index bdf47c151..04bfde3e9 100644 --- a/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerQuery.m +++ b/Sources/GeneratedServices/WorkloadManager/GTLRWorkloadManagerQuery.m @@ -32,44 +32,6 @@ @implementation GTLRWorkloadManagerQuery @end -@implementation GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRWorkloadManager_WorkloadProfile class]; - query.loggingName = @"workloadmanager.projects.locations.discoveredprofiles.get"; - return query; -} - -@end - -@implementation GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesHealthesGet - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesHealthesGet *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:nil - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRWorkloadManager_WorkloadProfileHealth class]; - query.loggingName = @"workloadmanager.projects.locations.discoveredprofiles.healthes.get"; - return query; -} - -@end - @implementation GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesList @dynamic filter, pageSize, pageToken, parent; diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h index c08a7d4ea..3a582e645 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerObjects.h @@ -18,6 +18,7 @@ @class GTLRWorkloadManager_AgentCommand; @class GTLRWorkloadManager_AgentCommand_Parameters; +@class GTLRWorkloadManager_AgentStates; @class GTLRWorkloadManager_AgentStatus; @class GTLRWorkloadManager_AgentStatusConfigValue; @class GTLRWorkloadManager_AgentStatusIAMPermission; @@ -27,7 +28,6 @@ @class GTLRWorkloadManager_BigQueryDestination; @class GTLRWorkloadManager_CloudResource; @class GTLRWorkloadManager_Command; -@class GTLRWorkloadManager_ComponentHealth; @class GTLRWorkloadManager_DatabaseProperties; @class GTLRWorkloadManager_Evaluation; @class GTLRWorkloadManager_Evaluation_Labels; @@ -36,7 +36,7 @@ @class GTLRWorkloadManager_ExecutionResult; @class GTLRWorkloadManager_ExternalDataSources; @class GTLRWorkloadManager_GceInstanceFilter; -@class GTLRWorkloadManager_HealthCheck; +@class GTLRWorkloadManager_IAMPermission; @class GTLRWorkloadManager_Insight; @class GTLRWorkloadManager_InstanceProperties; @class GTLRWorkloadManager_Location; @@ -76,6 +76,7 @@ @class GTLRWorkloadManager_SapWorkload; @class GTLRWorkloadManager_SapWorkload_Metadata; @class GTLRWorkloadManager_ScannedResource; +@class GTLRWorkloadManager_ServiceStates; @class GTLRWorkloadManager_ShellCommand; @class GTLRWorkloadManager_SqlserverValidation; @class GTLRWorkloadManager_SqlserverValidationDetails; @@ -396,68 +397,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_CloudResource_Kind_Resou */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_CloudResource_Kind_ResourceKindUnspecified; -// ---------------------------------------------------------------------------- -// GTLRWorkloadManager_ComponentHealth.componentHealthType - -/** - * optional - * - * Value: "TYPE_OPTIONAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeOptional; -/** - * required - * - * Value: "TYPE_REQUIRED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeRequired; -/** - * special - * - * Value: "TYPE_SPECIAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeSpecial; -/** - * Unspecified - * - * Value: "TYPE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeUnspecified; - -// ---------------------------------------------------------------------------- -// GTLRWorkloadManager_ComponentHealth.state - -/** - * has critical issues - * - * Value: "CRITICAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_State_Critical; -/** - * Unspecified - * - * Value: "HEALTH_STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_State_HealthStateUnspecified; -/** - * healthy workload - * - * Value: "HEALTHY" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_State_Healthy; -/** - * unhealthy workload - * - * Value: "UNHEALTHY" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_State_Unhealthy; -/** - * unsupported - * - * Value: "UNSUPPORTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ComponentHealth_State_Unsupported; - // ---------------------------------------------------------------------------- // GTLRWorkloadManager_DatabaseProperties.databaseType @@ -526,11 +465,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationTyp */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_Sap; /** - * SCC IaC (Infra as Code) best practices + * SCC IaC (Infra as Code) best practices. * * Value: "SCC_IAC" */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SccIac; +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SccIac GTLR_DEPRECATED; /** * SQL best practices * @@ -538,6 +477,28 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationTyp */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Evaluation_EvaluationType_SqlServer; +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_Execution.engine + +/** + * SlimCG / Scanner + * + * Value: "ENGINE_SCANNER" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Execution_Engine_EngineScanner; +/** + * The original CG + * + * Value: "ENGINE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Execution_Engine_EngineUnspecified; +/** + * Evaluation Engine V2 + * + * Value: "V2" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_Execution_Engine_V2; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_Execution.runType @@ -626,46 +587,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ExternalDataSources_Type */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ExternalDataSources_Type_TypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRWorkloadManager_HealthCheck.state - -/** - * degraded - * - * Value: "DEGRADED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_Degraded; -/** - * failed - * - * Value: "FAILED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_Failed; -/** - * passed - * - * Value: "PASSED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_Passed; -/** - * skipped - * - * Value: "SKIPPED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_Skipped; -/** - * Unspecified - * - * Value: "STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_StateUnspecified; -/** - * unsupported - * - * Value: "UNSUPPORTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_HealthCheck_State_Unsupported; - // ---------------------------------------------------------------------------- // GTLRWorkloadManager_InstanceProperties.roles @@ -1192,6 +1113,46 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SapWorkload_Architecture */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_SapWorkload_Architecture_StandaloneDatabaseHa; +// ---------------------------------------------------------------------------- +// GTLRWorkloadManager_ServiceStates.state + +/** + * The state means the service has config errors. + * + * Value: "CONFIG_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_ConfigFailure; +/** + * The state means the service disabled. + * + * Value: "DISABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_Disabled; +/** + * The state means the service has no error. + * + * Value: "ENABLED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_Enabled; +/** + * The state means the service has functionality errors. + * + * Value: "FUNCTIONAILITY_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure; +/** + * The state means the service has IAM permission errors. + * + * Value: "IAM_FAILURE" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_IamFailure; +/** + * The state is unspecified. + * + * Value: "STATE_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_ServiceStates_State_StateUnspecified; + // ---------------------------------------------------------------------------- // GTLRWorkloadManager_SqlserverValidationValidationDetail.type @@ -1318,40 +1279,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_Workload */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfile_WorkloadType_WorkloadTypeUnspecified; -// ---------------------------------------------------------------------------- -// GTLRWorkloadManager_WorkloadProfileHealth.state - -/** - * has critical issues - * - * Value: "CRITICAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Critical; -/** - * Unspecified - * - * Value: "HEALTH_STATE_UNSPECIFIED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_HealthStateUnspecified; -/** - * healthy workload - * - * Value: "HEALTHY" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Healthy; -/** - * unhealthy workload - * - * Value: "UNHEALTHY" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Unhealthy; -/** - * unsupported - * - * Value: "UNSUPPORTED" - */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_State_Unsupported; - /** * * An AgentCommand specifies a one-time executable program for the agent to * run. @@ -1385,6 +1312,37 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end +/** + * Agent status. + */ +@interface GTLRWorkloadManager_AgentStates : GTLRObject + +/** Optional. The available version of the agent in artifact registry. */ +@property(nonatomic, copy, nullable) NSString *availableVersion; + +/** Optional. HANA monitoring metrics of the agent. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_ServiceStates *hanaMonitoring; + +/** Optional. The installed version of the agent on the host. */ +@property(nonatomic, copy, nullable) NSString *installedVersion; + +/** + * Optional. Whether the agent is fully enabled. If false, the agent is has + * some issues. + * + * Uses NSNumber of boolValue. + */ +@property(nonatomic, strong, nullable) NSNumber *isFullyEnabled; + +/** Optional. The Process metrics of the agent. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_ServiceStates *processMetrics; + +/** Optional. The System discovery metrics of the agent. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_ServiceStates *systemDiscovery; + +@end + + /** * The schema of agent status data. */ @@ -1443,6 +1401,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St /** Output only. The installed version of the agent on the host. */ @property(nonatomic, copy, nullable) NSString *installedVersion; +/** + * Output only. The URI of the instance. Format: projects//zones//instances/ + */ +@property(nonatomic, copy, nullable) NSString *instanceUri; + /** Output only. The kernel version of the system. */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_SapDiscoveryResourceInstancePropertiesKernelVersion *kernelVersion; @@ -1740,64 +1703,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end -/** - * HealthCondition contains the detailed health check of each component. - */ -@interface GTLRWorkloadManager_ComponentHealth : GTLRObject - -/** The component of a workload. */ -@property(nonatomic, copy, nullable) NSString *component; - -/** The detailed health checks of the component. */ -@property(nonatomic, strong, nullable) NSArray *componentHealthChecks; - -/** - * Output only. The type of the component health. - * - * Likely values: - * @arg @c kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeOptional - * optional (Value: "TYPE_OPTIONAL") - * @arg @c kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeRequired - * required (Value: "TYPE_REQUIRED") - * @arg @c kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeSpecial - * special (Value: "TYPE_SPECIAL") - * @arg @c kGTLRWorkloadManager_ComponentHealth_ComponentHealthType_TypeUnspecified - * Unspecified (Value: "TYPE_UNSPECIFIED") - */ -@property(nonatomic, copy, nullable) NSString *componentHealthType; - -/** - * Output only. The requirement of the component. - * - * Uses NSNumber of boolValue. - */ -@property(nonatomic, strong, nullable) NSNumber *isRequired; - -/** - * Output only. The health state of the component. - * - * Likely values: - * @arg @c kGTLRWorkloadManager_ComponentHealth_State_Critical has critical - * issues (Value: "CRITICAL") - * @arg @c kGTLRWorkloadManager_ComponentHealth_State_HealthStateUnspecified - * Unspecified (Value: "HEALTH_STATE_UNSPECIFIED") - * @arg @c kGTLRWorkloadManager_ComponentHealth_State_Healthy healthy - * workload (Value: "HEALTHY") - * @arg @c kGTLRWorkloadManager_ComponentHealth_State_Unhealthy unhealthy - * workload (Value: "UNHEALTHY") - * @arg @c kGTLRWorkloadManager_ComponentHealth_State_Unsupported unsupported - * (Value: "UNSUPPORTED") - */ -@property(nonatomic, copy, nullable) NSString *state; - -@property(nonatomic, strong, nullable) NSArray *subComponentHealthes GTLR_DEPRECATED; - -/** Sub component health. */ -@property(nonatomic, strong, nullable) NSArray *subComponentsHealth; - -@end - - /** * Database Properties. */ @@ -1872,12 +1777,18 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St * @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") + * (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; +/** + * Optional. Immutable. Customer-managed encryption key name, in the format + * projects/ * /locations/ * /keyRings/ * /cryptoKeys/ *. + */ +@property(nonatomic, copy, nullable) NSString *kmsKey; + /** Labels as key value pairs */ @property(nonatomic, strong, nullable) GTLRWorkloadManager_Evaluation_Labels *labels; @@ -1932,6 +1843,19 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St /** Output only. [Output only] End time stamp */ @property(nonatomic, strong, nullable) GTLRDateTime *endTime; +/** + * Optional. Engine + * + * Likely values: + * @arg @c kGTLRWorkloadManager_Execution_Engine_EngineScanner SlimCG / + * Scanner (Value: "ENGINE_SCANNER") + * @arg @c kGTLRWorkloadManager_Execution_Engine_EngineUnspecified The + * original CG (Value: "ENGINE_UNSPECIFIED") + * @arg @c kGTLRWorkloadManager_Execution_Engine_V2 Evaluation Engine V2 + * (Value: "V2") + */ +@property(nonatomic, copy, nullable) NSString *engine; + /** Output only. [Output only] Evaluation ID */ @property(nonatomic, copy, nullable) NSString *evaluationId; @@ -2098,41 +2022,19 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St /** - * HealthCheck contains the detailed health check of a component based on - * asource. + * The IAM permission status. */ -@interface GTLRWorkloadManager_HealthCheck : GTLRObject - -/** Output only. The message of the health check. */ -@property(nonatomic, copy, nullable) NSString *message; - -/** Output only. The health check source metric name. */ -@property(nonatomic, copy, nullable) NSString *metric; - -/** Output only. The resource the check performs on. */ -@property(nonatomic, strong, nullable) GTLRWorkloadManager_CloudResource *resource; - -/** Output only. The source of the health check. */ -@property(nonatomic, copy, nullable) NSString *source; +@interface GTLRWorkloadManager_IAMPermission : GTLRObject /** - * Output only. The state of the health check. + * Output only. Whether the permission is granted. * - * Likely values: - * @arg @c kGTLRWorkloadManager_HealthCheck_State_Degraded degraded (Value: - * "DEGRADED") - * @arg @c kGTLRWorkloadManager_HealthCheck_State_Failed failed (Value: - * "FAILED") - * @arg @c kGTLRWorkloadManager_HealthCheck_State_Passed passed (Value: - * "PASSED") - * @arg @c kGTLRWorkloadManager_HealthCheck_State_Skipped skipped (Value: - * "SKIPPED") - * @arg @c kGTLRWorkloadManager_HealthCheck_State_StateUnspecified - * Unspecified (Value: "STATE_UNSPECIFIED") - * @arg @c kGTLRWorkloadManager_HealthCheck_State_Unsupported unsupported - * (Value: "UNSUPPORTED") + * Uses NSNumber of boolValue. */ -@property(nonatomic, copy, nullable) NSString *state; +@property(nonatomic, strong, nullable) NSNumber *granted; + +/** Output only. The name of the permission. */ +@property(nonatomic, copy, nullable) NSString *name; @end @@ -3393,6 +3295,9 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St */ @interface GTLRWorkloadManager_SapInstanceProperties : GTLRObject +/** Optional. Sap Instance Agent status. */ +@property(nonatomic, strong, nullable) GTLRWorkloadManager_AgentStates *agentStates; + /** Optional. SAP Instance numbers. They are from '00' to '99'. */ @property(nonatomic, strong, nullable) NSArray *numbers; @@ -3557,6 +3462,37 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end +/** + * The state of the service. + */ +@interface GTLRWorkloadManager_ServiceStates : GTLRObject + +/** Optional. Output only. The IAM permissions for the service. */ +@property(nonatomic, strong, nullable) NSArray *iamPermissions; + +/** + * Output only. The overall state of the service. + * + * Likely values: + * @arg @c kGTLRWorkloadManager_ServiceStates_State_ConfigFailure The state + * means the service has config errors. (Value: "CONFIG_FAILURE") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_Disabled The state means + * the service disabled. (Value: "DISABLED") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_Enabled The state means + * the service has no error. (Value: "ENABLED") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_FunctionailityFailure The + * state means the service has functionality errors. (Value: + * "FUNCTIONAILITY_FAILURE") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_IamFailure The state + * means the service has IAM permission errors. (Value: "IAM_FAILURE") + * @arg @c kGTLRWorkloadManager_ServiceStates_State_StateUnspecified The + * state is unspecified. (Value: "STATE_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *state; + +@end + + /** * * A ShellCommand is invoked via the agent's command line executor */ @@ -3916,39 +3852,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManager_WorkloadProfileHealth_St @end -/** - * WorkloadProfileHealth contains the detailed health check of workload. - */ -@interface GTLRWorkloadManager_WorkloadProfileHealth : GTLRObject - -/** The time when the health check was performed. */ -@property(nonatomic, strong, nullable) GTLRDateTime *checkTime; - -@property(nonatomic, strong, nullable) NSArray *componentHealthes GTLR_DEPRECATED; - -/** The detailed condition reports of each component. */ -@property(nonatomic, strong, nullable) NSArray *componentsHealth; - -/** - * Output only. The health state of the workload. - * - * Likely values: - * @arg @c kGTLRWorkloadManager_WorkloadProfileHealth_State_Critical has - * critical issues (Value: "CRITICAL") - * @arg @c kGTLRWorkloadManager_WorkloadProfileHealth_State_HealthStateUnspecified - * Unspecified (Value: "HEALTH_STATE_UNSPECIFIED") - * @arg @c kGTLRWorkloadManager_WorkloadProfileHealth_State_Healthy healthy - * workload (Value: "HEALTHY") - * @arg @c kGTLRWorkloadManager_WorkloadProfileHealth_State_Unhealthy - * unhealthy workload (Value: "UNHEALTHY") - * @arg @c kGTLRWorkloadManager_WorkloadProfileHealth_State_Unsupported - * unsupported (Value: "UNSUPPORTED") - */ -@property(nonatomic, copy, nullable) NSString *state; - -@end - - /** * Request for sending the data insights. */ diff --git a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h index c4f637b2b..37030526c 100644 --- a/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h +++ b/Sources/GeneratedServices/WorkloadManager/Public/GoogleAPIClientForREST/GTLRWorkloadManagerQuery.h @@ -50,11 +50,11 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManagerEvaluationTypeOther; */ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManagerEvaluationTypeSap; /** - * SCC IaC (Infra as Code) best practices + * SCC IaC (Infra as Code) best practices. * * Value: "SCC_IAC" */ -FOUNDATION_EXTERN NSString * const kGTLRWorkloadManagerEvaluationTypeSccIac; +FOUNDATION_EXTERN NSString * const kGTLRWorkloadManagerEvaluationTypeSccIac GTLR_DEPRECATED; /** * SQL best practices * @@ -76,58 +76,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManagerEvaluationTypeSqlServer; @end -/** - * Gets details of a discovered workload profile. - * - * Method: workloadmanager.projects.locations.discoveredprofiles.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeWorkloadManagerCloudPlatform - */ -@interface GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesGet : GTLRWorkloadManagerQuery - -/** Required. Name of the resource */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRWorkloadManager_WorkloadProfile. - * - * Gets details of a discovered workload profile. - * - * @param name Required. Name of the resource - * - * @return GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - -/** - * Get the health of a discovered workload profile. - * - * Method: workloadmanager.projects.locations.discoveredprofiles.healthes.get - * - * Authorization scope(s): - * @c kGTLRAuthScopeWorkloadManagerCloudPlatform - */ -@interface GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesHealthesGet : GTLRWorkloadManagerQuery - -/** Required. The resource name */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRWorkloadManager_WorkloadProfileHealth. - * - * Get the health of a discovered workload profile. - * - * @param name Required. The resource name - * - * @return GTLRWorkloadManagerQuery_ProjectsLocationsDiscoveredprofilesHealthesGet - */ -+ (instancetype)queryWithName:(NSString *)name; - -@end - /** * List discovered workload profiles * @@ -922,7 +870,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkloadManagerEvaluationTypeSqlServer; * @arg @c kGTLRWorkloadManagerEvaluationTypeOther Customized best practices * (Value: "OTHER") * @arg @c kGTLRWorkloadManagerEvaluationTypeSccIac SCC IaC (Infra as Code) - * best practices (Value: "SCC_IAC") + * best practices. (Value: "SCC_IAC") */ @property(nonatomic, copy, nullable) NSString *evaluationType; diff --git a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h index 4673c56fd..123803f0f 100644 --- a/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h +++ b/Sources/GeneratedServices/WorkspaceEvents/Public/GoogleAPIClientForREST/GTLRWorkspaceEventsObjects.h @@ -159,7 +159,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkspaceEvents_Subscription_SuspensionR * Immutable. The Pub/Sub topic that receives events for the subscription. * Format: `projects/{project}/topics/{topic}` You must create the topic in the * same Google Cloud project where you create this subscription. Note: The - * Workspace Events API uses [ordering + * Google Workspace Events API uses [ordering * keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of * sequential events. If the Cloud Pub/Sub topic has a [message storage * policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions) @@ -256,7 +256,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkspaceEvents_Subscription_SuspensionR /** * Options about what data to include in the event payload. Only supported for - * Google Chat events. + * Google Chat and Google Drive events. */ @interface GTLRWorkspaceEvents_PayloadOptions : GTLRObject @@ -399,7 +399,7 @@ FOUNDATION_EXTERN NSString * const kGTLRWorkspaceEvents_Subscription_SuspensionR /** * Optional. Options about what data to include in the event payload. Only - * supported for Google Chat events. + * supported for Google Chat and Google Drive events. */ @property(nonatomic, strong, nullable) GTLRWorkspaceEvents_PayloadOptions *payloadOptions; diff --git a/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m index 8808c360d..40fd5b788 100644 --- a/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m +++ b/Sources/GeneratedServices/YouTube/GTLRYouTubeQuery.m @@ -2473,6 +2473,30 @@ + (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/GTLRYouTubeQuery.h b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h index 2bc4cd0f2..c2df8ecde 100644 --- a/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h +++ b/Sources/GeneratedServices/YouTube/Public/GoogleAPIClientForREST/GTLRYouTubeQuery.h @@ -5781,6 +5781,73 @@ 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. *