Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseapphosting</artifactId>
<version>v1beta-rev20260514-2.0.0</version>
<version>v1beta-rev20260618-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseapphosting:v1beta-rev20260514-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseapphosting:v1beta-rev20260618-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ public final class BuildSource extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private ContainerSource container;

/**
* A source that was pre-built locally.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private LocallyBuiltSource locallyBuilt;

/**
* An archive source.
* @return value or {@code null} for none
Expand Down Expand Up @@ -102,6 +109,23 @@ public BuildSource setContainer(ContainerSource container) {
return this;
}

/**
* A source that was pre-built locally.
* @return value or {@code null} for none
*/
public LocallyBuiltSource getLocallyBuilt() {
return locallyBuilt;
}

/**
* A source that was pre-built locally.
* @param locallyBuilt locallyBuilt or {@code null} for none
*/
public BuildSource setLocallyBuilt(LocallyBuiltSource locallyBuilt) {
this.locallyBuilt = locallyBuilt;
return this;
}

@Override
public BuildSource set(String fieldName, Object value) {
return (BuildSource) super.set(fieldName, value);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
/*
* 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.firebaseapphosting.v1beta.model;

/**
* The URI of an storage archive to use as the build source.
*
* <p> 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 Firebase App Hosting API. For a detailed explanation
* see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class LocallyBuiltSource extends com.google.api.client.json.GenericJson {

/**
* Optional. An optional message that describes the uploaded version of the source code.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String description;

/**
* Optional. Supplied runtime environment variables for a specific build. Provided at Build
* creation time and immutable afterwards.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<EnvironmentVariable> env;

static {
// hack to force ProGuard to consider EnvironmentVariable used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(EnvironmentVariable.class);
}

/**
* Optional. The directory relative to the root of the archive to use as the root for the deployed
* web app. Defaults to use the root of the repository if not provided. If deploying a
* [monorepo](https://firebase.google.com/docs/app-hosting/monorepos), this should be the
* directory that contains the built source of the app.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String rootDirectory;

/**
* Optional. The command to run to start the app. If provided, it will override apphosting's
* default run commands. See [`Override build and run
* scripts`](https://firebase.google.com/docs/app-hosting/configure#override-scripts)
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String runCommand;

/**
* Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/do
* cs/reference/rest/v2/projects.locations.services#resource:-service).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private RunConfig runConfig;

/**
* URI to an archive in Cloud Storage. The object must be a gzipped archive file (.tar.gz)
* containing source to deploy.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String userStorageUri;

/**
* Optional. An optional message that describes the uploaded version of the source code.
* @return value or {@code null} for none
*/
public java.lang.String getDescription() {
return description;
}

/**
* Optional. An optional message that describes the uploaded version of the source code.
* @param description description or {@code null} for none
*/
public LocallyBuiltSource setDescription(java.lang.String description) {
this.description = description;
return this;
}

/**
* Optional. Supplied runtime environment variables for a specific build. Provided at Build
* creation time and immutable afterwards.
* @return value or {@code null} for none
*/
public java.util.List<EnvironmentVariable> getEnv() {
return env;
}

/**
* Optional. Supplied runtime environment variables for a specific build. Provided at Build
* creation time and immutable afterwards.
* @param env env or {@code null} for none
*/
public LocallyBuiltSource setEnv(java.util.List<EnvironmentVariable> env) {
this.env = env;
return this;
}

/**
* Optional. The directory relative to the root of the archive to use as the root for the deployed
* web app. Defaults to use the root of the repository if not provided. If deploying a
* [monorepo](https://firebase.google.com/docs/app-hosting/monorepos), this should be the
* directory that contains the built source of the app.
* @return value or {@code null} for none
*/
public java.lang.String getRootDirectory() {
return rootDirectory;
}

/**
* Optional. The directory relative to the root of the archive to use as the root for the deployed
* web app. Defaults to use the root of the repository if not provided. If deploying a
* [monorepo](https://firebase.google.com/docs/app-hosting/monorepos), this should be the
* directory that contains the built source of the app.
* @param rootDirectory rootDirectory or {@code null} for none
*/
public LocallyBuiltSource setRootDirectory(java.lang.String rootDirectory) {
this.rootDirectory = rootDirectory;
return this;
}

/**
* Optional. The command to run to start the app. If provided, it will override apphosting's
* default run commands. See [`Override build and run
* scripts`](https://firebase.google.com/docs/app-hosting/configure#override-scripts)
* @return value or {@code null} for none
*/
public java.lang.String getRunCommand() {
return runCommand;
}

/**
* Optional. The command to run to start the app. If provided, it will override apphosting's
* default run commands. See [`Override build and run
* scripts`](https://firebase.google.com/docs/app-hosting/configure#override-scripts)
* @param runCommand runCommand or {@code null} for none
*/
public LocallyBuiltSource setRunCommand(java.lang.String runCommand) {
this.runCommand = runCommand;
return this;
}

/**
* Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/do
* cs/reference/rest/v2/projects.locations.services#resource:-service).
* @return value or {@code null} for none
*/
public RunConfig getRunConfig() {
return runConfig;
}

/**
* Optional. Additional configuration of the Cloud Run [`service`](https://cloud.google.com/run/do
* cs/reference/rest/v2/projects.locations.services#resource:-service).
* @param runConfig runConfig or {@code null} for none
*/
public LocallyBuiltSource setRunConfig(RunConfig runConfig) {
this.runConfig = runConfig;
return this;
}

/**
* URI to an archive in Cloud Storage. The object must be a gzipped archive file (.tar.gz)
* containing source to deploy.
* @return value or {@code null} for none
*/
public java.lang.String getUserStorageUri() {
return userStorageUri;
}

/**
* URI to an archive in Cloud Storage. The object must be a gzipped archive file (.tar.gz)
* containing source to deploy.
* @param userStorageUri userStorageUri or {@code null} for none
*/
public LocallyBuiltSource setUserStorageUri(java.lang.String userStorageUri) {
this.userStorageUri = userStorageUri;
return this;
}

@Override
public LocallyBuiltSource set(String fieldName, Object value) {
return (LocallyBuiltSource) super.set(fieldName, value);
}

@Override
public LocallyBuiltSource clone() {
return (LocallyBuiltSource) super.clone();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseapphosting</artifactId>
<version>v1beta-rev20260514-2.0.0</version>
<name>Firebase App Hosting API v1beta-rev20260514-2.0.0</name>
<version>v1beta-rev20260618-2.0.0</version>
<name>Firebase App Hosting API v1beta-rev20260618-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseapphosting</artifactId>
<version>v1beta-rev20260514-2.0.0</version>
<version>v1beta-rev20260618-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseapphosting:v1beta-rev20260514-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseapphosting:v1beta-rev20260618-2.0.0'
}
```

Expand Down
Loading