google-apis-oslogin_v1 0.7.0 → 0.11.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: 623582917bfbea03e6b843aa0d9d2406a045a38723eb0efeba80a651e3038cdb
4
- data.tar.gz: 5e04588abd77aa2652b8bfbf9e45ef9926f4acaca447c8d01bb31ba9fbd0c952
3
+ metadata.gz: c3c78dcf806c4819678741f2521d8178faa03b261777cf7de6144ead6662c9cb
4
+ data.tar.gz: 342722f9b19053bb11469fa33a4efdb042bc4ce537b6edd78726aee12e0a8907
5
5
  SHA512:
6
- metadata.gz: dca29f56ce185f3ef1048b009406751d334a6f0519bf7a627bc00bc01d99112669f9934ec271a6bcc028f2b817b6a84c69540b60a9a37e35fd91fa13429697c8
7
- data.tar.gz: d7b7a78e9f0524417ab16d3e862bd0cc0ca69d074c3c3bea1e5cf357ea0c9edaf041f9d49788e86d905b3018b81c2239a354c2308e497c19025c0851fa73b4a3
6
+ metadata.gz: 44c9e5dfcbd51c370be36186eda8b7194f6847e5fc8a2a3aeb4fcba7f6bada2ba1049f752fe51928c16f0b0855c7dfc8f5bef23ba6e3143f1a5f7226307d9d35
7
+ data.tar.gz: ebba8e4229ba83c84afca03b4ee4687539ae45f620e2411dbc50237d3f057ec82b49d4d2e4a5b31cc74726b593ba87ce4289072b925e5996727e5d6299caac1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-oslogin_v1
2
2
 
3
+ ### v0.11.0 (2021-12-09)
4
+
5
+ * Regenerated from discovery document revision 20211203
6
+
7
+ ### v0.10.0 (2021-10-30)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+
11
+ ### v0.9.0 (2021-10-21)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.8.0 (2021-09-22)
16
+
17
+ * Regenerated from discovery document revision 20210920
18
+
3
19
  ### v0.7.0 (2021-08-19)
4
20
 
5
21
  * Regenerated from discovery document revision 20210813
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.7.0"
19
+ GEM_VERSION = "0.11.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 = "20210813"
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
@@ -32,8 +32,14 @@ module Google
32
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.7.0
4
+ version: 0.11.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-23 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.7.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.11.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: