Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Lease.
The lease message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The lease expire time.
#expire_time=
def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The lease expire time.
Returns
- (::Google::Protobuf::Timestamp) — The lease expire time.
#id
def id() -> ::String
Returns
- (::String) — The lease id.
#id=
def id=(value) -> ::String
Parameter
- value (::String) — The lease id.
Returns
- (::String) — The lease id.
#lease_type
def lease_type() -> ::Google::Cloud::VisionAI::V1::LeaseType
Returns
- (::Google::Cloud::VisionAI::V1::LeaseType) — The lease type.
#lease_type=
def lease_type=(value) -> ::Google::Cloud::VisionAI::V1::LeaseType
Parameter
- value (::Google::Cloud::VisionAI::V1::LeaseType) — The lease type.
Returns
- (::Google::Cloud::VisionAI::V1::LeaseType) — The lease type.
#owner
def owner() -> ::String
Returns
- (::String) — The owner name.
#owner=
def owner=(value) -> ::String
Parameter
- value (::String) — The owner name.
Returns
- (::String) — The owner name.
#series
def series() -> ::String
Returns
- (::String) — The series name.
#series=
def series=(value) -> ::String
Parameter
- value (::String) — The series name.
Returns
- (::String) — The series name.