google-apis-oslogin_v1beta 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: 9f03459fd119987d69c6680275ca08497f8a2909d585d8800f5d3f2e33e72152
4
- data.tar.gz: f04b7dc9595a6543f6f1228bdbecdbf43e8ae763503e80ecaf69a9fb8dbbdc52
3
+ metadata.gz: 7cd9a91cd6136d0d838e6912fc0430ad8d87f85353b665c4d25226ddac53e145
4
+ data.tar.gz: 7636ecdf6d93d1d0381575c9ff5d937ae77b6bff5da7244f309fb92c13f1148e
5
5
  SHA512:
6
- metadata.gz: 5bb3959a2255261945bd049414b9dfafccefa03fbf0af01988ed15169d8eef9d627802a7764d72976c3e66a6d302d4680fea0a1ab25c92b4eafda153370370ef
7
- data.tar.gz: 7497180e885d4341f47994bde385c129be1561f89ba9a2bcccf3b3a8a53cd2e797e183418185b312c621e3781151e10ae38ad99aab134147b8e5fc885e69f409
6
+ metadata.gz: 9ffc32718e6d12f7c61e0e1b7c43640610288556f39e075fe41e2b393c11aa370a45c9f0d752dacbaf22f170eee7e8f5075aabd656cc833dda0dce00e424b9f9
7
+ data.tar.gz: 80db486eea1461aa07885b04dda604188e706eab692fbb526bfe76958edb4ec887a5cdb8c25c1b12d91f0eaf34b70f4f92d63c399229a483917b5e4b7aa2bb33
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-oslogin_v1beta
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-06-16)
4
9
 
5
10
  * Regenerated from discovery document revision 20240609
@@ -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 OsloginV1beta
18
18
  # Version of the google-apis-oslogin_v1beta 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.0"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240609"
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
@@ -169,6 +169,40 @@ module Google
169
169
  execute_or_queue_command(command, &block)
170
170
  end
171
171
 
172
+ # Create a POSIX account if it doesn't exist.
173
+ # @param [String] name
174
+ # Required. The unique ID for the user in format `users/`user`/projects/`project`
175
+ # `.
176
+ # @param [Google::Apis::OsloginV1beta::ProvisionPosixAccountRequest] provision_posix_account_request_object
177
+ # @param [String] fields
178
+ # Selector specifying which fields to include in a partial response.
179
+ # @param [String] quota_user
180
+ # Available to use for quota purposes for server-side applications. Can be any
181
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
182
+ # @param [Google::Apis::RequestOptions] options
183
+ # Request-specific options
184
+ #
185
+ # @yield [result, err] Result & error if block supplied
186
+ # @yieldparam result [Google::Apis::OsloginV1beta::PosixAccount] parsed result object
187
+ # @yieldparam err [StandardError] error object if request failed
188
+ #
189
+ # @return [Google::Apis::OsloginV1beta::PosixAccount]
190
+ #
191
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
192
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
193
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
194
+ def provision_project_posix_account(name, provision_posix_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
195
+ command = make_simple_command(:post, 'v1beta/{+name}', options)
196
+ command.request_representation = Google::Apis::OsloginV1beta::ProvisionPosixAccountRequest::Representation
197
+ command.request_object = provision_posix_account_request_object
198
+ command.response_representation = Google::Apis::OsloginV1beta::PosixAccount::Representation
199
+ command.response_class = Google::Apis::OsloginV1beta::PosixAccount
200
+ command.params['name'] = name unless name.nil?
201
+ command.query['fields'] = fields unless fields.nil?
202
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
203
+ execute_or_queue_command(command, &block)
204
+ end
205
+
172
206
  # Signs an SSH public key for a user to authenticate to an instance.
173
207
  # @param [String] parent
174
208
  # The parent project and region for the signing request.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-oslogin_v1beta
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-06-16 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.28.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.29.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1beta
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.6
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 V1beta
82
79
  test_files: []