Skip to content

Commit ec6bfd4

Browse files
committed
Unblock the services that were waiting on canonical names.
They've gone a long time without them, just go ahead and generate them.
1 parent dcf5e69 commit ec6bfd4

File tree

73 files changed

+55987
-31
lines changed

Some content is hidden

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

73 files changed

+55987
-31
lines changed

GoogleAPIClientForREST.podspec

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Pod::Spec.new do |s|
3030
s.default_subspec = 'Core'
3131

3232
# subspecs for all the services.
33+
s.subspec 'Acceleratedmobilepageurl' do |sp|
34+
sp.dependency 'GoogleAPIClientForREST/Core'
35+
sp.source_files = 'Source/GeneratedServices/Acceleratedmobilepageurl/*.{h,m}'
36+
end
3337
s.subspec 'AdExchangeBuyer' do |sp|
3438
sp.dependency 'GoogleAPIClientForREST/Core'
3539
sp.source_files = 'Source/GeneratedServices/AdExchangeBuyer/*.{h,m}'
@@ -70,6 +74,10 @@ Pod::Spec.new do |s|
7074
sp.dependency 'GoogleAPIClientForREST/Core'
7175
sp.source_files = 'Source/GeneratedServices/AppState/*.{h,m}'
7276
end
77+
s.subspec 'Appengine' do |sp|
78+
sp.dependency 'GoogleAPIClientForREST/Core'
79+
sp.source_files = 'Source/GeneratedServices/Appengine/*.{h,m}'
80+
end
7381
s.subspec 'Appsactivity' do |sp|
7482
sp.dependency 'GoogleAPIClientForREST/Core'
7583
sp.source_files = 'Source/GeneratedServices/Appsactivity/*.{h,m}'
@@ -154,6 +162,10 @@ Pod::Spec.new do |s|
154162
sp.dependency 'GoogleAPIClientForREST/Core'
155163
sp.source_files = 'Source/GeneratedServices/CloudVideoIntelligence/*.{h,m}'
156164
end
165+
s.subspec 'Clouderrorreporting' do |sp|
166+
sp.dependency 'GoogleAPIClientForREST/Core'
167+
sp.source_files = 'Source/GeneratedServices/Clouderrorreporting/*.{h,m}'
168+
end
157169
s.subspec 'Compute' do |sp|
158170
sp.dependency 'GoogleAPIClientForREST/Core'
159171
sp.source_files = 'Source/GeneratedServices/Compute/*.{h,m}'
@@ -182,6 +194,10 @@ Pod::Spec.new do |s|
182194
sp.dependency 'GoogleAPIClientForREST/Core'
183195
sp.source_files = 'Source/GeneratedServices/Dataflow/*.{h,m}'
184196
end
197+
s.subspec 'Dataproc' do |sp|
198+
sp.dependency 'GoogleAPIClientForREST/Core'
199+
sp.source_files = 'Source/GeneratedServices/Dataproc/*.{h,m}'
200+
end
185201
s.subspec 'Datastore' do |sp|
186202
sp.dependency 'GoogleAPIClientForREST/Core'
187203
sp.source_files = 'Source/GeneratedServices/Datastore/*.{h,m}'
@@ -190,6 +206,10 @@ Pod::Spec.new do |s|
190206
sp.dependency 'GoogleAPIClientForREST/Core'
191207
sp.source_files = 'Source/GeneratedServices/DeploymentManager/*.{h,m}'
192208
end
209+
s.subspec 'Dfareporting' do |sp|
210+
sp.dependency 'GoogleAPIClientForREST/Core'
211+
sp.source_files = 'Source/GeneratedServices/Dfareporting/*.{h,m}'
212+
end
193213
s.subspec 'Directory' do |sp|
194214
sp.dependency 'GoogleAPIClientForREST/Core'
195215
sp.source_files = 'Source/GeneratedServices/Directory/*.{h,m}'
@@ -258,10 +278,18 @@ Pod::Spec.new do |s|
258278
sp.dependency 'GoogleAPIClientForREST/Core'
259279
sp.source_files = 'Source/GeneratedServices/GroupsSettings/*.{h,m}'
260280
end
281+
s.subspec 'Iam' do |sp|
282+
sp.dependency 'GoogleAPIClientForREST/Core'
283+
sp.source_files = 'Source/GeneratedServices/Iam/*.{h,m}'
284+
end
261285
s.subspec 'IdentityToolkit' do |sp|
262286
sp.dependency 'GoogleAPIClientForREST/Core'
263287
sp.source_files = 'Source/GeneratedServices/IdentityToolkit/*.{h,m}'
264288
end
289+
s.subspec 'Kgsearch' do |sp|
290+
sp.dependency 'GoogleAPIClientForREST/Core'
291+
sp.source_files = 'Source/GeneratedServices/Kgsearch/*.{h,m}'
292+
end
265293
s.subspec 'Licensing' do |sp|
266294
sp.dependency 'GoogleAPIClientForREST/Core'
267295
sp.source_files = 'Source/GeneratedServices/Licensing/*.{h,m}'
@@ -326,6 +354,14 @@ Pod::Spec.new do |s|
326354
sp.dependency 'GoogleAPIClientForREST/Core'
327355
sp.source_files = 'Source/GeneratedServices/QPXExpress/*.{h,m}'
328356
end
357+
s.subspec 'Replicapool' do |sp|
358+
sp.dependency 'GoogleAPIClientForREST/Core'
359+
sp.source_files = 'Source/GeneratedServices/Replicapool/*.{h,m}'
360+
end
361+
s.subspec 'Replicapoolupdater' do |sp|
362+
sp.dependency 'GoogleAPIClientForREST/Core'
363+
sp.source_files = 'Source/GeneratedServices/Replicapoolupdater/*.{h,m}'
364+
end
329365
s.subspec 'Reports' do |sp|
330366
sp.dependency 'GoogleAPIClientForREST/Core'
331367
sp.source_files = 'Source/GeneratedServices/Reports/*.{h,m}'
@@ -334,6 +370,10 @@ Pod::Spec.new do |s|
334370
sp.dependency 'GoogleAPIClientForREST/Core'
335371
sp.source_files = 'Source/GeneratedServices/Reseller/*.{h,m}'
336372
end
373+
s.subspec 'Resourceviews' do |sp|
374+
sp.dependency 'GoogleAPIClientForREST/Core'
375+
sp.source_files = 'Source/GeneratedServices/Resourceviews/*.{h,m}'
376+
end
337377
s.subspec 'SQLAdmin' do |sp|
338378
sp.dependency 'GoogleAPIClientForREST/Core'
339379
sp.source_files = 'Source/GeneratedServices/SQLAdmin/*.{h,m}'
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// NOTE: This file was generated by the ServiceGenerator.
2+
3+
// ----------------------------------------------------------------------------
4+
// API:
5+
// Accelerated Mobile Pages (AMP) URL API (acceleratedmobilepageurl/v1)
6+
// Description:
7+
// Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given
8+
// list of public URL(s).
9+
// Documentation:
10+
// https://developers.google.com/amp/cache/
11+
12+
#import "GTLRAcceleratedmobilepageurlObjects.h"
13+
#import "GTLRAcceleratedmobilepageurlQuery.h"
14+
#import "GTLRAcceleratedmobilepageurlService.h"
Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,220 @@
1+
// NOTE: This file was generated by the ServiceGenerator.
2+
3+
// ----------------------------------------------------------------------------
4+
// API:
5+
// Accelerated Mobile Pages (AMP) URL API (acceleratedmobilepageurl/v1)
6+
// Description:
7+
// Retrieves the list of AMP URL (and equivalent AMP Cache URL) for a given
8+
// list of public URL(s).
9+
// Documentation:
10+
// https://developers.google.com/amp/cache/
11+
12+
#if GTLR_BUILT_AS_FRAMEWORK
13+
#import "GTLR/GTLRObject.h"
14+
#else
15+
#import "GTLRObject.h"
16+
#endif
17+
18+
#if GTLR_RUNTIME_VERSION != 3000
19+
#error This file was generated by a different version of ServiceGenerator which is incompatible with this GTLR library source.
20+
#endif
21+
22+
@class GTLRAcceleratedmobilepageurl_AmpUrl;
23+
@class GTLRAcceleratedmobilepageurl_AmpUrlError;
24+
25+
NS_ASSUME_NONNULL_BEGIN
26+
27+
// ----------------------------------------------------------------------------
28+
// Constants - For some of the classes' properties below.
29+
30+
// ----------------------------------------------------------------------------
31+
// GTLRAcceleratedmobilepageurl_AmpUrlError.errorCode
32+
33+
/**
34+
* Indicates some kind of application error occurred at the server.
35+
* Client advised to retry.
36+
*
37+
* Value: "APPLICATION_ERROR"
38+
*/
39+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_ApplicationError;
40+
/**
41+
* Not specified error.
42+
*
43+
* Value: "ERROR_CODE_UNSPECIFIED"
44+
*/
45+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_ErrorCodeUnspecified;
46+
/**
47+
* Indicates the requested URL is not found in the index, possibly because
48+
* it's unable to be found, not able to be accessed by Googlebot, or some
49+
* other error.
50+
*
51+
* Value: "INPUT_URL_NOT_FOUND"
52+
*/
53+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_InputUrlNotFound;
54+
/**
55+
* Indicates no AMP URL has been found that corresponds to the requested
56+
* URL.
57+
*
58+
* Value: "NO_AMP_URL"
59+
*/
60+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_NoAmpUrl;
61+
/**
62+
* Indicates that an AMP URL has been found that corresponds to the request
63+
* URL, but it is not valid AMP HTML.
64+
*
65+
* Value: "URL_IS_INVALID_AMP"
66+
*/
67+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_UrlIsInvalidAmp;
68+
/**
69+
* DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a
70+
* non-error state, should not be relied upon as a sign of success or
71+
* failure. It will be removed in future versions of the API.
72+
*
73+
* Value: "URL_IS_VALID_AMP"
74+
*/
75+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_UrlIsValidAmp;
76+
77+
// ----------------------------------------------------------------------------
78+
// GTLRAcceleratedmobilepageurl_BatchGetAmpUrlsRequest.lookupStrategy
79+
80+
/**
81+
* FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in
82+
* the index. Any request URL not found in the index is crawled in realtime
83+
* to validate if there is a corresponding AMP URL. This strategy has higher
84+
* coverage but with extra latency introduced by realtime crawling. This is
85+
* the default strategy. Applications using this strategy should set higher
86+
* HTTP timeouts of the API calls.
87+
*
88+
* Value: "FETCH_LIVE_DOC"
89+
*/
90+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_BatchGetAmpUrlsRequest_LookupStrategy_FetchLiveDoc;
91+
/**
92+
* IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found
93+
* in index. For applications which need low latency use of IN_INDEX_DOC
94+
* strategy is recommended.
95+
*
96+
* Value: "IN_INDEX_DOC"
97+
*/
98+
GTLR_EXTERN NSString * const kGTLRAcceleratedmobilepageurl_BatchGetAmpUrlsRequest_LookupStrategy_InIndexDoc;
99+
100+
/**
101+
* AMP URL response for a requested URL.
102+
*/
103+
@interface GTLRAcceleratedmobilepageurl_AmpUrl : GTLRObject
104+
105+
/** The AMP URL pointing to the publisher's web server. */
106+
@property(nonatomic, copy, nullable) NSString *ampUrl;
107+
108+
/**
109+
* The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to
110+
* the cached document in the Google AMP Cache.
111+
*/
112+
@property(nonatomic, copy, nullable) NSString *cdnAmpUrl;
113+
114+
/** The original non-AMP URL. */
115+
@property(nonatomic, copy, nullable) NSString *originalUrl;
116+
117+
@end
118+
119+
120+
/**
121+
* AMP URL Error resource for a requested URL that couldn't be found.
122+
*/
123+
@interface GTLRAcceleratedmobilepageurl_AmpUrlError : GTLRObject
124+
125+
/**
126+
* The error code of an API call.
127+
*
128+
* Likely values:
129+
* @arg @c kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_ApplicationError
130+
* Indicates some kind of application error occurred at the server.
131+
* Client advised to retry. (Value: "APPLICATION_ERROR")
132+
* @arg @c kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_ErrorCodeUnspecified
133+
* Not specified error. (Value: "ERROR_CODE_UNSPECIFIED")
134+
* @arg @c kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_InputUrlNotFound
135+
* Indicates the requested URL is not found in the index, possibly
136+
* because
137+
* it's unable to be found, not able to be accessed by Googlebot, or some
138+
* other error. (Value: "INPUT_URL_NOT_FOUND")
139+
* @arg @c kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_NoAmpUrl
140+
* Indicates no AMP URL has been found that corresponds to the requested
141+
* URL. (Value: "NO_AMP_URL")
142+
* @arg @c kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_UrlIsInvalidAmp
143+
* Indicates that an AMP URL has been found that corresponds to the
144+
* request
145+
* URL, but it is not valid AMP HTML. (Value: "URL_IS_INVALID_AMP")
146+
* @arg @c kGTLRAcceleratedmobilepageurl_AmpUrlError_ErrorCode_UrlIsValidAmp
147+
* DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a
148+
* non-error state, should not be relied upon as a sign of success or
149+
* failure. It will be removed in future versions of the API. (Value:
150+
* "URL_IS_VALID_AMP")
151+
*/
152+
@property(nonatomic, copy, nullable) NSString *errorCode;
153+
154+
/** An optional descriptive error message. */
155+
@property(nonatomic, copy, nullable) NSString *errorMessage;
156+
157+
/** The original non-AMP URL. */
158+
@property(nonatomic, copy, nullable) NSString *originalUrl;
159+
160+
@end
161+
162+
163+
/**
164+
* AMP URL request for a batch of URLs.
165+
*/
166+
@interface GTLRAcceleratedmobilepageurl_BatchGetAmpUrlsRequest : GTLRObject
167+
168+
/**
169+
* The lookup_strategy being requested.
170+
*
171+
* Likely values:
172+
* @arg @c kGTLRAcceleratedmobilepageurl_BatchGetAmpUrlsRequest_LookupStrategy_FetchLiveDoc
173+
* FETCH_LIVE_DOC strategy involves live document fetch of URLs not found
174+
* in
175+
* the index. Any request URL not found in the index is crawled in
176+
* realtime
177+
* to validate if there is a corresponding AMP URL. This strategy has
178+
* higher
179+
* coverage but with extra latency introduced by realtime crawling. This
180+
* is
181+
* the default strategy. Applications using this strategy should set
182+
* higher
183+
* HTTP timeouts of the API calls. (Value: "FETCH_LIVE_DOC")
184+
* @arg @c kGTLRAcceleratedmobilepageurl_BatchGetAmpUrlsRequest_LookupStrategy_InIndexDoc
185+
* IN_INDEX_DOC strategy skips fetching live documents of URL(s) not
186+
* found
187+
* in index. For applications which need low latency use of IN_INDEX_DOC
188+
* strategy is recommended. (Value: "IN_INDEX_DOC")
189+
*/
190+
@property(nonatomic, copy, nullable) NSString *lookupStrategy;
191+
192+
/**
193+
* List of URLs to look up for the paired AMP URLs.
194+
* The URLs are case-sensitive. Up to 50 URLs per lookup
195+
* (see [Usage Limits](/amp/cache/reference/limits)).
196+
*/
197+
@property(nonatomic, strong, nullable) NSArray<NSString *> *urls;
198+
199+
@end
200+
201+
202+
/**
203+
* Batch AMP URL response.
204+
*/
205+
@interface GTLRAcceleratedmobilepageurl_BatchGetAmpUrlsResponse : GTLRObject
206+
207+
/**
208+
* For each URL in BatchAmpUrlsRequest, the URL response. The response might
209+
* not be in the same order as URLs in the batch request.
210+
* If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated
211+
* only once.
212+
*/
213+
@property(nonatomic, strong, nullable) NSArray<GTLRAcceleratedmobilepageurl_AmpUrl *> *ampUrls;
214+
215+
/** The errors for requested URLs that have no AMP URL. */
216+
@property(nonatomic, strong, nullable) NSArray<GTLRAcceleratedmobilepageurl_AmpUrlError *> *urlErrors;
217+
218+
@end
219+
220+
NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)