Class: Google::Apis::DataflowV1b3::GetTemplateResponse
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::GetTemplateResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/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.
-
#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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetTemplateResponse
constructor
A new instance of GetTemplateResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetTemplateResponse
Returns a new instance of GetTemplateResponse
1489 1490 1491 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1489 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::DataflowV1b3::TemplateMetadata
Metadata describing a template.
Corresponds to the JSON property metadata
1477 1478 1479 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1477 def @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
1487 1488 1489 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1487 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1494 1495 1496 1497 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1494 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @status = args[:status] if args.key?(:status) end |