google-apis-oslogin_v1beta 0.23.0 → 0.25.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: 3e388c488b6277ec796809246ef3a385f884c4d00d07a8091a18eaa5a5199517
4
- data.tar.gz: 694805b81df52b37637f512b9330cd84d0f6a34d7fa00510609d4ffb8f8523fa
3
+ metadata.gz: 792586d8fe6c937fecff0ff931eea9f93fde4fd03406424c98fc83b7b42cff8f
4
+ data.tar.gz: d30093106cadd5c21dca583442c4f928da869e7f8d4877153e52e9734ef23d78
5
5
  SHA512:
6
- metadata.gz: d09aec5203d9f75a45457084757c4e2065a79db5ff04ec0036eb203cd447630c48831e6884eee23b32b5b15a4cc00df63177d4e1368788f4af5ad31bcdc9ea56
7
- data.tar.gz: 9436909d7747bfbb90d5ea34cc8cc14d3f1d20e6fcf3264e688d418220a385eed5d8f1da60da1b241b296813f3bc4bffeedfe30fd6ec2f050b45f92332aa9b15
6
+ metadata.gz: 3e83e3b14781ac80989fe24a3edd8d187073a5d2f0f94f1e78342482ab29331e702f4850810fd99cf3500b76f1bd1eb0441bb643a7ff6666586ca1f451c1ff8d
7
+ data.tar.gz: 8830961cfce0403debccaa6bd77a49f8b2f3cf93fb25e7e125037f121a85fb75d85268df2bddd5cf20889ba6ba74ec977de8d2c66f240e4fa62fe19335718c47
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-oslogin_v1beta
2
2
 
3
+ ### v0.25.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.24.0 (2023-12-24)
8
+
9
+ * Regenerated from discovery document revision 20231217
10
+
3
11
  ### v0.23.0 (2023-10-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20231001
@@ -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.23.0"
19
+ GEM_VERSION = "0.25.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 = "20231001"
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_v1beta',
48
50
  client_version: Google::Apis::OsloginV1beta::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -97,6 +99,10 @@ module Google
97
99
  # @param [Google::Apis::OsloginV1beta::SshPublicKey] ssh_public_key_object
98
100
  # @param [String] project_id
99
101
  # The project ID of the Google Cloud Platform project.
102
+ # @param [Array<String>, String] regions
103
+ # Optional. The regions to which to assert that the key was written. If
104
+ # unspecified, defaults to all regions. Regions are listed at https://cloud.
105
+ # google.com/about/locations#region.
100
106
  # @param [String] view
101
107
  # The view configures whether to retrieve security keys information.
102
108
  # @param [String] fields
@@ -116,7 +122,7 @@ module Google
116
122
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
117
123
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
118
124
  # @raise [Google::Apis::AuthorizationError] Authorization is required
119
- def import_user_ssh_public_key(parent, ssh_public_key_object = nil, project_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
125
+ def import_user_ssh_public_key(parent, ssh_public_key_object = nil, project_id: nil, regions: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
120
126
  command = make_simple_command(:post, 'v1beta/{+parent}:importSshPublicKey', options)
121
127
  command.request_representation = Google::Apis::OsloginV1beta::SshPublicKey::Representation
122
128
  command.request_object = ssh_public_key_object
@@ -124,6 +130,7 @@ module Google
124
130
  command.response_class = Google::Apis::OsloginV1beta::ImportSshPublicKeyResponse
125
131
  command.params['parent'] = parent unless parent.nil?
126
132
  command.query['projectId'] = project_id unless project_id.nil?
133
+ command.query['regions'] = regions unless regions.nil?
127
134
  command.query['view'] = view unless view.nil?
128
135
  command.query['fields'] = fields unless fields.nil?
129
136
  command.query['quotaUser'] = quota_user unless quota_user.nil?
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.23.0
4
+ version: 0.25.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-10-08 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1beta/v0.25.0
62
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: []
@@ -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.19
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 V1beta