google-apis-oslogin_v1alpha 0.22.0 → 0.24.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: 319316d9fd13a1a59b9c0b64a9c7255193d46b1153677a0158459955f1ed298e
4
- data.tar.gz: b21c4041d9e87fe5324c56049e5b85e8427d02607e8e37c309661891e8149839
3
+ metadata.gz: 1670212d06b7ad6da67712d96171766954829640834c36ef1f4047e8199b22cf
4
+ data.tar.gz: 45aea047459afa90dcf1d5bd5aca7ac6953dc2003666588273988f1ae71f8c99
5
5
  SHA512:
6
- metadata.gz: 74626fd19060ad5185de41d68fd15f223e1233ed920d355405c0eb5006b3da63be3c02d6a80b9f7abb7118016889c198a3386509cb3c4e512548667e9d8a49c2
7
- data.tar.gz: e9c664cfde90c064464a51e45854986934c39e391d219d53128e154780813ce34210d3ea6c6a568b0b8c22fe599a7f9e39b0fa440cad275eeca1c57380b39de8
6
+ metadata.gz: b9d485c3c0ae7f86e432ad547e2022f2df6ab9a2788401215708a18c95a1395fbc1d023c95dd66a79375c840526c6807f43d37aed3a1930e1c334126568b5699
7
+ data.tar.gz: a6988d0619465a352182988b152988699baa1dc8d865b7ff6f470b6f79b63dfd22389645a4a9208408f788921fadc22b55aa08097ca48ebaa4cade61c26e9e66
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-oslogin_v1alpha
2
2
 
3
+ ### v0.24.0 (2024-01-23)
4
+
5
+ * Regenerated using generator version 0.13.0
6
+
7
+ ### v0.23.0 (2023-12-24)
8
+
9
+ * Regenerated from discovery document revision 20231217
10
+
3
11
  ### v0.22.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 OsloginV1alpha
18
18
  # Version of the google-apis-oslogin_v1alpha gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.24.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_v1alpha',
48
50
  client_version: Google::Apis::OsloginV1alpha::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -100,6 +102,10 @@ module Google
100
102
  # @param [Google::Apis::OsloginV1alpha::SshPublicKey] ssh_public_key_object
101
103
  # @param [String] project_id
102
104
  # The project ID of the Google Cloud Platform project.
105
+ # @param [Array<String>, String] regions
106
+ # Optional. The regions to which to assert that the key was written. If
107
+ # unspecified, defaults to all regions. Regions are listed at https://cloud.
108
+ # google.com/about/locations#region.
103
109
  # @param [String] view
104
110
  # The view configures whether to retrieve security keys information.
105
111
  # @param [String] fields
@@ -119,7 +125,7 @@ module Google
119
125
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
120
126
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
127
  # @raise [Google::Apis::AuthorizationError] Authorization is required
122
- 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)
128
+ 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)
123
129
  command = make_simple_command(:post, 'v1alpha/{+parent}:importSshPublicKey', options)
124
130
  command.request_representation = Google::Apis::OsloginV1alpha::SshPublicKey::Representation
125
131
  command.request_object = ssh_public_key_object
@@ -127,6 +133,7 @@ module Google
127
133
  command.response_class = Google::Apis::OsloginV1alpha::ImportSshPublicKeyResponse
128
134
  command.params['parent'] = parent unless parent.nil?
129
135
  command.query['projectId'] = project_id unless project_id.nil?
136
+ command.query['regions'] = regions unless regions.nil?
130
137
  command.query['view'] = view unless view.nil?
131
138
  command.query['fields'] = fields unless fields.nil?
132
139
  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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-oslogin_v1alpha/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-oslogin_v1alpha
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 V1alpha