google-apis-oslogin_v1beta 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: 1b630b3a397ab20582fa9eb8d36c9a9a9283bcd00ce26c05836f4f6204690887
4
- data.tar.gz: f6d41f1227dbbfd5dee64bcd2edfd093634ffef73ad5a73ce8a0f3097045bdc1
3
+ metadata.gz: afaf5b4f333534eb5b8dfb6bc93b728f38a8f9214b5d1b73302d0b286541ae60
4
+ data.tar.gz: 4f6373ba6dbbaf5451af974c88f0aa881186723e64ad0dc4754c2d6535ae1bd8
5
5
  SHA512:
6
- metadata.gz: 970bfd80be401cf97b37d42a932bf3186ce1a35b1430821ba4c9b3e3687bd9e0d7fdade81a168c58fd41a1934c8e8866d6052000753af418fe11e0f17d7e9b2b
7
- data.tar.gz: 6966f28ce7a0281bcb7338c324c27b359272d57b03b3f2d7d002022e9eba1795d4cc09b5058e2446c09a43a3f7e14ccf98217bd427cd07021697ac5cac40b501
6
+ metadata.gz: ed5438bfd55d38b673c60db2bd603a5f4096ac00a80c4495d98ab19d18b563394bfc528e0e483eef455cce763e5a584fd6389527fba2fdd82b22dad9b1cf6946
7
+ data.tar.gz: 8fa1fbc44fd0066d9448261bfd215b4b5413ab15e45be3d902349676311fade831604fe923f16f2cc27a996022c76f6c227b83867a6d7d40afa338635b601a1a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-oslogin_v1beta
2
2
 
3
+ ### v0.12.0 (2021-12-09)
4
+
5
+ * Regenerated from discovery document revision 20211203
6
+
7
+ ### v0.11.0 (2021-10-30)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+
11
+ ### v0.10.0 (2021-10-21)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.9.0 (2021-08-19)
16
+
17
+ * Regenerated from discovery document revision 20210813
18
+
3
19
  ### v0.8.0 (2021-08-04)
4
20
 
5
21
  * Regenerated from discovery document revision 20210731
data/OVERVIEW.md CHANGED
@@ -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 OsloginV1beta
18
18
  # Version of the google-apis-oslogin_v1beta 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 = "20210731"
25
+ REVISION = "20211203"
26
26
  end
27
27
  end
28
28
  end
@@ -162,6 +162,39 @@ module Google
162
162
  execute_or_queue_command(command, &block)
163
163
  end
164
164
 
165
+ # Create an SSH public key
166
+ # @param [String] parent
167
+ # Required. The unique ID for the user in format `users/`user``.
168
+ # @param [Google::Apis::OsloginV1beta::SshPublicKey] ssh_public_key_object
169
+ # @param [String] fields
170
+ # Selector specifying which fields to include in a partial response.
171
+ # @param [String] quota_user
172
+ # Available to use for quota purposes for server-side applications. Can be any
173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
174
+ # @param [Google::Apis::RequestOptions] options
175
+ # Request-specific options
176
+ #
177
+ # @yield [result, err] Result & error if block supplied
178
+ # @yieldparam result [Google::Apis::OsloginV1beta::SshPublicKey] parsed result object
179
+ # @yieldparam err [StandardError] error object if request failed
180
+ #
181
+ # @return [Google::Apis::OsloginV1beta::SshPublicKey]
182
+ #
183
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
186
+ def create_user_ssh_public_key(parent, ssh_public_key_object = nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ command = make_simple_command(:post, 'v1beta/{+parent}/sshPublicKeys', options)
188
+ command.request_representation = Google::Apis::OsloginV1beta::SshPublicKey::Representation
189
+ command.request_object = ssh_public_key_object
190
+ command.response_representation = Google::Apis::OsloginV1beta::SshPublicKey::Representation
191
+ command.response_class = Google::Apis::OsloginV1beta::SshPublicKey
192
+ command.params['parent'] = parent unless parent.nil?
193
+ command.query['fields'] = fields unless fields.nil?
194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
195
+ execute_or_queue_command(command, &block)
196
+ end
197
+
165
198
  # Deletes an SSH public key.
166
199
  # @param [String] name
167
200
  # Required. The fingerprint of the public key to update. Public keys are
@@ -29,10 +29,10 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
- # View your data across Google Cloud Platform services
35
+ # View your data across Google Cloud services and see the email address of your Google Account
36
36
  AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
37
37
 
38
38
  # View and manage your Google Compute Engine resources
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-oslogin_v1beta
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-08-09 00:00:00.000000000 Z
11
+ date: 2021-12-13 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-oslogin_v1beta
60
+ 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.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: