# Binary Authorization V1 API - Class Grafeas::V1::BaseImage (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.8.0 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Binary Authorization V1 API class Grafeas::V1::BaseImage.

BaseImage describes a base image of a container image.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #layer_count

    def layer_count() -> ::Integer

**Returns**

- (::Integer) --- The number of layers that the base image is composed of.

### #layer_count=

    def layer_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of layers that the base image is composed of.
**Returns**

- (::Integer) --- The number of layers that the base image is composed of.

### #name

    def name() -> ::String

**Returns**

- (::String) --- The name of the base image.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the base image.
**Returns**

- (::String) --- The name of the base image.

### #registry

    def registry() -> ::String

**Returns**

- (::String) --- The registry in which the base image is from.

### #registry=

    def registry=(value) -> ::String

**Parameter**

- **value** (::String) --- The registry in which the base image is from.
**Returns**

- (::String) --- The registry in which the base image is from.

### #repository

    def repository() -> ::String

**Returns**

- (::String) --- The repository name in which the base image is from.

### #repository=

    def repository=(value) -> ::String

**Parameter**

- **value** (::String) --- The repository name in which the base image is from.
**Returns**

- (::String) --- The repository name in which the base image is from.