License Manager V1 API - Class Google::Cloud::LicenseManager::V1::Instance (v0.1.0)

Reference documentation and code samples for the License Manager V1 API class Google::Cloud::LicenseManager::V1::Instance.

Message describing Instance object

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#compute_instance

def compute_instance() -> ::String
Returns
  • (::String) — Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}

#compute_instance=

def compute_instance=(value) -> ::String
Parameter
  • value (::String) — Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}
Returns
  • (::String) — Required. Compute Instance resource name, i.e. projects/{project}/zones/{zone}/instances/{instance}

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels as key value pairs

#license_version_id

def license_version_id() -> ::String
Returns
  • (::String) — Output only. license version id.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. name of resource

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. name of resource
Returns
  • (::String) — Identifier. name of resource

#product_activation

def product_activation() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::LicenseManager::V1::ActivationState}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::LicenseManager::V1::ActivationState}) — Output only. Map with Product_Name and Activation State of the VM.

#region

def region() -> ::String
Returns
  • (::String) — Output only. The location of the VM.

#state

def state() -> ::Google::Cloud::LicenseManager::V1::Instance::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns