google-apis-mybusinessaccountmanagement_v1 0.2.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/mybusinessaccountmanagement_v1/classes.rb +20 -0
- data/lib/google/apis/mybusinessaccountmanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/mybusinessaccountmanagement_v1/representations.rb +13 -0
- data/lib/google/apis/mybusinessaccountmanagement_v1/service.rb +36 -0
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f0d72cb2fe27e4a3ac50e619e479b80ed8ab30825e845cfeac2d4b55b2a69ca
|
4
|
+
data.tar.gz: '090f67394dd45def17c557b36a18a3c80719950e83921606a56b2beb973f9e07'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 201407ec1c93c60084d5cf2bbd37a0ddfd4b58778fb83b049abb1c62c6bc9a82daacc8faf9eaaa5967cc04d8c60c66067973bbfc1f2433d738928d31f5467a2e
|
7
|
+
data.tar.gz: 8421a599db0e924f44b10b4a9776242be92a119f01680ed27f4186c703e87c072d29b3aa9703a7dba8143c2b155866c35c9835cf863f4c5457e7113405d40ac0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-mybusinessaccountmanagement_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.6.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.3.0
|
10
|
+
|
11
|
+
### v0.5.0 (2021-05-19)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.4.0 (2021-05-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210504
|
18
|
+
|
19
|
+
### v0.3.0 (2021-03-31)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210329
|
22
|
+
* Regenerated using generator version 0.2.0
|
23
|
+
|
3
24
|
### v0.2.0 (2021-03-04)
|
4
25
|
|
5
26
|
* Unspecified changes
|
@@ -529,6 +529,26 @@ module Google
|
|
529
529
|
@location_name = args[:location_name] if args.key?(:location_name)
|
530
530
|
end
|
531
531
|
end
|
532
|
+
|
533
|
+
# Request message for AccessControl.TransferLocation.
|
534
|
+
class TransferLocationRequest
|
535
|
+
include Google::Apis::Core::Hashable
|
536
|
+
|
537
|
+
# Required. Name of the account resource to transfer the location to (for
|
538
|
+
# example, "accounts/`account`").
|
539
|
+
# Corresponds to the JSON property `destinationAccount`
|
540
|
+
# @return [String]
|
541
|
+
attr_accessor :destination_account
|
542
|
+
|
543
|
+
def initialize(**args)
|
544
|
+
update!(**args)
|
545
|
+
end
|
546
|
+
|
547
|
+
# Update properties of this object
|
548
|
+
def update!(**args)
|
549
|
+
@destination_account = args[:destination_account] if args.key?(:destination_account)
|
550
|
+
end
|
551
|
+
end
|
532
552
|
end
|
533
553
|
end
|
534
554
|
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.7.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 = "20210504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class TransferLocationRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class AcceptInvitationRequest
|
104
110
|
# @private
|
105
111
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -225,6 +231,13 @@ module Google
|
|
225
231
|
property :location_name, as: 'locationName'
|
226
232
|
end
|
227
233
|
end
|
234
|
+
|
235
|
+
class TransferLocationRequest
|
236
|
+
# @private
|
237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
238
|
+
property :destination_account, as: 'destinationAccount'
|
239
|
+
end
|
240
|
+
end
|
228
241
|
end
|
229
242
|
end
|
230
243
|
end
|
@@ -449,6 +449,42 @@ module Google
|
|
449
449
|
execute_or_queue_command(command, &block)
|
450
450
|
end
|
451
451
|
|
452
|
+
# Moves a location from an account that the user owns to another account that
|
453
|
+
# the same user administers. The user must be an owner of the account the
|
454
|
+
# location is currently associated with and must also be at least a manager of
|
455
|
+
# the destination account.
|
456
|
+
# @param [String] name
|
457
|
+
# Required. The name of the location to transfer. `locations/`location_id``.
|
458
|
+
# @param [Google::Apis::MybusinessaccountmanagementV1::TransferLocationRequest] transfer_location_request_object
|
459
|
+
# @param [String] fields
|
460
|
+
# Selector specifying which fields to include in a partial response.
|
461
|
+
# @param [String] quota_user
|
462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
464
|
+
# @param [Google::Apis::RequestOptions] options
|
465
|
+
# Request-specific options
|
466
|
+
#
|
467
|
+
# @yield [result, err] Result & error if block supplied
|
468
|
+
# @yieldparam result [Google::Apis::MybusinessaccountmanagementV1::Empty] parsed result object
|
469
|
+
# @yieldparam err [StandardError] error object if request failed
|
470
|
+
#
|
471
|
+
# @return [Google::Apis::MybusinessaccountmanagementV1::Empty]
|
472
|
+
#
|
473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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)
|
478
|
+
command.request_representation = Google::Apis::MybusinessaccountmanagementV1::TransferLocationRequest::Representation
|
479
|
+
command.request_object = transfer_location_request_object
|
480
|
+
command.response_representation = Google::Apis::MybusinessaccountmanagementV1::Empty::Representation
|
481
|
+
command.response_class = Google::Apis::MybusinessaccountmanagementV1::Empty
|
482
|
+
command.params['name'] = name unless name.nil?
|
483
|
+
command.query['fields'] = fields unless fields.nil?
|
484
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
485
|
+
execute_or_queue_command(command, &block)
|
486
|
+
end
|
487
|
+
|
452
488
|
# Invites the specified user to become an administrator for the specified
|
453
489
|
# location. The invitee must accept the invitation in order to be granted access
|
454
490
|
# to the location. See AcceptInvitation to programmatically accept an invitation.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.7.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-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for My Business Account Management API
|
28
34
|
V1. Simple REST clients are Ruby client libraries that provide access to Google
|
29
35
|
services via their HTTP REST API endpoints. These libraries are generated and updated
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessaccountmanagement_v1/v0.7.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-mybusinessaccountmanagement_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for My Business Account Management API V1
|