Skip to content

Commit 83cc8d8

Browse files
feat: Automated regeneration of script v1 client (googleapis#23303)
Auto-created at 2025-06-01 10:30:10 +0000 using the toys pull request generator.
1 parent 5aa686b commit 83cc8d8

File tree

4 files changed

+8
-231
lines changed

4 files changed

+8
-231
lines changed

generated/google-apis-script_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-script_v1
22

3+
### v0.29.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250526
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.28.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-script_v1/lib/google/apis/script_v1/classes.rb

Lines changed: 0 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -203,25 +203,6 @@ def update!(**args)
203203
end
204204
end
205205

206-
# The response for executing or debugging a function in an Apps Script project.
207-
class ExecuteStreamResponse
208-
include Google::Apis::Core::Hashable
209-
210-
# The result of an execution.
211-
# Corresponds to the JSON property `result`
212-
# @return [Google::Apis::ScriptV1::ScriptExecutionResult]
213-
attr_accessor :result
214-
215-
def initialize(**args)
216-
update!(**args)
217-
end
218-
219-
# Update properties of this object
220-
def update!(**args)
221-
@result = args[:result] if args.key?(:result)
222-
end
223-
end
224-
225206
# An object that provides information about the nature of an error resulting
226207
# from an attempted execution of a script function using the Apps Script API. If
227208
# a run call succeeds but the script function (or Apps Script itself) throws an
@@ -761,25 +742,6 @@ def update!(**args)
761742
end
762743
end
763744

764-
# `ListValue` is a wrapper around a repeated field of values.
765-
class ListValue
766-
include Google::Apis::Core::Hashable
767-
768-
# Repeated field of dynamically typed values.
769-
# Corresponds to the JSON property `values`
770-
# @return [Array<Google::Apis::ScriptV1::Value>]
771-
attr_accessor :values
772-
773-
def initialize(**args)
774-
update!(**args)
775-
end
776-
777-
# Update properties of this object
778-
def update!(**args)
779-
@values = args[:values] if args.key?(:values)
780-
end
781-
end
782-
783745
# Response with the list of the versions for the specified script project.
784746
class ListVersionsResponse
785747
include Google::Apis::Core::Hashable
@@ -978,26 +940,6 @@ def update!(**args)
978940
end
979941
end
980942

981-
# The result of an execution.
982-
class ScriptExecutionResult
983-
include Google::Apis::Core::Hashable
984-
985-
# `Value` represents a dynamically typed value which is the outcome of an
986-
# executed script.
987-
# Corresponds to the JSON property `returnValue`
988-
# @return [Google::Apis::ScriptV1::Value]
989-
attr_accessor :return_value
990-
991-
def initialize(**args)
992-
update!(**args)
993-
end
994-
995-
# Update properties of this object
996-
def update!(**args)
997-
@return_value = args[:return_value] if args.key?(:return_value)
998-
end
999-
end
1000-
1001943
# A stack trace through the script that shows where the execution failed.
1002944
class ScriptStackTraceElement
1003945
include Google::Apis::Core::Hashable
@@ -1060,26 +1002,6 @@ def update!(**args)
10601002
end
10611003
end
10621004

1063-
# `Struct` represents a structured data value, consisting of fields which map to
1064-
# dynamically typed values.
1065-
class Struct
1066-
include Google::Apis::Core::Hashable
1067-
1068-
# Unordered map of dynamically typed values.
1069-
# Corresponds to the JSON property `fields`
1070-
# @return [Hash<String,Google::Apis::ScriptV1::Value>]
1071-
attr_accessor :fields
1072-
1073-
def initialize(**args)
1074-
update!(**args)
1075-
end
1076-
1077-
# Update properties of this object
1078-
def update!(**args)
1079-
@fields = args[:fields] if args.key?(:fields)
1080-
end
1081-
end
1082-
10831005
# Request with deployment information to update an existing deployment.
10841006
class UpdateDeploymentRequest
10851007
include Google::Apis::Core::Hashable
@@ -1099,77 +1021,6 @@ def update!(**args)
10991021
end
11001022
end
11011023

1102-
# `Value` represents a dynamically typed value which is the outcome of an
1103-
# executed script.
1104-
class Value
1105-
include Google::Apis::Core::Hashable
1106-
1107-
# Represents a boolean value.
1108-
# Corresponds to the JSON property `boolValue`
1109-
# @return [Boolean]
1110-
attr_accessor :bool_value
1111-
alias_method :bool_value?, :bool_value
1112-
1113-
# Represents raw byte values.
1114-
# Corresponds to the JSON property `bytesValue`
1115-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
1116-
# @return [String]
1117-
attr_accessor :bytes_value
1118-
1119-
# Represents a date in ms since the epoch.
1120-
# Corresponds to the JSON property `dateValue`
1121-
# @return [Fixnum]
1122-
attr_accessor :date_value
1123-
1124-
# `ListValue` is a wrapper around a repeated field of values.
1125-
# Corresponds to the JSON property `listValue`
1126-
# @return [Google::Apis::ScriptV1::ListValue]
1127-
attr_accessor :list_value
1128-
1129-
# Represents a null value.
1130-
# Corresponds to the JSON property `nullValue`
1131-
# @return [String]
1132-
attr_accessor :null_value
1133-
1134-
# Represents a double value.
1135-
# Corresponds to the JSON property `numberValue`
1136-
# @return [Float]
1137-
attr_accessor :number_value
1138-
1139-
# Represents a structured proto value.
1140-
# Corresponds to the JSON property `protoValue`
1141-
# @return [Hash<String,Object>]
1142-
attr_accessor :proto_value
1143-
1144-
# Represents a string value.
1145-
# Corresponds to the JSON property `stringValue`
1146-
# @return [String]
1147-
attr_accessor :string_value
1148-
1149-
# `Struct` represents a structured data value, consisting of fields which map to
1150-
# dynamically typed values.
1151-
# Corresponds to the JSON property `structValue`
1152-
# @return [Google::Apis::ScriptV1::Struct]
1153-
attr_accessor :struct_value
1154-
1155-
def initialize(**args)
1156-
update!(**args)
1157-
end
1158-
1159-
# Update properties of this object
1160-
def update!(**args)
1161-
@bool_value = args[:bool_value] if args.key?(:bool_value)
1162-
@bytes_value = args[:bytes_value] if args.key?(:bytes_value)
1163-
@date_value = args[:date_value] if args.key?(:date_value)
1164-
@list_value = args[:list_value] if args.key?(:list_value)
1165-
@null_value = args[:null_value] if args.key?(:null_value)
1166-
@number_value = args[:number_value] if args.key?(:number_value)
1167-
@proto_value = args[:proto_value] if args.key?(:proto_value)
1168-
@string_value = args[:string_value] if args.key?(:string_value)
1169-
@struct_value = args[:struct_value] if args.key?(:struct_value)
1170-
end
1171-
end
1172-
11731024
# A resource representing a script project version. A version is a "snapshot" of
11741025
# a script project and is similar to a read-only branched release. When creating
11751026
# deployments, the version to use must be specified.

generated/google-apis-script_v1/lib/google/apis/script_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ScriptV1
1818
# Version of the google-apis-script_v1 gem
19-
GEM_VERSION = "0.28.0"
19+
GEM_VERSION = "0.29.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250406"
25+
REVISION = "20250526"
2626
end
2727
end
2828
end

generated/google-apis-script_v1/lib/google/apis/script_v1/representations.rb

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
5858
include Google::Apis::Core::JsonObjectSupport
5959
end
6060

61-
class ExecuteStreamResponse
62-
class Representation < Google::Apis::Core::JsonRepresentation; end
63-
64-
include Google::Apis::Core::JsonObjectSupport
65-
end
66-
6761
class ExecutionError
6862
class Representation < Google::Apis::Core::JsonRepresentation; end
6963

@@ -160,12 +154,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
160154
include Google::Apis::Core::JsonObjectSupport
161155
end
162156

163-
class ListValue
164-
class Representation < Google::Apis::Core::JsonRepresentation; end
165-
166-
include Google::Apis::Core::JsonObjectSupport
167-
end
168-
169157
class ListVersionsResponse
170158
class Representation < Google::Apis::Core::JsonRepresentation; end
171159

@@ -196,12 +184,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
196184
include Google::Apis::Core::JsonObjectSupport
197185
end
198186

199-
class ScriptExecutionResult
200-
class Representation < Google::Apis::Core::JsonRepresentation; end
201-
202-
include Google::Apis::Core::JsonObjectSupport
203-
end
204-
205187
class ScriptStackTraceElement
206188
class Representation < Google::Apis::Core::JsonRepresentation; end
207189

@@ -214,24 +196,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
214196
include Google::Apis::Core::JsonObjectSupport
215197
end
216198

217-
class Struct
218-
class Representation < Google::Apis::Core::JsonRepresentation; end
219-
220-
include Google::Apis::Core::JsonObjectSupport
221-
end
222-
223199
class UpdateDeploymentRequest
224200
class Representation < Google::Apis::Core::JsonRepresentation; end
225201

226202
include Google::Apis::Core::JsonObjectSupport
227203
end
228204

229-
class Value
230-
class Representation < Google::Apis::Core::JsonRepresentation; end
231-
232-
include Google::Apis::Core::JsonObjectSupport
233-
end
234-
235205
class Version
236206
class Representation < Google::Apis::Core::JsonRepresentation; end
237207

@@ -296,14 +266,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
296266
end
297267
end
298268

299-
class ExecuteStreamResponse
300-
# @private
301-
class Representation < Google::Apis::Core::JsonRepresentation
302-
property :result, as: 'result', class: Google::Apis::ScriptV1::ScriptExecutionResult, decorator: Google::Apis::ScriptV1::ScriptExecutionResult::Representation
303-
304-
end
305-
end
306-
307269
class ExecutionError
308270
# @private
309271
class Representation < Google::Apis::Core::JsonRepresentation
@@ -457,14 +419,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
457419
end
458420
end
459421

460-
class ListValue
461-
# @private
462-
class Representation < Google::Apis::Core::JsonRepresentation
463-
collection :values, as: 'values', class: Google::Apis::ScriptV1::Value, decorator: Google::Apis::ScriptV1::Value::Representation
464-
465-
end
466-
end
467-
468422
class ListVersionsResponse
469423
# @private
470424
class Representation < Google::Apis::Core::JsonRepresentation
@@ -520,14 +474,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
520474
end
521475
end
522476

523-
class ScriptExecutionResult
524-
# @private
525-
class Representation < Google::Apis::Core::JsonRepresentation
526-
property :return_value, as: 'returnValue', class: Google::Apis::ScriptV1::Value, decorator: Google::Apis::ScriptV1::Value::Representation
527-
528-
end
529-
end
530-
531477
class ScriptStackTraceElement
532478
# @private
533479
class Representation < Google::Apis::Core::JsonRepresentation
@@ -545,14 +491,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
545491
end
546492
end
547493

548-
class Struct
549-
# @private
550-
class Representation < Google::Apis::Core::JsonRepresentation
551-
hash :fields, as: 'fields', class: Google::Apis::ScriptV1::Value, decorator: Google::Apis::ScriptV1::Value::Representation
552-
553-
end
554-
end
555-
556494
class UpdateDeploymentRequest
557495
# @private
558496
class Representation < Google::Apis::Core::JsonRepresentation
@@ -561,23 +499,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
561499
end
562500
end
563501

564-
class Value
565-
# @private
566-
class Representation < Google::Apis::Core::JsonRepresentation
567-
property :bool_value, as: 'boolValue'
568-
property :bytes_value, :base64 => true, as: 'bytesValue'
569-
property :date_value, :numeric_string => true, as: 'dateValue'
570-
property :list_value, as: 'listValue', class: Google::Apis::ScriptV1::ListValue, decorator: Google::Apis::ScriptV1::ListValue::Representation
571-
572-
property :null_value, as: 'nullValue'
573-
property :number_value, as: 'numberValue'
574-
hash :proto_value, as: 'protoValue'
575-
property :string_value, as: 'stringValue'
576-
property :struct_value, as: 'structValue', class: Google::Apis::ScriptV1::Struct, decorator: Google::Apis::ScriptV1::Struct::Representation
577-
578-
end
579-
end
580-
581502
class Version
582503
# @private
583504
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)