google-apis-oslogin_v1 0.19.0 → 0.21.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: db5f1a88d7e830f06a6e538241784f2da13a04ee926f8543c4ec2eefc30d647a
4
- data.tar.gz: 139c48d0e01479c62cf710ace35d04990b544cb1cf2c3cd84757e8e99a915fa5
3
+ metadata.gz: 5af3cb62016d9d5d2581168488e54f7f0fda6d88e9e10af573baf90b76c120c0
4
+ data.tar.gz: 5ad1cf323be34035ac88e4e457edc0ced5c0dde5f36e7c7cd628d894f40b250f
5
5
  SHA512:
6
- metadata.gz: '081aaf07a85d230320550727635eee951d4cd0fe9ce8d92c703473ed188efbe5d46e1fcddbf5a5de73c3b0a4d7ff34ee8e78087ff1bbd19bb32534de005d8fb2'
7
- data.tar.gz: f960224be58b9afa4ed9a917807ef7b97b0cdfe240d3434a0b02d5d9138d58e31f2fddcb6774334631f292d613b399257ead64c1856e68e5372448f48157f7a0
6
+ metadata.gz: 014e3111fb9c1d92fdd213d6468ca463a2d876a5a13978df1a0bb7183222251d37e56aa5793240cceb944cba20425e05abb18ed665eb0490d2c0e166a37906e7
7
+ data.tar.gz: 7358ea476506603d298704dbddc49383f8f47104a8c2faca132b02b119ab30103538bfe53906adc22a8562fa752d3fbc6d159e478455d797f460adbf95a6e521
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-oslogin_v1
2
2
 
3
+ ### v0.21.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.20.0 (2023-12-24)
8
+
9
+ * Regenerated from discovery document revision 20231217
10
+
3
11
  ### v0.19.0 (2023-02-19)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -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.19.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20231217"
26
26
  end
27
27
  end
28
28
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/compute/docs/oslogin/
34
34
  class CloudOSLoginService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://oslogin.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://oslogin.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-oslogin_v1',
48
50
  client_version: Google::Apis::OsloginV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -94,6 +96,10 @@ module Google
94
96
  # @param [Google::Apis::OsloginV1::SshPublicKey] ssh_public_key_object
95
97
  # @param [String] project_id
96
98
  # The project ID of the Google Cloud Platform project.
99
+ # @param [Array<String>, String] regions
100
+ # Optional. The regions to which to assert that the key was written. If
101
+ # unspecified, defaults to all regions. Regions are listed at https://cloud.
102
+ # google.com/about/locations#region.
97
103
  # @param [String] fields
98
104
  # Selector specifying which fields to include in a partial response.
99
105
  # @param [String] quota_user
@@ -111,7 +117,7 @@ module Google
111
117
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
114
- def import_user_ssh_public_key(parent, ssh_public_key_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
120
+ def import_user_ssh_public_key(parent, ssh_public_key_object = nil, project_id: nil, regions: nil, fields: nil, quota_user: nil, options: nil, &block)
115
121
  command = make_simple_command(:post, 'v1/{+parent}:importSshPublicKey', options)
116
122
  command.request_representation = Google::Apis::OsloginV1::SshPublicKey::Representation
117
123
  command.request_object = ssh_public_key_object
@@ -119,6 +125,7 @@ module Google
119
125
  command.response_class = Google::Apis::OsloginV1::ImportSshPublicKeyResponse
120
126
  command.params['parent'] = parent unless parent.nil?
121
127
  command.query['projectId'] = project_id unless project_id.nil?
128
+ command.query['regions'] = regions unless regions.nil?
122
129
  command.query['fields'] = fields unless fields.nil?
123
130
  command.query['quotaUser'] = quota_user unless quota_user.nil?
124
131
  execute_or_queue_command(command, &block)
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.19.0
4
+ version: 0.21.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: 2023-02-19 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1/v0.21.0
62
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: []
@@ -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.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud OS Login API V1