google-apis-mybusinessaccountmanagement_v1 0.3.0 → 0.4.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: 3e6fc60d5c0419fbd0a2b4e02c393d360732000950d29a0d766d98414eb9f179
4
- data.tar.gz: fe9a5d77293820c6cc6cb9122f4c3bff8bc23701e61282ce27fc5b813c6baadd
3
+ metadata.gz: d166139020c2427b4a5c6fc666d8d39366a463777d8cfd9ec0e38c9af81651f0
4
+ data.tar.gz: aa7d84fed197d732c4365f331c8f3958897191d4ded95e30454d49b53c35a116
5
5
  SHA512:
6
- metadata.gz: c06b254c1cc1baa475ebb616faad6eb2cd111ebd87dd9306ab327451581ec8eda4bfc65465641e453806dfdd2b594fb4f8055e365c6f63488ae5d8a28001f904
7
- data.tar.gz: 145b785629974a193cb8a014dffcc7f789a4febca5a7bdb5e8e69af3b74578e5e1270d77e70f30c9d72c9d4ab5b33de246cf1e3ea25b5043df18b216de77a4fc
6
+ metadata.gz: b671778866a6e0d19f0eaafaf49256dac8f339be1a747b48cee276941337046eadadf228f2b98ab777c55b02d70cae6fb90c8e04aeb204c7a4a65123984f9136
7
+ data.tar.gz: 149e2c2d5de0a1cad7bca1c59370acd91e357595ac4f85a3ff9fc1a9ec07f8593e3b8dae9b4dab62506e28963e22714d12758ef9fd768113f5fa611a71a0df88
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-mybusinessaccountmanagement_v1
2
2
 
3
+ ### v0.4.0 (2021-05-08)
4
+
5
+ * Regenerated from discovery document revision 20210504
6
+
3
7
  ### v0.3.0 (2021-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20210329
@@ -540,11 +540,6 @@ module Google
540
540
  # @return [String]
541
541
  attr_accessor :destination_account
542
542
 
543
- # Required. The name of the location to transfer. `locations/`location_id``.
544
- # Corresponds to the JSON property `name`
545
- # @return [String]
546
- attr_accessor :name
547
-
548
543
  def initialize(**args)
549
544
  update!(**args)
550
545
  end
@@ -552,7 +547,6 @@ module Google
552
547
  # Update properties of this object
553
548
  def update!(**args)
554
549
  @destination_account = args[:destination_account] if args.key?(:destination_account)
555
- @name = args[:name] if args.key?(:name)
556
550
  end
557
551
  end
558
552
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MybusinessaccountmanagementV1
18
18
  # Version of the google-apis-mybusinessaccountmanagement_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210329"
25
+ REVISION = "20210504"
26
26
  end
27
27
  end
28
28
  end
@@ -236,7 +236,6 @@ module Google
236
236
  # @private
237
237
  class Representation < Google::Apis::Core::JsonRepresentation
238
238
  property :destination_account, as: 'destinationAccount'
239
- property :name, as: 'name'
240
239
  end
241
240
  end
242
241
  end
@@ -453,7 +453,8 @@ module Google
453
453
  # the same user administers. The user must be an owner of the account the
454
454
  # location is currently associated with and must also be at least a manager of
455
455
  # the destination account.
456
- # @param [String] locations_id
456
+ # @param [String] name
457
+ # Required. The name of the location to transfer. `locations/`location_id``.
457
458
  # @param [Google::Apis::MybusinessaccountmanagementV1::TransferLocationRequest] transfer_location_request_object
458
459
  # @param [String] fields
459
460
  # Selector specifying which fields to include in a partial response.
@@ -472,13 +473,13 @@ module Google
472
473
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
473
474
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
475
  # @raise [Google::Apis::AuthorizationError] Authorization is required
475
- def transfer_location(locations_id, transfer_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
476
- command = make_simple_command(:post, 'v1/locations/{locationsId}:transferLocation', options)
476
+ def transfer_location(name, transfer_location_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
477
+ command = make_simple_command(:post, 'v1/{+name}:transfer', options)
477
478
  command.request_representation = Google::Apis::MybusinessaccountmanagementV1::TransferLocationRequest::Representation
478
479
  command.request_object = transfer_location_request_object
479
480
  command.response_representation = Google::Apis::MybusinessaccountmanagementV1::Empty::Representation
480
481
  command.response_class = Google::Apis::MybusinessaccountmanagementV1::Empty
481
- command.params['locationsId'] = locations_id unless locations_id.nil?
482
+ command.params['name'] = name unless name.nil?
482
483
  command.query['fields'] = fields unless fields.nil?
483
484
  command.query['quotaUser'] = quota_user unless quota_user.nil?
484
485
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-mybusinessaccountmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-mybusinessaccountmanagement_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessaccountmanagement_v1/v0.3.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessaccountmanagement_v1/v0.4.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-mybusinessaccountmanagement_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for My Business Account Management API V1