google-apis-beyondcorp_v1alpha 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3270aa9e72e09fec381f66248fc0342fdf3fa33d8dd335ce12dbef4af7cbd47
4
- data.tar.gz: bbe7aacbbffded9cd007f8fb173f2a55b6c08b9a6445709a3c7857e26b002f92
3
+ metadata.gz: 1e6172855ae029bbf731c66813cc6b662fcbd967331972836c549725f012a038
4
+ data.tar.gz: fa1af30ff87eda4072a50706c3e809fa32f2580e2b3ba296c49364169262e930
5
5
  SHA512:
6
- metadata.gz: 741356d13825c9573edd4d764b039f72dea8f92cbb94051b1de534688b739aaae9b573dc65d5fce9d8321a509a50e01f0a2df9571568e53dca247f7f234bf6c2
7
- data.tar.gz: 2ce3a6835536135d42a189c46384a520cd649204ee9e9c2aba0816e493a2c0a5c35b60361635bb7ac3c0d811965ddace1d3ddc7d30ae192b89e83506861052d2
6
+ metadata.gz: 66366cf0b9920cd1dcdd9ab14f24d58b793031f091c76063046bf18797ecf83612716eac428351e07b37576314db63aeabc69a3e38a979904040d51fdb0d9dc2
7
+ data.tar.gz: cd848d9d806e3c2e7fa5b4b1a7c0bc1afad3d0611f94a2dbb3e27c56dbf407f7b86b1b5043796299a5cfc7e3ec934f5c65701485e8cd788b6fd215abf8941be9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.19.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230509
6
+
3
7
  ### v0.18.0 (2023-05-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20230501
@@ -2121,16 +2121,20 @@ module Google
2121
2121
  end
2122
2122
  end
2123
2123
 
2124
- # Message contains the authentication information to validate against the proxy
2125
- # server.
2126
- class GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo
2124
+ # Message contains the JWT encryption information for the proxy server.
2125
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
2127
2126
  include Google::Apis::Core::Hashable
2128
2127
 
2129
- # Optional. Service Account for encrypting the JWT.
2128
+ # Optional. Service Account for encryption key.
2130
2129
  # Corresponds to the JSON property `encryptionSaEmail`
2131
2130
  # @return [String]
2132
2131
  attr_accessor :encryption_sa_email
2133
2132
 
2133
+ # Optional. JWK in string.
2134
+ # Corresponds to the JSON property `jwk`
2135
+ # @return [String]
2136
+ attr_accessor :jwk
2137
+
2134
2138
  def initialize(**args)
2135
2139
  update!(**args)
2136
2140
  end
@@ -2138,15 +2142,16 @@ module Google
2138
2142
  # Update properties of this object
2139
2143
  def update!(**args)
2140
2144
  @encryption_sa_email = args[:encryption_sa_email] if args.key?(:encryption_sa_email)
2145
+ @jwk = args[:jwk] if args.key?(:jwk)
2141
2146
  end
2142
2147
  end
2143
2148
 
2144
- # Metadata associated with Tenant and is provided by the Partner.
2149
+ # Metadata associated with PartnerTenant and is provided by the Partner.
2145
2150
  class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata
2146
2151
  include Google::Apis::Core::Hashable
2147
2152
 
2148
- # Optional. UUID used by the Partner to refer to the Tenant in their internal
2149
- # systems.
2153
+ # Optional. UUID used by the Partner to refer to the PartnerTenant in their
2154
+ # internal systems.
2150
2155
  # Corresponds to the JSON property `partnerTenantId`
2151
2156
  # @return [String]
2152
2157
  attr_accessor :partner_tenant_id
@@ -2220,16 +2225,67 @@ module Google
2220
2225
  end
2221
2226
  end
2222
2227
 
