Class: Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/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::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan
Start and end times for a build execution phase.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects
constructor
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects.
1076 1077 1078 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 1076 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
1064 1065 1066 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 1064 def location @location end |
#paths ⇒ Array<String>
Path globs used to match files in the build's workspace.
Corresponds to the JSON property paths
1069 1070 1071 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 1069 def paths @paths end |
#timing ⇒ Google::Apis::ContaineranalysisV1::ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan
Start and end times for a build execution phase.
Corresponds to the JSON property timing
1074 1075 1076 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 1074 def timing @timing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1081 1082 1083 1084 1085 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 1081 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 |