google-apis-mybusinessbusinessinformation_v1 0.16.0 → 0.17.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: 428af2fccc6037f00c5470290a9ef9e2286095008c247150e7167bd3f7d45d78
4
- data.tar.gz: 05f863c573924d6d20469a8a92fc01e0fdee53fbc4ede138ef7021920d1a4688
3
+ metadata.gz: 7faf61536c66fe065b259794572151100cd78c6cb38dc98a12869eb7b28e80ff
4
+ data.tar.gz: 17f8d91e38eb762dd170fadcef846e6e7746ad10bdd2a44f9dc6b0545233e183
5
5
  SHA512:
6
- metadata.gz: 249eb2fa2be7f4ee57569a05b5a0ca3735a1e6eadf9a368a38dc32d748c370d47d6c01e5f21fcbd88bcb84d2ca519c75197c1f937aa00a9cc3a4bc2f85133fed
7
- data.tar.gz: 41882994ce271adc2905065cd48edf779785c54f6e858ea608f1115fa414aa75512e029e35261d7599217327d0d177a61772fbd75c54f4ff9846e3acba215880
6
+ metadata.gz: 295bb004228b01c920aa79c94058b4d3025559951119c95951064796c2d7a18dd51073291aa0f77f729af7983efce72562337036bd0eb15fba024f679b13349d
7
+ data.tar.gz: c6d7252bd4d3a63d921eefa17ab884abac54d7c9060a94639d38abe13256f5b29427061683b9114f4ea40a4100117e602bc1d57542541db1c8019db0479c45f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-mybusinessbusinessinformation_v1
2
2
 
3
+ ### v0.17.0 (2023-06-04)
4
+
5
+ * Regenerated from discovery document revision 20230531
6
+
3
7
  ### v0.16.0 (2023-02-15)
4
8
 
5
9
  * 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
@@ -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.16.0"
19
+ GEM_VERSION = "0.17.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 = "20221124"
25
+ REVISION = "20230531"
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.16.0
4
+ version: 0.17.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-02-19 00:00:00.000000000 Z
11
+ date: 2023-06-04 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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessbusinessinformation_v1/v0.17.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: []