Skip to content

Commit ad02ea3

Browse files
committed
Generate current api sources.
1 parent 5eb497e commit ad02ea3

File tree

96 files changed

+8943
-698
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+8943
-698
lines changed

GoogleAPIClientForREST.podspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,10 @@ Pod::Spec.new do |s|
490490
sp.dependency 'GoogleAPIClientForREST/Core'
491491
sp.source_files = 'Source/GeneratedServices/Tasks/*.{h,m}'
492492
end
493+
s.subspec 'Testing' do |sp|
494+
sp.dependency 'GoogleAPIClientForREST/Core'
495+
sp.source_files = 'Source/GeneratedServices/Testing/*.{h,m}'
496+
end
493497
s.subspec 'ToolResults' do |sp|
494498
sp.dependency 'GoogleAPIClientForREST/Core'
495499
sp.source_files = 'Source/GeneratedServices/ToolResults/*.{h,m}'

Source/GeneratedServices/AdExchangeBuyerII/GTLRAdExchangeBuyerIIObjects.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3380,16 +3380,6 @@ GTLR_EXTERN NSString * const kGTLRAdExchangeBuyerII_ServingRestriction_Status_St
33803380

33813381
/**
33823382
* An interval of time, with an absolute start and end.
3383-
* This is included in the response, for several reasons:
3384-
* 1) The request may have specified start or end times relative to the time
3385-
* the
3386-
* request was sent; the response indicates the corresponding absolute time
3387-
* interval.
3388-
* 2) The request may have specified an end time past the latest time for which
3389-
* data was available (e.g. if requesting data for the today); the response
3390-
* indicates the latest time for which data was actually returned.
3391-
* 3) The response data for a single request may be broken down into multiple
3392-
* time intervals, if a time series was requested.
33933383
*/
33943384
@interface GTLRAdExchangeBuyerII_TimeInterval : GTLRObject
33953385

Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportObjects.h

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,6 @@ NS_ASSUME_NONNULL_BEGIN
3232
// ----------------------------------------------------------------------------
3333
// Constants - For some of the classes' properties below.
3434

35-
// ----------------------------------------------------------------------------
36-
// GTLRAdExperienceReport_PlatformSummary.abusiveStatus
37-
38-
/**
39-
* Failing.
40-
*
41-
* Value: "FAILING"
42-
*/
43-
GTLR_EXTERN NSString * const kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Failing;
44-
/**
45-
* Passing.
46-
*
47-
* Value: "PASSING"
48-
*/
49-
GTLR_EXTERN NSString * const kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Passing;
50-
/**
51-
* Not reviewed.
52-
*
53-
* Value: "UNKNOWN"
54-
*/
55-
GTLR_EXTERN NSString * const kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Unknown;
56-
5735
// ----------------------------------------------------------------------------
5836
// GTLRAdExperienceReport_PlatformSummary.betterAdsStatus
5937

@@ -131,19 +109,6 @@ GTLR_EXTERN NSString * const kGTLRAdExperienceReport_PlatformSummary_Region_Regi
131109
*/
132110
@interface GTLRAdExperienceReport_PlatformSummary : GTLRObject
133111

