Reference documentation and code samples for the Storage Control V2 API class Google::Cloud::Storage::Control::V2::ObjectFullContext.
A full representation of an object context.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time at which the object context was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which the object context was created.
Returns
- (::Google::Protobuf::Timestamp) — The time at which the object context was created.
#extended_data
def extended_data() -> ::Google::Protobuf::Any
Returns
- (::Google::Protobuf::Any) — The extended data of the object context.
#extended_data=
def extended_data=(value) -> ::Google::Protobuf::Any
Parameter
- value (::Google::Protobuf::Any) — The extended data of the object context.
Returns
- (::Google::Protobuf::Any) — The extended data of the object context.
#key
def key() -> ::String
Returns
- (::String) — The key of the object context, which is unique among contexts of an object.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — The key of the object context, which is unique among contexts of an object.
Returns
- (::String) — The key of the object context, which is unique among contexts of an object.
#type
def type() -> ::Google::Cloud::Storage::Control::V2::ObjectFullContext::Type
Returns
- (::Google::Cloud::Storage::Control::V2::ObjectFullContext::Type) — The type of the object context.
#type=
def type=(value) -> ::Google::Cloud::Storage::Control::V2::ObjectFullContext::Type
Parameter
- value (::Google::Cloud::Storage::Control::V2::ObjectFullContext::Type) — The type of the object context.
Returns
- (::Google::Cloud::Storage::Control::V2::ObjectFullContext::Type) — The type of the object context.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time at which the object context was updated.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which the object context was updated.
Returns
- (::Google::Protobuf::Timestamp) — The time at which the object context was updated.
#value
def value() -> ::String
Returns
- (::String) — The value of the object context.
#value=
def value=(value) -> ::String
Parameter
- value (::String) — The value of the object context.
Returns
- (::String) — The value of the object context.