2015-12-03 01:10:07 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module PartnersV2
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class AnalyticsSummary
|
2017-03-31 19:53:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogMessageRequest
|
2017-03-31 19:53:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Lead
|
2017-03-31 19:53:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class DebugInfo
|
2017-03-31 19:53:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListUserStatesResponse
|
2017-03-31 19:53:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CompanyRelation
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Date
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Empty
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class TrafficSource
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class CreateLeadRequest
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class RequestMetadata
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class EventData
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ExamStatus
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListOffersResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CountryOfferInfo
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListCompaniesResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class OfferCustomer
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CertificationStatus
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LocalizedCompanyInfo
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogUserEventResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListOffersHistoryResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogMessageResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class SpecializationStatus
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Certification
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class User
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListAnalyticsResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListLeadsResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Company
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CreateLeadResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class GetCompanyResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Location
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class ExamToken
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class CertificationExamStatus
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class OptIns
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Rank
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class UserProfile
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class GetPartnersStatusResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class HistoricalOffer
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogUserEventRequest
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class UserOverrides
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class AnalyticsDataPoint
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Analytics
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class AdWordsManagerAccountInfo
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class PublicProfile
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ResponseMetadata
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class RecaptchaChallenge
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class AvailableOffer
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LatLng
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Money
|
2017-03-10 21:11:09 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class AnalyticsSummary
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :profile_views_count, as: 'profileViewsCount'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :search_views_count, as: 'searchViewsCount'
|
|
|
|
property :contacts_count, as: 'contactsCount'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogMessageRequest
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
hash :client_info, as: 'clientInfo'
|
|
|
|
property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :level, as: 'level'
|
|
|
|
property :details, as: 'details'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Lead
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :adwords_customer_id, :numeric_string => true, as: 'adwordsCustomerId'
|
|
|
|
property :create_time, as: 'createTime'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :marketing_opt_in, as: 'marketingOptIn'
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :given_name, as: 'givenName'
|
|
|
|
property :website_url, as: 'websiteUrl'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :language_code, as: 'languageCode'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :state, as: 'state'
|
|
|
|
collection :gps_motivations, as: 'gpsMotivations'
|
|
|
|
property :email, as: 'email'
|
|
|
|
property :family_name, as: 'familyName'
|
|
|
|
property :id, as: 'id'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :comments, as: 'comments'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class DebugInfo
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :server_info, as: 'serverInfo'
|
|
|
|
property :server_trace_info, as: 'serverTraceInfo'
|
|
|
|
property :service_url, as: 'serviceUrl'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-31 19:53:27 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListUserStatesResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
collection :user_states, as: 'userStates'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CompanyRelation
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :segment, as: 'segment'
|
|
|
|
collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
|
|
|
|
|
|
|
|
property :badge_tier, as: 'badgeTier'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :website, as: 'website'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :primary_country_code, as: 'primaryCountryCode'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :company_id, as: 'companyId'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :primary_language_code, as: 'primaryLanguageCode'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :logo_url, as: 'logoUrl'
|
|
|
|
property :resolved_timestamp, as: 'resolvedTimestamp'
|
|
|
|
property :company_admin, as: 'companyAdmin'
|
|
|
|
property :is_pending, as: 'isPending'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :address, as: 'address'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :creation_time, as: 'creationTime'
|
|
|
|
property :state, as: 'state'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :primary_address, as: 'primaryAddress', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :manager_account, :numeric_string => true, as: 'managerAccount'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Date
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :month, as: 'month'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :year, as: 'year'
|
|
|
|
property :day, as: 'day'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Empty
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class TrafficSource
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :traffic_source_id, as: 'trafficSourceId'
|
|
|
|
property :traffic_sub_id, as: 'trafficSubId'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class CreateLeadRequest
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation
|
|
|
|
|
|
|
|
property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
|
2017-05-26 16:44:32 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class RequestMetadata
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
collection :experiment_ids, as: 'experimentIds'
|
|
|
|
property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :locale, as: 'locale'
|
|
|
|
property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :partners_session_id, as: 'partnersSessionId'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class EventData
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :values, as: 'values'
|
|
|
|
property :key, as: 'key'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ExamStatus
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :exam_type, as: 'examType'
|
|
|
|
property :passed, as: 'passed'
|
|
|
|
property :taken, as: 'taken'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :warning, as: 'warning'
|
|
|
|
property :expiration, as: 'expiration'
|
|
|
|
property :last_passed, as: 'lastPassed'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-31 19:53:27 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListOffersResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :no_offer_reason, as: 'noOfferReason'
|
2017-06-02 06:11:31 +00:00
|
|
|
collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CountryOfferInfo
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :get_y_amount, as: 'getYAmount'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :offer_country_code, as: 'offerCountryCode'
|
|
|
|
property :spend_x_amount, as: 'spendXAmount'
|
|
|
|
property :offer_type, as: 'offerType'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListCompaniesResponse
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
|
|
|
|
|
|
|
collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class OfferCustomer
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :adwords_url, as: 'adwordsUrl'
|
|
|
|
property :creation_time, as: 'creationTime'
|
|
|
|
property :eligibility_days_left, as: 'eligibilityDaysLeft'
|
|
|
|
property :offer_type, as: 'offerType'
|
|
|
|
property :external_cid, :numeric_string => true, as: 'externalCid'
|
|
|
|
property :country_code, as: 'countryCode'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :get_y_amount, as: 'getYAmount'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :spend_x_amount, as: 'spendXAmount'
|
2017-03-30 22:30:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CertificationStatus
|
2017-03-30 22:30:51 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
property :user_count, as: 'userCount'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :is_certified, as: 'isCertified'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LocalizedCompanyInfo
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
collection :country_codes, as: 'countryCodes'
|
|
|
|
property :overview, as: 'overview'
|
|
|
|
property :display_name, as: 'displayName'
|
2017-04-03 20:18:48 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogUserEventResponse
|
2017-04-03 20:18:48 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
2017-03-31 19:53:27 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListOffersHistoryResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :can_show_entire_company, as: 'canShowEntireCompany'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :total_results, as: 'totalResults'
|
|
|
|
property :showing_entire_company, as: 'showingEntireCompany'
|
|
|
|
collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogMessageResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class SpecializationStatus
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :badge_specialization, as: 'badgeSpecialization'
|
|
|
|
property :badge_specialization_state, as: 'badgeSpecializationState'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Certification
|
2017-03-30 22:30:51 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :certification_type, as: 'certificationType'
|
|
|
|
property :last_achieved, as: 'lastAchieved'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :achieved, as: 'achieved'
|
|
|
|
property :expiration, as: 'expiration'
|
|
|
|
property :warning, as: 'warning'
|
2017-03-30 22:30:51 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class User
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :last_access_time, as: 'lastAccessTime'
|
|
|
|
collection :primary_emails, as: 'primaryEmails'
|
|
|
|
collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation
|
|
|
|
|
|
|
|
collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-05-04 19:35:56 +00:00
|
|
|
property :id, as: 'id'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
|
|
|
|
|
|
|
|
collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation
|
|
|
|
|
|
|
|
property :company_verification_email, as: 'companyVerificationEmail'
|
|
|
|
property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation
|
|
|
|
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListAnalyticsResponse
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
|
|
|
|
|
|
|
property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ListLeadsResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-04-03 20:18:48 +00:00
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :total_size, as: 'totalSize'
|
|
|
|
collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
|
|
|
|
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Company
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
|
|
|
|
|
|
|
|
collection :services, as: 'services'
|
|
|
|
property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
|
|
|
|
|
|
|
|
property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
|
|
|
|
|
|
|
|
collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation
|
|
|
|
|
|
|
|
collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
|
|
|
|
|
|
|
|
property :badge_tier, as: 'badgeTier'
|
|
|
|
collection :company_types, as: 'companyTypes'
|
|
|
|
collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :primary_language_code, as: 'primaryLanguageCode'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :profile_status, as: 'profileStatus'
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
|
|
|
|
|
|
|
|
property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
|
|
|
|
|
|
|
|
collection :industries, as: 'industries'
|
|
|
|
collection :additional_websites, as: 'additionalWebsites'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :website_url, as: 'websiteUrl'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :primary_adwords_manager_account_id, :numeric_string => true, as: 'primaryAdwordsManagerAccountId'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :name, as: 'name'
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation
|
|
|
|
|
|
|
|
property :id, as: 'id'
|
2017-06-02 06:11:31 +00:00
|
|
|
collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class CreateLeadResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :recaptcha_status, as: 'recaptchaStatus'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class GetCompanyResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Location
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :locality, as: 'locality'
|
|
|
|
property :administrative_area, as: 'administrativeArea'
|
|
|
|
property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
|
2017-04-03 20:18:48 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :address, as: 'address'
|
|
|
|
property :dependent_locality, as: 'dependentLocality'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :region_code, as: 'regionCode'
|
|
|
|
property :postal_code, as: 'postalCode'
|
|
|
|
property :language_code, as: 'languageCode'
|
|
|
|
property :sorting_code, as: 'sortingCode'
|
|
|
|
collection :address_line, as: 'addressLine'
|
2017-03-31 19:53:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class ExamToken
|
2017-03-31 19:53:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :exam_id, :numeric_string => true, as: 'examId'
|
|
|
|
property :token, as: 'token'
|
|
|
|
property :exam_type, as: 'examType'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class CertificationExamStatus
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :type, as: 'type'
|
|
|
|
property :number_users_pass, as: 'numberUsersPass'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class OptIns
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :special_offers, as: 'specialOffers'
|
|
|
|
property :performance_suggestions, as: 'performanceSuggestions'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :physical_mail, as: 'physicalMail'
|
|
|
|
property :phone_contact, as: 'phoneContact'
|
|
|
|
property :market_comm, as: 'marketComm'
|
|
|
|
end
|
|
|
|
end
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Rank
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :type, as: 'type'
|
|
|
|
property :value, as: 'value'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class UserProfile
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :email_address, as: 'emailAddress'
|
|
|
|
property :profile_public, as: 'profilePublic'
|
|
|
|
collection :channels, as: 'channels'
|
|
|
|
collection :job_functions, as: 'jobFunctions'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :given_name, as: 'givenName'
|
|
|
|
property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
|
|
|
|
|
|
|
|
collection :industries, as: 'industries'
|
|
|
|
collection :languages, as: 'languages'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :family_name, as: 'familyName'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation
|
|
|
|
|
|
|
|
collection :markets, as: 'markets'
|
|
|
|
property :phone_number, as: 'phoneNumber'
|
|
|
|
property :adwords_manager_account, :numeric_string => true, as: 'adwordsManagerAccount'
|
|
|
|
property :primary_country_code, as: 'primaryCountryCode'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class GetPartnersStatusResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-04 19:35:56 +00:00
|
|
|
property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class HistoricalOffer
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :offer_country_code, as: 'offerCountryCode'
|
|
|
|
property :expiration_time, as: 'expirationTime'
|
|
|
|
property :offer_code, as: 'offerCode'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :creation_time, as: 'creationTime'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :client_email, as: 'clientEmail'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :status, as: 'status'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :client_id, :numeric_string => true, as: 'clientId'
|
|
|
|
property :client_name, as: 'clientName'
|
|
|
|
property :last_modified_time, as: 'lastModifiedTime'
|
|
|
|
property :adwords_url, as: 'adwordsUrl'
|
2017-05-04 19:35:56 +00:00
|
|
|
property :offer_type, as: 'offerType'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :sender_name, as: 'senderName'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LogUserEventRequest
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :url, as: 'url'
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation
|
|
|
|
|
|
|
|
property :event_scope, as: 'eventScope'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :event_category, as: 'eventCategory'
|
|
|
|
property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
|
|
|
|
|
|
|
|
property :event_action, as: 'eventAction'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class UserOverrides
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :user_id, as: 'userId'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :ip_address, as: 'ipAddress'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class AnalyticsDataPoint
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :event_count, as: 'eventCount'
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :event_locations, as: 'eventLocations', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Analytics
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation
|
|
|
|
|
|
|
|
property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
|
|
|
|
|
|
|
|
property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class AdWordsManagerAccountInfo
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :id, :numeric_string => true, as: 'id'
|
|
|
|
property :customer_name, as: 'customerName'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-06-02 06:11:31 +00:00
|
|
|
class PublicProfile
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :id, as: 'id'
|
|
|
|
property :url, as: 'url'
|
|
|
|
property :profile_image, as: 'profileImage'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
property :display_image_url, as: 'displayImageUrl'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class ResponseMetadata
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class RecaptchaChallenge
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :response, as: 'response'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :id, as: 'id'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class AvailableOffer
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :offer_level, as: 'offerLevel'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :qualified_customers_complete, as: 'qualifiedCustomersComplete'
|
|
|
|
property :id, :numeric_string => true, as: 'id'
|
2017-05-26 16:44:32 +00:00
|
|
|
collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :offer_type, as: 'offerType'
|
|
|
|
property :max_account_age, as: 'maxAccountAge'
|
|
|
|
collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation
|
2017-03-30 22:30:51 +00:00
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
property :terms, as: 'terms'
|
|
|
|
property :show_special_offer_copy, as: 'showSpecialOfferCopy'
|
|
|
|
property :available, as: 'available'
|
|
|
|
property :description, as: 'description'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class LatLng
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-05-26 16:44:32 +00:00
|
|
|
property :longitude, as: 'longitude'
|
2017-06-02 06:11:31 +00:00
|
|
|
property :latitude, as: 'latitude'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-05-26 16:44:32 +00:00
|
|
|
class Money
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-06-02 06:11:31 +00:00
|
|
|
property :units, :numeric_string => true, as: 'units'
|
2017-05-26 16:44:32 +00:00
|
|
|
property :currency_code, as: 'currencyCode'
|
|
|
|
property :nanos, as: 'nanos'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|