Class: Google::Apis::ConnectorsV2::GetResourceResponse
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::GetResourceResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb
Instance Attribute Summary collapse
-
#_meta ⇒ Hash<String,Object>
Metadata for the resource.
-
#data ⇒ String
The content of the resource.
-
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
-
#mime_type ⇒ String
The MIME type of the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetResourceResponse
constructor
A new instance of GetResourceResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetResourceResponse
Returns a new instance of GetResourceResponse.
828 829 830 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 828 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_meta ⇒ Hash<String,Object>
Metadata for the resource.
Corresponds to the JSON property _meta
810 811 812 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 810 def @_meta end |
#data ⇒ String
The content of the resource.
Corresponds to the JSON property data
NOTE: Values are automatically base64 encoded/decoded in the client library.
816 817 818 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 816 def data @data end |
#metadata ⇒ Hash<String,Hash<String,Object>>
Metadata like service latency, etc.
Corresponds to the JSON property metadata
821 822 823 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 821 def @metadata end |
#mime_type ⇒ String
The MIME type of the resource.
Corresponds to the JSON property mimeType
826 827 828 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 826 def mime_type @mime_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
833 834 835 836 837 838 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 833 def update!(**args) @_meta = args[:_meta] if args.key?(:_meta) @data = args[:data] if args.key?(:data) @metadata = args[:metadata] if args.key?(:metadata) @mime_type = args[:mime_type] if args.key?(:mime_type) end |