# Grafeas V1 API - Class Grafeas::V1::BuildProvenance (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.1 1.0.0 0.16.1 0.15.0 0.14.2 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.1 Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::BuildProvenance.

Provenance of a build. Contains all information needed to verify the full
details about the build from source to completion.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #build_options

    def build_options() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

### #build_options=

    def build_options=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

### #builder_version

    def builder_version() -> ::String

**Returns**

- (::String) --- Version string of the builder at the time this build was executed.

### #builder_version=

    def builder_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Version string of the builder at the time this build was executed.
**Returns**

- (::String) --- Version string of the builder at the time this build was executed.

### #built_artifacts

    def built_artifacts() -> ::Array<::Grafeas::V1::Artifact>

**Returns**

- (::Array\<[::Grafeas::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Artifact)\>) --- Output of the build.

### #built_artifacts=

    def built_artifacts=(value) -> ::Array<::Grafeas::V1::Artifact>

**Parameter**

- **value** (::Array\<[::Grafeas::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Artifact)\>) --- Output of the build.
**Returns**

- (::Array\<[::Grafeas::V1::Artifact](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Artifact)\>) --- Output of the build.

### #commands

    def commands() -> ::Array<::Grafeas::V1::Command>

**Returns**

- (::Array\<[::Grafeas::V1::Command](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Command)\>) --- Commands requested by the build.

### #commands=

    def commands=(value) -> ::Array<::Grafeas::V1::Command>

**Parameter**

- **value** (::Array\<[::Grafeas::V1::Command](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Command)\>) --- Commands requested by the build.
**Returns**

- (::Array\<[::Grafeas::V1::Command](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Command)\>) --- Commands requested by the build.

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which the build was created.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which the build was created.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which the build was created.

### #creator

    def creator() -> ::String

**Returns**

- (::String) --- E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.

### #creator=

    def creator=(value) -> ::String

**Parameter**

- **value** (::String) --- E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
**Returns**

- (::String) --- E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which execution of the build was finished.

### #end_time=

    def end_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which execution of the build was finished.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which execution of the build was finished.

### #id

    def id() -> ::String

**Returns**

- (::String) --- Required. Unique identifier of the build.

### #id=

    def id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Unique identifier of the build.
**Returns**

- (::String) --- Required. Unique identifier of the build.

### #logs_uri

    def logs_uri() -> ::String

**Returns**

- (::String) --- URI where any logs for this provenance were written.

### #logs_uri=

    def logs_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- URI where any logs for this provenance were written.
**Returns**

- (::String) --- URI where any logs for this provenance were written.

### #project_id

    def project_id() -> ::String

**Returns**

- (::String) --- ID of the project.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::String) --- ID of the project.
**Returns**

- (::String) --- ID of the project.

### #source_provenance

    def source_provenance() -> ::Grafeas::V1::Source

**Returns**

- ([::Grafeas::V1::Source](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Source)) --- Details of the Source input to the build.

### #source_provenance=

    def source_provenance=(value) -> ::Grafeas::V1::Source

**Parameter**

- **value** ([::Grafeas::V1::Source](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Source)) --- Details of the Source input to the build.
**Returns**

- ([::Grafeas::V1::Source](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Grafeas-V1-Source)) --- Details of the Source input to the build.

### #start_time

    def start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which execution of the build was started.

### #start_time=

    def start_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which execution of the build was started.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/grafeas-v1/latest/Google-Protobuf-Timestamp)) --- Time at which execution of the build was started.

### #trigger_id

    def trigger_id() -> ::String

**Returns**

- (::String) --- Trigger identifier if the build was triggered automatically; empty if not.

### #trigger_id=

    def trigger_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Trigger identifier if the build was triggered automatically; empty if not.
**Returns**

- (::String) --- Trigger identifier if the build was triggered automatically; empty if not.