Skip to content

Commit 5a0b577

Browse files
1 parent 116991f commit 5a0b577

7 files changed

Lines changed: 26 additions & 20 deletions

File tree

‎clients/google-api-services-fcm/v1/2.0.0/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-fcm</artifactId>
25-
<version>v1-rev20261013-2.0.0</version>
25+
<version>v1-rev20261018-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-fcm:v1-rev20261013-2.0.0'
38+
implementation 'com.google.apis:google-api-services-fcm:v1-rev20261018-2.0.0'
3939
}
4040
```
4141

‎clients/google-api-services-fcm/v1/2.0.0/com/google/api/services/fcm/v1/model/AndroidBackgroundSyncMessage.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.fcm.v1.model;
1818

1919
/**
20-
* A Background Sync message that is sent to an Android device.
20+
* A Background Sync message that is sent to Android devices.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Firebase Cloud Messaging API. For a detailed

‎clients/google-api-services-fcm/v1/2.0.0/com/google/api/services/fcm/v1/model/AndroidConfigV2.java‎

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
public final class AndroidConfigV2 extends com.google.api.client.json.GenericJson {
3434

3535
/**
36-
* Optional. Non-urgent background sync message to send to android devices.
36+
* Optional. Non-urgent background sync message to send to Android devices. Delivery of these
37+
* messages may be delayed or batched to optimize for battery.
3738
* The value may be {@code null}.
3839
*/
3940
@com.google.api.client.util.Key
@@ -82,7 +83,8 @@ public final class AndroidConfigV2 extends com.google.api.client.json.GenericJso
8283
private AndroidFcmOptions fcmOptions;
8384

8485
/**
85-
* Optional. User-facing notification to send to android devices.
86+
* Optional. User-facing notification to send to Android devices. These messages are delivered
87+
* immediately and are not delayed by battery optimizations.
8688
* The value may be {@code null}.
8789
*/
8890
@com.google.api.client.util.Key
@@ -122,15 +124,17 @@ public final class AndroidConfigV2 extends com.google.api.client.json.GenericJso
122124
private String ttl;
123125

124126
/**
125-
* Optional. Non-urgent background sync message to send to android devices.
127+
* Optional. Non-urgent background sync message to send to Android devices. Delivery of these
128+
* messages may be delayed or batched to optimize for battery.
126129
* @return value or {@code null} for none
127130
*/
128131
public AndroidBackgroundSyncMessage getBackgroundSync() {
129132
return backgroundSync;
130133
}
131134

132135
/**
133-
* Optional. Non-urgent background sync message to send to android devices.
136+
* Optional. Non-urgent background sync message to send to Android devices. Delivery of these
137+
* messages may be delayed or batched to optimize for battery.
134138
* @param backgroundSync backgroundSync or {@code null} for none
135139
*/
136140
public AndroidConfigV2 setBackgroundSync(AndroidBackgroundSyncMessage backgroundSync) {
@@ -238,15 +242,17 @@ public AndroidConfigV2 setFcmOptions(AndroidFcmOptions fcmOptions) {
238242
}
239243

240244
/**
241-
* Optional. User-facing notification to send to android devices.
245+
* Optional. User-facing notification to send to Android devices. These messages are delivered
246+
* immediately and are not delayed by battery optimizations.
242247
* @return value or {@code null} for none
243248
*/
244249
public AndroidRemoteNotification getRemoteNotification() {
245250
return remoteNotification;
246251
}
247252

248253
/**
249-
* Optional. User-facing notification to send to android devices.
254+
* Optional. User-facing notification to send to Android devices. These messages are delivered
255+
* immediately and are not delayed by battery optimizations.
250256
* @param remoteNotification remoteNotification or {@code null} for none
251257
*/
252258
public AndroidConfigV2 setRemoteNotification(AndroidRemoteNotification remoteNotification) {

‎clients/google-api-services-fcm/v1/2.0.0/com/google/api/services/fcm/v1/model/AndroidNotificationV2.java‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ public final class AndroidNotificationV2 extends com.google.api.client.json.Gene
146146
private java.lang.Integer id;
147147

148148
/**
149-
* Contains the URL of an image that is going to be displayed in a notification. If present, it
150-
* will override google.firebase.fcm.v1.Notification.image.
149+
* An HTTPS URL of an image to display in the notification. If present, it overrides
150+
* google.firebase.fcm.v1.Notification.image.
151151
* The value may be {@code null}.
152152
*/
153153
@com.google.api.client.util.Key
@@ -551,17 +551,17 @@ public AndroidNotificationV2 setId(java.lang.Integer id) {
551551
}
552552

553553
/**
554-
* Contains the URL of an image that is going to be displayed in a notification. If present, it
555-
* will override google.firebase.fcm.v1.Notification.image.
554+
* An HTTPS URL of an image to display in the notification. If present, it overrides
555+
* google.firebase.fcm.v1.Notification.image.
556556
* @return value or {@code null} for none
557557
*/
558558
public java.lang.String getImage() {
559559
return image;
560560
}
561561

562562
/**
563-
* Contains the URL of an image that is going to be displayed in a notification. If present, it
564-
* will override google.firebase.fcm.v1.Notification.image.
563+
* An HTTPS URL of an image to display in the notification. If present, it overrides
564+
* google.firebase.fcm.v1.Notification.image.
565565
* @param image image or {@code null} for none
566566
*/
567567
public AndroidNotificationV2 setImage(java.lang.String image) {

‎clients/google-api-services-fcm/v1/2.0.0/com/google/api/services/fcm/v1/model/AndroidRemoteNotification.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.fcm.v1.model;
1818

1919
/**
20-
* A Remote Notification message that is sent to an Android device.
20+
* A Remote Notification message that is sent to Android devices.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Firebase Cloud Messaging API. For a detailed

‎clients/google-api-services-fcm/v1/2.0.0/pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-fcm</artifactId>
11-
<version>v1-rev20261013-2.0.0</version>
12-
<name>Firebase Cloud Messaging API v1-rev20261013-2.0.0</name>
11+
<version>v1-rev20261018-2.0.0</version>
12+
<name>Firebase Cloud Messaging API v1-rev20261018-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

‎clients/google-api-services-fcm/v1/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-fcm</artifactId>
25-
<version>v1-rev20261013-2.0.0</version>
25+
<version>v1-rev20261018-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-fcm:v1-rev20261013-2.0.0'
38+
implementation 'com.google.apis:google-api-services-fcm:v1-rev20261018-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)