Interface GetInventoryRequestOrBuilder (2.44.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
Type Description
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
Type Description
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.v1alpha.InventoryView view = 2;

Returns
Type Description
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.v1alpha.InventoryView view = 2;

Returns
Type Description
int

The enum numeric value on the wire for view.