134-
/**
135-
* The status of the site reviewed for abusive ads.
136-
*
137-
* Likely values:
138-
* @arg @c kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Failing
139-
* Failing. (Value: "FAILING")
140-
* @arg @c kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Passing
141-
* Passing. (Value: "PASSING")
142-
* @arg @c kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Unknown Not
143-
* reviewed. (Value: "UNKNOWN")
144-
*/
145-
@property(nonatomic, copy, nullable) NSString *abusiveStatus;
146-
147112
/**
148113
* The status of the site reviewed for the Better Ads Standards.
149114
*

Source/GeneratedServices/AdExperienceReport/GTLRAdExperienceReportObjects.m

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
// ----------------------------------------------------------------------------
1515
// Constants
1616

17-
// GTLRAdExperienceReport_PlatformSummary.abusiveStatus
18-
NSString * const kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Failing = @"FAILING";
19-
NSString * const kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Passing = @"PASSING";
20-
NSString * const kGTLRAdExperienceReport_PlatformSummary_AbusiveStatus_Unknown = @"UNKNOWN";
21-
2217
// GTLRAdExperienceReport_PlatformSummary.betterAdsStatus
2318
NSString * const kGTLRAdExperienceReport_PlatformSummary_BetterAdsStatus_Failing = @"FAILING";
2419
NSString * const kGTLRAdExperienceReport_PlatformSummary_BetterAdsStatus_Passing = @"PASSING";
@@ -43,8 +38,8 @@
4338
//
4439

4540
@implementation GTLRAdExperienceReport_PlatformSummary
46-
@dynamic abusiveStatus, betterAdsStatus, enforcementTime, filterStatus,
47-
lastChangeTime, region, reportUrl, underReview;
41+
@dynamic betterAdsStatus, enforcementTime, filterStatus, lastChangeTime, region,
42+
reportUrl, underReview;
4843

4944
+ (NSDictionary<NSString *, Class> *)arrayPropertyToClassMap {
5045
NSDictionary<NSString *, Class> *map = @{

Source/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.h

Lines changed: 24 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_ApplicationPolicy_InstallTyp
121121

122122
/** Value: "DO_NOT_ASK_CREDENTIALS_ON_BOOT" */
123123
GTLR_EXTERN NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_DoNotAskCredentialsOnBoot;
124+
/** Value: "LOCK_NOW" */
125+
GTLR_EXTERN NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_LockNow;
124126
/** Value: "REQUIRE_ENTRY" */
125127
GTLR_EXTERN NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_RequireEntry;
126128
/** Value: "RESET_PASSWORD_FLAG_UNSPECIFIED" */
@@ -462,8 +464,9 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonCompl
462464
*/
463465
GTLR_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_ApiLevel;
464466
/**
465-
* The setting cannot be applied to the application because its target SDK
466-
* version is not high enough.
467+
* The setting cannot be applied to the application because the application
468+
* doesn't support it, for example because its target SDK version is not high
469+
* enough.
467470
*
468471
* Value: "APP_INCOMPATIBLE"
469472
*/
@@ -538,8 +541,9 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition
538541
*/
539542
GTLR_EXTERN NSString * const kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_ApiLevel;
540543
/**
541-
* The setting cannot be applied to the application because its target SDK
542-
* version is not high enough.
544+
* The setting cannot be applied to the application because the application
545+
* doesn't support it, for example because its target SDK version is not high
546+
* enough.
543547
*
544548
* Value: "APP_INCOMPATIBLE"
545549
*/
@@ -1872,8 +1876,8 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_WebToke
18721876
@property(nonatomic, copy, nullable) NSString *fieldPath;
18731877

18741878
/**
1875-
* If package_name is set and the non-compliance reason is APP_NOT_INSTALLED,
1876-
* the detailed reason the app cannot be installed.
1879+
* If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or
1880+
* APP_NOT_UPDATED, the detailed reason the app cannot be installed or updated.
18771881
*
18781882
* Likely values:
18791883
* @arg @c kGTLRAndroidManagement_NonComplianceDetail_InstallationFailureReason_InProgress
@@ -1924,8 +1928,9 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_WebToke
19241928
* The setting is not supported in the API level of Android OS version
19251929
* the device is running. (Value: "API_LEVEL")
19261930
* @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppIncompatible
1927-
* The setting cannot be applied to the application because its target
1928-
* SDK version is not high enough. (Value: "APP_INCOMPATIBLE")
1931+
* The setting cannot be applied to the application because the
1932+
* application doesn't support it, for example because its target SDK
1933+
* version is not high enough. (Value: "APP_INCOMPATIBLE")
19291934
* @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppInstalled
19301935
* A blocked application is installed. (Value: "APP_INSTALLED")
19311936
* @arg @c kGTLRAndroidManagement_NonComplianceDetail_NonComplianceReason_AppNotInstalled
@@ -1986,8 +1991,9 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_WebToke
19861991
* The setting is not supported in the API level of Android OS version
19871992
* the device is running. (Value: "API_LEVEL")
19881993
* @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppIncompatible
1989-
* The setting cannot be applied to the application because its target
1990-
* SDK version is not high enough. (Value: "APP_INCOMPATIBLE")
1994+
* The setting cannot be applied to the application because the
1995+
* application doesn't support it, for example because its target SDK
1996+
* version is not high enough. (Value: "APP_INCOMPATIBLE")
19911997
* @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppInstalled
19921998
* A blocked application is installed. (Value: "APP_INSTALLED")
19931999
* @arg @c kGTLRAndroidManagement_NonComplianceDetailCondition_NonComplianceReason_AppNotInstalled
@@ -2014,9 +2020,7 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_WebToke
20142020

20152021
/**
20162022
* The package name indicating which application is out of compliance. If not
2017-
* set, then this condition matches any package name. If this field is set,
2018-
* then setting_name must be unset or set to applications; otherwise, the
2019-
* condition would never be satisfied.
2023+
* set, then this condition matches any package name.
20202024
*/
20212025
@property(nonatomic, copy, nullable) NSString *packageName;
20222026