2228
+ # Information about a BeyoncCorp Enterprise PartnerTenant.
2229
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
2230
+ include Google::Apis::Core::Hashable
2231
+
2232
+ # Output only. Timestamp when the resource was created.
2233
+ # Corresponds to the JSON property `createTime`
2234
+ # @return [String]
2235
+ attr_accessor :create_time
2236
+
2237
+ # Optional. An arbitrary caller-provided name for the PartnerTenant. Cannot
2238
+ # exceed 64 characters.
2239
+ # Corresponds to the JSON property `displayName`
2240
+ # @return [String]
2241
+ attr_accessor :display_name
2242
+
2243
+ # Optional. Google group email to which the PartnerTenant is enabled.
2244
+ # Corresponds to the JSON property `googleGroupEmail`
2245
+ # @return [String]
2246
+ attr_accessor :google_group_email
2247
+
2248
+ # Optional. Google group ID to which the PartnerTenant is enabled.
2249
+ # Corresponds to the JSON property `googleGroupId`
2250
+ # @return [String]
2251
+ attr_accessor :google_group_id
2252
+
2253
+ # Output only. Unique resource name of the PartnerTenant. The name is ignored
2254
+ # when creating PartnerTenant.
2255
+ # Corresponds to the JSON property `name`
2256
+ # @return [String]
2257
+ attr_accessor :name
2258
+
2259
+ # Metadata associated with PartnerTenant and is provided by the Partner.
2260
+ # Corresponds to the JSON property `partnerMetadata`
2261
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]
2262
+ attr_accessor :partner_metadata
2263
+
2264
+ # Output only. Timestamp when the resource was last modified.
2265
+ # Corresponds to the JSON property `updateTime`
2266
+ # @return [String]
2267
+ attr_accessor :update_time
2268
+
2269
+ def initialize(**args)
2270
+ update!(**args)
2271
+ end
2272
+
2273
+ # Update properties of this object
2274
+ def update!(**args)
2275
+ @create_time = args[:create_time] if args.key?(:create_time)
2276
+ @display_name = args[:display_name] if args.key?(:display_name)
2277
+ @google_group_email = args[:google_group_email] if args.key?(:google_group_email)
2278
+ @google_group_id = args[:google_group_id] if args.key?(:google_group_id)
2279
+ @name = args[:name] if args.key?(:name)
2280
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
2281
+ @update_time = args[:update_time] if args.key?(:update_time)
2282
+ end
2283
+ end
2284
+
2223
2285
  # Proxy Configuration of a Tenant.
2224
2286
  class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
2225
2287
  include Google::Apis::Core::Hashable
2226
2288
 
2227
- # Message contains the authentication information to validate against the proxy
2228
- # server.
2229
- # Corresponds to the JSON property `authenticationInfo`
2230
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo]
2231
- attr_accessor :authentication_info
2232
-
2233
2289
  # Output only. Timestamp when the resource was created.
2234
2290
  # Corresponds to the JSON property `createTime`
2235
2291
  # @return [String]
@@ -2241,6 +2297,11 @@ module Google
2241
2297
  # @return [String]
2242
2298
  attr_accessor :display_name
2243
2299
 
2300
+ # Message contains the JWT encryption information for the proxy server.
2301
+ # Corresponds to the JSON property `encryptionInfo`
2302
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo]
2303
+ attr_accessor :encryption_info
2304
+
2244
2305
  # Output only. ProxyConfig resource name.
2245
2306
  # Corresponds to the JSON property `name`
2246
2307
  # @return [String]
@@ -2272,9 +2333,9 @@ module Google
2272
2333
 
2273
2334
  # Update properties of this object
2274
2335
  def update!(**args)
2275
- @authentication_info = args[:authentication_info] if args.key?(:authentication_info)
2276
2336
  @create_time = args[:create_time] if args.key?(:create_time)
2277
2337
  @display_name = args[:display_name] if args.key?(:display_name)
2338
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
2278
2339
  @name = args[:name] if args.key?(:name)
2279
2340
  @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
2280
2341
  @routing_info = args[:routing_info] if args.key?(:routing_info)
@@ -2333,7 +2394,7 @@ module Google
2333
2394
  # @return [String]
2334
2395
  attr_accessor :name
2335
2396
 
2336
- # Metadata associated with Tenant and is provided by the Partner.
2397
+ # Metadata associated with PartnerTenant and is provided by the Partner.
2337
2398
  # Corresponds to the JSON property `partnerMetadata`
2338
2399
  # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]
2339
2400
  attr_accessor :partner_metadata
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BeyondcorpV1alpha
18
18
  # Version of the google-apis-beyondcorp_v1alpha gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230501"
25
+ REVISION = "20230509"
26
26
  end
27
27
  end
28
28
  end
@@ -328,7 +328,7 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
- class GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo
331
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
332
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
333
 
334
334
  include Google::Apis::Core::JsonObjectSupport
@@ -346,6 +346,12 @@ module Google
346
346
  include Google::Apis::Core::JsonObjectSupport
347
347
  end
348
348
 
349
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
349
355
  class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
350
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
357
 
@@ -1183,10 +1189,11 @@ module Google
1183
1189
  end
1184
1190
  end
1185
1191
 
1186
- class GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo
1192
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
1187
1193
  # @private
1188
1194
  class Representation < Google::Apis::Core::JsonRepresentation
1189
1195
  property :encryption_sa_email, as: 'encryptionSaEmail'
1196
+ property :jwk, as: 'jwk'
1190
1197
  end
1191
1198
  end
1192
1199
 
@@ -1210,13 +1217,27 @@ module Google
1210
1217
  end
1211
1218
  end
1212
1219
 
1213
- class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
1220
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
1214
1221
  # @private
1215
1222
  class Representation < Google::Apis::Core::JsonRepresentation
1216
- property :authentication_info, as: 'authenticationInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo::Representation
1223
+ property :create_time, as: 'createTime'
1224
+ property :display_name, as: 'displayName'
1225
+ property :google_group_email, as: 'googleGroupEmail'
1226
+ property :google_group_id, as: 'googleGroupId'
1227
+ property :name, as: 'name'
1228
+ property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata::Representation
1229
+
1230
+ property :update_time, as: 'updateTime'
1231
+ end
1232
+ end
1217
1233
 
