Class: Google::Apis::DatastoreV1beta2::ResponseHeader

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datastore_v1beta2/classes.rb,
generated/google/apis/datastore_v1beta2/representations.rb,
generated/google/apis/datastore_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ResponseHeader

Returns a new instance of ResponseHeader



976
977
978
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 976

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "datastore# responseHeader". Corresponds to the JSON property kind

Returns:

  • (String)


974
975
976
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 974

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



981
982
983
# File 'generated/google/apis/datastore_v1beta2/classes.rb', line 981

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
end