@@ -2421,12 +2425,13 @@ GTLR_EXTERN NSString * const kGTLRAndroidManagement_WebToken_Permissions_WebToke
24212425
@property(nonatomic, copy, nullable) NSString *name;
24222426

24232427
/**
2424-
* Flag to specify if network escape hatch is enabled. If this flag has been
2425-
* enabled then upon device boot if device has no network connection, then an
2426-
* activity will be shown that allows the user to temporarily connect to a
2427-
* network to fetch the latest policy. The launched activity will time out if
2428-
* no network has been connected for a given while and will return to the
2429-
* previous activity that was shown.
2428+
* Whether the network escape hatch is enabled. If a network connection can't
2429+
* be made at boot time, the escape hatch prompts the user to temporarily
2430+
* connect to a network in order to refresh the device policy. After applying
2431+
* policy, the temporary network will be forgotten and the device will continue
2432+
* booting. This prevents being unable to connect to a network if there is no
2433+
* suitable network in the last policy and the device boots into an app in lock
2434+
* task mode, or the user is otherwise unable to reach device settings.
24302435
*
24312436
* Uses NSNumber of boolValue.
24322437
*/

Source/GeneratedServices/AndroidManagement/GTLRAndroidManagementObjects.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
// GTLRAndroidManagement_Command.resetPasswordFlags
2929
NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_DoNotAskCredentialsOnBoot = @"DO_NOT_ASK_CREDENTIALS_ON_BOOT";
30+
NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_LockNow = @"LOCK_NOW";
3031
NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_RequireEntry = @"REQUIRE_ENTRY";
3132
NSString * const kGTLRAndroidManagement_Command_ResetPasswordFlags_ResetPasswordFlagUnspecified = @"RESET_PASSWORD_FLAG_UNSPECIFIED";
3233

Source/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerObjects.h

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -288,37 +288,41 @@ GTLR_EXTERN NSString * const kGTLRAndroidProvisioningPartner_UnclaimDeviceReques
288288

289289

290290
/**
291-
* Company
291+
* A customer resource in the zero-touch enrollment API.
292292
*/
293293
@interface GTLRAndroidProvisioningPartner_Company : GTLRObject
294294

295295
/**
296-
* Admin emails.
297-
* Admins are able to operate on the portal.
298-
* This field is a write-only field at creation time.
296+
* Input only. Optional. Email address of customer's users in the admin role.
297+
* Each email address must be associated with a Google Account.
299298
*/
300299
@property(nonatomic, strong, nullable) NSArray<NSString *> *adminEmails;
301300

302301
/**
303-
* Company ID.
302+
* Output only. The ID of the company. Assigned by the server.
304303
*
305304
* Uses NSNumber of longLongValue.
306305
*/
307306
@property(nonatomic, strong, nullable) NSNumber *companyId;
308307

309-
/** Company name. */
308+
/**
309+
* Required. The name of the company. For example _XYZ Corp_. Characters
310+
* allowed are: Latin letters, numerals, hyphens, and spaces. Displayed to the
311+
* customer's employees in the zero-touch enrollment portal.
312+
*/
310313
@property(nonatomic, copy, nullable) NSString *companyName;
311314

312315
/**
313-
* The API resource name of the company in the format
314-
* `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]`.
316+
* Output only. The API resource name of the company in the format
317+
* `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]`. Assigned by the server.
315318
*/
316319
@property(nonatomic, copy, nullable) NSString *name;
317320

318321
/**
319-
* Owner emails.
320-
* Owners are able to operate on the portal, and modify admins or other
321-
* owners. This field is a write-only field at creation time.
322+
* Input only. Email address of customer's users in the owner role. At least
323+
* one `owner_email` is required. Each email address must be associated with a
324+
* Google Account. Owners share the same access as admins but can also add,
325+
* delete, and edit your organization's portal users.
322326
*/
323327
@property(nonatomic, strong, nullable) NSArray<NSString *> *ownerEmails;
324328

@@ -330,7 +334,11 @@ GTLR_EXTERN NSString * const kGTLRAndroidProvisioningPartner_UnclaimDeviceReques
330334
*/
331335
@interface GTLRAndroidProvisioningPartner_CreateCustomerRequest : GTLRObject
332336