1234
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
1235
+ # @private
1236
+ class Representation < Google::Apis::Core::JsonRepresentation
1218
1237
  property :create_time, as: 'createTime'
1219
1238
  property :display_name, as: 'displayName'
1239
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo::Representation
1240
+
1220
1241
  property :name, as: 'name'
1221
1242
  property :proxy_uri, as: 'proxyUri'
1222
1243
  property :routing_info, as: 'routingInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo::Representation
@@ -52,6 +52,85 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Creates a new BeyondCorp Enterprise partnerTenant in a given organization and
56
+ # can only be called by onboarded BeyondCorp Enterprise partner.
57
+ # @param [String] parent
58
+ # Required. The resource name of the PartnerTenant using the form: `
59
+ # organizations/`organization_id`/locations/global`
60
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
61
+ # @param [String] request_id
62
+ # Optional. An optional request ID to identify requests. Specify a unique
63
+ # request ID so that if you must retry your request, the server will know to
64
+ # ignore the request if it has already been completed. The server will guarantee
65
+ # that for at least 60 minutes since the first request. For example, consider a
66
+ # situation where you make an initial request and the request times out. If you
67
+ # make the request again with the same request ID, the server can check if
68
+ # original operation with the same request ID was received, and if so, will
69
+ # ignore the second request. This prevents clients from accidentally creating
70
+ # duplicate commitments. The request ID must be a valid UUID with the exception
71
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
72
+ # @param [String] fields
73
+ # Selector specifying which fields to include in a partial response.
74
+ # @param [String] quota_user
75
+ # Available to use for quota purposes for server-side applications. Can be any
76
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
77
+ # @param [Google::Apis::RequestOptions] options
78
+ # Request-specific options
79
+ #
80
+ # @yield [result, err] Result & error if block supplied
81
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
82
+ # @yieldparam err [StandardError] error object if request failed
83
+ #
84
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
85
+ #
86
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
87
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
88
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
89
+ def create_organization_location_global_partner_tenant(parent, google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
90
+ command = make_simple_command(:post, 'v1alpha/{+parent}/partnerTenants', options)
91
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
92
+ command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
93
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
94
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
95
+ command.params['parent'] = parent unless parent.nil?
96
+ command.query['requestId'] = request_id unless request_id.nil?
97
+ command.query['fields'] = fields unless fields.nil?
98
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
99
+ execute_or_queue_command(command, &block)
100
+ end
101
+
102
+ # Gets details of a single PartnerTenant.
103
+ # @param [String] name
104
+ # Required. The resource name of the PartnerTenant using the form: `
105
+ # organizations/`organization_id`/locations/global/partnerTenants/`
106
+ # partner_tenant_id``
107
+ # @param [String] fields
108
+ # Selector specifying which fields to include in a partial response.
109
+ # @param [String] quota_user
110
+ # Available to use for quota purposes for server-side applications. Can be any
111
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
112
+ # @param [Google::Apis::RequestOptions] options
113
+ # Request-specific options
114
+ #
115
+ # @yield [result, err] Result & error if block supplied
116
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] parsed result object
117
+ # @yieldparam err [StandardError] error object if request failed
118
+ #
119
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant]
120
+ #
121
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
122
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
123
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
124
+ def get_organization_location_global_partner_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
125
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
126
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
127
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
128
+ command.params['name'] = name unless name.nil?
129
+ command.query['fields'] = fields unless fields.nil?
130
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
131
+ execute_or_queue_command(command, &block)
132
+ end
133
+
55
134
  # Creates a new BeyondCorp Enterprise tenant in a given organization and can
56
135
  # only be called by onboarded BeyondCorp Enterprise partner.
57
136
  # @param [String] parent
@@ -131,7 +210,8 @@ module Google
131
210
  end
132
211
 
133
212
  # Creates a new BeyondCorp Enterprise ProxyConfiguration in a given organization
134
- # and tenant. Can only be called by on onboarded Beyondcorp Enterprise partner.
213
+ # and PartnerTenant. Can only be called by on onboarded Beyondcorp Enterprise
214
+ # partner.
135
215
  # @param [String] parent
136
216
  # Required. The resource name of the ProxyConfig using the form: `organizations/`
137
217
  # organization_id`/locations/global/tenants/`tenant_id``
@@ -177,7 +257,7 @@ module Google
177
257
  execute_or_queue_command(command, &block)
178
258
  end
179
259
 
180
- # Gets details of a single Tenant.
260
+ # Gets details of a single ProxyConfig.
181
261
  # @param [String] name
182
262
  # Required. The resource name of the Tenant using the form: `organizations/`
183
263
  # organization_id`/locations/global/tenants/`tenant_id`/proxyConfigs/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-beyondcorp_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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-beyondcorp_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []