google-api-client 0.19.2 → 0.19.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/CHANGELOG.md +37 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +94 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +46 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +229 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -13
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +11 -8
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +3 -3
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +61 -57
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/service.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +86 -0
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/container_v1beta1/service.rb +84 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +104 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +5 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/service.rb +0 -54
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +53 -212
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +3 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +3 -3
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1/classes.rb +6 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +6 -0
- data/generated/google/apis/pagespeedonline_v2/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +0 -2
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -3
- data/generated/google/apis/pubsub_v1/service.rb +31 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/classes.rb +865 -0
- data/generated/google/apis/script_v1/representations.rb +428 -0
- data/generated/google/apis/script_v1/service.rb +586 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -10
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +48 -0
- data/generated/google/apis/sheets_v4/representations.rb +17 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +45 -0
- data/generated/google/apis/slides_v1/representations.rb +17 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +2 -2
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/service.rb +1 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
|
@@ -30,7 +30,7 @@ module Google
|
|
|
30
30
|
# Script = Google::Apis::ScriptV1 # Alias the module
|
|
31
31
|
# service = Script::ScriptService.new
|
|
32
32
|
#
|
|
33
|
-
# @see https://developers.google.com/apps-script/
|
|
33
|
+
# @see https://developers.google.com/apps-script/api
|
|
34
34
|
class ScriptService < Google::Apis::Core::BaseService
|
|
35
35
|
# @return [String]
|
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
|
@@ -47,6 +47,591 @@ module Google
|
|
|
47
47
|
@batch_path = 'batch'
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
# List information about processes made by or on behalf of a user,
|
|
51
|
+
# such as process type and current status.
|
|
52
|
+
# @param [Fixnum] page_size
|
|
53
|
+
# The maximum number of returned processes per page of results. Defaults to
|
|
54
|
+
# 50.
|
|
55
|
+
# @param [String] page_token
|
|
56
|
+
# The token for continuing a previous list request on the next page. This
|
|
57
|
+
# should be set to the value of `nextPageToken` from a previous response.
|
|
58
|
+
# @param [String] user_process_filter_deployment_id
|
|
59
|
+
# Optional field used to limit returned processes to those originating from
|
|
60
|
+
# projects with a specific deployment ID.
|
|
61
|
+
# @param [String] user_process_filter_end_time
|
|
62
|
+
# Optional field used to limit returned processes to those that completed
|
|
63
|
+
# on or before the given timestamp.
|
|
64
|
+
# @param [String] user_process_filter_function_name
|
|
65
|
+
# Optional field used to limit returned processes to those originating from
|
|
66
|
+
# a script function with the given function name.
|
|
67
|
+
# @param [String] user_process_filter_project_name
|
|
68
|
+
# Optional field used to limit returned processes to those originating from
|
|
69
|
+
# projects with a specific project name.
|
|
70
|
+
# @param [String] user_process_filter_script_id
|
|
71
|
+
# Optional field used to limit returned processes to those originating from
|
|
72
|
+
# projects with a specific script ID.
|
|
73
|
+
# @param [String] user_process_filter_start_time
|
|
74
|
+
# Optional field used to limit returned processes to those that were
|
|
75
|
+
# started on or after the given timestamp.
|
|
76
|
+
# @param [Array<String>, String] user_process_filter_statuses
|
|
77
|
+
# Optional field used to limit returned processes to those having one of
|
|
78
|
+
# the specified process statuses.
|
|
79
|
+
# @param [Array<String>, String] user_process_filter_types
|
|
80
|
+
# Optional field used to limit returned processes to those having one of
|
|
81
|
+
# the specified process types.
|
|
82
|
+
# @param [Array<String>, String] user_process_filter_user_access_levels
|
|
83
|
+
# Optional field used to limit returned processes to those having one of
|
|
84
|
+
# the specified user access levels.
|
|
85
|
+
# @param [String] fields
|
|
86
|
+
# Selector specifying which fields to include in a partial response.
|
|
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 [Google::Apis::RequestOptions] options
|
|
91
|
+
# Request-specific options
|
|
92
|
+
#
|
|
93
|
+
# @yield [result, err] Result & error if block supplied
|
|
94
|
+
# @yieldparam result [Google::Apis::ScriptV1::ListUserProcessesResponse] parsed result object
|
|
95
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
96
|
+
#
|
|
97
|
+
# @return [Google::Apis::ScriptV1::ListUserProcessesResponse]
|
|
98
|
+
#
|
|
99
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
100
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
101
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
102
|
+
def list_processes(page_size: nil, page_token: nil, user_process_filter_deployment_id: nil, user_process_filter_end_time: nil, user_process_filter_function_name: nil, user_process_filter_project_name: nil, user_process_filter_script_id: nil, user_process_filter_start_time: nil, user_process_filter_statuses: nil, user_process_filter_types: nil, user_process_filter_user_access_levels: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
103
|
+
command = make_simple_command(:get, 'v1/processes', options)
|
|
104
|
+
command.response_representation = Google::Apis::ScriptV1::ListUserProcessesResponse::Representation
|
|
105
|
+
command.response_class = Google::Apis::ScriptV1::ListUserProcessesResponse
|
|
106
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
107
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
108
|
+
command.query['userProcessFilter.deploymentId'] = user_process_filter_deployment_id unless user_process_filter_deployment_id.nil?
|
|
109
|
+
command.query['userProcessFilter.endTime'] = user_process_filter_end_time unless user_process_filter_end_time.nil?
|
|
110
|
+
command.query['userProcessFilter.functionName'] = user_process_filter_function_name unless user_process_filter_function_name.nil?
|
|
111
|
+
command.query['userProcessFilter.projectName'] = user_process_filter_project_name unless user_process_filter_project_name.nil?
|
|
112
|
+
command.query['userProcessFilter.scriptId'] = user_process_filter_script_id unless user_process_filter_script_id.nil?
|
|
113
|
+
command.query['userProcessFilter.startTime'] = user_process_filter_start_time unless user_process_filter_start_time.nil?
|
|
114
|
+
command.query['userProcessFilter.statuses'] = user_process_filter_statuses unless user_process_filter_statuses.nil?
|
|
115
|
+
command.query['userProcessFilter.types'] = user_process_filter_types unless user_process_filter_types.nil?
|
|
116
|
+
command.query['userProcessFilter.userAccessLevels'] = user_process_filter_user_access_levels unless user_process_filter_user_access_levels.nil?
|
|
117
|
+
command.query['fields'] = fields unless fields.nil?
|
|
118
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
119
|
+
execute_or_queue_command(command, &block)
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
# List information about a script's executed processes, such as process type
|
|
123
|
+
# and current status.
|
|
124
|
+
# @param [Fixnum] page_size
|
|
125
|
+
# The maximum number of returned processes per page of results. Defaults to
|
|
126
|
+
# 50.
|
|
127
|
+
# @param [String] page_token
|
|
128
|
+
# The token for continuing a previous list request on the next page. This
|
|
129
|
+
# should be set to the value of `nextPageToken` from a previous response.
|
|
130
|
+
# @param [String] script_id
|
|
131
|
+
# The script ID of the project whose processes are listed.
|
|
132
|
+
# @param [String] script_process_filter_deployment_id
|
|
133
|
+
# Optional field used to limit returned processes to those originating from
|
|
134
|
+
# projects with a specific deployment ID.
|
|
135
|
+
# @param [String] script_process_filter_end_time
|
|
136
|
+
# Optional field used to limit returned processes to those that completed
|
|
137
|
+
# on or before the given timestamp.
|
|
138
|
+
# @param [String] script_process_filter_function_name
|
|
139
|
+
# Optional field used to limit returned processes to those originating from
|
|
140
|
+
# a script function with the given function name.
|
|
141
|
+
# @param [String] script_process_filter_start_time
|
|
142
|
+
# Optional field used to limit returned processes to those that were
|
|
143
|
+
# started on or after the given timestamp.
|
|
144
|
+
# @param [Array<String>, String] script_process_filter_statuses
|
|
145
|
+
# Optional field used to limit returned processes to those having one of
|
|
146
|
+
# the specified process statuses.
|
|
147
|
+
# @param [Array<String>, String] script_process_filter_types
|
|
148
|
+
# Optional field used to limit returned processes to those having one of
|
|
149
|
+
# the specified process types.
|
|
150
|
+
# @param [Array<String>, String] script_process_filter_user_access_levels
|
|
151
|
+
# Optional field used to limit returned processes to those having one of
|
|
152
|
+
# the specified user access levels.
|
|
153
|
+
# @param [String] fields
|
|
154
|
+
# Selector specifying which fields to include in a partial response.
|
|
155
|
+
# @param [String] quota_user
|
|
156
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
157
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
158
|
+
# @param [Google::Apis::RequestOptions] options
|
|
159
|
+
# Request-specific options
|
|
160
|
+
#
|
|
161
|
+
# @yield [result, err] Result & error if block supplied
|
|
162
|
+
# @yieldparam result [Google::Apis::ScriptV1::ListScriptProcessesResponse] parsed result object
|
|
163
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
164
|
+
#
|
|
165
|
+
# @return [Google::Apis::ScriptV1::ListScriptProcessesResponse]
|
|
166
|
+
#
|
|
167
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
168
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
169
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
170
|
+
def list_process_script_processes(page_size: nil, page_token: nil, script_id: nil, script_process_filter_deployment_id: nil, script_process_filter_end_time: nil, script_process_filter_function_name: nil, script_process_filter_start_time: nil, script_process_filter_statuses: nil, script_process_filter_types: nil, script_process_filter_user_access_levels: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
171
|
+
command = make_simple_command(:get, 'v1/processes:listScriptProcesses', options)
|
|
172
|
+
command.response_representation = Google::Apis::ScriptV1::ListScriptProcessesResponse::Representation
|
|
173
|
+
command.response_class = Google::Apis::ScriptV1::ListScriptProcessesResponse
|
|
174
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
175
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
176
|
+
command.query['scriptId'] = script_id unless script_id.nil?
|
|
177
|
+
command.query['scriptProcessFilter.deploymentId'] = script_process_filter_deployment_id unless script_process_filter_deployment_id.nil?
|
|
178
|
+
command.query['scriptProcessFilter.endTime'] = script_process_filter_end_time unless script_process_filter_end_time.nil?
|
|
179
|
+
command.query['scriptProcessFilter.functionName'] = script_process_filter_function_name unless script_process_filter_function_name.nil?
|
|
180
|
+
command.query['scriptProcessFilter.startTime'] = script_process_filter_start_time unless script_process_filter_start_time.nil?
|
|
181
|
+
command.query['scriptProcessFilter.statuses'] = script_process_filter_statuses unless script_process_filter_statuses.nil?
|
|
182
|
+
command.query['scriptProcessFilter.types'] = script_process_filter_types unless script_process_filter_types.nil?
|
|
183
|
+
command.query['scriptProcessFilter.userAccessLevels'] = script_process_filter_user_access_levels unless script_process_filter_user_access_levels.nil?
|
|
184
|
+
command.query['fields'] = fields unless fields.nil?
|
|
185
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
186
|
+
execute_or_queue_command(command, &block)
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# Creates a new, empty script project with no script files and a base
|
|
190
|
+
# manifest file.
|
|
191
|
+
# @param [Google::Apis::ScriptV1::CreateProjectRequest] create_project_request_object
|
|
192
|
+
# @param [String] fields
|
|
193
|
+
# Selector specifying which fields to include in a partial response.
|
|
194
|
+
# @param [String] quota_user
|
|
195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
197
|
+
# @param [Google::Apis::RequestOptions] options
|
|
198
|
+
# Request-specific options
|
|
199
|
+
#
|
|
200
|
+
# @yield [result, err] Result & error if block supplied
|
|
201
|
+
# @yieldparam result [Google::Apis::ScriptV1::Project] parsed result object
|
|
202
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
203
|
+
#
|
|
204
|
+
# @return [Google::Apis::ScriptV1::Project]
|
|
205
|
+
#
|
|
206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
209
|
+
def create_project(create_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
210
|
+
command = make_simple_command(:post, 'v1/projects', options)
|
|
211
|
+
command.request_representation = Google::Apis::ScriptV1::CreateProjectRequest::Representation
|
|
212
|
+
command.request_object = create_project_request_object
|
|
213
|
+
command.response_representation = Google::Apis::ScriptV1::Project::Representation
|
|
214
|
+
command.response_class = Google::Apis::ScriptV1::Project
|
|
215
|
+
command.query['fields'] = fields unless fields.nil?
|
|
216
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
217
|
+
execute_or_queue_command(command, &block)
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# Gets a script project's metadata.
|
|
221
|
+
# @param [String] script_id
|
|
222
|
+
# The script project's Drive ID.
|
|
223
|
+
# @param [String] fields
|
|
224
|
+
# Selector specifying which fields to include in a partial response.
|
|
225
|
+
# @param [String] quota_user
|
|
226
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
227
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
228
|
+
# @param [Google::Apis::RequestOptions] options
|
|
229
|
+
# Request-specific options
|
|
230
|
+
#
|
|
231
|
+
# @yield [result, err] Result & error if block supplied
|
|
232
|
+
# @yieldparam result [Google::Apis::ScriptV1::Project] parsed result object
|
|
233
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
234
|
+
#
|
|
235
|
+
# @return [Google::Apis::ScriptV1::Project]
|
|
236
|
+
#
|
|
237
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
238
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
239
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
240
|
+
def get_project(script_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
241
|
+
command = make_simple_command(:get, 'v1/projects/{scriptId}', options)
|
|
242
|
+
command.response_representation = Google::Apis::ScriptV1::Project::Representation
|
|
243
|
+
command.response_class = Google::Apis::ScriptV1::Project
|
|
244
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
245
|
+
command.query['fields'] = fields unless fields.nil?
|
|
246
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
247
|
+
execute_or_queue_command(command, &block)
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Gets the content of the script project, including the code source and
|
|
251
|
+
# metadata for each script file.
|
|
252
|
+
# @param [String] script_id
|
|
253
|
+
# The script project's Drive ID.
|
|
254
|
+
# @param [Fixnum] version_number
|
|
255
|
+
# The version number of the project to retrieve. If not provided, the
|
|
256
|
+
# project's HEAD version is returned.
|
|
257
|
+
# @param [String] fields
|
|
258
|
+
# Selector specifying which fields to include in a partial response.
|
|
259
|
+
# @param [String] quota_user
|
|
260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
262
|
+
# @param [Google::Apis::RequestOptions] options
|
|
263
|
+
# Request-specific options
|
|
264
|
+
#
|
|
265
|
+
# @yield [result, err] Result & error if block supplied
|
|
266
|
+
# @yieldparam result [Google::Apis::ScriptV1::Content] parsed result object
|
|
267
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
268
|
+
#
|
|
269
|
+
# @return [Google::Apis::ScriptV1::Content]
|
|
270
|
+
#
|
|
271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
274
|
+
def get_project_content(script_id, version_number: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
275
|
+
command = make_simple_command(:get, 'v1/projects/{scriptId}/content', options)
|
|
276
|
+
command.response_representation = Google::Apis::ScriptV1::Content::Representation
|
|
277
|
+
command.response_class = Google::Apis::ScriptV1::Content
|
|
278
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
279
|
+
command.query['versionNumber'] = version_number unless version_number.nil?
|
|
280
|
+
command.query['fields'] = fields unless fields.nil?
|
|
281
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
282
|
+
execute_or_queue_command(command, &block)
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
# Get metrics data for scripts, such as number of executions and
|
|
286
|
+
# active users.
|
|
287
|
+
# @param [String] script_id
|
|
288
|
+
# Required field indicating the script to get metrics for.
|
|
289
|
+
# @param [String] metrics_filter_deployment_id
|
|
290
|
+
# Optional field indicating a specific deployment to retrieve metrics from.
|
|
291
|
+
# @param [String] metrics_granularity
|
|
292
|
+
# Required field indicating what granularity of metrics are returned.
|
|
293
|
+
# @param [String] fields
|
|
294
|
+
# Selector specifying which fields to include in a partial response.
|
|
295
|
+
# @param [String] quota_user
|
|
296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
298
|
+
# @param [Google::Apis::RequestOptions] options
|
|
299
|
+
# Request-specific options
|
|
300
|
+
#
|
|
301
|
+
# @yield [result, err] Result & error if block supplied
|
|
302
|
+
# @yieldparam result [Google::Apis::ScriptV1::Metrics] parsed result object
|
|
303
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
304
|
+
#
|
|
305
|
+
# @return [Google::Apis::ScriptV1::Metrics]
|
|
306
|
+
#
|
|
307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
310
|
+
def get_project_metrics(script_id, metrics_filter_deployment_id: nil, metrics_granularity: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
311
|
+
command = make_simple_command(:get, 'v1/projects/{scriptId}/metrics', options)
|
|
312
|
+
command.response_representation = Google::Apis::ScriptV1::Metrics::Representation
|
|
313
|
+
command.response_class = Google::Apis::ScriptV1::Metrics
|
|
314
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
315
|
+
command.query['metricsFilter.deploymentId'] = metrics_filter_deployment_id unless metrics_filter_deployment_id.nil?
|
|
316
|
+
command.query['metricsGranularity'] = metrics_granularity unless metrics_granularity.nil?
|
|
317
|
+
command.query['fields'] = fields unless fields.nil?
|
|
318
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
319
|
+
execute_or_queue_command(command, &block)
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
# Updates the content of the specified script project.
|
|
323
|
+
# This content is stored as the HEAD version, and is used when the script is
|
|
324
|
+
# executed as a trigger, in the script editor, in add-on preview mode, or as
|
|
325
|
+
# a web app or Apps Script API in development mode. This clears all the
|
|
326
|
+
# existing files in the project.
|
|
327
|
+
# @param [String] script_id
|
|
328
|
+
# The script project's Drive ID.
|
|
329
|
+
# @param [Google::Apis::ScriptV1::Content] content_object
|
|
330
|
+
# @param [String] fields
|
|
331
|
+
# Selector specifying which fields to include in a partial response.
|
|
332
|
+
# @param [String] quota_user
|
|
333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
335
|
+
# @param [Google::Apis::RequestOptions] options
|
|
336
|
+
# Request-specific options
|
|
337
|
+
#
|
|
338
|
+
# @yield [result, err] Result & error if block supplied
|
|
339
|
+
# @yieldparam result [Google::Apis::ScriptV1::Content] parsed result object
|
|
340
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
341
|
+
#
|
|
342
|
+
# @return [Google::Apis::ScriptV1::Content]
|
|
343
|
+
#
|
|
344
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
345
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
346
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
347
|
+
def update_project_content(script_id, content_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
348
|
+
command = make_simple_command(:put, 'v1/projects/{scriptId}/content', options)
|
|
349
|
+
command.request_representation = Google::Apis::ScriptV1::Content::Representation
|
|
350
|
+
command.request_object = content_object
|
|
351
|
+
command.response_representation = Google::Apis::ScriptV1::Content::Representation
|
|
352
|
+
command.response_class = Google::Apis::ScriptV1::Content
|
|
353
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
354
|
+
command.query['fields'] = fields unless fields.nil?
|
|
355
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
356
|
+
execute_or_queue_command(command, &block)
|
|
357
|
+
end
|
|
358
|
+
|
|
359
|
+
# Creates a deployment of an Apps Script project.
|
|
360
|
+
# @param [String] script_id
|
|
361
|
+
# The script project's Drive ID.
|
|
362
|
+
# @param [Google::Apis::ScriptV1::DeploymentConfig] deployment_config_object
|
|
363
|
+
# @param [String] fields
|
|
364
|
+
# Selector specifying which fields to include in a partial response.
|
|
365
|
+
# @param [String] quota_user
|
|
366
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
367
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
368
|
+
# @param [Google::Apis::RequestOptions] options
|
|
369
|
+
# Request-specific options
|
|
370
|
+
#
|
|
371
|
+
# @yield [result, err] Result & error if block supplied
|
|
372
|
+
# @yieldparam result [Google::Apis::ScriptV1::Deployment] parsed result object
|
|
373
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
374
|
+
#
|
|
375
|
+
# @return [Google::Apis::ScriptV1::Deployment]
|
|
376
|
+
#
|
|
377
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
378
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
379
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
380
|
+
def create_project_deployment(script_id, deployment_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
381
|
+
command = make_simple_command(:post, 'v1/projects/{scriptId}/deployments', options)
|
|
382
|
+
command.request_representation = Google::Apis::ScriptV1::DeploymentConfig::Representation
|
|
383
|
+
command.request_object = deployment_config_object
|
|
384
|
+
command.response_representation = Google::Apis::ScriptV1::Deployment::Representation
|
|
385
|
+
command.response_class = Google::Apis::ScriptV1::Deployment
|
|
386
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
387
|
+
command.query['fields'] = fields unless fields.nil?
|
|
388
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
389
|
+
execute_or_queue_command(command, &block)
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# Deletes a deployment of an Apps Script project.
|
|
393
|
+
# @param [String] script_id
|
|
394
|
+
# The script project's Drive ID.
|
|
395
|
+
# @param [String] deployment_id
|
|
396
|
+
# The deployment ID to be undeployed.
|
|
397
|
+
# @param [String] fields
|
|
398
|
+
# Selector specifying which fields to include in a partial response.
|
|
399
|
+
# @param [String] quota_user
|
|
400
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
401
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
402
|
+
# @param [Google::Apis::RequestOptions] options
|
|
403
|
+
# Request-specific options
|
|
404
|
+
#
|
|
405
|
+
# @yield [result, err] Result & error if block supplied
|
|
406
|
+
# @yieldparam result [Google::Apis::ScriptV1::Empty] parsed result object
|
|
407
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
408
|
+
#
|
|
409
|
+
# @return [Google::Apis::ScriptV1::Empty]
|
|
410
|
+
#
|
|
411
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
412
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
413
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
414
|
+
def delete_project_deployment(script_id, deployment_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
415
|
+
command = make_simple_command(:delete, 'v1/projects/{scriptId}/deployments/{deploymentId}', options)
|
|
416
|
+
command.response_representation = Google::Apis::ScriptV1::Empty::Representation
|
|
417
|
+
command.response_class = Google::Apis::ScriptV1::Empty
|
|
418
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
419
|
+
command.params['deploymentId'] = deployment_id unless deployment_id.nil?
|
|
420
|
+
command.query['fields'] = fields unless fields.nil?
|
|
421
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
422
|
+
execute_or_queue_command(command, &block)
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
# Gets a deployment of an Apps Script project.
|
|
426
|
+
# @param [String] script_id
|
|
427
|
+
# The script project's Drive ID.
|
|
428
|
+
# @param [String] deployment_id
|
|
429
|
+
# The deployment ID.
|
|
430
|
+
# @param [String] fields
|
|
431
|
+
# Selector specifying which fields to include in a partial response.
|
|
432
|
+
# @param [String] quota_user
|
|
433
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
434
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
435
|
+
# @param [Google::Apis::RequestOptions] options
|
|
436
|
+
# Request-specific options
|
|
437
|
+
#
|
|
438
|
+
# @yield [result, err] Result & error if block supplied
|
|
439
|
+
# @yieldparam result [Google::Apis::ScriptV1::Deployment] parsed result object
|
|
440
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
441
|
+
#
|
|
442
|
+
# @return [Google::Apis::ScriptV1::Deployment]
|
|
443
|
+
#
|
|
444
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
445
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
446
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
447
|
+
def get_project_deployment(script_id, deployment_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
448
|
+
command = make_simple_command(:get, 'v1/projects/{scriptId}/deployments/{deploymentId}', options)
|
|
449
|
+
command.response_representation = Google::Apis::ScriptV1::Deployment::Representation
|
|
450
|
+
command.response_class = Google::Apis::ScriptV1::Deployment
|
|
451
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
452
|
+
command.params['deploymentId'] = deployment_id unless deployment_id.nil?
|
|
453
|
+
command.query['fields'] = fields unless fields.nil?
|
|
454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
455
|
+
execute_or_queue_command(command, &block)
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
# Lists the deployments of an Apps Script project.
|
|
459
|
+
# @param [String] script_id
|
|
460
|
+
# The script project's Drive ID.
|
|
461
|
+
# @param [Fixnum] page_size
|
|
462
|
+
# The maximum number of deployments on each returned page. Defaults to 50.
|
|
463
|
+
# @param [String] page_token
|
|
464
|
+
# The token for continuing a previous list request on the next page. This
|
|
465
|
+
# should be set to the value of `nextPageToken` from a previous response.
|
|
466
|
+
# @param [String] fields
|
|
467
|
+
# Selector specifying which fields to include in a partial response.
|
|
468
|
+
# @param [String] quota_user
|
|
469
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
470
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
471
|
+
# @param [Google::Apis::RequestOptions] options
|
|
472
|
+
# Request-specific options
|
|
473
|
+
#
|
|
474
|
+
# @yield [result, err] Result & error if block supplied
|
|
475
|
+
# @yieldparam result [Google::Apis::ScriptV1::ListDeploymentsResponse] parsed result object
|
|
476
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
477
|
+
#
|
|
478
|
+
# @return [Google::Apis::ScriptV1::ListDeploymentsResponse]
|
|
479
|
+
#
|
|
480
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
481
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
482
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
483
|
+
def list_project_deployments(script_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
484
|
+
command = make_simple_command(:get, 'v1/projects/{scriptId}/deployments', options)
|
|
485
|
+
command.response_representation = Google::Apis::ScriptV1::ListDeploymentsResponse::Representation
|
|
486
|
+
command.response_class = Google::Apis::ScriptV1::ListDeploymentsResponse
|
|
487
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
488
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
489
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
490
|
+
command.query['fields'] = fields unless fields.nil?
|
|
491
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
492
|
+
execute_or_queue_command(command, &block)
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
# Updates a deployment of an Apps Script project.
|
|
496
|
+
# @param [String] script_id
|
|
497
|
+
# The script project's Drive ID.
|
|
498
|
+
# @param [String] deployment_id
|
|
499
|
+
# The deployment ID for this deployment.
|
|
500
|
+
# @param [Google::Apis::ScriptV1::UpdateDeploymentRequest] update_deployment_request_object
|
|
501
|
+
# @param [String] fields
|
|
502
|
+
# Selector specifying which fields to include in a partial response.
|
|
503
|
+
# @param [String] quota_user
|
|
504
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
505
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
506
|
+
# @param [Google::Apis::RequestOptions] options
|
|
507
|
+
# Request-specific options
|
|
508
|
+
#
|
|
509
|
+
# @yield [result, err] Result & error if block supplied
|
|
510
|
+
# @yieldparam result [Google::Apis::ScriptV1::Deployment] parsed result object
|
|
511
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
512
|
+
#
|
|
513
|
+
# @return [Google::Apis::ScriptV1::Deployment]
|
|
514
|
+
#
|
|
515
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
516
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
517
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
518
|
+
def update_deployment(script_id, deployment_id, update_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
519
|
+
command = make_simple_command(:put, 'v1/projects/{scriptId}/deployments/{deploymentId}', options)
|
|
520
|
+
command.request_representation = Google::Apis::ScriptV1::UpdateDeploymentRequest::Representation
|
|
521
|
+
command.request_object = update_deployment_request_object
|
|
522
|
+
command.response_representation = Google::Apis::ScriptV1::Deployment::Representation
|
|
523
|
+
command.response_class = Google::Apis::ScriptV1::Deployment
|
|
524
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
525
|
+
command.params['deploymentId'] = deployment_id unless deployment_id.nil?
|
|
526
|
+
command.query['fields'] = fields unless fields.nil?
|
|
527
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
528
|
+
execute_or_queue_command(command, &block)
|
|
529
|
+
end
|
|
530
|
+
|
|
531
|
+
# Creates a new immutable version using the current code, with a unique
|
|
532
|
+
# version number.
|
|
533
|
+
# @param [String] script_id
|
|
534
|
+
# The script project's Drive ID.
|
|
535
|
+
# @param [Google::Apis::ScriptV1::Version] version_object
|
|
536
|
+
# @param [String] fields
|
|
537
|
+
# Selector specifying which fields to include in a partial response.
|
|
538
|
+
# @param [String] quota_user
|
|
539
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
540
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
541
|
+
# @param [Google::Apis::RequestOptions] options
|
|
542
|
+
# Request-specific options
|
|
543
|
+
#
|
|
544
|
+
# @yield [result, err] Result & error if block supplied
|
|
545
|
+
# @yieldparam result [Google::Apis::ScriptV1::Version] parsed result object
|
|
546
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
547
|
+
#
|
|
548
|
+
# @return [Google::Apis::ScriptV1::Version]
|
|
549
|
+
#
|
|
550
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
551
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
552
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
553
|
+
def create_project_version(script_id, version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
554
|
+
command = make_simple_command(:post, 'v1/projects/{scriptId}/versions', options)
|
|
555
|
+
command.request_representation = Google::Apis::ScriptV1::Version::Representation
|
|
556
|
+
command.request_object = version_object
|
|
557
|
+
command.response_representation = Google::Apis::ScriptV1::Version::Representation
|
|
558
|
+
command.response_class = Google::Apis::ScriptV1::Version
|
|
559
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
560
|
+
command.query['fields'] = fields unless fields.nil?
|
|
561
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
562
|
+
execute_or_queue_command(command, &block)
|
|
563
|
+
end
|
|
564
|
+
|
|
565
|
+
# Gets a version of a script project.
|
|
566
|
+
# @param [String] script_id
|
|
567
|
+
# The script project's Drive ID.
|
|
568
|
+
# @param [Fixnum] version_number
|
|
569
|
+
# The version number.
|
|
570
|
+
# @param [String] fields
|
|
571
|
+
# Selector specifying which fields to include in a partial response.
|
|
572
|
+
# @param [String] quota_user
|
|
573
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
574
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
575
|
+
# @param [Google::Apis::RequestOptions] options
|
|
576
|
+
# Request-specific options
|
|
577
|
+
#
|
|
578
|
+
# @yield [result, err] Result & error if block supplied
|
|
579
|
+
# @yieldparam result [Google::Apis::ScriptV1::Version] parsed result object
|
|
580
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
581
|
+
#
|
|
582
|
+
# @return [Google::Apis::ScriptV1::Version]
|
|
583
|
+
#
|
|
584
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
585
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
586
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
587
|
+
def get_project_version(script_id, version_number, fields: nil, quota_user: nil, options: nil, &block)
|
|
588
|
+
command = make_simple_command(:get, 'v1/projects/{scriptId}/versions/{versionNumber}', options)
|
|
589
|
+
command.response_representation = Google::Apis::ScriptV1::Version::Representation
|
|
590
|
+
command.response_class = Google::Apis::ScriptV1::Version
|
|
591
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
592
|
+
command.params['versionNumber'] = version_number unless version_number.nil?
|
|
593
|
+
command.query['fields'] = fields unless fields.nil?
|
|
594
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
595
|
+
execute_or_queue_command(command, &block)
|
|
596
|
+
end
|
|
597
|
+
|
|
598
|
+
# List the versions of a script project.
|
|
599
|
+
# @param [String] script_id
|
|
600
|
+
# The script project's Drive ID.
|
|
601
|
+
# @param [Fixnum] page_size
|
|
602
|
+
# The maximum number of versions on each returned page. Defaults to 50.
|
|
603
|
+
# @param [String] page_token
|
|
604
|
+
# The token for continuing a previous list request on the next page. This
|
|
605
|
+
# should be set to the value of `nextPageToken` from a previous response.
|
|
606
|
+
# @param [String] fields
|
|
607
|
+
# Selector specifying which fields to include in a partial response.
|
|
608
|
+
# @param [String] quota_user
|
|
609
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
610
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
611
|
+
# @param [Google::Apis::RequestOptions] options
|
|
612
|
+
# Request-specific options
|
|
613
|
+
#
|
|
614
|
+
# @yield [result, err] Result & error if block supplied
|
|
615
|
+
# @yieldparam result [Google::Apis::ScriptV1::ListVersionsResponse] parsed result object
|
|
616
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
617
|
+
#
|
|
618
|
+
# @return [Google::Apis::ScriptV1::ListVersionsResponse]
|
|
619
|
+
#
|
|
620
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
621
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
622
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
623
|
+
def list_project_versions(script_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
624
|
+
command = make_simple_command(:get, 'v1/projects/{scriptId}/versions', options)
|
|
625
|
+
command.response_representation = Google::Apis::ScriptV1::ListVersionsResponse::Representation
|
|
626
|
+
command.response_class = Google::Apis::ScriptV1::ListVersionsResponse
|
|
627
|
+
command.params['scriptId'] = script_id unless script_id.nil?
|
|
628
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
629
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
630
|
+
command.query['fields'] = fields unless fields.nil?
|
|
631
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
632
|
+
execute_or_queue_command(command, &block)
|
|
633
|
+
end
|
|
634
|
+
|
|
50
635
|
# Runs a function in an Apps Script project. The project must be deployed
|
|
51
636
|
# for use with the Apps Script API.
|
|
52
637
|
# This method requires authorization with an OAuth 2.0 token that includes at
|