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-rev20260619-2.0.0</version>
<version>v1-rev20260911-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-rev20260619-2.0.0'
implementation 'com.google.apis:google-api-services-fcm:v1-rev20260911-2.0.0'
}
```

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
* 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.fcm.v1.model;

/**
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your
* APIs. A typical example is to use it as the request or the response type of an API method. For
* instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
*
* <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 Cloud Messaging 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 Empty extends com.google.api.client.json.GenericJson {

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/*
* 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.fcm.v1.model;

/**
* Response message for ListTopicSubscriptions.
*
* <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 Cloud Messaging 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 ListTopicSubscriptionsResponse extends com.google.api.client.json.GenericJson {

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;

/**
* The topic subscriptions for the instance.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<TopicSubscription> topicSubscriptions;

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}

/**
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted,
* there are no subsequent pages.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public ListTopicSubscriptionsResponse setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}

/**
* The topic subscriptions for the instance.
* @return value or {@code null} for none
*/
public java.util.List<TopicSubscription> getTopicSubscriptions() {
return topicSubscriptions;
}

/**
* The topic subscriptions for the instance.
* @param topicSubscriptions topicSubscriptions or {@code null} for none
*/
public ListTopicSubscriptionsResponse setTopicSubscriptions(java.util.List<TopicSubscription> topicSubscriptions) {
this.topicSubscriptions = topicSubscriptions;
return this;
}

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

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

}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ public final class Message extends com.google.api.client.json.GenericJson {
private FcmOptions fcmOptions;

/**
* Firebase Installation ID to send a message to.
* [Firebase Installation ID (FID)](/docs/cloud-messaging/android/get-started#access-firebase-
* installation-id) to send a message to.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -93,8 +94,8 @@ public final class Message extends com.google.api.client.json.GenericJson {
private Notification notification;

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

/**
* Firebase Installation ID to send a message to.
* [Firebase Installation ID (FID)](/docs/cloud-messaging/android/get-started#access-firebase-
* installation-id) to send a message to.
* @return value or {@code null} for none
*/
public java.lang.String getFid() {
return fid;
}

/**
* Firebase Installation ID to send a message to.
* [Firebase Installation ID (FID)](/docs/cloud-messaging/android/get-started#access-firebase-
* installation-id) to send a message to.
* @param fid fid or {@code null} for none
*/
public Message setFid(java.lang.String fid) {
Expand Down Expand Up @@ -264,17 +267,17 @@ public Message setNotification(Notification notification) {
}

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

/**
* Deprecated: Use `fid` instead. Registration token to send a message to. During the transition
* period, this field also accepts a Firebase Installation ID (FID).
* Deprecated: Use `fid` instead. During the transition period, this field also accepts a Firebase
* Installation ID (FID). Registration token to send a message to.
* @param token token or {@code null} for none
*/
public Message setToken(java.lang.String token) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
/*
* 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.fcm.v1.model;

/**
* Represents a subscription of a single app instance to a single FCM topic.
*
* <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 Cloud Messaging 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 TopicSubscription extends com.google.api.client.json.GenericJson {

/**
* Output only. Time when the subscription was created.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String createTime;

/**
* Identifier. The resource name of the subscription. Format:
* projects/{project}/registrations/{registration}/topicSubscriptions/{topicSubscription} The
* {registration} part contains the registration ID (e.g., FID).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;

/**
* Output only. The ID of the TopicSubscription, which is the topic name. This corresponds to the
* {topicSubscription} segment in the resource name. Topic names match the pattern of
* "[a-zA-Z0-9-_.~%]{1,900}".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String topicName;

/**
* Output only. Time when the subscription was created.
* @return value or {@code null} for none
*/
public String getCreateTime() {
return createTime;
}

/**
* Output only. Time when the subscription was created.
* @param createTime createTime or {@code null} for none
*/
public TopicSubscription setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}

/**
* Identifier. The resource name of the subscription. Format:
* projects/{project}/registrations/{registration}/topicSubscriptions/{topicSubscription} The
* {registration} part contains the registration ID (e.g., FID).
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}

/**
* Identifier. The resource name of the subscription. Format:
* projects/{project}/registrations/{registration}/topicSubscriptions/{topicSubscription} The
* {registration} part contains the registration ID (e.g., FID).
* @param name name or {@code null} for none
*/
public TopicSubscription setName(java.lang.String name) {
this.name = name;
return this;
}

/**
* Output only. The ID of the TopicSubscription, which is the topic name. This corresponds to the
* {topicSubscription} segment in the resource name. Topic names match the pattern of
* "[a-zA-Z0-9-_.~%]{1,900}".
* @return value or {@code null} for none
*/
public java.lang.String getTopicName() {
return topicName;
}

/**
* Output only. The ID of the TopicSubscription, which is the topic name. This corresponds to the
* {topicSubscription} segment in the resource name. Topic names match the pattern of
* "[a-zA-Z0-9-_.~%]{1,900}".
* @param topicName topicName or {@code null} for none
*/
public TopicSubscription setTopicName(java.lang.String topicName) {
this.topicName = topicName;
return this;
}

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

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

}
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-rev20260619-2.0.0</version>
<name>Firebase Cloud Messaging API v1-rev20260619-2.0.0</name>
<version>v1-rev20260911-2.0.0</version>
<name>Firebase Cloud Messaging API v1-rev20260911-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-rev20260619-2.0.0</version>
<version>v1-rev20260911-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-rev20260619-2.0.0'
implementation 'com.google.apis:google-api-services-fcm:v1-rev20260911-2.0.0'
}
```

Expand Down
Loading