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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/mybusinessaccountmanagement_v1/classes.rb +0 -6
- data/lib/google/apis/mybusinessaccountmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/mybusinessaccountmanagement_v1/representations.rb +0 -1
- data/lib/google/apis/mybusinessaccountmanagement_v1/service.rb +5 -4
- 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: d166139020c2427b4a5c6fc666d8d39366a463777d8cfd9ec0e38c9af81651f0
|
4
|
+
data.tar.gz: aa7d84fed197d732c4365f331c8f3958897191d4ded95e30454d49b53c35a116
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b671778866a6e0d19f0eaafaf49256dac8f339be1a747b48cee276941337046eadadf228f2b98ab777c55b02d70cae6fb90c8e04aeb204c7a4a65123984f9136
|
7
|
+
data.tar.gz: 149e2c2d5de0a1cad7bca1c59370acd91e357595ac4f85a3ff9fc1a9ec07f8593e3b8dae9b4dab62506e28963e22714d12758ef9fd768113f5fa611a71a0df88
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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 = "
|
25
|
+
REVISION = "20210504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
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]
|
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(
|
476
|
-
command = make_simple_command(:post, 'v1/
|
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['
|
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.
|
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-
|
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.
|
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.
|
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
|