com.google.api.services.run.v2.model.GoogleDevtoolsCloudbuildV1Artifacts Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.run.v2.model;
/**
* Artifacts produced by a build that should be uploaded upon successful completion of all build
* steps.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Cloud Run Admin API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleDevtoolsCloudbuildV1Artifacts extends com.google.api.client.json.GenericJson {
/**
* A list of images to be pushed upon the successful completion of all build steps. The images
* will be pushed using the builder service account's credentials. The digests of the pushed
* images will be stored in the Build resource's results field. If any of the images fail to be
* pushed, the build is marked FAILURE.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List images;
/**
* A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all
* build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the
* specified Artifact Registry repository using the builder service account's credentials. If any
* artifacts fail to be pushed, the build is marked FAILURE.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List mavenArtifacts;
/**
* A list of npm packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. Npm packages in the specified paths will be uploaded to the specified Artifact
* Registry repository using the builder service account's credentials. If any packages fail to be
* pushed, the build is marked FAILURE.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List npmPackages;
/**
* A list of objects to be uploaded to Cloud Storage upon successful completion of all build
* steps. Files in the workspace matching specified paths globs will be uploaded to the specified
* Cloud Storage location using the builder service account's credentials. The location and
* generation of the uploaded objects will be stored in the Build resource's results field. If any
* objects fail to be pushed, the build is marked FAILURE.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleDevtoolsCloudbuildV1ArtifactObjects objects;
/**
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. The build service account credentials will be used to perform the upload. If any
* objects fail to be pushed, the build is marked FAILURE.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List pythonPackages;
/**
* A list of images to be pushed upon the successful completion of all build steps. The images
* will be pushed using the builder service account's credentials. The digests of the pushed
* images will be stored in the Build resource's results field. If any of the images fail to be
* pushed, the build is marked FAILURE.
* @return value or {@code null} for none
*/
public java.util.List getImages() {
return images;
}
/**
* A list of images to be pushed upon the successful completion of all build steps. The images
* will be pushed using the builder service account's credentials. The digests of the pushed
* images will be stored in the Build resource's results field. If any of the images fail to be
* pushed, the build is marked FAILURE.
* @param images images or {@code null} for none
*/
public GoogleDevtoolsCloudbuildV1Artifacts setImages(java.util.List images) {
this.images = images;
return this;
}
/**
* A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all
* build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the
* specified Artifact Registry repository using the builder service account's credentials. If any
* artifacts fail to be pushed, the build is marked FAILURE.
* @return value or {@code null} for none
*/
public java.util.List getMavenArtifacts() {
return mavenArtifacts;
}
/**
* A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all
* build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the
* specified Artifact Registry repository using the builder service account's credentials. If any
* artifacts fail to be pushed, the build is marked FAILURE.
* @param mavenArtifacts mavenArtifacts or {@code null} for none
*/
public GoogleDevtoolsCloudbuildV1Artifacts setMavenArtifacts(java.util.List mavenArtifacts) {
this.mavenArtifacts = mavenArtifacts;
return this;
}
/**
* A list of npm packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. Npm packages in the specified paths will be uploaded to the specified Artifact
* Registry repository using the builder service account's credentials. If any packages fail to be
* pushed, the build is marked FAILURE.
* @return value or {@code null} for none
*/
public java.util.List getNpmPackages() {
return npmPackages;
}
/**
* A list of npm packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. Npm packages in the specified paths will be uploaded to the specified Artifact
* Registry repository using the builder service account's credentials. If any packages fail to be
* pushed, the build is marked FAILURE.
* @param npmPackages npmPackages or {@code null} for none
*/
public GoogleDevtoolsCloudbuildV1Artifacts setNpmPackages(java.util.List npmPackages) {
this.npmPackages = npmPackages;
return this;
}
/**
* A list of objects to be uploaded to Cloud Storage upon successful completion of all build
* steps. Files in the workspace matching specified paths globs will be uploaded to the specified
* Cloud Storage location using the builder service account's credentials. The location and
* generation of the uploaded objects will be stored in the Build resource's results field. If any
* objects fail to be pushed, the build is marked FAILURE.
* @return value or {@code null} for none
*/
public GoogleDevtoolsCloudbuildV1ArtifactObjects getObjects() {
return objects;
}
/**
* A list of objects to be uploaded to Cloud Storage upon successful completion of all build
* steps. Files in the workspace matching specified paths globs will be uploaded to the specified
* Cloud Storage location using the builder service account's credentials. The location and
* generation of the uploaded objects will be stored in the Build resource's results field. If any
* objects fail to be pushed, the build is marked FAILURE.
* @param objects objects or {@code null} for none
*/
public GoogleDevtoolsCloudbuildV1Artifacts setObjects(GoogleDevtoolsCloudbuildV1ArtifactObjects objects) {
this.objects = objects;
return this;
}
/**
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. The build service account credentials will be used to perform the upload. If any
* objects fail to be pushed, the build is marked FAILURE.
* @return value or {@code null} for none
*/
public java.util.List getPythonPackages() {
return pythonPackages;
}
/**
* A list of Python packages to be uploaded to Artifact Registry upon successful completion of all
* build steps. The build service account credentials will be used to perform the upload. If any
* objects fail to be pushed, the build is marked FAILURE.
* @param pythonPackages pythonPackages or {@code null} for none
*/
public GoogleDevtoolsCloudbuildV1Artifacts setPythonPackages(java.util.List pythonPackages) {
this.pythonPackages = pythonPackages;
return this;
}
@Override
public GoogleDevtoolsCloudbuildV1Artifacts set(String fieldName, Object value) {
return (GoogleDevtoolsCloudbuildV1Artifacts) super.set(fieldName, value);
}
@Override
public GoogleDevtoolsCloudbuildV1Artifacts clone() {
return (GoogleDevtoolsCloudbuildV1Artifacts) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy