Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
Regenerate calendar api from latest apis-client-generator.
Browse files Browse the repository at this point in the history
Then update client_service.* to match.  Calendar sample works again
without error.
  • Loading branch information
SurferJeffAtGoogle committed Oct 18, 2017
1 parent f36ea38 commit 0238a4b
Show file tree
Hide file tree
Showing 42 changed files with 378 additions and 1,843 deletions.
6 changes: 0 additions & 6 deletions service_apis/calendar/google/calendar_api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,18 @@ add_library(google_calendar_api STATIC
channel.cc
color_definition.cc
colors.cc
deep_link_data.cc
display_info.cc
error.cc
event.cc
event_attachment.cc
event_attendee.cc
event_date_time.cc
event_habit_instance.cc
event_reminder.cc
events.cc
free_busy_calendar.cc
free_busy_group.cc
free_busy_request.cc
free_busy_request_item.cc
free_busy_response.cc
habit_instance_data.cc
launch_info.cc
link.cc
setting.cc
settings.cc
time_period.cc
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/acl.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170507
// Revision: 20171010
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_ACL_H_
#define GOOGLE_CALENDAR_API_ACL_H_

Expand Down Expand Up @@ -77,8 +77,8 @@ class Acl : public client::JsonCppData {
*
* @return <code>google_calendar_api::Acl</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::Acl");
const char* GetTypeName() const {
return "google_calendar_api::Acl";
}

/**
Expand Down
12 changes: 6 additions & 6 deletions service_apis/calendar/google/calendar_api/acl_rule.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170507
// Revision: 20171010
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_ACL_RULE_H_
#define GOOGLE_CALENDAR_API_ACL_RULE_H_

Expand Down Expand Up @@ -82,8 +82,8 @@ class AclRule : public client::JsonCppData {
*
* @return <code>google_calendar_api::AclRuleScope</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::AclRuleScope");
const char* GetTypeName() const {
return "google_calendar_api::AclRuleScope";
}

/**
Expand Down Expand Up @@ -207,8 +207,8 @@ class AclRule : public client::JsonCppData {
*
* @return <code>google_calendar_api::AclRule</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::AclRule");
const char* GetTypeName() const {
return "google_calendar_api::AclRule";
}

/**
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/calendar.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170507
// Revision: 20171010
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_H_
#define GOOGLE_CALENDAR_API_CALENDAR_H_

Expand Down Expand Up @@ -75,8 +75,8 @@ class Calendar : public client::JsonCppData {
*
* @return <code>google_calendar_api::Calendar</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::Calendar");
const char* GetTypeName() const {
return "google_calendar_api::Calendar";
}

/**
Expand Down
6 changes: 0 additions & 6 deletions service_apis/calendar/google/calendar_api/calendar_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@
#include "google/calendar_api/channel.h"
#include "google/calendar_api/color_definition.h"
#include "google/calendar_api/colors.h"
#include "google/calendar_api/display_info.h"
#include "google/calendar_api/launch_info.h"
#include "google/calendar_api/link.h"
#include "google/calendar_api/deep_link_data.h"
#include "google/calendar_api/error.h"
#include "google/calendar_api/event_attachment.h"
#include "google/calendar_api/event_attendee.h"
#include "google/calendar_api/event_date_time.h"
#include "google/calendar_api/event.h"
#include "google/calendar_api/habit_instance_data.h"
#include "google/calendar_api/event_habit_instance.h"
#include "google/calendar_api/events.h"
#include "google/calendar_api/time_period.h"
#include "google/calendar_api/free_busy_calendar.h"
Expand Down
8 changes: 4 additions & 4 deletions service_apis/calendar/google/calendar_api/calendar_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170507
// Revision: 20171010
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_LIST_H_
#define GOOGLE_CALENDAR_API_CALENDAR_LIST_H_

Expand Down Expand Up @@ -77,8 +77,8 @@ class CalendarList : public client::JsonCppData {
*
* @return <code>google_calendar_api::CalendarList</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarList");
const char* GetTypeName() const {
return "google_calendar_api::CalendarList";
}

/**
Expand Down
12 changes: 6 additions & 6 deletions service_apis/calendar/google/calendar_api/calendar_list_entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170507
// Revision: 20171010
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_LIST_ENTRY_H_
#define GOOGLE_CALENDAR_API_CALENDAR_LIST_ENTRY_H_

Expand Down Expand Up @@ -87,8 +87,8 @@ class CalendarListEntry : public client::JsonCppData {
* @return
* <code>google_calendar_api::CalendarListEntryNotificationSettings</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarListEntryNotificationSettings");
const char* GetTypeName() const {
return "google_calendar_api::CalendarListEntryNotificationSettings";
}

/**
Expand Down Expand Up @@ -158,8 +158,8 @@ class CalendarListEntry : public client::JsonCppData {
*
* @return <code>google_calendar_api::CalendarListEntry</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarListEntry");
const char* GetTypeName() const {
return "google_calendar_api::CalendarListEntry";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
// Calendar API (calendar/v3)
// Generated from:
// Version: v3
// Revision: 20170507
// Revision: 20171010
// Generated by:
// Tool: google-apis-code-generator 1.5.1
// C++: 0.1.4
// C++: 0.1.5
#ifndef GOOGLE_CALENDAR_API_CALENDAR_NOTIFICATION_H_
#define GOOGLE_CALENDAR_API_CALENDAR_NOTIFICATION_H_

Expand Down Expand Up @@ -75,8 +75,8 @@ class CalendarNotification : public client::JsonCppData {
*
* @return <code>google_calendar_api::CalendarNotification</code>
*/
const StringPiece GetTypeName() const {
return StringPiece("google_calendar_api::CalendarNotification");
const char* GetTypeName() const {
return "google_calendar_api::CalendarNotification";
}

/**
Expand Down
Loading

0 comments on commit 0238a4b

Please sign in to comment.