google-apis-mybusinessaccountmanagement_v1 0.1.0 → 0.6.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: f3449d6a05dd023285b168611c4b931a79dba568f79f057d7dd56be3c60b0d1a
4
- data.tar.gz: 3fc76ca569d6519930e03b80648f5e4d1cc61cda4465ecf64d88c0588939c0b9
3
+ metadata.gz: 5d5b164c37c92dbb9ae9e7ac2ca161bbf9e2781cfa39268d8e75b698564c15fa
4
+ data.tar.gz: a1c72963e5fb286ecfa01ca7685034a408426e43640940f20c23d02ef14c5f17
5
5
  SHA512:
6
- metadata.gz: c854211bafd719c0553e24548e4f7c188271e51563938bd349592ee16305dc77198a994125824f2a7dca46ef4600aa9f835940d8d58d4bf5f81f3d90f844779d
7
- data.tar.gz: abeca2838b69b1c828ae553d7d8b88d44365b97a38c1832731276c06b98539a44366531a80fcdc70cb26f8b249e6a240cd59b4546da69f6842f397bb6f82f0bc
6
+ metadata.gz: 86a76f4f0e91664887977301a1ba1b8ca6940fc3a10fedf937a9951552130c337d2e7655a72dc6f7150b2230f56f9a231f403d634a931925c947a3fe6e732c08
7
+ data.tar.gz: b780214e20d186cb73d2ec79b5b2a887efc7c689e61599a7ce9809eb6663adb62cb3f3a0218ee648a68039b8541297d2fd2ee5f819cf5b3af090fe2fbbfb9d83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-mybusinessaccountmanagement_v1
2
2
 
3
+ ### v0.6.0 (2021-06-24)
4
+
5
+ * Regenerated using generator version 0.3.0
6
+
7
+ ### v0.5.0 (2021-05-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.4.0 (2021-05-08)
12
+
13
+ * Regenerated from discovery document revision 20210504
14
+
15
+ ### v0.3.0 (2021-03-31)
16
+
17
+ * Regenerated from discovery document revision 20210329
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.2.0 (2021-03-04)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.1.0 (2021-02-18)
4
25
 
5
26
  * Regenerated from discovery document revision 20210217
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210217"
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.1.0
4
+ version: 0.6.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-02-22 00:00:00.000000000 Z
11
+ date: 2021-06-28 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.1'
19
+ version: '0.3'
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.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
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.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessaccountmanagement_v1/v0.6.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: []
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
68
  requirements:
63
69
  - - ">="
64
70
  - !ruby/object:Gem::Version
65
- version: '2.4'
71
+ version: '2.5'
66
72
  required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
74
  - - ">="
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.6
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