google-apis-mybusinessbusinessinformation_v1 0.16.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/mybusinessbusinessinformation_v1/classes.rb +1 -32
- data/lib/google/apis/mybusinessbusinessinformation_v1/gem_version.rb +2 -2
- data/lib/google/apis/mybusinessbusinessinformation_v1/representations.rb +0 -25
- data/lib/google/apis/mybusinessbusinessinformation_v1/service.rb +0 -69
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28c10fb328f8cd527e94059d096e434466f8dd1874405d6b1fe304eb20aa428f
|
4
|
+
data.tar.gz: a2cc7b3e9ef8bb85b1498bbc1f39a058a741d8fee4469073edc7ce0b421ee86a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a344d8a54561d9c5fcf8ba9e97c3121f6fe721b33b9c9799eb2f13e5fa3e311c61b5d26b61b0b8621caa4fed53da6a9d91b989be142694d667e5d76b085656a5
|
7
|
+
data.tar.gz: bedc5d302e429f33165199c072ea030776df04feeeb676250288676426acbec7ae59f49717d2ebf1ab1c43aa42104f7bf240b325d5cd3fb365650fc2265b10c9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-mybusinessbusinessinformation_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2023-12-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231127
|
6
|
+
|
7
|
+
### v0.17.0 (2023-06-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230531
|
10
|
+
|
3
11
|
### v0.16.0 (2023-02-15)
|
4
12
|
|
5
13
|
* Regenerated using generator version 0.12.0
|
@@ -42,25 +42,6 @@ module Google
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
# Request message for Locations.AssociateLocationRequest.
|
46
|
-
class AssociateLocationRequest
|
47
|
-
include Google::Apis::Core::Hashable
|
48
|
-
|
49
|
-
# The association to establish. If not set, it indicates no match.
|
50
|
-
# Corresponds to the JSON property `placeId`
|
51
|
-
# @return [String]
|
52
|
-
attr_accessor :place_id
|
53
|
-
|
54
|
-
def initialize(**args)
|
55
|
-
update!(**args)
|
56
|
-
end
|
57
|
-
|
58
|
-
# Update properties of this object
|
59
|
-
def update!(**args)
|
60
|
-
@place_id = args[:place_id] if args.key?(:place_id)
|
61
|
-
end
|
62
|
-
end
|
63
|
-
|
64
45
|
# A location attribute. Attributes provide additional information about a
|
65
46
|
# location. The attributes that can be set on a location may vary based on the
|
66
47
|
# properties of that location (for example, category). Available attributes are
|
@@ -435,19 +416,6 @@ module Google
|
|
435
416
|
end
|
436
417
|
end
|
437
418
|
|
438
|
-
# Request message for Locations.ClearLocationAssociationRequest.
|
439
|
-
class ClearLocationAssociationRequest
|
440
|
-
include Google::Apis::Core::Hashable
|
441
|
-
|
442
|
-
def initialize(**args)
|
443
|
-
update!(**args)
|
444
|
-
end
|
445
|
-
|
446
|
-
# Update properties of this object
|
447
|
-
def update!(**args)
|
448
|
-
end
|
449
|
-
end
|
450
|
-
|
451
419
|
# Represents a whole or partial calendar date, such as a birthday. The time of
|
452
420
|
# day and time zone are either specified elsewhere or are insignificant. The
|
453
421
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
@@ -740,6 +708,7 @@ module Google
|
|
740
708
|
attr_accessor :next_page_token
|
741
709
|
|
742
710
|
# The approximate number of Locations in the list irrespective of pagination.
|
711
|
+
# This field will only be returned if `filter` is used as a query parameter.
|
743
712
|
# Corresponds to the JSON property `totalSize`
|
744
713
|
# @return [Fixnum]
|
745
714
|
attr_accessor :total_size
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MybusinessbusinessinformationV1
|
18
18
|
# Version of the google-apis-mybusinessbusinessinformation_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231127"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,12 +28,6 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class AssociateLocationRequest
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
31
|
class Attribute
|
38
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
33
|
|
@@ -100,12 +94,6 @@ module Google
|
|
100
94
|
include Google::Apis::Core::JsonObjectSupport
|
101
95
|
end
|
102
96
|
|
103
|
-
class ClearLocationAssociationRequest
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
97
|
class Date
|
110
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
99
|
|
@@ -329,13 +317,6 @@ module Google
|
|
329
317
|
end
|
330
318
|
end
|
331
319
|
|
332
|
-
class AssociateLocationRequest
|
333
|
-
# @private
|
334
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
335
|
-
property :place_id, as: 'placeId'
|
336
|
-
end
|
337
|
-
end
|
338
|
-
|
339
320
|
class Attribute
|
340
321
|
# @private
|
341
322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -445,12 +426,6 @@ module Google
|
|
445
426
|
end
|
446
427
|
end
|
447
428
|
|
448
|
-
class ClearLocationAssociationRequest
|
449
|
-
# @private
|
450
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
451
|
-
end
|
452
|
-
end
|
453
|
-
|
454
429
|
class Date
|
455
430
|
# @private
|
456
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -397,75 +397,6 @@ module Google
|
|
397
397
|
execute_or_queue_command(command, &block)
|
398
398
|
end
|
399
399
|
|
400
|
-
# Associates a location to a place ID. Any previous association is overwritten.
|
401
|
-
# This operation is only valid if the location is unverified. The association
|
402
|
-
# must be valid, that is, it appears in the list of `SearchGoogleLocations`.
|
403
|
-
# @param [String] name
|
404
|
-
# Required. The resource name of the location to associate.
|
405
|
-
# @param [Google::Apis::MybusinessbusinessinformationV1::AssociateLocationRequest] associate_location_request_object
|
406
|
-
# @param [String] fields
|
407
|
-
# Selector specifying which fields to include in a partial response.
|
408
|
-
# @param [String] quota_user
|
409
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
410
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
411
|
-
# @param [Google::Apis::RequestOptions] options
|
412
|
-
# Request-specific options
|
413
|
-
#
|
414
|
-
# @yield [result, err] Result & error if block supplied
|
415
|
-
# @yieldparam result [Google::Apis::MybusinessbusinessinformationV1::Empty] parsed result object
|
416
|
-
# @yieldparam err [StandardError] error object if request failed
|
417
|
-
#
|
418
|
-
# @return [Google::Apis::MybusinessbusinessinformationV1::Empty]
|
419
|
-
#
|
420
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
421
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
422
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
423
|
-
def associate_location(name, associate_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
424
|
-
command = make_simple_command(:post, 'v1/{+name}:associate', options)
|
425
|
-
command.request_representation = Google::Apis::MybusinessbusinessinformationV1::AssociateLocationRequest::Representation
|
426
|
-
command.request_object = associate_location_request_object
|
427
|
-
command.response_representation = Google::Apis::MybusinessbusinessinformationV1::Empty::Representation
|
428
|
-
command.response_class = Google::Apis::MybusinessbusinessinformationV1::Empty
|
429
|
-
command.params['name'] = name unless name.nil?
|
430
|
-
command.query['fields'] = fields unless fields.nil?
|
431
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
432
|
-
execute_or_queue_command(command, &block)
|
433
|
-
end
|
434
|
-
|
435
|
-
# Clears an association between a location and its place ID. This operation is
|
436
|
-
# only valid if the location is unverified.
|
437
|
-
# @param [String] name
|
438
|
-
# Required. The resource name of the location to disassociate.
|
439
|
-
# @param [Google::Apis::MybusinessbusinessinformationV1::ClearLocationAssociationRequest] clear_location_association_request_object
|
440
|
-
# @param [String] fields
|
441
|
-
# Selector specifying which fields to include in a partial response.
|
442
|
-
# @param [String] quota_user
|
443
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
444
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
445
|
-
# @param [Google::Apis::RequestOptions] options
|
446
|
-
# Request-specific options
|
447
|
-
#
|
448
|
-
# @yield [result, err] Result & error if block supplied
|
449
|
-
# @yieldparam result [Google::Apis::MybusinessbusinessinformationV1::Empty] parsed result object
|
450
|
-
# @yieldparam err [StandardError] error object if request failed
|
451
|
-
#
|
452
|
-
# @return [Google::Apis::MybusinessbusinessinformationV1::Empty]
|
453
|
-
#
|
454
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
455
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
456
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
457
|
-
def clear_location_association(name, clear_location_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
458
|
-
command = make_simple_command(:post, 'v1/{+name}:clearLocationAssociation', options)
|
459
|
-
command.request_representation = Google::Apis::MybusinessbusinessinformationV1::ClearLocationAssociationRequest::Representation
|
460
|
-
command.request_object = clear_location_association_request_object
|
461
|
-
command.response_representation = Google::Apis::MybusinessbusinessinformationV1::Empty::Representation
|
462
|
-
command.response_class = Google::Apis::MybusinessbusinessinformationV1::Empty
|
463
|
-
command.params['name'] = name unless name.nil?
|
464
|
-
command.query['fields'] = fields unless fields.nil?
|
465
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
466
|
-
execute_or_queue_command(command, &block)
|
467
|
-
end
|
468
|
-
|
469
400
|
# Deletes a location. If this location cannot be deleted using the API and it is
|
470
401
|
# marked so in the `google.mybusiness.businessinformation.v1.LocationState`, use
|
471
402
|
# the [Google Business Profile](https://business.google.com/manage/) website.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-mybusinessbusinessinformation_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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: 2023-
|
11
|
+
date: 2023-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-mybusinessbusinessinformation_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessbusinessinformation_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessbusinessinformation_v1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-mybusinessbusinessinformation_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -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.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for My Business Business Information API V1
|