Interface GetInventoryRequestOrBuilder (2.23.0)

public interface GetInventoryRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. API resource name for inventory resource.

Format: projects/{project}/locations/{location}/instances/{instance}/inventory

For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. API resource name for inventory resource.

Format: projects/{project}/locations/{location}/instances/{instance}/inventory

For {project}, either project-number or project-id can be provided. For {instance}, either Compute Engine instance-id or instance-name can be provided.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getView()

public abstract InventoryView getView()

Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.

.google.cloud.osconfig.v1.InventoryView view = 2;

Returns
TypeDescription
InventoryView

The view.

getViewValue()

public abstract int getViewValue()

Inventory view indicating what information should be included in the inventory resource. If unspecified, the default view is BASIC.

.google.cloud.osconfig.v1.InventoryView view = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for view.