Class: Google::Apis::ChatV1::DynamiteIntegrationLogEntry
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::DynamiteIntegrationLogEntry
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
JSON payload of error messages. If the Cloud Logging API is enabled, these error messages are logged to Google Cloud Logging.
Instance Attribute Summary collapse
-
#deployment ⇒ String
The deployment that caused the error.
-
#deployment_function ⇒ String
The unencrypted
callback_methodname that was running when the error was encountered. -
#error ⇒ Google::Apis::ChatV1::Status
The
Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamiteIntegrationLogEntry
constructor
A new instance of DynamiteIntegrationLogEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DynamiteIntegrationLogEntry
Returns a new instance of DynamiteIntegrationLogEntry.
787 788 789 |
# File 'lib/google/apis/chat_v1/classes.rb', line 787 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deployment ⇒ String
The deployment that caused the error. For Chat bots built in Apps Script, this
is the deployment ID defined by Apps Script.
Corresponds to the JSON property deployment
769 770 771 |
# File 'lib/google/apis/chat_v1/classes.rb', line 769 def deployment @deployment end |
#deployment_function ⇒ String
The unencrypted callback_method name that was running when the error was
encountered.
Corresponds to the JSON property deploymentFunction
775 776 777 |
# File 'lib/google/apis/chat_v1/classes.rb', line 775 def deployment_function @deployment_function end |
#error ⇒ Google::Apis::ChatV1::Status
The Status type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property error
785 786 787 |
# File 'lib/google/apis/chat_v1/classes.rb', line 785 def error @error end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
792 793 794 795 796 |
# File 'lib/google/apis/chat_v1/classes.rb', line 792 def update!(**args) @deployment = args[:deployment] if args.key?(:deployment) @deployment_function = args[:deployment_function] if args.key?(:deployment_function) @error = args[:error] if args.key?(:error) end |