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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ public final class Announcement extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List<Material> materials;

static {
// hack to force ProGuard to consider Material 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(Material.class);
}

/**
* Optional timestamp when this announcement is scheduled to be published.
* The value may be {@code null}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ public final class AssignmentSubmission extends com.google.api.client.json.Gener
@com.google.api.client.util.Key
private java.util.List<Attachment> attachments;

static {
// hack to force ProGuard to consider Attachment 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(Attachment.class);
}

/**
* Attachments added by the student. Drive files that correspond to materials with a share mode of
* STUDENT_COPY may not exist yet if the student has not accessed the assignment in Classroom.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@ public final class CourseWork extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private java.util.List<Material> materials;

static {
// hack to force ProGuard to consider Material 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(Material.class);
}

/**
* Maximum grade for this course work. If zero or unspecified, this assignment is considered
* ungraded. This must be a non-negative integer value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
package com.google.classroom.model;

/**
* Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either
* specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian
* Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g.
* credit card expiration date. The year may be 0 to represent a month and day independent of year,
* e.g. anniversary date. Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
* Represents a whole calendar date, for example date of birth. The time of day and time zone are
* either specified elsewhere or are not significant. The date is relative to the Proleptic
* Gregorian Calendar. The day can be 0 to represent a year and month where the day is not
* significant, for example credit card expiration date. The year can be 0 to represent a month and
* day independent of year, for example anniversary date. Related types are google.type.TimeOfDay
* and `google.protobuf.Timestamp`.
*
* <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 Google Classroom API. For a detailed explanation see:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ public final class ListCourseAliasesResponse extends com.google.api.client.json.
@com.google.api.client.util.Key
private java.util.List<CourseAlias> aliases;

static {
// hack to force ProGuard to consider CourseAlias 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(CourseAlias.class);
}

/**
* Token identifying the next page of results to return. If empty, no further results are
* available.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ public final class ListStudentSubmissionsResponse extends com.google.api.client.
@com.google.api.client.util.Key
private java.util.List<StudentSubmission> studentSubmissions;

static {
// hack to force ProGuard to consider StudentSubmission 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(StudentSubmission.class);
}

/**
* Token identifying the next page of results to return. If empty, no further results are
* available.
Expand Down
4 changes: 2 additions & 2 deletions clients/1.26.0/google-api-services-classroom/v1/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-classroom</artifactId>
<version>v1-rev20180807-1.26.0-SNAPSHOT</version>
<name>Google Classroom API v1-rev20180807-1.26.0-SNAPSHOT</name>
<version>v1-rev20180908-1.26.0-SNAPSHOT</version>
<name>Google Classroom API v1-rev20180908-1.26.0-SNAPSHOT</name>
<packaging>pom</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,22 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
return (List) super.setUploadProtocol(uploadProtocol);
}

/** A pagination token obtained from a previous request to list beacons. */
@com.google.api.client.util.Key
private java.lang.String pageToken;

/** A pagination token obtained from a previous request to list beacons.
*/
public java.lang.String getPageToken() {
return pageToken;
}

/** A pagination token obtained from a previous request to list beacons. */
public List setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}

/**
* Filter query string that supports the following field filters:
*
Expand Down Expand Up @@ -1584,22 +1600,6 @@ public List setProjectId(java.lang.String projectId) {
return this;
}

/** A pagination token obtained from a previous request to list beacons. */
@com.google.api.client.util.Key
private java.lang.String pageToken;

/** A pagination token obtained from a previous request to list beacons.
*/
public java.lang.String getPageToken() {
return pageToken;
}

/** A pagination token obtained from a previous request to list beacons. */
public List setPageToken(java.lang.String pageToken) {
this.pageToken = pageToken;
return this;
}

@Override
public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
Expand Down Expand Up @@ -2145,6 +2145,29 @@ public BatchDelete setBeaconName(java.lang.String beaconName) {
return this;
}

/**
* Specifies the namespace and type of attachments to delete in `namespace/type` format.
* Accepts `*` to specify "all types in all namespaces". Optional.
*/
@com.google.api.client.util.Key
private java.lang.String namespacedType;

/** Specifies the namespace and type of attachments to delete in `namespace/type` format. Accepts `*`
to specify "all types in all namespaces". Optional.
*/
public java.lang.String getNamespacedType() {
return namespacedType;
}

/**
* Specifies the namespace and type of attachments to delete in `namespace/type` format.
* Accepts `*` to specify "all types in all namespaces". Optional.
*/
public BatchDelete setNamespacedType(java.lang.String namespacedType) {
this.namespacedType = namespacedType;
return this;
}

/**
* The project id to delete beacon attachments under. This field can be used when "*" is
* specified to mean all attachment namespaces. Projects may have multiple attachments with
Expand Down Expand Up @@ -2174,29 +2197,6 @@ public BatchDelete setProjectId(java.lang.String projectId) {
return this;
}

/**
* Specifies the namespace and type of attachments to delete in `namespace/type` format.
* Accepts `*` to specify "all types in all namespaces". Optional.
*/
@com.google.api.client.util.Key
private java.lang.String namespacedType;

