google-apis-localservices_v1 0.5.0 → 0.9.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: 89a9007b68c5b14a9e6d978be598bcfe8f90c34667e0443a26dec1456325b7cf
|
4
|
+
data.tar.gz: 635871b3a1f34142f0ddc7fff5ee9302c60638231d5796fe2851443aea3e72fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79666aabc2e49d8d688db651b5d6aab9c31f485eea5baf3c67c8d45e2a5b202ef70cff736603bfe6292d19815340856b247a9f0e38fd717dab4f183742f3c181
|
7
|
+
data.tar.gz: 421ca51bc60f99c04bbc3969549a0f2bd306d3a658354cfaea23b897eb25a2ceefe8443ab8a3055f763587533ad7dff1f5305925ae1b06b0ae9fe584b31aa6f0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-localservices_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.8.0 (2021-10-20)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.7.0 (2021-10-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211011
|
14
|
+
|
15
|
+
### v0.6.0 (2021-06-29)
|
16
|
+
|
17
|
+
* Regenerated using generator version 0.4.0
|
18
|
+
|
3
19
|
### v0.5.0 (2021-06-24)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.3.0
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/localservices_v1"
|
|
51
51
|
client = Google::Apis::LocalservicesV1::LocalservicesService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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.9.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,14 +1,14 @@
|
|
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.9.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:
|
11
|
+
date: 2022-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-localservices_v1/v0.
|
62
|
-
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.9.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-localservices_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Local Services API V1
|