Class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1ArtifactObjects
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb
Overview
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
Instance Attribute Summary collapse
-
#location ⇒ String
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/ to/somewhere/".
-
#paths ⇒ Array<String>
Path globs used to match files in the build's workspace.
-
#timing ⇒ Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan
Start and end times for a build execution phase.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1ArtifactObjects
constructor
A new instance of GoogleDevtoolsCloudbuildV1ArtifactObjects.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsCloudbuildV1ArtifactObjects
Returns a new instance of GoogleDevtoolsCloudbuildV1ArtifactObjects.
2896 2897 2898 |
# File 'lib/google/apis/run_v2/classes.rb', line 2896 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ String
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/
to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any
path pattern will be uploaded to Cloud Storage with this location as a prefix.
Corresponds to the JSON property location
2884 2885 2886 |
# File 'lib/google/apis/run_v2/classes.rb', line 2884 def location @location end |
#paths ⇒ Array<String>
Path globs used to match files in the build's workspace.
Corresponds to the JSON property paths
2889 2890 2891 |
# File 'lib/google/apis/run_v2/classes.rb', line 2889 def paths @paths end |
#timing ⇒ Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1TimeSpan
Start and end times for a build execution phase.
Corresponds to the JSON property timing
2894 2895 2896 |
# File 'lib/google/apis/run_v2/classes.rb', line 2894 def timing @timing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2901 2902 2903 2904 2905 |
# File 'lib/google/apis/run_v2/classes.rb', line 2901 def update!(**args) @location = args[:location] if args.key?(:location) @paths = args[:paths] if args.key?(:paths) @timing = args[:timing] if args.key?(:timing) end |