From de69487ffc9d210231f74afaeeef5c5af5ac397a Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Mon, 5 Feb 2024 17:04:40 -0500 Subject: [PATCH] Generate current sources --- .../GTLRAndroidManagementObjects.m | 33 +- .../GTLRAndroidManagementQuery.m | 19 -- .../GTLRAndroidManagementObjects.h | 282 ++++++++++++++++-- .../GTLRAndroidManagementQuery.h | 32 -- .../GTLRCertificateAuthorityServiceObjects.h | 6 +- .../GTLRDataPortabilityService.m | 8 + .../GTLRDataPortabilityQuery.h | 32 ++ .../GTLRDataPortabilityService.h | 85 ++++-- .../Datastore/GTLRDatastoreObjects.m | 66 +--- .../GTLRDatastoreObjects.h | 165 ---------- .../Dfareporting/GTLRDfareportingObjects.m | 42 ++- .../GTLRDfareportingObjects.h | 66 +++- .../Firestore/GTLRFirestoreObjects.m | 67 +---- .../GTLRFirestoreObjects.h | 167 ----------- .../Storage/GTLRStorageObjects.m | 18 +- .../GTLRStorageObjects.h | 16 - .../Walletobjects/GTLRWalletobjectsObjects.m | 18 -- .../Walletobjects/GTLRWalletobjectsQuery.m | 22 -- .../GTLRWalletobjectsObjects.h | 16 - .../GTLRWalletobjectsQuery.h | 28 -- ...erateCheckedInServices-message_filter.json | 3 - 21 files changed, 514 insertions(+), 677 deletions(-) diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m index ebc47b8a3..46ee96273 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m @@ -297,6 +297,21 @@ NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_StatusReport = @"STATUS_REPORT"; NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_UsageLogs = @"USAGE_LOGS"; +// GTLRAndroidManagement_InstallConstraint.chargingConstraint +NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingConstraintUnspecified = @"CHARGING_CONSTRAINT_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingNotRequired = @"CHARGING_NOT_REQUIRED"; +NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_InstallOnlyWhenCharging = @"INSTALL_ONLY_WHEN_CHARGING"; + +// GTLRAndroidManagement_InstallConstraint.deviceIdleConstraint +NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleConstraintUnspecified = @"DEVICE_IDLE_CONSTRAINT_UNSPECIFIED"; +NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleNotRequired = @"DEVICE_IDLE_NOT_REQUIRED"; +NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_InstallOnlyWhenDeviceIdle = @"INSTALL_ONLY_WHEN_DEVICE_IDLE"; + +// GTLRAndroidManagement_InstallConstraint.networkTypeConstraint +NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnAnyNetwork = @"INSTALL_ON_ANY_NETWORK"; +NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnlyOnUnmeteredNetwork = @"INSTALL_ONLY_ON_UNMETERED_NETWORK"; +NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_NetworkTypeConstraintUnspecified = @"NETWORK_TYPE_CONSTRAINT_UNSPECIFIED"; + // GTLRAndroidManagement_KeyedAppState.severity NSString * const kGTLRAndroidManagement_KeyedAppState_Severity_Error = @"ERROR"; NSString * const kGTLRAndroidManagement_KeyedAppState_Severity_Info = @"INFO"; @@ -813,14 +828,16 @@ @implementation GTLRAndroidManagement_ApplicationPermission @implementation GTLRAndroidManagement_ApplicationPolicy @dynamic accessibleTrackIds, alwaysOnVpnLockdownExemption, autoUpdateMode, connectedWorkAndPersonalApp, defaultPermissionPolicy, delegatedScopes, - disabled, extensionConfig, installType, lockTaskAllowed, - managedConfiguration, managedConfigurationTemplate, minimumVersionCode, - packageName, permissionGrants, workProfileWidgets; + disabled, extensionConfig, installConstraint, installPriority, + installType, lockTaskAllowed, managedConfiguration, + managedConfigurationTemplate, minimumVersionCode, packageName, + permissionGrants, workProfileWidgets; + (NSDictionary *)arrayPropertyToClassMap { NSDictionary *map = @{ @"accessibleTrackIds" : [NSString class], @"delegatedScopes" : [NSString class], + @"installConstraint" : [GTLRAndroidManagement_InstallConstraint class], @"permissionGrants" : [GTLRAndroidManagement_PermissionGrant class] }; return map; @@ -1452,6 +1469,16 @@ @implementation GTLRAndroidManagement_HardwareStatus @end +// ---------------------------------------------------------------------------- +// +// GTLRAndroidManagement_InstallConstraint +// + +@implementation GTLRAndroidManagement_InstallConstraint +@dynamic chargingConstraint, deviceIdleConstraint, networkTypeConstraint; +@end + + // ---------------------------------------------------------------------------- // // GTLRAndroidManagement_IssueCommandResponse diff --git a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m index f90156669..715104fae 100644 --- a/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m +++ b/Sources/GeneratedServices/AndroidManagement/GTLRAndroidManagementQuery.m @@ -205,25 +205,6 @@ + (instancetype)queryWithName:(NSString *)name { @end -@implementation GTLRAndroidManagementQuery_EnterprisesDevicesOperationsDelete - -@dynamic name; - -+ (instancetype)queryWithName:(NSString *)name { - NSArray *pathParams = @[ @"name" ]; - NSString *pathURITemplate = @"v1/{+name}"; - GTLRAndroidManagementQuery_EnterprisesDevicesOperationsDelete *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"DELETE" - pathParameterNames:pathParams]; - query.name = name; - query.expectedObjectClass = [GTLRAndroidManagement_Empty class]; - query.loggingName = @"androidmanagement.enterprises.devices.operations.delete"; - return query; -} - -@end - @implementation GTLRAndroidManagementQuery_EnterprisesDevicesOperationsGet @dynamic name; diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h index 4108ccc88..f69e8d978 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementObjects.h @@ -64,6 +64,7 @@ @class GTLRAndroidManagement_FreezePeriod; @class GTLRAndroidManagement_HardwareInfo; @class GTLRAndroidManagement_HardwareStatus; +@class GTLRAndroidManagement_InstallConstraint; @class GTLRAndroidManagement_KeyDestructionEvent; @class GTLRAndroidManagement_KeyedAppState; @class GTLRAndroidManagement_KeyGeneratedEvent; @@ -516,7 +517,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_Conn */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_DefaultPermissionPolicy_Deny; /** - * Automatically grant a permission. + * Automatically grant a permission.On Android 12 and above, + * Manifest.permission.READ_SMS + * (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) + * and following sensor-related permissions can only be granted on fully + * managed devices: Manifest.permission.ACCESS_FINE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) + * Manifest.permission.ACCESS_BACKGROUND_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) + * Manifest.permission.ACCESS_COARSE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) + * Manifest.permission.CAMERA + * (https://developer.android.com/reference/android/Manifest.permission#CAMERA) + * Manifest.permission.RECORD_AUDIO + * (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) + * Manifest.permission.ACTIVITY_RECOGNITION + * (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) + * Manifest.permission.BODY_SENSORS + * (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS) * * Value: "GRANT" */ @@ -1667,6 +1685,73 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Enterprise_EnabledNoti */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Enterprise_EnabledNotificationTypes_UsageLogs; +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_InstallConstraint.chargingConstraint + +/** + * Unspecified. Default to CHARGING_NOT_REQUIRED. + * + * Value: "CHARGING_CONSTRAINT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingConstraintUnspecified; +/** + * Device doesn't have to be charging. + * + * Value: "CHARGING_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingNotRequired; +/** + * Device has to be charging. + * + * Value: "INSTALL_ONLY_WHEN_CHARGING" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_InstallOnlyWhenCharging; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_InstallConstraint.deviceIdleConstraint + +/** + * Unspecified. Default to DEVICE_IDLE_NOT_REQUIRED. + * + * Value: "DEVICE_IDLE_CONSTRAINT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleConstraintUnspecified; +/** + * Device doesn't have to be idle, app can be installed while the user is + * interacting with the device. + * + * Value: "DEVICE_IDLE_NOT_REQUIRED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleNotRequired; +/** + * Device has to be idle. + * + * Value: "INSTALL_ONLY_WHEN_DEVICE_IDLE" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_InstallOnlyWhenDeviceIdle; + +// ---------------------------------------------------------------------------- +// GTLRAndroidManagement_InstallConstraint.networkTypeConstraint + +/** + * Any active networks (Wi-Fi, cellular, etc.). + * + * Value: "INSTALL_ON_ANY_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnAnyNetwork; +/** + * Any unmetered network (e.g. Wi-FI). + * + * Value: "INSTALL_ONLY_ON_UNMETERED_NETWORK" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnlyOnUnmeteredNetwork; +/** + * Unspecified. Default to INSTALL_ON_ANY_NETWORK. + * + * Value: "NETWORK_TYPE_CONSTRAINT_UNSPECIFIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_NetworkTypeConstraintUnspecified; + // ---------------------------------------------------------------------------- // GTLRAndroidManagement_KeyedAppState.severity @@ -2584,7 +2669,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PerAppResult_ClearingR */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_PermissionGrant_Policy_Deny; /** - * Automatically grant a permission. + * Automatically grant a permission.On Android 12 and above, + * Manifest.permission.READ_SMS + * (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) + * and following sensor-related permissions can only be granted on fully + * managed devices: Manifest.permission.ACCESS_FINE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) + * Manifest.permission.ACCESS_BACKGROUND_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) + * Manifest.permission.ACCESS_COARSE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) + * Manifest.permission.CAMERA + * (https://developer.android.com/reference/android/Manifest.permission#CAMERA) + * Manifest.permission.RECORD_AUDIO + * (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) + * Manifest.permission.ACTIVITY_RECOGNITION + * (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) + * Manifest.permission.BODY_SENSORS + * (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS) * * Value: "GRANT" */ @@ -2786,7 +2888,24 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_CameraAccess_Ca */ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_Policy_DefaultPermissionPolicy_Deny; /** - * Automatically grant a permission. + * Automatically grant a permission.On Android 12 and above, + * Manifest.permission.READ_SMS + * (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) + * and following sensor-related permissions can only be granted on fully + * managed devices: Manifest.permission.ACCESS_FINE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) + * Manifest.permission.ACCESS_BACKGROUND_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) + * Manifest.permission.ACCESS_COARSE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) + * Manifest.permission.CAMERA + * (https://developer.android.com/reference/android/Manifest.permission#CAMERA) + * Manifest.permission.RECORD_AUDIO + * (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) + * Manifest.permission.ACTIVITY_RECOGNITION + * (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) + * Manifest.permission.BODY_SENSORS + * (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS) * * Value: "GRANT" */ @@ -3793,9 +3912,7 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_W /** - * Security policies set to secure values by default. To maintain the security - * posture of a device, we don't recommend overriding any of the default - * values. + * Advanced security settings. In most cases, setting these is not needed. */ @interface GTLRAndroidManagement_AdvancedSecurityOverrides : GTLRObject @@ -4234,7 +4351,25 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_ApplicationPolicy_DefaultPermissionPolicy_Deny * Automatically deny a permission. (Value: "DENY") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_DefaultPermissionPolicy_Grant - * Automatically grant a permission. (Value: "GRANT") + * Automatically grant a permission.On Android 12 and above, + * Manifest.permission.READ_SMS + * (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) + * and following sensor-related permissions can only be granted on fully + * managed devices: Manifest.permission.ACCESS_FINE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) + * Manifest.permission.ACCESS_BACKGROUND_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) + * Manifest.permission.ACCESS_COARSE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) + * Manifest.permission.CAMERA + * (https://developer.android.com/reference/android/Manifest.permission#CAMERA) + * Manifest.permission.RECORD_AUDIO + * (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) + * Manifest.permission.ACTIVITY_RECOGNITION + * (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) + * Manifest.permission.BODY_SENSORS + * (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS) + * (Value: "GRANT") * @arg @c kGTLRAndroidManagement_ApplicationPolicy_DefaultPermissionPolicy_PermissionPolicyUnspecified * Policy not specified. If no policy is specified for a permission at * any level, then the PROMPT behavior is used by default. (Value: @@ -4264,6 +4399,23 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAndroidManagement_ExtensionConfig *extensionConfig; +/** + * Optional. The constraints for installing the app. You can specify a maximum + * of one InstallConstraint. Multiple constraints are rejected. + */ +@property(nonatomic, strong, nullable) NSArray *installConstraint; + +/** + * Optional. Amongst apps with installTypeset to:FORCE_INSTALLEDPREINSTALLED + * this controls the relative priority of installation. A value of 0 (default) + * means this app has no priority over other apps. For values between 1 and + * 10,000, a lower value means a higher priority. Values outside of the range 0 + * to 10,000 inclusive are rejected. + * + * Uses NSNumber of intValue. + */ +@property(nonatomic, strong, nullable) NSNumber *installPriority; + /** * The type of installation to perform. * @@ -5471,7 +5623,8 @@ GTLR_DEPRECATED /** * Events related to memory and storage measurements in chronological order. * This information is only available if memoryInfoEnabled is true in the - * device's policy. + * device's policy.Events are retained for a certain period of time and old + * events are deleted. */ @property(nonatomic, strong, nullable) NSArray *memoryEvents; @@ -6491,6 +6644,62 @@ GTLR_DEPRECATED @end +/** + * Amongst apps with InstallTypeset to:FORCE_INSTALLEDPREINSTALLED this defines + * a set of restrictions for the app installation. At least one of the fields + * must be set. When multiple fields are set, then all the constraints need to + * be satisfied for the app to be installed. + */ +@interface GTLRAndroidManagement_InstallConstraint : GTLRObject + +/** + * Optional. Charging constraint. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingConstraintUnspecified + * Unspecified. Default to CHARGING_NOT_REQUIRED. (Value: + * "CHARGING_CONSTRAINT_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_ChargingNotRequired + * Device doesn't have to be charging. (Value: "CHARGING_NOT_REQUIRED") + * @arg @c kGTLRAndroidManagement_InstallConstraint_ChargingConstraint_InstallOnlyWhenCharging + * Device has to be charging. (Value: "INSTALL_ONLY_WHEN_CHARGING") + */ +@property(nonatomic, copy, nullable) NSString *chargingConstraint; + +/** + * Optional. Device idle constraint. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleConstraintUnspecified + * Unspecified. Default to DEVICE_IDLE_NOT_REQUIRED. (Value: + * "DEVICE_IDLE_CONSTRAINT_UNSPECIFIED") + * @arg @c kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_DeviceIdleNotRequired + * Device doesn't have to be idle, app can be installed while the user is + * interacting with the device. (Value: "DEVICE_IDLE_NOT_REQUIRED") + * @arg @c kGTLRAndroidManagement_InstallConstraint_DeviceIdleConstraint_InstallOnlyWhenDeviceIdle + * Device has to be idle. (Value: "INSTALL_ONLY_WHEN_DEVICE_IDLE") + */ +@property(nonatomic, copy, nullable) NSString *deviceIdleConstraint; + +/** + * Optional. Network type constraint. + * + * Likely values: + * @arg @c kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnAnyNetwork + * Any active networks (Wi-Fi, cellular, etc.). (Value: + * "INSTALL_ON_ANY_NETWORK") + * @arg @c kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_InstallOnlyOnUnmeteredNetwork + * Any unmetered network (e.g. Wi-FI). (Value: + * "INSTALL_ONLY_ON_UNMETERED_NETWORK") + * @arg @c kGTLRAndroidManagement_InstallConstraint_NetworkTypeConstraint_NetworkTypeConstraintUnspecified + * Unspecified. Default to INSTALL_ON_ANY_NETWORK. (Value: + * "NETWORK_TYPE_CONSTRAINT_UNSPECIFIED") + */ +@property(nonatomic, copy, nullable) NSString *networkTypeConstraint; + +@end + + /** * Response on issuing a command. This is currently empty as a placeholder. */ @@ -7199,7 +7408,8 @@ GTLR_DEPRECATED /** - * An event related to memory and storage measurements. + * An event related to memory and storage measurements.To distinguish between + * new and old events, we recommend using the createTime field. */ @interface GTLRAndroidManagement_MemoryEvent : GTLRObject @@ -8089,7 +8299,25 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_PermissionGrant_Policy_Deny Automatically * deny a permission. (Value: "DENY") * @arg @c kGTLRAndroidManagement_PermissionGrant_Policy_Grant Automatically - * grant a permission. (Value: "GRANT") + * grant a permission.On Android 12 and above, + * Manifest.permission.READ_SMS + * (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) + * and following sensor-related permissions can only be granted on fully + * managed devices: Manifest.permission.ACCESS_FINE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) + * Manifest.permission.ACCESS_BACKGROUND_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) + * Manifest.permission.ACCESS_COARSE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) + * Manifest.permission.CAMERA + * (https://developer.android.com/reference/android/Manifest.permission#CAMERA) + * Manifest.permission.RECORD_AUDIO + * (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) + * Manifest.permission.ACTIVITY_RECOGNITION + * (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) + * Manifest.permission.BODY_SENSORS + * (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS) + * (Value: "GRANT") * @arg @c kGTLRAndroidManagement_PermissionGrant_Policy_PermissionPolicyUnspecified * Policy not specified. If no policy is specified for a permission at * any level, then the PROMPT behavior is used by default. (Value: @@ -8252,11 +8480,7 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) NSNumber *adjustVolumeDisabled; -/** - * Security policies set to secure values by default. To maintain the security - * posture of a device, we don't recommend overriding any of the default - * values. - */ +/** Advanced security settings. In most cases, setting these is not needed. */ @property(nonatomic, strong, nullable) GTLRAndroidManagement_AdvancedSecurityOverrides *advancedSecurityOverrides; /** @@ -8265,12 +8489,8 @@ GTLR_DEPRECATED */ @property(nonatomic, strong, nullable) GTLRAndroidManagement_AlwaysOnVpnPackage *alwaysOnVpnPackage; -/** - * The app tracks for Android Device Policy the device can access. The device - * receives the latest version among all accessible tracks. If no tracks are - * specified, then the device only uses the production track. - */ -@property(nonatomic, strong, nullable) NSArray *androidDevicePolicyTracks; +/** This setting is not supported. Any value is ignored. */ +@property(nonatomic, strong, nullable) NSArray *androidDevicePolicyTracks GTLR_DEPRECATED; /** * Recommended alternative: autoUpdateMode which is set per app, provides @@ -8459,7 +8679,25 @@ GTLR_DEPRECATED * @arg @c kGTLRAndroidManagement_Policy_DefaultPermissionPolicy_Deny * Automatically deny a permission. (Value: "DENY") * @arg @c kGTLRAndroidManagement_Policy_DefaultPermissionPolicy_Grant - * Automatically grant a permission. (Value: "GRANT") + * Automatically grant a permission.On Android 12 and above, + * Manifest.permission.READ_SMS + * (https://developer.android.com/reference/android/Manifest.permission#READ_SMS) + * and following sensor-related permissions can only be granted on fully + * managed devices: Manifest.permission.ACCESS_FINE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_FINE_LOCATION) + * Manifest.permission.ACCESS_BACKGROUND_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_BACKGROUND_LOCATION) + * Manifest.permission.ACCESS_COARSE_LOCATION + * (https://developer.android.com/reference/android/Manifest.permission#ACCESS_COARSE_LOCATION) + * Manifest.permission.CAMERA + * (https://developer.android.com/reference/android/Manifest.permission#CAMERA) + * Manifest.permission.RECORD_AUDIO + * (https://developer.android.com/reference/android/Manifest.permission#RECORD_AUDIO) + * Manifest.permission.ACTIVITY_RECOGNITION + * (https://developer.android.com/reference/android/Manifest.permission#ACTIVITY_RECOGNITION) + * Manifest.permission.BODY_SENSORS + * (https://developer.android.com/reference/android/Manifest.permission#BODY_SENSORS) + * (Value: "GRANT") * @arg @c kGTLRAndroidManagement_Policy_DefaultPermissionPolicy_PermissionPolicyUnspecified * Policy not specified. If no policy is specified for a permission at * any level, then the PROMPT behavior is used by default. (Value: diff --git a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h index a1094ec6b..13ad1e81d 100644 --- a/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h +++ b/Sources/GeneratedServices/AndroidManagement/Public/GoogleAPIClientForREST/GTLRAndroidManagementQuery.h @@ -408,38 +408,6 @@ FOUNDATION_EXTERN NSString * const kGTLRAndroidManagementWipeDataFlagsWipeExtern @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: androidmanagement.enterprises.devices.operations.delete - * - * Authorization scope(s): - * @c kGTLRAuthScopeAndroidManagement - */ -@interface GTLRAndroidManagementQuery_EnterprisesDevicesOperationsDelete : GTLRAndroidManagementQuery - -/** The name of the operation resource to be deleted. */ -@property(nonatomic, copy, nullable) NSString *name; - -/** - * Fetches a @c GTLRAndroidManagement_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 GTLRAndroidManagementQuery_EnterprisesDevicesOperationsDelete - */ -+ (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 diff --git a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h index f85283394..5638333a7 100644 --- a/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h +++ b/Sources/GeneratedServices/CertificateAuthorityService/Public/GoogleAPIClientForREST/GTLRCertificateAuthorityServiceObjects.h @@ -906,7 +906,11 @@ FOUNDATION_EXTERN NSString * const kGTLRCertificateAuthorityService_RevokedCerti /** * Role that is assigned to the list of `members`, or principals. For example, - * `roles/viewer`, `roles/editor`, or `roles/owner`. + * `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM + * roles and permissions, see the [IAM + * documentation](https://cloud.google.com/iam/docs/roles-overview). For a list + * of the available pre-defined roles, see + * [here](https://cloud.google.com/iam/docs/understanding-roles). */ @property(nonatomic, copy, nullable) NSString *role; diff --git a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m index bff548dc7..ea1080219 100644 --- a/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m +++ b/Sources/GeneratedServices/DataPortability/GTLRDataPortabilityService.m @@ -17,6 +17,14 @@ // Authorization scopes NSString * const kGTLRAuthScopeDataPortabilityBusinessmessagingConversations = @"https://www.googleapis.com/auth/dataportability.businessmessaging.conversations"; +NSString * const kGTLRAuthScopeDataPortabilityMapsCommuteRoutes = @"https://www.googleapis.com/auth/dataportability.maps.commute_routes"; +NSString * const kGTLRAuthScopeDataPortabilityMapsCommuteSettings = @"https://www.googleapis.com/auth/dataportability.maps.commute_settings"; +NSString * const kGTLRAuthScopeDataPortabilityMapsEvProfile = @"https://www.googleapis.com/auth/dataportability.maps.ev_profile"; +NSString * const kGTLRAuthScopeDataPortabilityMapsOfferingContributions = @"https://www.googleapis.com/auth/dataportability.maps.offering_contributions"; +NSString * const kGTLRAuthScopeDataPortabilityMapsPhotosVideos = @"https://www.googleapis.com/auth/dataportability.maps.photos_videos"; +NSString * const kGTLRAuthScopeDataPortabilityMapsReviews = @"https://www.googleapis.com/auth/dataportability.maps.reviews"; +NSString * const kGTLRAuthScopeDataPortabilityMapsStarredPlaces = @"https://www.googleapis.com/auth/dataportability.maps.starred_places"; +NSString * const kGTLRAuthScopeDataPortabilityMyactivityMaps = @"https://www.googleapis.com/auth/dataportability.myactivity.maps"; NSString * const kGTLRAuthScopeDataPortabilityMyactivitySearch = @"https://www.googleapis.com/auth/dataportability.myactivity.search"; NSString * const kGTLRAuthScopeDataPortabilityMyactivityShopping = @"https://www.googleapis.com/auth/dataportability.myactivity.shopping"; NSString * const kGTLRAuthScopeDataPortabilityMyactivityYoutube = @"https://www.googleapis.com/auth/dataportability.myactivity.youtube"; diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h index 250a78173..e1642a641 100644 --- a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityQuery.h @@ -43,6 +43,14 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMapsCommuteRoutes + * @c kGTLRAuthScopeDataPortabilityMapsCommuteSettings + * @c kGTLRAuthScopeDataPortabilityMapsEvProfile + * @c kGTLRAuthScopeDataPortabilityMapsOfferingContributions + * @c kGTLRAuthScopeDataPortabilityMapsPhotosVideos + * @c kGTLRAuthScopeDataPortabilityMapsReviews + * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivitySearch * @c kGTLRAuthScopeDataPortabilityMyactivityShopping * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube @@ -94,6 +102,14 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMapsCommuteRoutes + * @c kGTLRAuthScopeDataPortabilityMapsCommuteSettings + * @c kGTLRAuthScopeDataPortabilityMapsEvProfile + * @c kGTLRAuthScopeDataPortabilityMapsOfferingContributions + * @c kGTLRAuthScopeDataPortabilityMapsPhotosVideos + * @c kGTLRAuthScopeDataPortabilityMapsReviews + * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivitySearch * @c kGTLRAuthScopeDataPortabilityMyactivityShopping * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube @@ -150,6 +166,14 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMapsCommuteRoutes + * @c kGTLRAuthScopeDataPortabilityMapsCommuteSettings + * @c kGTLRAuthScopeDataPortabilityMapsEvProfile + * @c kGTLRAuthScopeDataPortabilityMapsOfferingContributions + * @c kGTLRAuthScopeDataPortabilityMapsPhotosVideos + * @c kGTLRAuthScopeDataPortabilityMapsReviews + * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivitySearch * @c kGTLRAuthScopeDataPortabilityMyactivityShopping * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube @@ -195,6 +219,14 @@ NS_ASSUME_NONNULL_BEGIN * * Authorization scope(s): * @c kGTLRAuthScopeDataPortabilityBusinessmessagingConversations + * @c kGTLRAuthScopeDataPortabilityMapsCommuteRoutes + * @c kGTLRAuthScopeDataPortabilityMapsCommuteSettings + * @c kGTLRAuthScopeDataPortabilityMapsEvProfile + * @c kGTLRAuthScopeDataPortabilityMapsOfferingContributions + * @c kGTLRAuthScopeDataPortabilityMapsPhotosVideos + * @c kGTLRAuthScopeDataPortabilityMapsReviews + * @c kGTLRAuthScopeDataPortabilityMapsStarredPlaces + * @c kGTLRAuthScopeDataPortabilityMyactivityMaps * @c kGTLRAuthScopeDataPortabilityMyactivitySearch * @c kGTLRAuthScopeDataPortabilityMyactivityShopping * @c kGTLRAuthScopeDataPortabilityMyactivityYoutube diff --git a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h index 0f5eec395..99732ca42 100644 --- a/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h +++ b/Sources/GeneratedServices/DataPortability/Public/GoogleAPIClientForREST/GTLRDataPortabilityService.h @@ -34,6 +34,55 @@ NS_ASSUME_NONNULL_BEGIN * Value "https://www.googleapis.com/auth/dataportability.businessmessaging.conversations" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityBusinessmessagingConversations; +/** + * Authorization scope: Move a copy of your pinned trips on Maps. + * + * Value "https://www.googleapis.com/auth/dataportability.maps.commute_routes" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsCommuteRoutes; +/** + * Authorization scope: Move a copy of your commute settings on Maps. + * + * Value "https://www.googleapis.com/auth/dataportability.maps.commute_settings" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsCommuteSettings; +/** + * Authorization scope: Move a copy of your electric vehicle profile on Maps. + * + * Value "https://www.googleapis.com/auth/dataportability.maps.ev_profile" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsEvProfile; +/** + * Authorization scope: Move a copy of your updates to places on Maps. + * + * Value "https://www.googleapis.com/auth/dataportability.maps.offering_contributions" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsOfferingContributions; +/** + * Authorization scope: Move a copy of the photos and videos you posted on + * Maps. + * + * Value "https://www.googleapis.com/auth/dataportability.maps.photos_videos" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsPhotosVideos; +/** + * Authorization scope: Move a copy of your reviews and posts on Maps. + * + * Value "https://www.googleapis.com/auth/dataportability.maps.reviews" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsReviews; +/** + * Authorization scope: Move a copy of your Starred places list on Maps. + * + * Value "https://www.googleapis.com/auth/dataportability.maps.starred_places" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMapsStarredPlaces; +/** + * Authorization scope: Move a copy of your Maps activity. + * + * Value "https://www.googleapis.com/auth/dataportability.myactivity.maps" + */ +FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityMyactivityMaps; /** * Authorization scope: Move a copy of your search activity. * @@ -66,79 +115,79 @@ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityShoppingAddresse */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityShoppingReviews; /** - * Authorization scope: Move a copy of information about your channel. + * Authorization scope: Move a copy of information about your YouTube channel. * * Value "https://www.googleapis.com/auth/dataportability.youtube.channel" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeChannel; /** - * Authorization scope: Move a copy of your comments. + * Authorization scope: Move a copy of your YouTube comments. * * Value "https://www.googleapis.com/auth/dataportability.youtube.comments" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeComments; /** - * Authorization scope: Move a copy of your messages in live chat. + * Authorization scope: Move a copy of your YouTube messages in live chat. * * Value "https://www.googleapis.com/auth/dataportability.youtube.live_chat" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeLiveChat; /** - * Authorization scope: Move a copy of your uploaded YouTube Music tracks and - * your YouTube Music library. + * Authorization scope: Move a copy of your uploaded YouTube music tracks and + * your YouTube music library. * * Value "https://www.googleapis.com/auth/dataportability.youtube.music" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeMusic; /** - * Authorization scope: Move a copy of your private playlists. + * Authorization scope: Move a copy of your YouTube private playlists. * * Value "https://www.googleapis.com/auth/dataportability.youtube.private_playlists" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePrivatePlaylists; /** - * Authorization scope: Move a copy of your private videos and information - * about them. + * Authorization scope: Move a copy of your private YouTube videos and + * information about them. * * Value "https://www.googleapis.com/auth/dataportability.youtube.private_videos" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePrivateVideos; /** - * Authorization scope: Move a copy of your public playlists. + * Authorization scope: Move a copy of your public YouTube playlists. * * Value "https://www.googleapis.com/auth/dataportability.youtube.public_playlists" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePublicPlaylists; /** - * Authorization scope: Move a copy of your public videos and information about - * them. + * Authorization scope: Move a copy of your public YouTube videos and + * information about them. * * Value "https://www.googleapis.com/auth/dataportability.youtube.public_videos" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubePublicVideos; /** - * Authorization scope: Move a copy of YouTube Shopping Wishlists, and wishlist - * items. + * Authorization scope: Move a copy of your YouTube shopping wishlists, and + * wishlist items. * * Value "https://www.googleapis.com/auth/dataportability.youtube.shopping" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeShopping; /** - * Authorization scope: Move a copy of your channel subscriptions, even if - * they're private. + * Authorization scope: Move a copy of your YouTube channel subscriptions, even + * if they're private. * * Value "https://www.googleapis.com/auth/dataportability.youtube.subscriptions" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeSubscriptions; /** - * Authorization scope: Move a copy of your unlisted playlists. + * Authorization scope: Move a copy of your unlisted YouTube playlists. * * Value "https://www.googleapis.com/auth/dataportability.youtube.unlisted_playlists" */ FOUNDATION_EXTERN NSString * const kGTLRAuthScopeDataPortabilityYoutubeUnlistedPlaylists; /** - * Authorization scope: Move a copy of your unlisted videos and information - * about them. + * Authorization scope: Move a copy of your unlisted YouTube videos and + * information about them. * * Value "https://www.googleapis.com/auth/dataportability.youtube.unlisted_videos" */ diff --git a/Sources/GeneratedServices/Datastore/GTLRDatastoreObjects.m b/Sources/GeneratedServices/Datastore/GTLRDatastoreObjects.m index 46e29f53e..98f62f922 100644 --- a/Sources/GeneratedServices/Datastore/GTLRDatastoreObjects.m +++ b/Sources/GeneratedServices/Datastore/GTLRDatastoreObjects.m @@ -159,16 +159,6 @@ NSString * const kGTLRDatastore_ReadOptions_ReadConsistency_ReadConsistencyUnspecified = @"READ_CONSISTENCY_UNSPECIFIED"; NSString * const kGTLRDatastore_ReadOptions_ReadConsistency_Strong = @"STRONG"; -// GTLRDatastore_RunAggregationQueryRequest.mode -NSString * const kGTLRDatastore_RunAggregationQueryRequest_Mode_Normal = @"NORMAL"; -NSString * const kGTLRDatastore_RunAggregationQueryRequest_Mode_Plan = @"PLAN"; -NSString * const kGTLRDatastore_RunAggregationQueryRequest_Mode_Profile = @"PROFILE"; - -// GTLRDatastore_RunQueryRequest.mode -NSString * const kGTLRDatastore_RunQueryRequest_Mode_Normal = @"NORMAL"; -NSString * const kGTLRDatastore_RunQueryRequest_Mode_Plan = @"PLAN"; -NSString * const kGTLRDatastore_RunQueryRequest_Mode_Profile = @"PROFILE"; - // GTLRDatastore_Value.nullValue NSString * const kGTLRDatastore_Value_NullValue_NullValue = @"NULL_VALUE"; @@ -1069,30 +1059,6 @@ @implementation GTLRDatastore_Query @end -// ---------------------------------------------------------------------------- -// -// GTLRDatastore_QueryPlan -// - -@implementation GTLRDatastore_QueryPlan -@dynamic planInfo; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDatastore_QueryPlan_PlanInfo -// - -@implementation GTLRDatastore_QueryPlan_PlanInfo - -+ (Class)classForAdditionalProperties { - return [NSObject class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDatastore_QueryResultBatch @@ -1169,30 +1135,6 @@ @implementation GTLRDatastore_ReserveIdsResponse @end -// ---------------------------------------------------------------------------- -// -// GTLRDatastore_ResultSetStats -// - -@implementation GTLRDatastore_ResultSetStats -@dynamic queryPlan, queryStats; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRDatastore_ResultSetStats_QueryStats -// - -@implementation GTLRDatastore_ResultSetStats_QueryStats - -+ (Class)classForAdditionalProperties { - return [NSObject class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRDatastore_RollbackRequest @@ -1218,7 +1160,7 @@ @implementation GTLRDatastore_RollbackResponse // @implementation GTLRDatastore_RunAggregationQueryRequest -@dynamic aggregationQuery, databaseId, gqlQuery, mode, partitionId, readOptions; +@dynamic aggregationQuery, databaseId, gqlQuery, partitionId, readOptions; @end @@ -1228,7 +1170,7 @@ @implementation GTLRDatastore_RunAggregationQueryRequest // @implementation GTLRDatastore_RunAggregationQueryResponse -@dynamic batch, query, stats, transaction; +@dynamic batch, query, transaction; @end @@ -1238,7 +1180,7 @@ @implementation GTLRDatastore_RunAggregationQueryResponse // @implementation GTLRDatastore_RunQueryRequest -@dynamic databaseId, gqlQuery, mode, partitionId, query, readOptions; +@dynamic databaseId, gqlQuery, partitionId, query, readOptions; @end @@ -1248,7 +1190,7 @@ @implementation GTLRDatastore_RunQueryRequest // @implementation GTLRDatastore_RunQueryResponse -@dynamic batch, query, stats, transaction; +@dynamic batch, query, transaction; @end diff --git a/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreObjects.h b/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreObjects.h index b5db80947..276388ff0 100644 --- a/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreObjects.h +++ b/Sources/GeneratedServices/Datastore/Public/GoogleAPIClientForREST/GTLRDatastoreObjects.h @@ -60,14 +60,10 @@ @class GTLRDatastore_PropertyOrder; @class GTLRDatastore_PropertyReference; @class GTLRDatastore_Query; -@class GTLRDatastore_QueryPlan; -@class GTLRDatastore_QueryPlan_PlanInfo; @class GTLRDatastore_QueryResultBatch; @class GTLRDatastore_ReadOnly; @class GTLRDatastore_ReadOptions; @class GTLRDatastore_ReadWrite; -@class GTLRDatastore_ResultSetStats; -@class GTLRDatastore_ResultSetStats_QueryStats; @class GTLRDatastore_Status; @class GTLRDatastore_Status_Details_Item; @class GTLRDatastore_Sum; @@ -817,54 +813,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastore_ReadOptions_ReadConsistency_Re */ FOUNDATION_EXTERN NSString * const kGTLRDatastore_ReadOptions_ReadConsistency_Strong; -// ---------------------------------------------------------------------------- -// GTLRDatastore_RunAggregationQueryRequest.mode - -/** - * The default mode. Only the query results are returned. - * - * Value: "NORMAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDatastore_RunAggregationQueryRequest_Mode_Normal; -/** - * This mode returns only the query plan, without any results or execution - * statistics information. - * - * Value: "PLAN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDatastore_RunAggregationQueryRequest_Mode_Plan; -/** - * This mode returns both the query plan and the execution statistics along - * with the results. - * - * Value: "PROFILE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDatastore_RunAggregationQueryRequest_Mode_Profile; - -// ---------------------------------------------------------------------------- -// GTLRDatastore_RunQueryRequest.mode - -/** - * The default mode. Only the query results are returned. - * - * Value: "NORMAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRDatastore_RunQueryRequest_Mode_Normal; -/** - * This mode returns only the query plan, without any results or execution - * statistics information. - * - * Value: "PLAN" - */ -FOUNDATION_EXTERN NSString * const kGTLRDatastore_RunQueryRequest_Mode_Plan; -/** - * This mode returns both the query plan and the execution statistics along - * with the results. - * - * Value: "PROFILE" - */ -FOUNDATION_EXTERN NSString * const kGTLRDatastore_RunQueryRequest_Mode_Profile; - // ---------------------------------------------------------------------------- // GTLRDatastore_Value.nullValue @@ -2770,35 +2718,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; @end -/** - * Plan for the query. - */ -@interface GTLRDatastore_QueryPlan : GTLRObject - -/** - * Planning phase information for the query. It will include: { "indexes_used": - * [ {"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"}, - * {"query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"} ] } - */ -@property(nonatomic, strong, nullable) GTLRDatastore_QueryPlan_PlanInfo *planInfo; - -@end - - -/** - * Planning phase information for the query. It will include: { "indexes_used": - * [ {"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"}, - * {"query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"} ] } - * - * @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 GTLRDatastore_QueryPlan_PlanInfo : GTLRObject -@end - - /** * A batch of results produced by a query. */ @@ -3001,42 +2920,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; @end -/** - * Planning and execution statistics for the query. - */ -@interface GTLRDatastore_ResultSetStats : GTLRObject - -/** Plan for the query. */ -@property(nonatomic, strong, nullable) GTLRDatastore_QueryPlan *queryPlan; - -/** - * Aggregated statistics from the execution of the query. This will only be - * present when the request specifies `PROFILE` mode. For example, a query will - * return the statistics including: { "results_returned": "20", - * "documents_scanned": "20", "indexes_entries_scanned": "10050", - * "total_execution_time": "100.7 msecs" } - */ -@property(nonatomic, strong, nullable) GTLRDatastore_ResultSetStats_QueryStats *queryStats; - -@end - - -/** - * Aggregated statistics from the execution of the query. This will only be - * present when the request specifies `PROFILE` mode. For example, a query will - * return the statistics including: { "results_returned": "20", - * "documents_scanned": "20", "indexes_entries_scanned": "10050", - * "total_execution_time": "100.7 msecs" } - * - * @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 GTLRDatastore_ResultSetStats_QueryStats : GTLRObject -@end - - /** * The request for Datastore.Rollback. */ @@ -3084,23 +2967,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; /** The GQL query to run. This query must be an aggregation query. */ @property(nonatomic, strong, nullable) GTLRDatastore_GqlQuery *gqlQuery; -/** - * Optional. The mode in which the query request is processed. This field is - * optional, and when not provided, it defaults to `NORMAL` mode where no - * additional statistics will be returned with the query results. - * - * Likely values: - * @arg @c kGTLRDatastore_RunAggregationQueryRequest_Mode_Normal The default - * mode. Only the query results are returned. (Value: "NORMAL") - * @arg @c kGTLRDatastore_RunAggregationQueryRequest_Mode_Plan This mode - * returns only the query plan, without any results or execution - * statistics information. (Value: "PLAN") - * @arg @c kGTLRDatastore_RunAggregationQueryRequest_Mode_Profile This mode - * returns both the query plan and the execution statistics along with - * the results. (Value: "PROFILE") - */ -@property(nonatomic, copy, nullable) NSString *mode; - /** * Entities are partitioned into subsets, identified by a partition ID. Queries * are scoped to a single partition. This partition ID is normalized with the @@ -3125,13 +2991,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; /** The parsed form of the `GqlQuery` from the request, if it was set. */ @property(nonatomic, strong, nullable) GTLRDatastore_AggregationQuery *query; -/** - * Query plan and execution statistics. Note that the returned stats are - * subject to change as Firestore evolves. This is only present when the - * request specifies a mode other than `NORMAL`. - */ -@property(nonatomic, strong, nullable) GTLRDatastore_ResultSetStats *stats; - /** * The identifier of the transaction that was started as part of this * RunAggregationQuery request. Set only when ReadOptions.new_transaction was @@ -3159,23 +3018,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; /** The GQL query to run. This query must be a non-aggregation query. */ @property(nonatomic, strong, nullable) GTLRDatastore_GqlQuery *gqlQuery; -/** - * Optional. The mode in which the query request is processed. This field is - * optional, and when not provided, it defaults to `NORMAL` mode where no - * additional statistics will be returned with the query results. - * - * Likely values: - * @arg @c kGTLRDatastore_RunQueryRequest_Mode_Normal The default mode. Only - * the query results are returned. (Value: "NORMAL") - * @arg @c kGTLRDatastore_RunQueryRequest_Mode_Plan This mode returns only - * the query plan, without any results or execution statistics - * information. (Value: "PLAN") - * @arg @c kGTLRDatastore_RunQueryRequest_Mode_Profile This mode returns both - * the query plan and the execution statistics along with the results. - * (Value: "PROFILE") - */ -@property(nonatomic, copy, nullable) NSString *mode; - /** * Entities are partitioned into subsets, identified by a partition ID. Queries * are scoped to a single partition. This partition ID is normalized with the @@ -3203,13 +3045,6 @@ FOUNDATION_EXTERN NSString * const kGTLRDatastore_Value_NullValue_NullValue; /** The parsed form of the `GqlQuery` from the request, if it was set. */ @property(nonatomic, strong, nullable) GTLRDatastore_Query *query; -/** - * Query plan and execution statistics. Note that the returned stats are - * subject to change as Firestore evolves. This is only present when the - * request specifies a mode other than `NORMAL`. - */ -@property(nonatomic, strong, nullable) GTLRDatastore_ResultSetStats *stats; - /** * The identifier of the transaction that was started as part of this RunQuery * request. Set only when ReadOptions.new_transaction was set in diff --git a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m index c3702d739..d70ba3e22 100644 --- a/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m +++ b/Sources/GeneratedServices/Dfareporting/GTLRDfareportingObjects.m @@ -138,6 +138,10 @@ NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_Ea = @"EA"; NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_P2c = @"P2C"; +// GTLRDfareporting_Conversion.adUserDataConsent +NSString * const kGTLRDfareporting_Conversion_AdUserDataConsent_Denied = @"DENIED"; +NSString * const kGTLRDfareporting_Conversion_AdUserDataConsent_Granted = @"GRANTED"; + // GTLRDfareporting_ConversionError.code NSString * const kGTLRDfareporting_ConversionError_Code_Internal = @"INTERNAL"; NSString * const kGTLRDfareporting_ConversionError_Code_InvalidArgument = @"INVALID_ARGUMENT"; @@ -1281,6 +1285,7 @@ // GTLRDfareporting_UniversalAdId.registry NSString * const kGTLRDfareporting_UniversalAdId_Registry_AdIdOfficial = @"AD_ID_OFFICIAL"; +NSString * const kGTLRDfareporting_UniversalAdId_Registry_Arpp = @"ARPP"; NSString * const kGTLRDfareporting_UniversalAdId_Registry_Clearcast = @"CLEARCAST"; NSString * const kGTLRDfareporting_UniversalAdId_Registry_Dcm = @"DCM"; NSString * const kGTLRDfareporting_UniversalAdId_Registry_Other = @"OTHER"; @@ -2600,8 +2605,8 @@ + (BOOL)isKindValidForClassRegistry { // @implementation GTLRDfareporting_Conversion -@dynamic childDirectedTreatment, customVariables, dclid, encryptedUserId, - encryptedUserIdCandidates, floodlightActivityId, +@dynamic adUserDataConsent, childDirectedTreatment, customVariables, dclid, + encryptedUserId, encryptedUserIdCandidates, floodlightActivityId, floodlightConfigurationId, gclid, impressionId, kind, limitAdTracking, matchId, mobileDeviceId, nonPersonalizedAd, ordinal, quantity, timestampMicros, treatmentForUnderage, userIdentifiers, value; @@ -4951,8 +4956,9 @@ @implementation GTLRDfareporting_Placement @dynamic accountId, activeStatus, adBlockingOptOut, additionalSizes, advertiserId, advertiserIdDimensionValue, campaignId, campaignIdDimensionValue, comment, compatibility, contentCategoryId, - createInfo, directorySiteId, directorySiteIdDimensionValue, externalId, - identifier, idDimensionValue, keyName, kind, lastModifiedInfo, + conversionDomainOverride, createInfo, directorySiteId, + directorySiteIdDimensionValue, externalId, identifier, + idDimensionValue, keyName, kind, lastModifiedInfo, lookbackConfiguration, name, partnerWrappingData, paymentApproved, paymentSource, placementGroupId, placementGroupIdDimensionValue, placementStrategyId, pricingSchedule, primary, publisherUpdateInfo, @@ -4991,6 +4997,24 @@ @implementation GTLRDfareporting_PlacementAssignment @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_PlacementConversionDomainOverride +// + +@implementation GTLRDfareporting_PlacementConversionDomainOverride +@dynamic conversionDomains; + ++ (NSDictionary *)arrayPropertyToClassMap { + NSDictionary *map = @{ + @"conversionDomains" : [GTLRDfareporting_PlacementSingleConversionDomain class] + }; + return map; +} + +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_PlacementGroup @@ -5078,6 +5102,16 @@ + (BOOL)isKindValidForClassRegistry { @end +// ---------------------------------------------------------------------------- +// +// GTLRDfareporting_PlacementSingleConversionDomain +// + +@implementation GTLRDfareporting_PlacementSingleConversionDomain +@dynamic conversionDomainId, conversionDomainValue; +@end + + // ---------------------------------------------------------------------------- // // GTLRDfareporting_PlacementsListResponse diff --git a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h index 4a1e809b8..e0ed4244b 100644 --- a/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h +++ b/Sources/GeneratedServices/Dfareporting/Public/GoogleAPIClientForREST/GTLRDfareportingObjects.h @@ -133,7 +133,9 @@ @class GTLRDfareporting_PathToConversionReportCompatibleFields; @class GTLRDfareporting_Placement; @class GTLRDfareporting_PlacementAssignment; +@class GTLRDfareporting_PlacementConversionDomainOverride; @class GTLRDfareporting_PlacementGroup; +@class GTLRDfareporting_PlacementSingleConversionDomain; @class GTLRDfareporting_PlacementStrategy; @class GTLRDfareporting_PlacementTag; @class GTLRDfareporting_PlatformType; @@ -523,6 +525,22 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_E /** Value: "P2C" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_BillingRate_UnitOfMeasure_P2c; +// ---------------------------------------------------------------------------- +// GTLRDfareporting_Conversion.adUserDataConsent + +/** + * Denied. + * + * Value: "DENIED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Conversion_AdUserDataConsent_Denied; +/** + * Granted. + * + * Value: "GRANTED" + */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_Conversion_AdUserDataConsent_Granted; + // ---------------------------------------------------------------------------- // GTLRDfareporting_ConversionError.code @@ -3613,6 +3631,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_ThirdPartyTrackingUrl_Third /** Value: "AD_ID_OFFICIAL" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_UniversalAdId_Registry_AdIdOfficial; +/** Value: "ARPP" */ +FOUNDATION_EXTERN NSString * const kGTLRDfareporting_UniversalAdId_Registry_Arpp; /** Value: "CLEARCAST" */ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_UniversalAdId_Registry_Clearcast; /** Value: "DCM" */ @@ -6476,6 +6496,17 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @interface GTLRDfareporting_Conversion : GTLRObject +/** + * This represents consent for ad user data. + * + * Likely values: + * @arg @c kGTLRDfareporting_Conversion_AdUserDataConsent_Denied Denied. + * (Value: "DENIED") + * @arg @c kGTLRDfareporting_Conversion_AdUserDataConsent_Granted Granted. + * (Value: "GRANTED") + */ +@property(nonatomic, copy, nullable) NSString *adUserDataConsent; + /** * Whether this particular request may come from a user under the age of 13, * under COPPA compliance. @@ -12673,6 +12704,9 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P */ @property(nonatomic, strong, nullable) NSNumber *contentCategoryId; +/** Optional. Conversion domain overrides for a placement. */ +@property(nonatomic, strong, nullable) GTLRDfareporting_PlacementConversionDomainOverride *conversionDomainOverride; + /** * Information about the creation of this placement. This is a read-only field. */ @@ -12958,6 +12992,16 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * GTLRDfareporting_PlacementConversionDomainOverride + */ +@interface GTLRDfareporting_PlacementConversionDomainOverride : GTLRObject + +@property(nonatomic, strong, nullable) NSArray *conversionDomains; + +@end + + /** * Contains properties of a package or roadblock. */ @@ -13215,6 +13259,23 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @end +/** + * GTLRDfareporting_PlacementSingleConversionDomain + */ +@interface GTLRDfareporting_PlacementSingleConversionDomain : GTLRObject + +/** + * conversionDomainId + * + * Uses NSNumber of longLongValue. + */ +@property(nonatomic, strong, nullable) NSNumber *conversionDomainId; + +@property(nonatomic, copy, nullable) NSString *conversionDomainValue; + +@end + + /** * Placement List Response * @@ -15665,8 +15726,8 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P @property(nonatomic, copy, nullable) NSString *additionalKeyValues; /** - * Whether static landing page URLs should be included in the tags. This - * setting applies only to placements. + * Whether static landing page URLs should be included in the tags. New + * placements will default to the value set on their site. * * Uses NSNumber of boolValue. */ @@ -16199,6 +16260,7 @@ FOUNDATION_EXTERN NSString * const kGTLRDfareporting_VideoSettings_Orientation_P * Likely values: * @arg @c kGTLRDfareporting_UniversalAdId_Registry_AdIdOfficial Value * "AD_ID_OFFICIAL" + * @arg @c kGTLRDfareporting_UniversalAdId_Registry_Arpp Value "ARPP" * @arg @c kGTLRDfareporting_UniversalAdId_Registry_Clearcast Value * "CLEARCAST" * @arg @c kGTLRDfareporting_UniversalAdId_Registry_Dcm Value "DCM" diff --git a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m index 5ca4f3975..9a8779468 100644 --- a/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m +++ b/Sources/GeneratedServices/Firestore/GTLRFirestoreObjects.m @@ -174,16 +174,6 @@ NSString * const kGTLRFirestore_Order_Direction_Descending = @"DESCENDING"; NSString * const kGTLRFirestore_Order_Direction_DirectionUnspecified = @"DIRECTION_UNSPECIFIED"; -// GTLRFirestore_RunAggregationQueryRequest.mode -NSString * const kGTLRFirestore_RunAggregationQueryRequest_Mode_Normal = @"NORMAL"; -NSString * const kGTLRFirestore_RunAggregationQueryRequest_Mode_Plan = @"PLAN"; -NSString * const kGTLRFirestore_RunAggregationQueryRequest_Mode_Profile = @"PROFILE"; - -// GTLRFirestore_RunQueryRequest.mode -NSString * const kGTLRFirestore_RunQueryRequest_Mode_Normal = @"NORMAL"; -NSString * const kGTLRFirestore_RunQueryRequest_Mode_Plan = @"PLAN"; -NSString * const kGTLRFirestore_RunQueryRequest_Mode_Profile = @"PROFILE"; - // GTLRFirestore_TargetChange.targetChangeType NSString * const kGTLRFirestore_TargetChange_TargetChangeType_Add = @"ADD"; NSString * const kGTLRFirestore_TargetChange_TargetChangeType_Current = @"CURRENT"; @@ -1451,30 +1441,6 @@ @implementation GTLRFirestore_Projection @end -// ---------------------------------------------------------------------------- -// -// GTLRFirestore_QueryPlan -// - -@implementation GTLRFirestore_QueryPlan -@dynamic planInfo; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRFirestore_QueryPlan_PlanInfo -// - -@implementation GTLRFirestore_QueryPlan_PlanInfo - -+ (Class)classForAdditionalProperties { - return [NSObject class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRFirestore_QueryTarget @@ -1505,30 +1471,6 @@ @implementation GTLRFirestore_ReadWrite @end -// ---------------------------------------------------------------------------- -// -// GTLRFirestore_ResultSetStats -// - -@implementation GTLRFirestore_ResultSetStats -@dynamic queryPlan, queryStats; -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRFirestore_ResultSetStats_QueryStats -// - -@implementation GTLRFirestore_ResultSetStats_QueryStats - -+ (Class)classForAdditionalProperties { - return [NSObject class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRFirestore_RollbackRequest @@ -1545,8 +1487,7 @@ @implementation GTLRFirestore_RollbackRequest // @implementation GTLRFirestore_RunAggregationQueryRequest -@dynamic mode, newTransaction, readTime, structuredAggregationQuery, - transaction; +@dynamic newTransaction, readTime, structuredAggregationQuery, transaction; @end @@ -1556,7 +1497,7 @@ @implementation GTLRFirestore_RunAggregationQueryRequest // @implementation GTLRFirestore_RunAggregationQueryResponse -@dynamic readTime, result, stats, transaction; +@dynamic readTime, result, transaction; @end @@ -1566,7 +1507,7 @@ @implementation GTLRFirestore_RunAggregationQueryResponse // @implementation GTLRFirestore_RunQueryRequest -@dynamic mode, newTransaction, readTime, structuredQuery, transaction; +@dynamic newTransaction, readTime, structuredQuery, transaction; @end @@ -1576,7 +1517,7 @@ @implementation GTLRFirestore_RunQueryRequest // @implementation GTLRFirestore_RunQueryResponse -@dynamic document, done, readTime, skippedResults, stats, transaction; +@dynamic document, done, readTime, skippedResults, transaction; @end diff --git a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h index defd45101..421b2e51d 100644 --- a/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h +++ b/Sources/GeneratedServices/Firestore/Public/GoogleAPIClientForREST/GTLRFirestoreObjects.h @@ -70,13 +70,9 @@ @class GTLRFirestore_Order; @class GTLRFirestore_Precondition; @class GTLRFirestore_Projection; -@class GTLRFirestore_QueryPlan; -@class GTLRFirestore_QueryPlan_PlanInfo; @class GTLRFirestore_QueryTarget; @class GTLRFirestore_ReadOnly; @class GTLRFirestore_ReadWrite; -@class GTLRFirestore_ResultSetStats; -@class GTLRFirestore_ResultSetStats_QueryStats; @class GTLRFirestore_Status; @class GTLRFirestore_Status_Details_Item; @class GTLRFirestore_StructuredAggregationQuery; @@ -926,54 +922,6 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Order_Direction_Descending; */ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Order_Direction_DirectionUnspecified; -// ---------------------------------------------------------------------------- -// GTLRFirestore_RunAggregationQueryRequest.mode - -/** - * The default mode. Only the query results are returned. - * - * Value: "NORMAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRFirestore_RunAggregationQueryRequest_Mode_Normal; -/** - * This mode returns only the query plan, without any results or execution - * statistics information. - * - * Value: "PLAN" - */ -FOUNDATION_EXTERN NSString * const kGTLRFirestore_RunAggregationQueryRequest_Mode_Plan; -/** - * This mode returns both the query plan and the execution statistics along - * with the results. - * - * Value: "PROFILE" - */ -FOUNDATION_EXTERN NSString * const kGTLRFirestore_RunAggregationQueryRequest_Mode_Profile; - -// ---------------------------------------------------------------------------- -// GTLRFirestore_RunQueryRequest.mode - -/** - * The default mode. Only the query results are returned. - * - * Value: "NORMAL" - */ -FOUNDATION_EXTERN NSString * const kGTLRFirestore_RunQueryRequest_Mode_Normal; -/** - * This mode returns only the query plan, without any results or execution - * statistics information. - * - * Value: "PLAN" - */ -FOUNDATION_EXTERN NSString * const kGTLRFirestore_RunQueryRequest_Mode_Plan; -/** - * This mode returns both the query plan and the execution statistics along - * with the results. - * - * Value: "PROFILE" - */ -FOUNDATION_EXTERN NSString * const kGTLRFirestore_RunQueryRequest_Mode_Profile; - // ---------------------------------------------------------------------------- // GTLRFirestore_TargetChange.targetChangeType @@ -3751,35 +3699,6 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @end -/** - * Plan for the query. - */ -@interface GTLRFirestore_QueryPlan : GTLRObject - -/** - * Planning phase information for the query. It will include: { "indexes_used": - * [ {"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"}, - * {"query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"} ] } - */ -@property(nonatomic, strong, nullable) GTLRFirestore_QueryPlan_PlanInfo *planInfo; - -@end - - -/** - * Planning phase information for the query. It will include: { "indexes_used": - * [ {"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"}, - * {"query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"} ] } - * - * @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 GTLRFirestore_QueryPlan_PlanInfo : GTLRObject -@end - - /** * A target specified by a query. */ @@ -3833,42 +3752,6 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; @end -/** - * Planning and execution statistics for the query. - */ -@interface GTLRFirestore_ResultSetStats : GTLRObject - -/** Plan for the query. */ -@property(nonatomic, strong, nullable) GTLRFirestore_QueryPlan *queryPlan; - -/** - * Aggregated statistics from the execution of the query. This will only be - * present when the request specifies `PROFILE` mode. For example, a query will - * return the statistics including: { "results_returned": "20", - * "documents_scanned": "20", "indexes_entries_scanned": "10050", - * "total_execution_time": "100.7 msecs" } - */ -@property(nonatomic, strong, nullable) GTLRFirestore_ResultSetStats_QueryStats *queryStats; - -@end - - -/** - * Aggregated statistics from the execution of the query. This will only be - * present when the request specifies `PROFILE` mode. For example, a query will - * return the statistics including: { "results_returned": "20", - * "documents_scanned": "20", "indexes_entries_scanned": "10050", - * "total_execution_time": "100.7 msecs" } - * - * @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 GTLRFirestore_ResultSetStats_QueryStats : GTLRObject -@end - - /** * The request for Firestore.Rollback. */ @@ -3890,23 +3773,6 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @interface GTLRFirestore_RunAggregationQueryRequest : GTLRObject -/** - * Optional. The mode in which the query request is processed. This field is - * optional, and when not provided, it defaults to `NORMAL` mode where no - * additional statistics will be returned with the query results. - * - * Likely values: - * @arg @c kGTLRFirestore_RunAggregationQueryRequest_Mode_Normal The default - * mode. Only the query results are returned. (Value: "NORMAL") - * @arg @c kGTLRFirestore_RunAggregationQueryRequest_Mode_Plan This mode - * returns only the query plan, without any results or execution - * statistics information. (Value: "PLAN") - * @arg @c kGTLRFirestore_RunAggregationQueryRequest_Mode_Profile This mode - * returns both the query plan and the execution statistics along with - * the results. (Value: "PROFILE") - */ -@property(nonatomic, copy, nullable) NSString *mode; - /** * Starts a new transaction as part of the query, defaulting to read-only. The * new transaction ID will be returned as the first response in the stream. @@ -3956,14 +3822,6 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @property(nonatomic, strong, nullable) GTLRFirestore_AggregationResult *result; -/** - * Query plan and execution statistics. Note that the returned stats are - * subject to change as Firestore evolves. This is only present when the - * request specifies a mode other than `NORMAL` and is sent only once with the - * last response in the stream. - */ -@property(nonatomic, strong, nullable) GTLRFirestore_ResultSetStats *stats; - /** * The transaction that was started as part of this request. Only present on * the first response when the request requested to start a new transaction. @@ -3981,23 +3839,6 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @interface GTLRFirestore_RunQueryRequest : GTLRObject -/** - * Optional. The mode in which the query request is processed. This field is - * optional, and when not provided, it defaults to `NORMAL` mode where no - * additional statistics will be returned with the query results. - * - * Likely values: - * @arg @c kGTLRFirestore_RunQueryRequest_Mode_Normal The default mode. Only - * the query results are returned. (Value: "NORMAL") - * @arg @c kGTLRFirestore_RunQueryRequest_Mode_Plan This mode returns only - * the query plan, without any results or execution statistics - * information. (Value: "PLAN") - * @arg @c kGTLRFirestore_RunQueryRequest_Mode_Profile This mode returns both - * the query plan and the execution statistics along with the results. - * (Value: "PROFILE") - */ -@property(nonatomic, copy, nullable) NSString *mode; - /** * Starts a new transaction and reads the documents. Defaults to a read-only * transaction. The new transaction ID will be returned as the first response @@ -4061,14 +3902,6 @@ FOUNDATION_EXTERN NSString * const kGTLRFirestore_Value_NullValue_NullValue; */ @property(nonatomic, strong, nullable) NSNumber *skippedResults; -/** - * Query plan and execution statistics. Note that the returned stats are - * subject to change as Firestore evolves. This is only present when the - * request specifies a mode other than `NORMAL` and is sent only once with the - * last response in the stream. - */ -@property(nonatomic, strong, nullable) GTLRFirestore_ResultSetStats *stats; - /** * The transaction that was started as part of this request. Can only be set in * the first response, and only if RunQueryRequest.new_transaction was set in diff --git a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m index 317d53514..7c8989079 100644 --- a/Sources/GeneratedServices/Storage/GTLRStorageObjects.m +++ b/Sources/GeneratedServices/Storage/GTLRStorageObjects.m @@ -510,8 +510,8 @@ @implementation GTLRStorage_Expr // @implementation GTLRStorage_Folder -@dynamic bucket, identifier, kind, metadata, metageneration, name, - pendingRenameInfo, selfLink, timeCreated, updated; +@dynamic bucket, identifier, kind, metageneration, name, pendingRenameInfo, + selfLink, timeCreated, updated; + (NSDictionary *)propertyToJSONKeyMap { return @{ @"identifier" : @"id" }; @@ -520,20 +520,6 @@ @implementation GTLRStorage_Folder @end -// ---------------------------------------------------------------------------- -// -// GTLRStorage_Folder_Metadata -// - -@implementation GTLRStorage_Folder_Metadata - -+ (Class)classForAdditionalProperties { - return [NSString class]; -} - -@end - - // ---------------------------------------------------------------------------- // // GTLRStorage_Folder_PendingRenameInfo diff --git a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h index d2ea17e04..f75d0b0ab 100644 --- a/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h +++ b/Sources/GeneratedServices/Storage/Public/GoogleAPIClientForREST/GTLRStorageObjects.h @@ -44,7 +44,6 @@ @class GTLRStorage_ComposeRequest_SourceObjects_Item_ObjectPreconditions; @class GTLRStorage_Expr; @class GTLRStorage_Folder; -@class GTLRStorage_Folder_Metadata; @class GTLRStorage_Folder_PendingRenameInfo; @class GTLRStorage_GoogleLongrunningOperation; @class GTLRStorage_GoogleLongrunningOperation_Metadata; @@ -1223,9 +1222,6 @@ NS_ASSUME_NONNULL_BEGIN /** The kind of item this is. For folders, this is always storage#folder. */ @property(nonatomic, copy, nullable) NSString *kind; -/** User-provided metadata, in key/value pairs. */ -@property(nonatomic, strong, nullable) GTLRStorage_Folder_Metadata *metadata; - /** * The version of the metadata for this folder. Used for preconditions and for * detecting changes in metadata. @@ -1255,18 +1251,6 @@ NS_ASSUME_NONNULL_BEGIN @end -/** - * User-provided metadata, in 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 GTLRStorage_Folder_Metadata : GTLRObject -@end - - /** * Only present if the folder is part of an ongoing rename folder operation. * Contains information which can be used to query the operation status. diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m index 33773a96b..a005f3008 100644 --- a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsObjects.m @@ -2452,24 +2452,6 @@ @implementation GTLRWalletobjects_SecurityAnimation @end -// ---------------------------------------------------------------------------- -// -// GTLRWalletobjects_SetPassUpdateNoticeRequest -// - -@implementation GTLRWalletobjects_SetPassUpdateNoticeRequest -@end - - -// ---------------------------------------------------------------------------- -// -// GTLRWalletobjects_SetPassUpdateNoticeResponse -// - -@implementation GTLRWalletobjects_SetPassUpdateNoticeResponse -@end - - // ---------------------------------------------------------------------------- // // GTLRWalletobjects_SignUpInfo diff --git a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m index 441cc3ced..d76992115 100644 --- a/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m +++ b/Sources/GeneratedServices/Walletobjects/GTLRWalletobjectsQuery.m @@ -2219,28 +2219,6 @@ + (instancetype)queryWithObject:(GTLRWalletobjects_TransitObject *)object @end -@implementation GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice - -+ (instancetype)queryWithObject:(GTLRWalletobjects_SetPassUpdateNoticeRequest *)object { - if (object == nil) { -#if defined(DEBUG) && DEBUG - NSAssert(object != nil, @"Got a nil object"); -#endif - return nil; - } - NSString *pathURITemplate = @"walletobjects/v1/privateContent/setPassUpdateNotice"; - GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice *query = - [[self alloc] initWithPathURITemplate:pathURITemplate - HTTPMethod:@"POST" - pathParameterNames:nil]; - query.bodyObject = object; - query.expectedObjectClass = [GTLRWalletobjects_SetPassUpdateNoticeResponse class]; - query.loggingName = @"walletobjects.walletobjects.v1.privateContent.setPassUpdateNotice"; - return query; -} - -@end - @implementation GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentUploadPrivateData + (instancetype)queryWithObject:(GTLRWalletobjects_UploadPrivateDataRequest *)object { diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h index d5a47a4d4..cf9d13a88 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsObjects.h @@ -8140,22 +8140,6 @@ FOUNDATION_EXTERN NSString * const kGTLRWalletobjects_TransitObject_TripType_Tri @end -/** - * Request to send a private pass update notice information to Google, so that - * devices can then fetch the notice prompting the user to update a pass. - */ -@interface GTLRWalletobjects_SetPassUpdateNoticeRequest : GTLRObject -@end - - -/** - * A response to a request to notify Google of an awaiting update to a private - * pass. - */ -@interface GTLRWalletobjects_SetPassUpdateNoticeResponse : GTLRObject -@end - - /** * GTLRWalletobjects_SignUpInfo */ diff --git a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h index f635be0a9..ebd1a15dd 100644 --- a/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h +++ b/Sources/GeneratedServices/Walletobjects/Public/GoogleAPIClientForREST/GTLRWalletobjectsQuery.h @@ -3404,34 +3404,6 @@ NS_ASSUME_NONNULL_BEGIN @end -/** - * Provide Google with information about awaiting private pass update. This - * will allow Google to provide the update notification to the device that - * currently holds this pass. - * - * Method: walletobjects.walletobjects.v1.privateContent.setPassUpdateNotice - * - * Authorization scope(s): - * @c kGTLRAuthScopeWalletobjectsWalletObjectIssuer - */ -@interface GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice : GTLRWalletobjectsQuery - -/** - * Fetches a @c GTLRWalletobjects_SetPassUpdateNoticeResponse. - * - * Provide Google with information about awaiting private pass update. This - * will allow Google to provide the update notification to the device that - * currently holds this pass. - * - * @param object The @c GTLRWalletobjects_SetPassUpdateNoticeRequest to include - * in the query. - * - * @return GTLRWalletobjectsQuery_WalletobjectsV1PrivateContentSetPassUpdateNotice - */ -+ (instancetype)queryWithObject:(GTLRWalletobjects_SetPassUpdateNoticeRequest *)object; - -@end - /** * Upload private data (text or URI) and returns an Id to be used in its place. * diff --git a/Tools/GenerateCheckedInServices-message_filter.json b/Tools/GenerateCheckedInServices-message_filter.json index d9e60eaa8..4d9839774 100644 --- a/Tools/GenerateCheckedInServices-message_filter.json +++ b/Tools/GenerateCheckedInServices-message_filter.json @@ -30,8 +30,5 @@ "Method 'firebaseappdistribution.media.upload' supports media upload, but doesn't seem to support resumable. It will be up to the developer to use the right upload method.", "Method 'groupsmigration.archive.insert' supports media upload, but doesn't seem to support resumable. It will be up to the developer to use the right upload method.", "Method 'walletobjects.media.upload' supports media upload, but doesn't seem to support resumable. It will be up to the developer to use the right upload method.", - "Won't add the kind 'bigquery#dataset' to the kind registry: it is used on multiple schema: Dataset, DatasetList.datasets.item", - "Won't add the kind 'bigquery#job' to the kind registry: it is used on multiple schema: Job, JobList.jobs.item", - "Won't add the kind 'bigquery#table' to the kind registry: it is used on multiple schema: Table, TableList.tables.item", ] }