google-apis-oslogin_v1alpha 0.28.0 → 0.29.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfa1241d7cdc923fa639fe4ce5a1c2eef5582ec54b75dfd8acbb9b112634c4af
4
- data.tar.gz: be5d27abc7a1090332220401e933e7f2300f8c2b137a228c85ed18dd22ebf99c
3
+ metadata.gz: 7569e616cd974b424a819aac766cd8625f18fa97215565391831b861fb41f537
4
+ data.tar.gz: 821f7f918e78a7699b8e377ade1c6afcd8c9b146d069fc8897680e765e092a7e
5
5
  SHA512:
6
- metadata.gz: 99d4c266688add35263bbe75250b2534117c85df02a567580c91bcadd83d015869cc8655cbb9dfd2d92119965104fd4e5aa1b1a66a8c2a3bfa7cb71d7ab2cda9
7
- data.tar.gz: 5a179253382664800e7500d3dbb72f0f7c6a038608f6a8652e014b02ecc2997bd47932a19c22263dd77b4aa4aecc28959635cbdcaa4e83a424ebf001579b9b85
6
+ metadata.gz: 3c51f1087b9448c909286ff2f2b8d030fcd62742072752772b751c036e744b789932f22b2d1562167b78be7ed11f1892207cf9c0c6661a48d66e6fd3081a2016
7
+ data.tar.gz: 1f441cd2478e7de2c47d09728bb81cf73cf3f34f1aeafd0e65cf7ee33febab682236bf1be2a76377463c4f4f1664c886e95140843b96b81fc42aee26187b1a8b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-oslogin_v1alpha
2
2
 
3
+ ### v0.29.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250209
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.28.0 (2024-12-15)
4
9
 
5
10
  * Regenerated from discovery document revision 20241208
@@ -183,6 +183,27 @@ module Google
183
183
  end
184
184
  end
185
185
 
186
+ # A request message for creating a POSIX account entry.
187
+ class ProvisionPosixAccountRequest
188
+ include Google::Apis::Core::Hashable
189
+
190
+ # Optional. The regions to wait for a POSIX account to be written to before
191
+ # returning a response. If unspecified, defaults to all regions. Regions are
192
+ # listed at https://cloud.google.com/about/locations#region.
193
+ # Corresponds to the JSON property `regions`
194
+ # @return [Array<String>]
195
+ attr_accessor :regions
196
+
197
+ def initialize(**args)
198
+ update!(**args)
199
+ end
200
+
201
+ # Update properties of this object
202
+ def update!(**args)
203
+ @regions = args[:regions] if args.key?(:regions)
204
+ end
205
+ end
206
+
186
207
  # The credential information for a Google registered security key.
187
208
  class SecurityKey
188
209
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsloginV1alpha
18
18
  # Version of the google-apis-oslogin_v1alpha gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241208"
25
+ REVISION = "20250209"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ProvisionPosixAccountRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class SecurityKey
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -127,6 +133,13 @@ module Google
127
133
  end
128
134
  end
129
135
 
136
+ class ProvisionPosixAccountRequest
137
+ # @private
138
+ class Representation < Google::Apis::Core::JsonRepresentation
139
+ collection :regions, as: 'regions'
140
+ end
141
+ end
142
+
130
143
  class SecurityKey
131
144
  # @private
132
145
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -175,6 +175,40 @@ module Google
175
175
  execute_or_queue_command(command, &block)
176
176
  end
177
177
 
178
+ # Create a POSIX account if it doesn't exist.
179
+ # @param [String] name
180
+ # Required. The unique ID for the user in format `users/`user`/projects/`project`
181
+ # `.
182
+ # @param [Google::Apis::OsloginV1alpha::ProvisionPosixAccountRequest] provision_posix_account_request_object
183
+ # @param [String] fields
184
+ # Selector specifying which fields to include in a partial response.
185
+ # @param [String] quota_user
186
+ # Available to use for quota purposes for server-side applications. Can be any
187
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
188
+ # @param [Google::Apis::RequestOptions] options
189
+ # Request-specific options
190
+ #
191
+ # @yield [result, err] Result & error if block supplied
192
+ # @yieldparam result [Google::Apis::OsloginV1alpha::PosixAccount] parsed result object
193
+ # @yieldparam err [StandardError] error object if request failed
194
+ #
195
+ # @return [Google::Apis::OsloginV1alpha::PosixAccount]
196
+ #
197
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
198
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
199
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
200
+ def provision_project_posix_account(name, provision_posix_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
201
+ command = make_simple_command(:post, 'v1alpha/{+name}', options)
202
+ command.request_representation = Google::Apis::OsloginV1alpha::ProvisionPosixAccountRequest::Representation
203
+ command.request_object = provision_posix_account_request_object
204
+ command.response_representation = Google::Apis::OsloginV1alpha::PosixAccount::Representation
205
+ command.response_class = Google::Apis::OsloginV1alpha::PosixAccount
206
+ command.params['name'] = name unless name.nil?
207
+ command.query['fields'] = fields unless fields.nil?
208
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
209
+ execute_or_queue_command(command, &block)
210
+ end
211
+
178
212
  # Signs an SSH public key for a user to authenticate to a virtual machine on
179
213
  # Google Compute Engine.
180
214
  # @param [String] parent
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-oslogin_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.29.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1alpha
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud OS Login API V1alpha
82
79
  test_files: []