Class: Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1beta1::ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb 
Overview
A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
Instance Attribute Summary collapse
- 
  
    
      #artifact_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Maven
artifactIdvalue used when uploading the artifact to Artifact Registry. - 
  
    
      #group_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Maven
groupIdvalue used when uploading the artifact to Artifact Registry. - 
  
    
      #path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Path to an artifact in the build's workspace to be uploaded to Artifact Registry.
 - 
  
    
      #repository  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$ PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
 - 
  
    
      #version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Maven
versionvalue used when uploading the artifact to Artifact Registry. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact
Returns a new instance of ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact.
      1376 1377 1378  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1376 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#artifact_id ⇒ String
Maven artifactId value used when uploading the artifact to Artifact Registry.
Corresponds to the JSON property artifactId
      1349 1350 1351  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1349 def artifact_id @artifact_id end  | 
  
#group_id ⇒ String
Maven groupId value used when uploading the artifact to Artifact Registry.
Corresponds to the JSON property groupId
      1354 1355 1356  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1354 def group_id @group_id end  | 
  
#path ⇒ String
Path to an artifact in the build's workspace to be uploaded to Artifact
Registry. This can be either an absolute path, e.g. /workspace/my-app/target/
my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/
my-app-1.0.SNAPSHOT.jar.
Corresponds to the JSON property path
      1362 1363 1364  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1362 def path @path end  | 
  
#repository ⇒ String
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$
PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be
uploaded to Artifact Registry with this location as a prefix.
Corresponds to the JSON property repository
      1369 1370 1371  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1369 def repository @repository end  | 
  
#version ⇒ String
Maven version value used when uploading the artifact to Artifact Registry.
Corresponds to the JSON property version
      1374 1375 1376  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1374 def version @version end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1381 1382 1383 1384 1385 1386 1387  | 
    
      # File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 1381 def update!(**args) @artifact_id = args[:artifact_id] if args.key?(:artifact_id) @group_id = args[:group_id] if args.key?(:group_id) @path = args[:path] if args.key?(:path) @repository = args[:repository] if args.key?(:repository) @version = args[:version] if args.key?(:version) end  |