google-apis-oslogin_v1 0.8.0 → 0.12.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: 9c031cc0a312500e6c69b7ace0e644de7bb1c16efdb185770be3bd3881c4d57d
4
- data.tar.gz: bb085467875413f7b4afcee20eefd90b8fa738c6369eb2603e8e0d4c8dc55058
3
+ metadata.gz: 1e068725104575ca466abd498cdfabc215782b91a6c37b1b686db5217ea10851
4
+ data.tar.gz: 3cf2010c87ede52094602e23b05f7dd9e619f6f2044b41a915fece975eb47182
5
5
  SHA512:
6
- metadata.gz: 8b249456932d019b1588db7cc8b68955afd1edb1a7b2dfb8d4acb68192701853f5998ef5b2c6096639d4df144aa590a38d22f0fcd3e7c08f9328606f4df6fe89
7
- data.tar.gz: 18a838c8c313c0ec5780d3009bc430e877e07f5d64dcf3c8ea7cb8908620559b579127734e7d9af8854c2379b0f82d37566fc385c802768a803e5f32408c698b
6
+ metadata.gz: b2b20341c5809bd7afc49c28c493d2be1c5e26009cf64346327d398dff80d147fd85bc017b2c505d218be9260708f775785f31939c77e1fe8e93ba16c3f5a20a
7
+ data.tar.gz: ea796a30d1da115d5048348011fba17c0e7546ed3534c7ace349307f9b0180a19a0c2cec2a7b741e8e194cc23990c4738981a2dc59c6e1ca675afedd4e85ea3e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-oslogin_v1
2
2
 
3
+ ### v0.12.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.11.0 (2021-12-09)
8
+
9
+ * Regenerated from discovery document revision 20211203
10
+
11
+ ### v0.10.0 (2021-10-30)
12
+
13
+ * Regenerated from discovery document revision 20211022
14
+
15
+ ### v0.9.0 (2021-10-21)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.8.0 (2021-09-22)
4
20
 
5
21
  * Regenerated from discovery document revision 20210920
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/oslogin_v1"
51
51
  client = Google::Apis::OsloginV1::CloudOSLoginService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Oslogin service in particular.)
67
67
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsloginV1
18
18
  # Version of the google-apis-oslogin_v1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210920"
25
+ REVISION = "20211203"
26
26
  end
27
27
  end
28
28
  end
@@ -156,6 +156,39 @@ module Google
156
156
  execute_or_queue_command(command, &block)
157
157
  end
158
158
 
159
+ # Create an SSH public key
160
+ # @param [String] parent
161
+ # Required. The unique ID for the user in format `users/`user``.
162
+ # @param [Google::Apis::OsloginV1::SshPublicKey] ssh_public_key_object
163
+ # @param [String] fields
164
+ # Selector specifying which fields to include in a partial response.
165
+ # @param [String] quota_user
166
+ # Available to use for quota purposes for server-side applications. Can be any
167
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
168
+ # @param [Google::Apis::RequestOptions] options
169
+ # Request-specific options
170
+ #
171
+ # @yield [result, err] Result & error if block supplied
172
+ # @yieldparam result [Google::Apis::OsloginV1::SshPublicKey] parsed result object
173
+ # @yieldparam err [StandardError] error object if request failed
174
+ #
175
+ # @return [Google::Apis::OsloginV1::SshPublicKey]
176
+ #
177
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
180
+ def create_user_ssh_public_key(parent, ssh_public_key_object = nil, fields: nil, quota_user: nil, options: nil, &block)
181
+ command = make_simple_command(:post, 'v1/{+parent}/sshPublicKeys', options)
182
+ command.request_representation = Google::Apis::OsloginV1::SshPublicKey::Representation
183
+ command.request_object = ssh_public_key_object
184
+ command.response_representation = Google::Apis::OsloginV1::SshPublicKey::Representation
185
+ command.response_class = Google::Apis::OsloginV1::SshPublicKey
186
+ command.params['parent'] = parent unless parent.nil?
187
+ command.query['fields'] = fields unless fields.nil?
188
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
189
+ execute_or_queue_command(command, &block)
190
+ end
191
+
159
192
  # Deletes an SSH public key.
160
193
  # @param [String] name
161
194
  # Required. The fingerprint of the public key to update. Public keys are
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-oslogin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.12.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-09-22 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud OS Login API V1