Autogenerated update (2019-05-11)
Update: - appengine_v1 - appengine_v1alpha - appengine_v1beta - pubsub_v1 - run_v1alpha1 - script_v1 - servicecontrol_v1 - spanner_v1
This commit is contained in:
1 parent
ea6fcbe5be
commit
dc13fa66cd
19 files changed
+1239
-16
No files matched your search
@@ -207,6 +207,28 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The response for executing or debugging a function in an Apps Script project.
|
||||
class ExecuteStreamResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The result of an execution
|
||||
# Based on ScriptExecutionResult at:
|
||||
# google3/apps/maestro/api/frontend_execution_common.proto?q=message%5c%
|
||||
# 20ScriptExecutionResult
|
||||
# Corresponds to the JSON property `result`
|
||||
# @return [Google::Apis::ScriptV1::ScriptExecutionResult]
|
||||
attr_accessor :result
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@result = args[:result] if args.key?(:result)
|
||||
end
|
||||
end
|
||||
|
||||
# An object that provides information about the nature of an error resulting
|
||||
# from an attempted execution of a script function using the Apps Script API.
|
||||
# If a run call
|
||||
@@ -746,6 +768,27 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# `ListValue` is a wrapper around a repeated field of values.
|
||||
# Based on LustValue at:
|
||||
# google3/apps/maestro/api/struct.proto?q=message%5c%20ListValue
|
||||
class ListValue
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Repeated field of dynamically typed values.
|
||||
# Corresponds to the JSON property `values`
|
||||
# @return [Array<Google::Apis::ScriptV1::Value>]
|
||||
attr_accessor :values
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@values = args[:values] if args.key?(:values)
|
||||
end
|
||||
end
|
||||
|
||||
# Response with the list of the versions for the specified script project.
|
||||
class ListVersionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -952,6 +995,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The result of an execution
|
||||
# Based on ScriptExecutionResult at:
|
||||
# google3/apps/maestro/api/frontend_execution_common.proto?q=message%5c%
|
||||
# 20ScriptExecutionResult
|
||||
class ScriptExecutionResult
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# `Value` represents a dynamically typed value which is the outcome of an
|
||||
# executed script
|
||||
# Based on Value at:
|
||||
# google3/apps/maestro/api/struct.proto?q=message%5c%20Value
|
||||
# Corresponds to the JSON property `returnValue`
|
||||
# @return [Google::Apis::ScriptV1::Value]
|
||||
attr_accessor :return_value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@return_value = args[:return_value] if args.key?(:return_value)
|
||||
end
|
||||
end
|
||||
|
||||
# A stack trace through the script that shows where the execution failed.
|
||||
class ScriptStackTraceElement
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -1014,6 +1082,28 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# `Struct` represents a structured data value, consisting of fields which map
|
||||
# to dynamically typed values.
|
||||
# Based on Struct at:
|
||||
# google3/apps/maestro/api/struct.proto?q=message%5c%20Struct
|
||||
class Struct
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Unordered map of dynamically typed values.
|
||||
# Corresponds to the JSON property `fields`
|
||||
# @return [Hash<String,Google::Apis::ScriptV1::Value>]
|
||||
attr_accessor :fields
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@fields = args[:fields] if args.key?(:fields)
|
||||
end
|
||||
end
|
||||
|
||||
# Request with deployment information to update an existing deployment.
|
||||
class UpdateDeploymentRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -1033,6 +1123,83 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# `Value` represents a dynamically typed value which is the outcome of an
|
||||
# executed script
|
||||
# Based on Value at:
|
||||
# google3/apps/maestro/api/struct.proto?q=message%5c%20Value
|
||||
class Value
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Represents a boolean value.
|
||||
# Corresponds to the JSON property `boolValue`
|
||||
# @return [Boolean]
|
||||
attr_accessor :bool_value
|
||||
alias_method :bool_value?, :bool_value
|
||||
|
||||
# Represents raw byte values.
|
||||
# Corresponds to the JSON property `bytesValue`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :bytes_value
|
||||
|
||||
# Represents a date in ms since the epoch.
|
||||
# Corresponds to the JSON property `dateValue`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :date_value
|
||||
|
||||
# `ListValue` is a wrapper around a repeated field of values.
|
||||
# Based on LustValue at:
|
||||
# google3/apps/maestro/api/struct.proto?q=message%5c%20ListValue
|
||||
# Corresponds to the JSON property `listValue`
|
||||
# @return [Google::Apis::ScriptV1::ListValue]
|
||||
attr_accessor :list_value
|
||||
|
||||
# Represents a null value.
|
||||
# Corresponds to the JSON property `nullValue`
|
||||
# @return [String]
|
||||
attr_accessor :null_value
|
||||
|
||||
# Represents a double value.
|
||||
# Corresponds to the JSON property `numberValue`
|
||||
# @return [Float]
|
||||
attr_accessor :number_value
|
||||
|
||||
# Represents a structured proto value.
|
||||
# Corresponds to the JSON property `protoValue`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :proto_value
|
||||
|
||||
# Represents a string value.
|
||||
# Corresponds to the JSON property `stringValue`
|
||||
# @return [String]
|
||||
attr_accessor :string_value
|
||||
|
||||
# `Struct` represents a structured data value, consisting of fields which map
|
||||
# to dynamically typed values.
|
||||
# Based on Struct at:
|
||||
# google3/apps/maestro/api/struct.proto?q=message%5c%20Struct
|
||||
# Corresponds to the JSON property `structValue`
|
||||
# @return [Google::Apis::ScriptV1::Struct]
|
||||
attr_accessor :struct_value
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@bool_value = args[:bool_value] if args.key?(:bool_value)
|
||||
@bytes_value = args[:bytes_value] if args.key?(:bytes_value)
|
||||
@date_value = args[:date_value] if args.key?(:date_value)
|
||||
@list_value = args[:list_value] if args.key?(:list_value)
|
||||
@null_value = args[:null_value] if args.key?(:null_value)
|
||||
@number_value = args[:number_value] if args.key?(:number_value)
|
||||
@proto_value = args[:proto_value] if args.key?(:proto_value)
|
||||
@string_value = args[:string_value] if args.key?(:string_value)
|
||||
@struct_value = args[:struct_value] if args.key?(:struct_value)
|
||||
end
|
||||
end
|
||||
|
||||
# A resource representing a script project version. A version is a "snapshot"
|
||||
# of a script project and is similar to a read-only branched release. When
|
||||
# creating deployments, the version to use must be specified.
|
||||
|
||||
@@ -58,6 +58,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ExecuteStreamResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ExecutionError
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -154,6 +160,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListValue
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListVersionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -184,6 +196,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ScriptExecutionResult
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ScriptStackTraceElement
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -196,12 +214,24 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Struct
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateDeploymentRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Value
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Version
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -266,6 +296,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ExecuteStreamResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :result, as: 'result', class: Google::Apis::ScriptV1::ScriptExecutionResult, decorator: Google::Apis::ScriptV1::ScriptExecutionResult::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ExecutionError
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -417,6 +455,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ListValue
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :values, as: 'values', class: Google::Apis::ScriptV1::Value, decorator: Google::Apis::ScriptV1::Value::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListVersionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -472,6 +518,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ScriptExecutionResult
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :return_value, as: 'returnValue', class: Google::Apis::ScriptV1::Value, decorator: Google::Apis::ScriptV1::Value::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ScriptStackTraceElement
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -489,6 +543,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Struct
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :fields, as: 'fields', class: Google::Apis::ScriptV1::Value, decorator: Google::Apis::ScriptV1::Value::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateDeploymentRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -497,6 +559,23 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Value
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :bool_value, as: 'boolValue'
|
||||
property :bytes_value, :base64 => true, as: 'bytesValue'
|
||||
property :date_value, :numeric_string => true, as: 'dateValue'
|
||||
property :list_value, as: 'listValue', class: Google::Apis::ScriptV1::ListValue, decorator: Google::Apis::ScriptV1::ListValue::Representation
|
||||
|
||||
property :null_value, as: 'nullValue'
|
||||
property :number_value, as: 'numberValue'
|
||||
hash :proto_value, as: 'protoValue'
|
||||
property :string_value, as: 'stringValue'
|
||||
property :struct_value, as: 'structValue', class: Google::Apis::ScriptV1::Struct, decorator: Google::Apis::ScriptV1::Struct::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Version
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user