333-
/** The customer to create. */
337+
/**
338+
* Required. The company data to populate the new customer. Must contain a
339+
* value for `companyName` and at least one `owner_email` that's associated
340+
* with a Google Account. The values for `companyId` and `name` must be empty.
341+
*/
334342
@property(nonatomic, strong, nullable) GTLRAndroidProvisioningPartner_Company *customer;
335343

336344
@end

Source/GeneratedServices/AndroidProvisioningPartner/GTLRAndroidProvisioningPartnerQuery.h

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,29 +76,36 @@ NS_ASSUME_NONNULL_BEGIN
7676
@end
7777

7878
/**
79-
* A customer for zero-touch enrollment will be created.
80-
* After a Customer is created, their admins and owners will be able to manage
81-
* devices on partner.android.com/zerotouch or via their API.
79+
* Creates a customer for zero-touch enrollment. After the method returns
80+
* successfully, admin and owner roles can manage devices and EMM configs
81+
* by calling API methods or using their zero-touch enrollment portal. The API
82+
* doesn't notify the customer that they have access.
8283
*
8384
* Method: androiddeviceprovisioning.partners.customers.create
8485
*/
8586
@interface GTLRAndroidProvisioningPartnerQuery_PartnersCustomersCreate : GTLRAndroidProvisioningPartnerQuery
8687
// Previous library name was
8788
// +[GTLQueryAndroidProvisioningPartner queryForPartnersCustomersCreateWithObject:parent:]
8889

89-
/** The parent resource in format `partners/[PARTNER_ID]'. */
90+
/**
91+
* Required. The parent resource ID in format `partners/[PARTNER_ID]` that
92+
* identifies the reseller.
93+
*/
9094
@property(nonatomic, copy, nullable) NSString *parent;
9195

9296
/**
9397
* Fetches a @c GTLRAndroidProvisioningPartner_Company.
9498
*
95-
* A customer for zero-touch enrollment will be created.
96-
* After a Customer is created, their admins and owners will be able to manage
97-
* devices on partner.android.com/zerotouch or via their API.
99+
* Creates a customer for zero-touch enrollment. After the method returns
100+
* successfully, admin and owner roles can manage devices and EMM configs
101+
* by calling API methods or using their zero-touch enrollment portal. The API
102+
* doesn't notify the customer that they have access.
98103
*
99104
* @param object The @c GTLRAndroidProvisioningPartner_CreateCustomerRequest to
100105
* include in the query.
101-
* @param parent The parent resource in format `partners/[PARTNER_ID]'.
106+
* @param parent Required. The parent resource ID in format
107+
* `partners/[PARTNER_ID]` that
108+
* identifies the reseller.
102109
*
103110
* @returns GTLRAndroidProvisioningPartnerQuery_PartnersCustomersCreate
104111
*/
@@ -108,7 +115,7 @@ NS_ASSUME_NONNULL_BEGIN
108115
@end
109116

110117
/**
111-
* List the customers that are enrolled to the reseller identified by the
118+
* Lists the customers that are enrolled to the reseller identified by the
112119
* `partnerId` argument. This list includes customers that the reseller
113120
* created and customers that enrolled themselves using the portal.
114121
*
@@ -124,7 +131,7 @@ NS_ASSUME_NONNULL_BEGIN
124131
/**
125132
* Fetches a @c GTLRAndroidProvisioningPartner_ListCustomersResponse.
126133
*
127-
* List the customers that are enrolled to the reseller identified by the
134+
* Lists the customers that are enrolled to the reseller identified by the
128135
* `partnerId` argument. This list includes customers that the reseller
129136
* created and customers that enrolled themselves using the portal.
130137
*

Source/GeneratedServices/BigQueryDataTransfer/GTLRBigQueryDataTransferObjects.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,10 +791,16 @@ GTLR_EXTERN NSString * const kGTLRBigQueryDataTransfer_TransferRun_State_Transfe
791791
*/
792792
@interface GTLRBigQueryDataTransfer_ScheduleTransferRunsRequest : GTLRObject
793793

794-
/** End time of the range of transfer runs. */
794+
/**
795+
* End time of the range of transfer runs. For example,
796+
* `"2017-05-30T00:00:00+00:00"`.
797+
*/
795798
@property(nonatomic, strong, nullable) GTLRDateTime *endTime;
796799

797-
/** Start time of the range of transfer runs. */
800+
/**
801+
* Start time of the range of transfer runs. For example,
802+
* `"2017-05-25T00:00:00+00:00"`.
803+
*/
798804
@property(nonatomic, strong, nullable) GTLRDateTime *startTime;
799805

800806
@end

0 commit comments

Comments
 (0)