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
4 changes: 2 additions & 2 deletions clients/google-api-services-fcm/v1/2.0.0/README.md
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-fcm</artifactId>
<version>v1-rev20260529-2.0.0</version>
<version>v1-rev20260605-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-fcm:v1-rev20260529-2.0.0'
implementation 'com.google.apis:google-api-services-fcm:v1-rev20260605-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ public final class Message extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private FcmOptions fcmOptions;

/**
* Optional. Firebase Installation ID to send a message to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String fid;

/**
* Output Only. The identifier of the message sent, in the format of
* `projects/messages/{message_id}`.
Expand All @@ -86,7 +93,8 @@ public final class Message extends com.google.api.client.json.GenericJson {
private Notification notification;

/**
* Registration token to send a message to.
* Deprecated: Use `fid` instead. Registration token to send a message to. During the transition
* period, this field also accepts a Firebase Installation ID (FID).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -202,6 +210,23 @@ public Message setFcmOptions(FcmOptions fcmOptions) {
return this;
}

/**
* Optional. Firebase Installation ID to send a message to.
* @return value or {@code null} for none
*/
public java.lang.String getFid() {
return fid;
}

/**
* Optional. Firebase Installation ID to send a message to.
* @param fid fid or {@code null} for none
*/
public Message setFid(java.lang.String fid) {
this.fid = fid;
return this;
}

/**
* Output Only. The identifier of the message sent, in the format of
* `projects/messages/{message_id}`.
Expand Down Expand Up @@ -239,15 +264,17 @@ public Message setNotification(Notification notification) {
}

/**
* Registration token to send a message to.
* Deprecated: Use `fid` instead. Registration token to send a message to. During the transition
* period, this field also accepts a Firebase Installation ID (FID).
* @return value or {@code null} for none
*/
public java.lang.String getToken() {
return token;
}

/**
* Registration token to send a message to.
* Deprecated: Use `fid` instead. Registration token to send a message to. During the transition
* period, this field also accepts a Firebase Installation ID (FID).
* @param token token or {@code null} for none
*/
public Message setToken(java.lang.String token) {
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-fcm/v1/2.0.0/pom.xml
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-fcm</artifactId>
<version>v1-rev20260529-2.0.0</version>
<name>Firebase Cloud Messaging API v1-rev20260529-2.0.0</name>
<version>v1-rev20260605-2.0.0</version>
<name>Firebase Cloud Messaging API v1-rev20260605-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-fcm/v1/README.md
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-fcm</artifactId>
<version>v1-rev20260529-2.0.0</version>
<version>v1-rev20260605-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-fcm:v1-rev20260529-2.0.0'
implementation 'com.google.apis:google-api-services-fcm:v1-rev20260605-2.0.0'
}
```

Expand Down
Loading