Vision AI V1 API - Class Google::Cloud::VisionAI::V1::AcquireLeaseRequest (v1.1.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AcquireLeaseRequest.
Request message for acquiring a lease.
Extended By
-
Google::Protobuf::MessageExts::ClassMethods
Includes
-
Google::Protobuf::MessageExts
Methods
#lease_type
def lease_type() -> ::Google::Cloud::VisionAI::V1::LeaseType
#lease_type=
def lease_type=(value) -> ::Google::Cloud::VisionAI::V1::LeaseType
#owner
Returns
-
(::String) — The owner name.
#owner=
def owner=(value) -> ::String
Parameter
-
value (::String) — The owner name.
Returns
-
(::String) — The owner name.
#series
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
#term=
def term=(value) -> ::Google::Protobuf::Duration
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::AcquireLeaseRequest (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-AcquireLeaseRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-AcquireLeaseRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-AcquireLeaseRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-AcquireLeaseRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-AcquireLeaseRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-AcquireLeaseRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-AcquireLeaseRequest) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AcquireLeaseRequest.\n\nRequest message for acquiring a lease. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #lease_type\n\n def lease_type() -\u003e ::Google::Cloud::VisionAI::V1::LeaseType\n\n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::LeaseType](./Google-Cloud-VisionAI-V1-LeaseType)) --- The lease type.\n\n### #lease_type=\n\n def lease_type=(value) -\u003e ::Google::Cloud::VisionAI::V1::LeaseType\n\n**Parameter**\n\n- **value** ([::Google::Cloud::VisionAI::V1::LeaseType](./Google-Cloud-VisionAI-V1-LeaseType)) --- The lease type. \n**Returns**\n\n- ([::Google::Cloud::VisionAI::V1::LeaseType](./Google-Cloud-VisionAI-V1-LeaseType)) --- The lease type.\n\n### #owner\n\n def owner() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The owner name.\n\n### #owner=\n\n def owner=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The owner name. \n**Returns**\n\n- (::String) --- The owner name.\n\n### #series\n\n def series() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The series name.\n\n### #series=\n\n def series=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The series name. \n**Returns**\n\n- (::String) --- The series name.\n\n### #term\n\n def term() -\u003e ::Google::Protobuf::Duration\n\n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- The lease term.\n\n### #term=\n\n def term=(value) -\u003e ::Google::Protobuf::Duration\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- The lease term. \n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- The lease term."]]