Class: Google::Apis::CloudbuildV2::Provenance
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::Provenance
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
Provenance configuration.
Instance Attribute Summary collapse
-
#enabled ⇒ String
Optional.
-
#region ⇒ String
Optional.
-
#storage ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Provenance
constructor
A new instance of Provenance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Provenance
Returns a new instance of Provenance.
2187 2188 2189 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2187 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ String
Optional. Provenance push mode.
Corresponds to the JSON property enabled
2175 2176 2177 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2175 def enabled @enabled end |
#region ⇒ String
Optional. Provenance region.
Corresponds to the JSON property region
2180 2181 2182 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2180 def region @region end |
#storage ⇒ String
Optional. Where provenance is stored.
Corresponds to the JSON property storage
2185 2186 2187 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2185 def storage @storage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2192 2193 2194 2195 2196 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 2192 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @region = args[:region] if args.key?(:region) @storage = args[:storage] if args.key?(:storage) end |