Class: Google::Apis::SecuresourcemanagerV1::FetchBlobResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::FetchBlobResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securesourcemanager_v1/classes.rb,
lib/google/apis/securesourcemanager_v1/representations.rb,
lib/google/apis/securesourcemanager_v1/representations.rb
Overview
Response message containing the content of a blob.
Instance Attribute Summary collapse
-
#content ⇒ String
The content of the blob, encoded as base64.
-
#sha ⇒ String
The SHA-1 hash of the blob.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FetchBlobResponse
constructor
A new instance of FetchBlobResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FetchBlobResponse
Returns a new instance of FetchBlobResponse.
612 613 614 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
The content of the blob, encoded as base64.
Corresponds to the JSON property content
605 606 607 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 605 def content @content end |
#sha ⇒ String
The SHA-1 hash of the blob.
Corresponds to the JSON property sha
610 611 612 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 610 def sha @sha end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
617 618 619 620 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 617 def update!(**args) @content = args[:content] if args.key?(:content) @sha = args[:sha] if args.key?(:sha) end |