/** Specifies the namespace and type of attachments to delete in `namespace/type` format. Accepts `*`
to specify "all types in all namespaces". Optional.
*/
public java.lang.String getNamespacedType() {
return namespacedType;
}

/**
* Specifies the namespace and type of attachments to delete in `namespace/type` format.
* Accepts `*` to specify "all types in all namespaces". Optional.
*/
public BatchDelete setNamespacedType(java.lang.String namespacedType) {
this.namespacedType = namespacedType;
return this;
}

@Override
public BatchDelete set(String parameterName, Object value) {
return (BatchDelete) super.set(parameterName, value);
Expand Down Expand Up @@ -2796,29 +2796,6 @@ public List setBeaconName(java.lang.String beaconName) {
return this;
}

/**
* Specifies the namespace and type of attachment to include in response in namespace/type
* format. Accepts `*` to specify "all types in all namespaces".
*/
@com.google.api.client.util.Key
private java.lang.String namespacedType;

/** Specifies the namespace and type of attachment to include in response in namespace/type format.
Accepts `*` to specify "all types in all namespaces".
*/
public java.lang.String getNamespacedType() {
return namespacedType;
}

/**
* Specifies the namespace and type of attachment to include in response in namespace/type
* format. Accepts `*` to specify "all types in all namespaces".
*/
public List setNamespacedType(java.lang.String namespacedType) {
this.namespacedType = namespacedType;
return this;
}

/**
* The project id to list beacon attachments under. This field can be used when "*" is
* specified to mean all attachment namespaces. Projects may have multiple attachments with
Expand Down Expand Up @@ -2848,6 +2825,29 @@ public List setProjectId(java.lang.String projectId) {
return this;
}

/**
* Specifies the namespace and type of attachment to include in response in namespace/type
* format. Accepts `*` to specify "all types in all namespaces".
*/
@com.google.api.client.util.Key
private java.lang.String namespacedType;

/** Specifies the namespace and type of attachment to include in response in namespace/type format.
Accepts `*` to specify "all types in all namespaces".
*/
public java.lang.String getNamespacedType() {
return namespacedType;
}

/**
* Specifies the namespace and type of attachment to include in response in namespace/type
* format. Accepts `*` to specify "all types in all namespaces".
*/
public List setNamespacedType(java.lang.String namespacedType) {
this.namespacedType = namespacedType;
return this;
}

@Override
public List set(String parameterName, Object value) {
return (List) super.set(parameterName, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
package com.google.proximitybeacon.v1beta1.model;

/**
* Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either
* specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian
* Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g.
* credit card expiration date. The year may be 0 to represent a month and day independent of year,
* e.g. anniversary date. Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
* Represents a whole calendar date, for example date of birth. The time of day and time zone are
* either specified elsewhere or are not significant. The date is relative to the Proleptic
* Gregorian Calendar. The day can be 0 to represent a year and month where the day is not
* significant, for example credit card expiration date. The year can be 0 to represent a month and
* day independent of year, for example anniversary date. Related types are google.type.TimeOfDay
* and `google.protobuf.Timestamp`.
*
* <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 Proximity Beacon API. For a detailed explanation see:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ public final class GetInfoForObservedBeaconsRequest extends com.google.api.clien
@com.google.api.client.util.Key
private java.util.List<Observation> observations;

static {
// hack to force ProGuard to consider Observation 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(Observation.class);
}

/**
* Specifies what kind of attachments to include in the response. When given, the response will
* include only attachments of the given types. When empty, no attachments will be returned. Must
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ public final class GetInfoForObservedBeaconsResponse extends com.google.api.clie
@com.google.api.client.util.Key
private java.util.List<BeaconInfo> beacons;

static {
// hack to force ProGuard to consider BeaconInfo 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(BeaconInfo.class);
}

/**
* Public information about beacons. May be empty if the request matched no beacons.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ public final class ListNamespacesResponse extends com.google.api.client.json.Gen
@com.google.api.client.util.Key
private java.util.List<Namespace> namespaces;

static {
// hack to force ProGuard to consider Namespace 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(Namespace.class);
}

/**
* The attachments that corresponded to the request params.
* @return value or {@code null} for none
Expand Down
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-proximitybeacon</artifactId>
<version>v1beta1-rev20180610-1.26.0-SNAPSHOT</version>
<name>Proximity Beacon API v1beta1-rev20180610-1.26.0-SNAPSHOT</name>
<version>v1beta1-rev20180909-1.26.0-SNAPSHOT</version>
<name>Proximity Beacon API v1beta1-rev20180909-1.26.0-SNAPSHOT</name>
<packaging>pom</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Loading