Class: Google::Apis::DataflowV1b3::GetTemplateResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::GetTemplateResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
The response to a GetTemplate request.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::DataflowV1b3::TemplateMetadata
Metadata describing a template.
-
#runtime_metadata ⇒ Google::Apis::DataflowV1b3::RuntimeMetadata
RuntimeMetadata describing a runtime environment.
-
#status ⇒ Google::Apis::DataflowV1b3::Status
The
Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#template_type ⇒ String
Template Type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetTemplateResponse
constructor
A new instance of GetTemplateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetTemplateResponse
Returns a new instance of GetTemplateResponse.
1810 1811 1812 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::DataflowV1b3::TemplateMetadata
Metadata describing a template.
Corresponds to the JSON property metadata
1788 1789 1790 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1788 def @metadata end |
#runtime_metadata ⇒ Google::Apis::DataflowV1b3::RuntimeMetadata
RuntimeMetadata describing a runtime environment.
Corresponds to the JSON property runtimeMetadata
1793 1794 1795 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1793 def @runtime_metadata end |
#status ⇒ Google::Apis::DataflowV1b3::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 status
1803 1804 1805 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1803 def status @status end |
#template_type ⇒ String
Template Type.
Corresponds to the JSON property templateType
1808 1809 1810 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1808 def template_type @template_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1815 1816 1817 1818 1819 1820 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1815 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata) @status = args[:status] if args.key?(:status) @template_type = args[:template_type] if args.key?(:template_type) end |