Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AcquireLeaseRequest.
Request message for acquiring a lease.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#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.
#term
def term() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The lease term.
#term=
def term=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The lease term.
Returns
- (::Google::Protobuf::Duration) — The lease term.