Class: Google::Apis::DatamigrationV1::ApplyHash
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::ApplyHash
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
Apply a hash function on the value.
Instance Attribute Summary collapse
-
#uuid_from_bytes ⇒ Google::Apis::DatamigrationV1::Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplyHash
constructor
A new instance of ApplyHash.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplyHash
Returns a new instance of ApplyHash.
164 165 166 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uuid_from_bytes ⇒ Google::Apis::DatamigrationV1::Empty
A generic empty message that you can re-use to avoid defining duplicated empty
messages in your APIs. A typical example is to use it as the request or the
response type of an API method. For instance: service Foo rpc Bar(google.
protobuf.Empty) returns (google.protobuf.Empty);
Corresponds to the JSON property uuidFromBytes
162 163 164 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 162 def uuid_from_bytes @uuid_from_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
169 170 171 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 169 def update!(**args) @uuid_from_bytes = args[:uuid_from_bytes] if args.key?(:uuid_from_bytes) end |