google-api-client 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -0
- data/README.md +2 -2
- data/api_names.yaml +19 -0
- data/api_names_out.yaml +843 -269
- data/bin/generate-api +18 -4
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +249 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +208 -1
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +68 -0
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +38 -0
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +12 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +1 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +118 -0
- data/generated/google/apis/admin_reports_v1/representations.rb +26 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +0 -7
- data/generated/google/apis/adsense_v1_4/representations.rb +62 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +40 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/representations.rb +188 -0
- data/generated/google/apis/analytics_v3/service.rb +3 -3
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +76 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +6 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +92 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +22 -1
- data/generated/google/apis/appengine_v1beta5/representations.rb +69 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +43 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +22 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/representations.rb +8 -0
- data/generated/google/apis/autoscaler_v1beta2/representations.rb +32 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +31 -0
- data/generated/google/apis/bigquery_v2/representations.rb +98 -0
- data/generated/google/apis/blogger_v3/representations.rb +70 -0
- data/generated/google/apis/books_v1/representations.rb +196 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +64 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +40 -0
- data/generated/google/apis/classroom_v1/representations.rb +28 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +24 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/representations.rb +54 -0
- data/generated/google/apis/cloudlatencytest_v2/representations.rb +14 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +42 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +15 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/cloudtrace_v1/representations.rb +10 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +38 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +512 -0
- data/generated/google/apis/compute_beta/representations.rb +599 -0
- data/generated/google/apis/compute_beta/service.rb +415 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/representations.rb +386 -0
- data/generated/google/apis/container_v1/representations.rb +20 -0
- data/generated/google/apis/content_v2/representations.rb +296 -0
- data/generated/google/apis/coordinate_v1/representations.rb +36 -0
- data/generated/google/apis/customsearch_v1/representations.rb +26 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1415 -0
- data/generated/google/apis/dataproc_v1/representations.rb +569 -0
- data/generated/google/apis/dataproc_v1/service.rb +581 -4
- data/generated/google/apis/datastore_v1beta2/representations.rb +68 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +58 -0
- data/generated/google/apis/dfareporting_v2_3/representations.rb +386 -0
- data/generated/google/apis/discovery_v1/representations.rb +40 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +16 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +42 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +34 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +7 -0
- data/generated/google/apis/drive_v2/representations.rb +83 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +51 -0
- data/generated/google/apis/fitness_v1/representations.rb +40 -0
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/representations.rb +48 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +22 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/representations.rb +30 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/representations.rb +198 -0
- data/generated/google/apis/gan_v1beta1/representations.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2 -211
- data/generated/google/apis/genomics_v1/representations.rb +119 -84
- data/generated/google/apis/gmail_v1/representations.rb +44 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +2 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +105 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +99 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +36 -1
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/representations.rb +6 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +40 -0
- data/generated/google/apis/manager_v1beta2/representations.rb +70 -0
- data/generated/google/apis/mirror_v1/representations.rb +40 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/representations.rb +8 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +28 -0
- data/generated/google/apis/partners_v2/representations.rb +52 -0
- data/generated/google/apis/people_v1.rb +11 -11
- data/generated/google/apis/people_v1/classes.rb +888 -961
- data/generated/google/apis/people_v1/representations.rb +295 -225
- data/generated/google/apis/people_v1/service.rb +61 -65
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/representations.rb +124 -0
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/representations.rb +102 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
- data/generated/google/apis/prediction_v1_6/representations.rb +42 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +38 -0
- data/generated/google/apis/pubsub_v1/representations.rb +42 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +48 -0
- data/generated/google/apis/replicapool_v1beta2/representations.rb +28 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +30 -0
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +6 -0
- data/generated/google/apis/reseller_v1/representations.rb +23 -0
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +32 -0
- data/generated/google/apis/script_v1/representations.rb +12 -0
- data/generated/google/apis/site_verification_v1/representations.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +50 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +98 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +48 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +110 -0
- data/generated/google/apis/tagmanager_v1/representations.rb +96 -0
- data/generated/google/apis/tagmanager_v1/service.rb +303 -1
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +12 -0
- data/generated/google/apis/tasks_v1/representations.rb +10 -0
- data/generated/google/apis/translate_v2.rb +1 -1
- data/generated/google/apis/translate_v2/representations.rb +12 -0
- data/generated/google/apis/urlshortener_v1/representations.rb +10 -0
- data/generated/google/apis/vision_v1.rb +37 -0
- data/generated/google/apis/vision_v1/classes.rb +1259 -0
- data/generated/google/apis/vision_v1/representations.rb +418 -0
- data/generated/google/apis/vision_v1/service.rb +91 -0
- data/generated/google/apis/webmasters_v3/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +30 -0
- data/generated/google/apis/youtube_v3/representations.rb +332 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +16 -0
- data/google-api-client.gemspec +0 -2
- data/lib/google/api_client/client_secrets.rb +3 -4
- data/lib/google/apis/core/api_command.rb +5 -4
- data/lib/google/apis/core/http_command.rb +20 -4
- data/lib/google/apis/core/json_representation.rb +20 -2
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +2 -0
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +2 -1
- data/spec/google/api_client/client_secrets_spec.rb +2 -2
- data/spec/google/apis/core/api_command_spec.rb +2 -2
- data/spec/google/apis/core/http_command_spec.rb +19 -0
- data/spec/google/apis/core/json_representation_spec.rb +14 -7
- data/spec/google/apis/generator/generator_spec.rb +52 -0
- metadata +6 -30
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
27
27
|
module AppengineV1beta5
|
|
28
28
|
VERSION = 'V1beta5'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20160223'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -211,7 +211,7 @@ module Google
|
|
|
211
211
|
# @return [String]
|
|
212
212
|
attr_accessor :name
|
|
213
213
|
|
|
214
|
-
# The relative name/path of the application. Example: "myapp".
|
|
214
|
+
# The relative name/path of the application. Example: "myapp".
|
|
215
215
|
# Corresponds to the JSON property `id`
|
|
216
216
|
# @return [String]
|
|
217
217
|
attr_accessor :id
|
|
@@ -222,6 +222,13 @@ module Google
|
|
|
222
222
|
# @return [Array<Google::Apis::AppengineV1beta5::UrlDispatchRule>]
|
|
223
223
|
attr_accessor :dispatch_rules
|
|
224
224
|
|
|
225
|
+
# If set, only users from the specified Google Apps authentication domain may
|
|
226
|
+
# access the application. If not set, any Google Account may access the
|
|
227
|
+
# application.
|
|
228
|
+
# Corresponds to the JSON property `authDomain`
|
|
229
|
+
# @return [String]
|
|
230
|
+
attr_accessor :auth_domain
|
|
231
|
+
|
|
225
232
|
# The location from which the application will be run. Choices are "us" for
|
|
226
233
|
# United States and "eu" for European Union. Application instances will run out
|
|
227
234
|
# of data centers in the chosen location and all of the application's End User
|
|
@@ -237,6 +244,17 @@ module Google
|
|
|
237
244
|
# @return [String]
|
|
238
245
|
attr_accessor :code_bucket
|
|
239
246
|
|
|
247
|
+
# Determines the cookie expiration policy for the application.
|
|
248
|
+
# Corresponds to the JSON property `defaultCookieExpiration`
|
|
249
|
+
# @return [String]
|
|
250
|
+
attr_accessor :default_cookie_expiration
|
|
251
|
+
|
|
252
|
+
# The hostname used to reach the application, as resolved by App Engine. @
|
|
253
|
+
# OutputOnly
|
|
254
|
+
# Corresponds to the JSON property `defaultHostname`
|
|
255
|
+
# @return [String]
|
|
256
|
+
attr_accessor :default_hostname
|
|
257
|
+
|
|
240
258
|
# A Google Cloud Storage bucket which can be used by the application to store
|
|
241
259
|
# content. @OutputOnly
|
|
242
260
|
# Corresponds to the JSON property `defaultBucket`
|
|
@@ -252,8 +270,11 @@ module Google
|
|
|
252
270
|
@name = args[:name] if args.key?(:name)
|
|
253
271
|
@id = args[:id] if args.key?(:id)
|
|
254
272
|
@dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
|
|
273
|
+
@auth_domain = args[:auth_domain] if args.key?(:auth_domain)
|
|
255
274
|
@location = args[:location] if args.key?(:location)
|
|
256
275
|
@code_bucket = args[:code_bucket] if args.key?(:code_bucket)
|
|
276
|
+
@default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
|
|
277
|
+
@default_hostname = args[:default_hostname] if args.key?(:default_hostname)
|
|
257
278
|
@default_bucket = args[:default_bucket] if args.key?(:default_bucket)
|
|
258
279
|
end
|
|
259
280
|
end
|
|
@@ -24,134 +24,200 @@ module Google
|
|
|
24
24
|
|
|
25
25
|
class Operation
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
27
29
|
end
|
|
28
30
|
|
|
29
31
|
class Status
|
|
30
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
31
35
|
end
|
|
32
36
|
|
|
33
37
|
class ListOperationsResponse
|
|
34
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
41
|
end
|
|
36
42
|
|
|
37
43
|
class Application
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
39
47
|
end
|
|
40
48
|
|
|
41
49
|
class UrlDispatchRule
|
|
42
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
43
53
|
end
|
|
44
54
|
|
|
45
55
|
class Version
|
|
46
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
59
|
end
|
|
48
60
|
|
|
49
61
|
class AutomaticScaling
|
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
51
65
|
end
|
|
52
66
|
|
|
53
67
|
class CpuUtilization
|
|
54
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
55
71
|
end
|
|
56
72
|
|
|
57
73
|
class RequestUtilization
|
|
58
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
77
|
end
|
|
60
78
|
|
|
61
79
|
class DiskUtilization
|
|
62
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
63
83
|
end
|
|
64
84
|
|
|
65
85
|
class NetworkUtilization
|
|
66
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
67
89
|
end
|
|
68
90
|
|
|
69
91
|
class BasicScaling
|
|
70
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
95
|
end
|
|
72
96
|
|
|
73
97
|
class ManualScaling
|
|
74
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
75
101
|
end
|
|
76
102
|
|
|
77
103
|
class Network
|
|
78
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
79
107
|
end
|
|
80
108
|
|
|
81
109
|
class Resources
|
|
82
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
113
|
end
|
|
84
114
|
|
|
85
115
|
class UrlMap
|
|
86
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
87
119
|
end
|
|
88
120
|
|
|
89
121
|
class StaticFilesHandler
|
|
90
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
91
125
|
end
|
|
92
126
|
|
|
93
127
|
class ScriptHandler
|
|
94
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
+
|
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
131
|
end
|
|
96
132
|
|
|
97
133
|
class ApiEndpointHandler
|
|
98
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
99
137
|
end
|
|
100
138
|
|
|
101
139
|
class ErrorHandler
|
|
102
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
103
143
|
end
|
|
104
144
|
|
|
105
145
|
class Library
|
|
106
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
149
|
end
|
|
108
150
|
|
|
109
151
|
class ApiConfigHandler
|
|
110
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
111
155
|
end
|
|
112
156
|
|
|
113
157
|
class HealthCheck
|
|
114
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
+
|
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
115
161
|
end
|
|
116
162
|
|
|
117
163
|
class Deployment
|
|
118
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
+
|
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
167
|
end
|
|
120
168
|
|
|
121
169
|
class FileInfo
|
|
122
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
123
173
|
end
|
|
124
174
|
|
|
125
175
|
class ContainerInfo
|
|
126
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
127
179
|
end
|
|
128
180
|
|
|
129
181
|
class SourceReference
|
|
130
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
131
185
|
end
|
|
132
186
|
|
|
133
187
|
class ListVersionsResponse
|
|
134
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
135
191
|
end
|
|
136
192
|
|
|
137
193
|
class Service
|
|
138
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
139
197
|
end
|
|
140
198
|
|
|
141
199
|
class TrafficSplit
|
|
142
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
203
|
end
|
|
144
204
|
|
|
145
205
|
class ListServicesResponse
|
|
146
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
147
209
|
end
|
|
148
210
|
|
|
149
211
|
class OperationMetadata
|
|
150
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
151
215
|
end
|
|
152
216
|
|
|
153
217
|
class OperationMetadataV1Beta5
|
|
154
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
221
|
end
|
|
156
222
|
|
|
157
223
|
class Operation
|
|
@@ -191,8 +257,11 @@ module Google
|
|
|
191
257
|
property :id, as: 'id'
|
|
192
258
|
collection :dispatch_rules, as: 'dispatchRules', class: Google::Apis::AppengineV1beta5::UrlDispatchRule, decorator: Google::Apis::AppengineV1beta5::UrlDispatchRule::Representation
|
|
193
259
|
|
|
260
|
+
property :auth_domain, as: 'authDomain'
|
|
194
261
|
property :location, as: 'location'
|
|
195
262
|
property :code_bucket, as: 'codeBucket'
|
|
263
|
+
property :default_cookie_expiration, as: 'defaultCookieExpiration'
|
|
264
|
+
property :default_hostname, as: 'defaultHostname'
|
|
196
265
|
property :default_bucket, as: 'defaultBucket'
|
|
197
266
|
end
|
|
198
267
|
end
|
|
@@ -465,6 +465,49 @@ module Google
|
|
|
465
465
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
466
466
|
execute_or_queue_command(command, &block)
|
|
467
467
|
end
|
|
468
|
+
|
|
469
|
+
# Updates an existing version. Note: UNIMPLEMENTED.
|
|
470
|
+
# @param [String] apps_id
|
|
471
|
+
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
|
472
|
+
# services/default/versions/1".
|
|
473
|
+
# @param [String] services_id
|
|
474
|
+
# Part of `name`. See documentation of `appsId`.
|
|
475
|
+
# @param [String] versions_id
|
|
476
|
+
# Part of `name`. See documentation of `appsId`.
|
|
477
|
+
# @param [Google::Apis::AppengineV1beta5::Version] version_object
|
|
478
|
+
# @param [String] mask
|
|
479
|
+
# Standard field mask for the set of fields to be updated.
|
|
480
|
+
# @param [String] fields
|
|
481
|
+
# Selector specifying which fields to include in a partial response.
|
|
482
|
+
# @param [String] quota_user
|
|
483
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
484
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
485
|
+
# @param [Google::Apis::RequestOptions] options
|
|
486
|
+
# Request-specific options
|
|
487
|
+
#
|
|
488
|
+
# @yield [result, err] Result & error if block supplied
|
|
489
|
+
# @yieldparam result [Google::Apis::AppengineV1beta5::Version] parsed result object
|
|
490
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
491
|
+
#
|
|
492
|
+
# @return [Google::Apis::AppengineV1beta5::Version]
|
|
493
|
+
#
|
|
494
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
495
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
496
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
497
|
+
def patch_app_service_version(apps_id, services_id, versions_id, version_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
498
|
+
command = make_simple_command(:patch, 'v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}', options)
|
|
499
|
+
command.request_representation = Google::Apis::AppengineV1beta5::Version::Representation
|
|
500
|
+
command.request_object = version_object
|
|
501
|
+
command.response_representation = Google::Apis::AppengineV1beta5::Version::Representation
|
|
502
|
+
command.response_class = Google::Apis::AppengineV1beta5::Version
|
|
503
|
+
command.params['appsId'] = apps_id unless apps_id.nil?
|
|
504
|
+
command.params['servicesId'] = services_id unless services_id.nil?
|
|
505
|
+
command.params['versionsId'] = versions_id unless versions_id.nil?
|
|
506
|
+
command.query['mask'] = mask unless mask.nil?
|
|
507
|
+
command.query['fields'] = fields unless fields.nil?
|
|
508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
509
|
+
execute_or_queue_command(command, &block)
|
|
510
|
+
end
|
|
468
511
|
|
|
469
512
|
protected
|
|
470
513
|
|
|
@@ -24,46 +24,68 @@ module Google
|
|
|
24
24
|
|
|
25
25
|
class Activity
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
27
29
|
end
|
|
28
30
|
|
|
29
31
|
class Event
|
|
30
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
31
35
|
end
|
|
32
36
|
|
|
33
37
|
class ListActivitiesResponse
|
|
34
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
41
|
end
|
|
36
42
|
|
|
37
43
|
class Move
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
39
47
|
end
|
|
40
48
|
|
|
41
49
|
class Parent
|
|
42
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
43
53
|
end
|
|
44
54
|
|
|
45
55
|
class Permission
|
|
46
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
59
|
end
|
|
48
60
|
|
|
49
61
|
class PermissionChange
|
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
51
65
|
end
|
|
52
66
|
|
|
53
67
|
class Photo
|
|
54
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
55
71
|
end
|
|
56
72
|
|
|
57
73
|
class Rename
|
|
58
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
77
|
end
|
|
60
78
|
|
|
61
79
|
class Target
|
|
62
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
63
83
|
end
|
|
64
84
|
|
|
65
85
|
class User
|
|
66
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
67
89
|
end
|
|
68
90
|
|
|
69
91
|
class Activity
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services/web/api/states
|
|
26
26
|
module AppstateV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160222'
|
|
29
29
|
|
|
30
30
|
# View and manage your data for this application
|
|
31
31
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
|
@@ -24,18 +24,26 @@ module Google
|
|
|
24
24
|
|
|
25
25
|
class GetResponse
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
27
29
|
end
|
|
28
30
|
|
|
29
31
|
class ListResponse
|
|
30
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
31
35
|
end
|
|
32
36
|
|
|
33
37
|
class UpdateRequest
|
|
34
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
41
|
end
|
|
36
42
|
|
|
37
43
|
class WriteResult
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
39
47
|
end
|
|
40
48
|
|
|
41
49
|
class GetResponse
|
|
@@ -24,30 +24,44 @@ module Google
|
|
|
24
24
|
|
|
25
25
|
class Autoscaler
|
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
27
29
|
end
|
|
28
30
|
|
|
29
31
|
class ListAutoscalerResponse
|
|
30
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
31
35
|
end
|
|
32
36
|
|
|
33
37
|
class AutoscalingPolicy
|
|
34
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
41
|
end
|
|
36
42
|
|
|
37
43
|
class AutoscalingPolicyCpuUtilization
|
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
39
47
|
end
|
|
40
48
|
|
|
41
49
|
class AutoscalingPolicyCustomMetricUtilization
|
|
42
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
43
53
|
end
|
|
44
54
|
|
|
45
55
|
class AutoscalingPolicyLoadBalancingUtilization
|
|
46
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
59
|
end
|
|
48
60
|
|
|
49
61
|
class DeprecationStatus
|
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
51
65
|
end
|
|
52
66
|
|
|
53
67
|
class Operation
|
|
@@ -58,7 +72,11 @@ module Google
|
|
|
58
72
|
|
|
59
73
|
class Error
|
|
60
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
61
77
|
end
|
|
78
|
+
|
|
79
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
62
80
|
end
|
|
63
81
|
|
|
64
82
|
class Warning
|
|
@@ -66,12 +84,20 @@ module Google
|
|
|
66
84
|
|
|
67
85
|
class Datum
|
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
69
89
|
end
|
|
90
|
+
|
|
91
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
70
92
|
end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
95
|
end
|
|
72
96
|
|
|
73
97
|
class OperationList
|
|
74
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
75
101
|
end
|
|
76
102
|
|
|
77
103
|
class Zone
|
|
@@ -79,11 +105,17 @@ module Google
|
|
|
79
105
|
|
|
80
106
|
class MaintenanceWindow
|
|
81
107
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
108
|
+
|
|
109
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
82
110
|
end
|
|
111
|
+
|
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
113
|
end
|
|
84
114
|
|
|
85
115
|
class ZoneList
|
|
86
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
87
119
|
end
|
|
88
120
|
|
|
89
121
|
class Autoscaler
|