google-api-client 0.9.9 → 0.9.11
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/CHANGELOG.md +9 -0
- data/Gemfile +8 -0
- data/api_names.yaml +62 -55
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +534 -39
- data/generated/google/apis/androidenterprise_v1/representations.rb +222 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +595 -10
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +66 -6
- data/generated/google/apis/appengine_v1beta5/representations.rb +29 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +15 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -4
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +77 -0
- data/generated/google/apis/books_v1/representations.rb +34 -0
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +110 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +60 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +157 -3
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +33 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +22 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +61 -39
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +678 -17
- data/generated/google/apis/compute_beta/representations.rb +235 -0
- data/generated/google/apis/compute_beta/service.rb +1280 -600
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +34 -13
- data/generated/google/apis/compute_v1/representations.rb +14 -0
- data/generated/google/apis/compute_v1/service.rb +42 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +14 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1237 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +567 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +2 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +40 -50
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +2 -2
- data/generated/google/apis/fitness_v1/classes.rb +48 -5
- data/generated/google/apis/fitness_v1/representations.rb +18 -0
- data/generated/google/apis/fitness_v1/service.rb +15 -16
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -4
- data/generated/google/apis/genomics_v1/classes.rb +35 -7
- data/generated/google/apis/genomics_v1/representations.rb +7 -3
- data/generated/google/apis/genomics_v1/service.rb +1 -3
- data/generated/google/apis/gmail_v1.rb +7 -1
- data/generated/google/apis/gmail_v1/classes.rb +543 -0
- data/generated/google/apis/gmail_v1/representations.rb +213 -0
- data/generated/google/apis/gmail_v1/service.rb +898 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -6
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +17 -9
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -2
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/core/base_service.rb +3 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- data/sync.rb +71 -0
- metadata +11 -2
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/core/base_service'
|
|
16
|
+
require 'google/apis/core/json_representation'
|
|
17
|
+
require 'google/apis/core/hashable'
|
|
18
|
+
require 'google/apis/errors'
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Apis
|
|
22
|
+
module DatastoreV1beta3
|
|
23
|
+
# Google Cloud Datastore API
|
|
24
|
+
#
|
|
25
|
+
# Accesses the schemaless NoSQL database to provide fully managed, robust,
|
|
26
|
+
# scalable storage for your application.
|
|
27
|
+
#
|
|
28
|
+
# @example
|
|
29
|
+
# require 'google/apis/datastore_v1beta3'
|
|
30
|
+
#
|
|
31
|
+
# Datastore = Google::Apis::DatastoreV1beta3 # Alias the module
|
|
32
|
+
# service = Datastore::DatastoreService.new
|
|
33
|
+
#
|
|
34
|
+
# @see https://cloud.google.com/datastore/
|
|
35
|
+
class DatastoreService < Google::Apis::Core::BaseService
|
|
36
|
+
# @return [String]
|
|
37
|
+
# API key. Your API key identifies your project and provides you with API access,
|
|
38
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
39
|
+
attr_accessor :key
|
|
40
|
+
|
|
41
|
+
# @return [String]
|
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
44
|
+
attr_accessor :quota_user
|
|
45
|
+
|
|
46
|
+
def initialize
|
|
47
|
+
super('https://datastore.googleapis.com/', '')
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Queries for entities.
|
|
51
|
+
# @param [String] project_id
|
|
52
|
+
# The ID of the project against which to make the request.
|
|
53
|
+
# @param [Google::Apis::DatastoreV1beta3::RunQueryRequest] run_query_request_object
|
|
54
|
+
# @param [String] quota_user
|
|
55
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
56
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
57
|
+
# @param [String] fields
|
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
|
59
|
+
# @param [Google::Apis::RequestOptions] options
|
|
60
|
+
# Request-specific options
|
|
61
|
+
#
|
|
62
|
+
# @yield [result, err] Result & error if block supplied
|
|
63
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::RunQueryResponse] parsed result object
|
|
64
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
65
|
+
#
|
|
66
|
+
# @return [Google::Apis::DatastoreV1beta3::RunQueryResponse]
|
|
67
|
+
#
|
|
68
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
69
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
70
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
71
|
+
def run_project_query(project_id, run_query_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
72
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:runQuery', options)
|
|
73
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::RunQueryRequest::Representation
|
|
74
|
+
command.request_object = run_query_request_object
|
|
75
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::RunQueryResponse::Representation
|
|
76
|
+
command.response_class = Google::Apis::DatastoreV1beta3::RunQueryResponse
|
|
77
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
78
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
|
80
|
+
execute_or_queue_command(command, &block)
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Begins a new transaction.
|
|
84
|
+
# @param [String] project_id
|
|
85
|
+
# The ID of the project against which to make the request.
|
|
86
|
+
# @param [Google::Apis::DatastoreV1beta3::BeginTransactionRequest] begin_transaction_request_object
|
|
87
|
+
# @param [String] quota_user
|
|
88
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
89
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
90
|
+
# @param [String] fields
|
|
91
|
+
# Selector specifying which fields to include in a partial response.
|
|
92
|
+
# @param [Google::Apis::RequestOptions] options
|
|
93
|
+
# Request-specific options
|
|
94
|
+
#
|
|
95
|
+
# @yield [result, err] Result & error if block supplied
|
|
96
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::BeginTransactionResponse] parsed result object
|
|
97
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
98
|
+
#
|
|
99
|
+
# @return [Google::Apis::DatastoreV1beta3::BeginTransactionResponse]
|
|
100
|
+
#
|
|
101
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
102
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
103
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
104
|
+
def begin_project_transaction(project_id, begin_transaction_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
105
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:beginTransaction', options)
|
|
106
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::BeginTransactionRequest::Representation
|
|
107
|
+
command.request_object = begin_transaction_request_object
|
|
108
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::BeginTransactionResponse::Representation
|
|
109
|
+
command.response_class = Google::Apis::DatastoreV1beta3::BeginTransactionResponse
|
|
110
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
112
|
+
command.query['fields'] = fields unless fields.nil?
|
|
113
|
+
execute_or_queue_command(command, &block)
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Allocates IDs for the given keys, which is useful for referencing an entity
|
|
117
|
+
# before it is inserted.
|
|
118
|
+
# @param [String] project_id
|
|
119
|
+
# The ID of the project against which to make the request.
|
|
120
|
+
# @param [Google::Apis::DatastoreV1beta3::AllocateIdsRequest] allocate_ids_request_object
|
|
121
|
+
# @param [String] quota_user
|
|
122
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
123
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
124
|
+
# @param [String] fields
|
|
125
|
+
# Selector specifying which fields to include in a partial response.
|
|
126
|
+
# @param [Google::Apis::RequestOptions] options
|
|
127
|
+
# Request-specific options
|
|
128
|
+
#
|
|
129
|
+
# @yield [result, err] Result & error if block supplied
|
|
130
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::AllocateIdsResponse] parsed result object
|
|
131
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
132
|
+
#
|
|
133
|
+
# @return [Google::Apis::DatastoreV1beta3::AllocateIdsResponse]
|
|
134
|
+
#
|
|
135
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
136
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
137
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
138
|
+
def allocate_project_ids(project_id, allocate_ids_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
139
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:allocateIds', options)
|
|
140
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::AllocateIdsRequest::Representation
|
|
141
|
+
command.request_object = allocate_ids_request_object
|
|
142
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::AllocateIdsResponse::Representation
|
|
143
|
+
command.response_class = Google::Apis::DatastoreV1beta3::AllocateIdsResponse
|
|
144
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
145
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
146
|
+
command.query['fields'] = fields unless fields.nil?
|
|
147
|
+
execute_or_queue_command(command, &block)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Looks up entities by key.
|
|
151
|
+
# @param [String] project_id
|
|
152
|
+
# The ID of the project against which to make the request.
|
|
153
|
+
# @param [Google::Apis::DatastoreV1beta3::LookupRequest] lookup_request_object
|
|
154
|
+
# @param [String] quota_user
|
|
155
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
156
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
157
|
+
# @param [String] fields
|
|
158
|
+
# Selector specifying which fields to include in a partial response.
|
|
159
|
+
# @param [Google::Apis::RequestOptions] options
|
|
160
|
+
# Request-specific options
|
|
161
|
+
#
|
|
162
|
+
# @yield [result, err] Result & error if block supplied
|
|
163
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::LookupResponse] parsed result object
|
|
164
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
165
|
+
#
|
|
166
|
+
# @return [Google::Apis::DatastoreV1beta3::LookupResponse]
|
|
167
|
+
#
|
|
168
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
169
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
170
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
171
|
+
def lookup_project(project_id, lookup_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
172
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:lookup', options)
|
|
173
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::LookupRequest::Representation
|
|
174
|
+
command.request_object = lookup_request_object
|
|
175
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::LookupResponse::Representation
|
|
176
|
+
command.response_class = Google::Apis::DatastoreV1beta3::LookupResponse
|
|
177
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
178
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
179
|
+
command.query['fields'] = fields unless fields.nil?
|
|
180
|
+
execute_or_queue_command(command, &block)
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# Commits a transaction, optionally creating, deleting or modifying some
|
|
184
|
+
# entities.
|
|
185
|
+
# @param [String] project_id
|
|
186
|
+
# The ID of the project against which to make the request.
|
|
187
|
+
# @param [Google::Apis::DatastoreV1beta3::CommitRequest] commit_request_object
|
|
188
|
+
# @param [String] quota_user
|
|
189
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
190
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
191
|
+
# @param [String] fields
|
|
192
|
+
# Selector specifying which fields to include in a partial response.
|
|
193
|
+
# @param [Google::Apis::RequestOptions] options
|
|
194
|
+
# Request-specific options
|
|
195
|
+
#
|
|
196
|
+
# @yield [result, err] Result & error if block supplied
|
|
197
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::CommitResponse] parsed result object
|
|
198
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
199
|
+
#
|
|
200
|
+
# @return [Google::Apis::DatastoreV1beta3::CommitResponse]
|
|
201
|
+
#
|
|
202
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
203
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
204
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
205
|
+
def commit_project(project_id, commit_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
206
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:commit', options)
|
|
207
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::CommitRequest::Representation
|
|
208
|
+
command.request_object = commit_request_object
|
|
209
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::CommitResponse::Representation
|
|
210
|
+
command.response_class = Google::Apis::DatastoreV1beta3::CommitResponse
|
|
211
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
213
|
+
command.query['fields'] = fields unless fields.nil?
|
|
214
|
+
execute_or_queue_command(command, &block)
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
# Rolls back a transaction.
|
|
218
|
+
# @param [String] project_id
|
|
219
|
+
# The ID of the project against which to make the request.
|
|
220
|
+
# @param [Google::Apis::DatastoreV1beta3::RollbackRequest] rollback_request_object
|
|
221
|
+
# @param [String] quota_user
|
|
222
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
223
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
224
|
+
# @param [String] fields
|
|
225
|
+
# Selector specifying which fields to include in a partial response.
|
|
226
|
+
# @param [Google::Apis::RequestOptions] options
|
|
227
|
+
# Request-specific options
|
|
228
|
+
#
|
|
229
|
+
# @yield [result, err] Result & error if block supplied
|
|
230
|
+
# @yieldparam result [Google::Apis::DatastoreV1beta3::RollbackResponse] parsed result object
|
|
231
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
232
|
+
#
|
|
233
|
+
# @return [Google::Apis::DatastoreV1beta3::RollbackResponse]
|
|
234
|
+
#
|
|
235
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
236
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
237
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
238
|
+
def rollback_project(project_id, rollback_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
239
|
+
command = make_simple_command(:post, 'v1beta3/projects/{projectId}:rollback', options)
|
|
240
|
+
command.request_representation = Google::Apis::DatastoreV1beta3::RollbackRequest::Representation
|
|
241
|
+
command.request_object = rollback_request_object
|
|
242
|
+
command.response_representation = Google::Apis::DatastoreV1beta3::RollbackResponse::Representation
|
|
243
|
+
command.response_class = Google::Apis::DatastoreV1beta3::RollbackResponse
|
|
244
|
+
command.params['projectId'] = project_id unless project_id.nil?
|
|
245
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
246
|
+
command.query['fields'] = fields unless fields.nil?
|
|
247
|
+
execute_or_queue_command(command, &block)
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
protected
|
|
251
|
+
|
|
252
|
+
def apply_command_defaults(command)
|
|
253
|
+
command.query['key'] = key unless key.nil?
|
|
254
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|
|
258
|
+
end
|
|
259
|
+
end
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/deployment-manager/
|
|
26
26
|
module DeploymentmanagerV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160624'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1121,6 +1121,11 @@ module Google
|
|
|
1121
1121
|
# @return [String]
|
|
1122
1122
|
attr_accessor :name
|
|
1123
1123
|
|
|
1124
|
+
# An Operation resource, used to manage asynchronous API requests.
|
|
1125
|
+
# Corresponds to the JSON property `operation`
|
|
1126
|
+
# @return [Google::Apis::DeploymentmanagerV2::Operation]
|
|
1127
|
+
attr_accessor :operation
|
|
1128
|
+
|
|
1124
1129
|
# [Output Only] Self link for the type.
|
|
1125
1130
|
# Corresponds to the JSON property `selfLink`
|
|
1126
1131
|
# @return [String]
|
|
@@ -1135,6 +1140,7 @@ module Google
|
|
|
1135
1140
|
@id = args[:id] if args.key?(:id)
|
|
1136
1141
|
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1137
1142
|
@name = args[:name] if args.key?(:name)
|
|
1143
|
+
@operation = args[:operation] if args.key?(:operation)
|
|
1138
1144
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
1139
1145
|
end
|
|
1140
1146
|
end
|
|
@@ -492,6 +492,8 @@ module Google
|
|
|
492
492
|
property :id, as: 'id'
|
|
493
493
|
property :insert_time, as: 'insertTime'
|
|
494
494
|
property :name, as: 'name'
|
|
495
|
+
property :operation, as: 'operation', class: Google::Apis::DeploymentmanagerV2::Operation, decorator: Google::Apis::DeploymentmanagerV2::Operation::Representation
|
|
496
|
+
|
|
495
497
|
property :self_link, as: 'selfLink'
|
|
496
498
|
end
|
|
497
499
|
end
|
|
@@ -233,16 +233,14 @@ module Google
|
|
|
233
233
|
# must match the entire field.
|
|
234
234
|
# For example, to filter for instances that do not have a name of example-
|
|
235
235
|
# instance, you would use filter=name ne example-instance.
|
|
236
|
-
#
|
|
237
|
-
#
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
# treated as AND expressions, meaning that resources must match all expressions
|
|
245
|
-
# to pass the filters.
|
|
236
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
237
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
238
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
239
|
+
# based on label values.
|
|
240
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
241
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
242
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
243
|
+
# resources must match all expressions to pass the filters.
|
|
246
244
|
# @param [Fixnum] max_results
|
|
247
245
|
# The maximum number of results per page that should be returned. If the number
|
|
248
246
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
@@ -505,16 +503,14 @@ module Google
|
|
|
505
503
|
# must match the entire field.
|
|
506
504
|
# For example, to filter for instances that do not have a name of example-
|
|
507
505
|
# instance, you would use filter=name ne example-instance.
|
|
508
|
-
#
|
|
509
|
-
#
|
|
510
|
-
#
|
|
511
|
-
#
|
|
512
|
-
#
|
|
513
|
-
#
|
|
514
|
-
#
|
|
515
|
-
#
|
|
516
|
-
# treated as AND expressions, meaning that resources must match all expressions
|
|
517
|
-
# to pass the filters.
|
|
506
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
507
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
508
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
509
|
+
# based on label values.
|
|
510
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
511
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
512
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
513
|
+
# resources must match all expressions to pass the filters.
|
|
518
514
|
# @param [Fixnum] max_results
|
|
519
515
|
# The maximum number of results per page that should be returned. If the number
|
|
520
516
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
@@ -613,16 +609,14 @@ module Google
|
|
|
613
609
|
# must match the entire field.
|
|
614
610
|
# For example, to filter for instances that do not have a name of example-
|
|
615
611
|
# instance, you would use filter=name ne example-instance.
|
|
616
|
-
#
|
|
617
|
-
#
|
|
618
|
-
#
|
|
619
|
-
#
|
|
620
|
-
#
|
|
621
|
-
#
|
|
622
|
-
#
|
|
623
|
-
#
|
|
624
|
-
# treated as AND expressions, meaning that resources must match all expressions
|
|
625
|
-
# to pass the filters.
|
|
612
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
613
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
614
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
615
|
+
# based on label values.
|
|
616
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
617
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
618
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
619
|
+
# resources must match all expressions to pass the filters.
|
|
626
620
|
# @param [Fixnum] max_results
|
|
627
621
|
# The maximum number of results per page that should be returned. If the number
|
|
628
622
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
@@ -725,16 +719,14 @@ module Google
|
|
|
725
719
|
# must match the entire field.
|
|
726
720
|
# For example, to filter for instances that do not have a name of example-
|
|
727
721
|
# instance, you would use filter=name ne example-instance.
|
|
728
|
-
#
|
|
729
|
-
#
|
|
730
|
-
#
|
|
731
|
-
#
|
|
732
|
-
#
|
|
733
|
-
#
|
|
734
|
-
#
|
|
735
|
-
#
|
|
736
|
-
# treated as AND expressions, meaning that resources must match all expressions
|
|
737
|
-
# to pass the filters.
|
|
722
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
723
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
724
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
725
|
+
# based on label values.
|
|
726
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
727
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
728
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
729
|
+
# resources must match all expressions to pass the filters.
|
|
738
730
|
# @param [Fixnum] max_results
|
|
739
731
|
# The maximum number of results per page that should be returned. If the number
|
|
740
732
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
@@ -795,16 +787,14 @@ module Google
|
|
|
795
787
|
# must match the entire field.
|
|
796
788
|
# For example, to filter for instances that do not have a name of example-
|
|
797
789
|
# instance, you would use filter=name ne example-instance.
|
|
798
|
-
#
|
|
799
|
-
#
|
|
800
|
-
#
|
|
801
|
-
#
|
|
802
|
-
#
|
|
803
|
-
#
|
|
804
|
-
#
|
|
805
|
-
#
|
|
806
|
-
# treated as AND expressions, meaning that resources must match all expressions
|
|
807
|
-
# to pass the filters.
|
|
790
|
+
# You can filter on nested fields. For example, you could filter on instances
|
|
791
|
+
# that have set the scheduling.automaticRestart field to true. Use filtering on
|
|
792
|
+
# nested fields to take advantage of labels to organize and search for results
|
|
793
|
+
# based on label values.
|
|
794
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
795
|
+
# parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-
|
|
796
|
+
# central1-f). Multiple expressions are treated as AND expressions, meaning that
|
|
797
|
+
# resources must match all expressions to pass the filters.
|
|
808
798
|
# @param [Fixnum] max_results
|
|
809
799
|
# The maximum number of results per page that should be returned. If the number
|
|
810
800
|
# of available results is larger than maxResults, Compute Engine returns a
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Copyright 2015 Google Inc.
|
|
2
|
+
#
|
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
# you may not use this file except in compliance with the License.
|
|
5
|
+
# You may obtain a copy of the License at
|
|
6
|
+
#
|
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
#
|
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
# See the License for the specific language governing permissions and
|
|
13
|
+
# limitations under the License.
|
|
14
|
+
|
|
15
|
+
require 'google/apis/dfareporting_v2_5/service.rb'
|
|
16
|
+
require 'google/apis/dfareporting_v2_5/classes.rb'
|
|
17
|
+
require 'google/apis/dfareporting_v2_5/representations.rb'
|
|
18
|
+
|
|
19
|
+
module Google
|
|
20
|
+
module Apis
|
|
21
|
+
# DCM/DFA Reporting And Trafficking API
|
|
22
|
+
#
|
|
23
|
+
# Manages your DoubleClick Campaign Manager ad campaigns and reports.
|
|
24
|
+
#
|
|
25
|
+
# @see https://developers.google.com/doubleclick-advertisers/reporting/
|
|
26
|
+
module DfareportingV2_5
|
|
27
|
+
VERSION = 'V2_5'
|
|
28
|
+
REVISION = '20160509'
|
|
29
|
+
|
|
30
|
+
# Manage DoubleClick Digital Marketing conversions
|
|
31
|
+
AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions'
|
|
32
|
+
|
|
33
|
+
# View and manage DoubleClick for Advertisers reports
|
|
34
|
+
AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting'
|
|
35
|
+
|
|
36
|
+
# View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
|
|
37
|
+
AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking'
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|