google-apis-oslogin_v1 0.6.0 → 0.10.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: c251f319d845a7017e9001985a6bbe251884903a6d0fed49cb3983a5e2077940
4
- data.tar.gz: 2285b164f38ff6f55db0ac1f8f30de95ade3ac1b964a83762b09b74757e2eaec
3
+ metadata.gz: fe3a8b049dbbb35931bb6e537404800fc4bd465e384a28739217e519dd98e747
4
+ data.tar.gz: 9d3fdc77b1118494d569ce33b0e7a02c00543b7d74c167d2bdc4835e68258485
5
5
  SHA512:
6
- metadata.gz: b97941074e4796d4ec2311571db5b7a6f6af0879fec11181339d01c2183a59fc4a24efd1408dcf867e6a635944b376f54fda3d247a9bf32fe93b1e738340ce8d
7
- data.tar.gz: a42729be053b962b2f37ab18f1705faf941e446968a5bb0869b869616eb5aa94ea823f9953399144287d6b8fdff71e1cc37da77464bf24a92ec3d5415399f822
6
+ metadata.gz: 6c2b980938e133c228ae76452e8d9f6ffb6609d495d2d743c6a31471ce28ae900bca5b9c8a291ecedb4bb1a360449f0b1bc6aef19df5be60effcaffa9d542e00
7
+ data.tar.gz: 6fdee99fe88eb1a7661089ecd73c2449f56345f16fef19546a110e314e1fb9f4eb8620a08243284ec088023fea0afe0898fbeb19847bf221f378b230c835e2a8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-oslogin_v1
2
2
 
3
+ ### v0.10.0 (2021-10-30)
4
+
5
+ * Regenerated from discovery document revision 20211022
6
+
7
+ ### v0.9.0 (2021-10-21)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.8.0 (2021-09-22)
12
+
13
+ * Regenerated from discovery document revision 20210920
14
+
15
+ ### v0.7.0 (2021-08-19)
16
+
17
+ * Regenerated from discovery document revision 20210813
18
+
3
19
  ### v0.6.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
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 OsloginV1
18
18
  # Version of the google-apis-oslogin_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.10.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 = "20210329"
25
+ REVISION = "20211022"
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}/sshPublicKey', 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
@@ -29,11 +29,17 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
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 services and see the email address of your Google Account
36
+ AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
37
+
35
38
  # View and manage your Google Compute Engine resources
36
39
  AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
40
+
41
+ # View your Google Compute Engine resources
42
+ AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
37
43
  end
38
44
  end
39
45
  end
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.6.0
4
+ version: 0.10.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-11-01 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.6.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.10.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: