google-apis-localservices_v1 0.4.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1be6e5a519ddbcd0a02cc7ee896bc49f864ee7a3615cbd282b4cc4bf5ee9e6b
|
4
|
+
data.tar.gz: 34866994944ba21f95817e14b548cdc086c4bbfba54c0f38a2239f8b3c6e33be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58aab49fc10d7977632fd69ee97b6a913ce0a14f62d52474d4cdfb9c538c99787a7f243584e2a5a3069b39c3349883d10e0d437de372cd05b420285d0fd4dadf
|
7
|
+
data.tar.gz: 3285f26da5ea3b3cd348658aa232155fcce97c1c9f64cf5be499a50e21e5bbad2dceb21652cf30d658c0834343bf8f92479ba398eefe6f719d214da6084d8af0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-localservices_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-10-20)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.7.0 (2021-10-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211011
|
10
|
+
|
11
|
+
### v0.6.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.5.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.3.0
|
18
|
+
|
3
19
|
### v0.4.0 (2021-05-19)
|
4
20
|
|
5
21
|
* Unspecified changes
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Localservices service in particular.)
|
67
67
|
|
@@ -168,6 +168,49 @@ module Google
|
|
168
168
|
end
|
169
169
|
end
|
170
170
|
|
171
|
+
# Container for booking lead specific information.
|
172
|
+
class GoogleAdsHomeservicesLocalservicesV1BookingLead
|
173
|
+
include Google::Apis::Core::Hashable
|
174
|
+
|
175
|
+
# Timestamp of when service is provided by advertiser.
|
176
|
+
# Corresponds to the JSON property `bookingAppointmentTimestamp`
|
177
|
+
# @return [String]
|
178
|
+
attr_accessor :booking_appointment_timestamp
|
179
|
+
|
180
|
+
# Consumer email associated with the booking lead.
|
181
|
+
# Corresponds to the JSON property `consumerEmail`
|
182
|
+
# @return [String]
|
183
|
+
attr_accessor :consumer_email
|
184
|
+
|
185
|
+
# Consumer phone number associated with the booking lead.
|
186
|
+
# Corresponds to the JSON property `consumerPhoneNumber`
|
187
|
+
# @return [String]
|
188
|
+
attr_accessor :consumer_phone_number
|
189
|
+
|
190
|
+
# Name of the customer who created the lead.
|
191
|
+
# Corresponds to the JSON property `customerName`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :customer_name
|
194
|
+
|
195
|
+
# The job type of the specified lead.
|
196
|
+
# Corresponds to the JSON property `jobType`
|
197
|
+
# @return [String]
|
198
|
+
attr_accessor :job_type
|
199
|
+
|
200
|
+
def initialize(**args)
|
201
|
+
update!(**args)
|
202
|
+
end
|
203
|
+
|
204
|
+
# Update properties of this object
|
205
|
+
def update!(**args)
|
206
|
+
@booking_appointment_timestamp = args[:booking_appointment_timestamp] if args.key?(:booking_appointment_timestamp)
|
207
|
+
@consumer_email = args[:consumer_email] if args.key?(:consumer_email)
|
208
|
+
@consumer_phone_number = args[:consumer_phone_number] if args.key?(:consumer_phone_number)
|
209
|
+
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
210
|
+
@job_type = args[:job_type] if args.key?(:job_type)
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
171
214
|
# A Detailed Lead Report of a lead identified by their lead id and contains
|
172
215
|
# consumer, account, monetization, and lead data.
|
173
216
|
class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
|
@@ -184,6 +227,11 @@ module Google
|
|
184
227
|
# @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo]
|
185
228
|
attr_accessor :aggregator_info
|
186
229
|
|
230
|
+
# Container for booking lead specific information.
|
231
|
+
# Corresponds to the JSON property `bookingLead`
|
232
|
+
# @return [Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1BookingLead]
|
233
|
+
attr_accessor :booking_lead
|
234
|
+
|
187
235
|
# Business name associated to the account.
|
188
236
|
# Corresponds to the JSON property `businessName`
|
189
237
|
# @return [String]
|
@@ -258,6 +306,7 @@ module Google
|
|
258
306
|
def update!(**args)
|
259
307
|
@account_id = args[:account_id] if args.key?(:account_id)
|
260
308
|
@aggregator_info = args[:aggregator_info] if args.key?(:aggregator_info)
|
309
|
+
@booking_lead = args[:booking_lead] if args.key?(:booking_lead)
|
261
310
|
@business_name = args[:business_name] if args.key?(:business_name)
|
262
311
|
@charge_status = args[:charge_status] if args.key?(:charge_status)
|
263
312
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module LocalservicesV1
|
18
18
|
# Version of the google-apis-localservices_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211011"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class GoogleAdsHomeservicesLocalservicesV1BookingLead
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -101,12 +107,25 @@ module Google
|
|
101
107
|
end
|
102
108
|
end
|
103
109
|
|
110
|
+
class GoogleAdsHomeservicesLocalservicesV1BookingLead
|
111
|
+
# @private
|
112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
113
|
+
property :booking_appointment_timestamp, as: 'bookingAppointmentTimestamp'
|
114
|
+
property :consumer_email, as: 'consumerEmail'
|
115
|
+
property :consumer_phone_number, as: 'consumerPhoneNumber'
|
116
|
+
property :customer_name, as: 'customerName'
|
117
|
+
property :job_type, as: 'jobType'
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
104
121
|
class GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport
|
105
122
|
# @private
|
106
123
|
class Representation < Google::Apis::Core::JsonRepresentation
|
107
124
|
property :account_id, :numeric_string => true, as: 'accountId'
|
108
125
|
property :aggregator_info, as: 'aggregatorInfo', class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo, decorator: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::Representation
|
109
126
|
|
127
|
+
property :booking_lead, as: 'bookingLead', class: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1BookingLead, decorator: Google::Apis::LocalservicesV1::GoogleAdsHomeservicesLocalservicesV1BookingLead::Representation
|
128
|
+
|
110
129
|
property :business_name, as: 'businessName'
|
111
130
|
property :charge_status, as: 'chargeStatus'
|
112
131
|
property :currency_code, as: 'currencyCode'
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-localservices_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Local Services API V1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -51,9 +57,9 @@ licenses:
|
|
51
57
|
- Apache-2.0
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-localservices_v1/v0.
|
56
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-localservices_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-localservices_v1/v0.8.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-localservices_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
59
65
|
require_paths:
|