google-apis-apphub_v1 0.14.0 → 0.15.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: f5bbba7a1fef7c3fced04f8b9d850d52a14569bb0ad2a2f0f2b59f18e663e32e
4
- data.tar.gz: cbd1cd775e6aa8851fc94a0a505fbf2b51b6be192319be26dec7cea311529733
3
+ metadata.gz: 46a74ba2815e1712da1931153a020f698677b5c67f0e8cfedfbab77957e84447
4
+ data.tar.gz: a99d91b0184387a85cf2f73596566ba230278739a916d6f1c26286441b2f05cf
5
5
  SHA512:
6
- metadata.gz: ddef35c265076e64e81188c8c5d7371180b8a1081b3627287e2e9b3607b93cbf3f13d93c667034cf0335ce1a3eee5fab6a1bbe9498c865add0fb590647d79cbb
7
- data.tar.gz: 11ce8f279a4e23aa4b877c317822f248596f6697dc19111879ca4abc754bda33df4ace5570f6f80dc2083e61f69f146c6e753c928e27965f987e3a28407925f7
6
+ metadata.gz: 3034cbfa2083342e17fe7b5f8c20df9e9a766dd8c234b7975049575a403c4e527ab039df88dbb4220145e104a107cb6b4031f07abe285695244b06045c8e7fa2
7
+ data.tar.gz: 41d69b21a37760653df88f3b40ac4e9f5a88a4c3fd60b885c600a5caf89fc9288857b657d83bf67551444e853ebb02245b2d95277b9c534b8c89985bc9c43ba9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-apphub_v1
2
2
 
3
+ ### v0.15.0 (2025-11-23)
4
+
5
+ * Regenerated from discovery document revision 20251114
6
+
3
7
  ### v0.14.0 (2025-11-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20251110
@@ -310,6 +310,51 @@ module Google
310
310
  end
311
311
  end
312
312
 
313
+ # Application management boundary.
314
+ class Boundary
315
+ include Google::Apis::Core::Hashable
316
+
317
+ # Output only. Create time.
318
+ # Corresponds to the JSON property `createTime`
319
+ # @return [String]
320
+ attr_accessor :create_time
321
+
322
+ # Optional. The resource name of the CRM node being attached to the boundary.
323
+ # Format: `projects/`project-number`` or `projects/`project-id``
324
+ # Corresponds to the JSON property `crmNode`
325
+ # @return [String]
326
+ attr_accessor :crm_node
327
+
328
+ # Identifier. The resource name of the boundary. Format: "projects/`project`/
329
+ # locations/`location`/boundary"
330
+ # Corresponds to the JSON property `name`
331
+ # @return [String]
332
+ attr_accessor :name
333
+
334
+ # Output only. Boundary type.
335
+ # Corresponds to the JSON property `type`
336
+ # @return [String]
337
+ attr_accessor :type
338
+
339
+ # Output only. Update time.
340
+ # Corresponds to the JSON property `updateTime`
341
+ # @return [String]
342
+ attr_accessor :update_time
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @create_time = args[:create_time] if args.key?(:create_time)
351
+ @crm_node = args[:crm_node] if args.key?(:crm_node)
352
+ @name = args[:name] if args.key?(:name)
353
+ @type = args[:type] if args.key?(:type)
354
+ @update_time = args[:update_time] if args.key?(:update_time)
355
+ end
356
+ end
357
+
313
358
  # The request message for Operations.CancelOperation.
314
359
  class CancelOperationRequest
315
360
  include Google::Apis::Core::Hashable
@@ -589,6 +634,28 @@ module Google
589
634
  end
590
635
  end
591
636
 
637
+ # The identity associated with a service or workload.
638
+ class Identity
639
+ include Google::Apis::Core::Hashable
640
+
641
+ # Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.
642
+ # iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.
643
+ # PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for
644
+ # Managed Workload Identity
645
+ # Corresponds to the JSON property `principal`
646
+ # @return [String]
647
+ attr_accessor :principal
648
+
649
+ def initialize(**args)
650
+ update!(**args)
651
+ end
652
+
653
+ # Update properties of this object
654
+ def update!(**args)
655
+ @principal = args[:principal] if args.key?(:principal)
656
+ end
657
+ end
658
+
592
659
  # Response for ListApplications.
593
660
  class ListApplicationsResponse
594
661
  include Google::Apis::Core::Hashable
@@ -722,8 +789,9 @@ module Google
722
789
  attr_accessor :operations
723
790
 
724
791
  # Unordered list. Unreachable resources. Populated when the request sets `
725
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
726
- # when attempting to list all resources across all supported locations.
792
+ # ListOperationsRequest.return_partial_success` and reads across collections.
793
+ # For example, when attempting to list all resources across all supported
794
+ # locations.
727
795
  # Corresponds to the JSON property `unreachable`
728
796
  # @return [Array<String>]
729
797
  attr_accessor :unreachable
@@ -1386,6 +1454,11 @@ module Google
1386
1454
  # @return [String]
1387
1455
  attr_accessor :gcp_project
1388
1456
 
1457
+ # The identity associated with a service or workload.
1458
+ # Corresponds to the JSON property `identity`
1459
+ # @return [Google::Apis::ApphubV1::Identity]
1460
+ attr_accessor :identity
1461
+
1389
1462
  # Output only. The location that the underlying resource resides in, for example,
1390
1463
  # us-west1.
1391
1464
  # Corresponds to the JSON property `location`
@@ -1412,6 +1485,7 @@ module Google
1412
1485
  @extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
1413
1486
  @functional_type = args[:functional_type] if args.key?(:functional_type)
1414
1487
  @gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1488
+ @identity = args[:identity] if args.key?(:identity)
1415
1489
  @location = args[:location] if args.key?(:location)
1416
1490
  @registration_type = args[:registration_type] if args.key?(:registration_type)
1417
1491
  @zone = args[:zone] if args.key?(:zone)
@@ -1680,6 +1754,11 @@ module Google
1680
1754
  # @return [String]
1681
1755
  attr_accessor :gcp_project
1682
1756
 
1757
+ # The identity associated with a service or workload.
1758
+ # Corresponds to the JSON property `identity`
1759
+ # @return [Google::Apis::ApphubV1::Identity]
1760
+ attr_accessor :identity
1761
+
1683
1762
  # Output only. The location that the underlying compute resource resides in (for
1684
1763
  # example, us-west1).
1685
1764
  # Corresponds to the JSON property `location`
@@ -1701,6 +1780,7 @@ module Google
1701
1780
  @extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
1702
1781
  @functional_type = args[:functional_type] if args.key?(:functional_type)
1703
1782
  @gcp_project = args[:gcp_project] if args.key?(:gcp_project)
1783
+ @identity = args[:identity] if args.key?(:identity)
1704
1784
  @location = args[:location] if args.key?(:location)
1705
1785
  @zone = args[:zone] if args.key?(:zone)
1706
1786
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ApphubV1
18
18
  # Version of the google-apis-apphub_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251110"
25
+ REVISION = "20251114"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class Boundary
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class CancelOperationRequest
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -124,6 +130,12 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
133
+ class Identity
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
127
139
  class ListApplicationsResponse
128
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
141
 
@@ -358,6 +370,17 @@ module Google
358
370
  end
359
371
  end
360
372
 
373
+ class Boundary
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :create_time, as: 'createTime'
377
+ property :crm_node, as: 'crmNode'
378
+ property :name, as: 'name'
379
+ property :type, as: 'type'
380
+ property :update_time, as: 'updateTime'
381
+ end
382
+ end
383
+
361
384
  class CancelOperationRequest
362
385
  # @private
363
386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -450,6 +473,13 @@ module Google
450
473
  end
451
474
  end
452
475
 
476
+ class Identity
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ property :principal, as: 'principal'
480
+ end
481
+ end
482
+
453
483
  class ListApplicationsResponse
454
484
  # @private
455
485
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -662,6 +692,8 @@ module Google
662
692
  property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
663
693
 
664
694
  property :gcp_project, as: 'gcpProject'
695
+ property :identity, as: 'identity', class: Google::Apis::ApphubV1::Identity, decorator: Google::Apis::ApphubV1::Identity::Representation
696
+
665
697
  property :location, as: 'location'
666
698
  property :registration_type, as: 'registrationType', class: Google::Apis::ApphubV1::RegistrationType, decorator: Google::Apis::ApphubV1::RegistrationType::Representation
667
699
 
@@ -736,6 +768,8 @@ module Google
736
768
  property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
737
769
 
738
770
  property :gcp_project, as: 'gcpProject'
771
+ property :identity, as: 'identity', class: Google::Apis::ApphubV1::Identity, decorator: Google::Apis::ApphubV1::Identity::Representation
772
+
739
773
  property :location, as: 'location'
740
774
  property :zone, as: 'zone'
741
775
  end
@@ -118,6 +118,37 @@ module Google
118
118
  execute_or_queue_command(command, &block)
119
119
  end
120
120
 
121
+ # Gets a Boundary.
122
+ # @param [String] name
123
+ # Required. The name of the boundary to retrieve. Format: projects/`project`/
124
+ # locations/`location`/boundary
125
+ # @param [String] fields
126
+ # Selector specifying which fields to include in a partial response.
127
+ # @param [String] quota_user
128
+ # Available to use for quota purposes for server-side applications. Can be any
129
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
130
+ # @param [Google::Apis::RequestOptions] options
131
+ # Request-specific options
132
+ #
133
+ # @yield [result, err] Result & error if block supplied
134
+ # @yieldparam result [Google::Apis::ApphubV1::Boundary] parsed result object
135
+ # @yieldparam err [StandardError] error object if request failed
136
+ #
137
+ # @return [Google::Apis::ApphubV1::Boundary]
138
+ #
139
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
140
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
141
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
142
+ def get_project_location_boundary(name, fields: nil, quota_user: nil, options: nil, &block)
143
+ command = make_simple_command(:get, 'v1/{+name}', options)
144
+ command.response_representation = Google::Apis::ApphubV1::Boundary::Representation
145
+ command.response_class = Google::Apis::ApphubV1::Boundary
146
+ command.params['name'] = name unless name.nil?
147
+ command.query['fields'] = fields unless fields.nil?
148
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
149
+ execute_or_queue_command(command, &block)
150
+ end
151
+
121
152
  # Lists information about the supported locations for this service.
122
153
  # @param [String] name
123
154
  # The resource that owns the locations collection, if applicable.
@@ -198,6 +229,59 @@ module Google
198
229
  execute_or_queue_command(command, &block)
199
230
  end
200
231
 
232
+ # Updates a Boundary.
233
+ # @param [String] name
234
+ # Identifier. The resource name of the boundary. Format: "projects/`project`/
235
+ # locations/`location`/boundary"
236
+ # @param [Google::Apis::ApphubV1::Boundary] boundary_object
237
+ # @param [String] request_id
238
+ # Optional. An optional request ID to identify requests. Specify a unique
239
+ # request ID so that if you must retry your request, the server will know to
240
+ # ignore the request if it has already been completed. The server will guarantee
241
+ # that for at least 60 minutes since the first request. For example, consider a
242
+ # situation where you make an initial request and the request times out. If you
243
+ # make the request again with the same request ID, the server can check if
244
+ # original operation with the same request ID was received, and if so, will
245
+ # ignore the second request. This prevents clients from accidentally creating
246
+ # duplicate commitments. The request ID must be a valid UUID with the exception
247
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
248
+ # @param [String] update_mask
249
+ # Required. Field mask is used to specify the fields to be overwritten in the
250
+ # Boundary resource by the update. The fields specified in the update_mask are
251
+ # relative to the resource, not the full request. A field will be overwritten if
252
+ # it is in the mask. If the user does not provide a mask then all fields will be
253
+ # overwritten.
254
+ # @param [String] fields
255
+ # Selector specifying which fields to include in a partial response.
256
+ # @param [String] quota_user
257
+ # Available to use for quota purposes for server-side applications. Can be any
258
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
259
+ # @param [Google::Apis::RequestOptions] options
260
+ # Request-specific options
261
+ #
262
+ # @yield [result, err] Result & error if block supplied
263
+ # @yieldparam result [Google::Apis::ApphubV1::Operation] parsed result object
264
+ # @yieldparam err [StandardError] error object if request failed
265
+ #
266
+ # @return [Google::Apis::ApphubV1::Operation]
267
+ #
268
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
269
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
270
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
271
+ def update_project_location_boundary(name, boundary_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
272
+ command = make_simple_command(:patch, 'v1/{+name}', options)
273
+ command.request_representation = Google::Apis::ApphubV1::Boundary::Representation
274
+ command.request_object = boundary_object
275
+ command.response_representation = Google::Apis::ApphubV1::Operation::Representation
276
+ command.response_class = Google::Apis::ApphubV1::Operation
277
+ command.params['name'] = name unless name.nil?
278
+ command.query['requestId'] = request_id unless request_id.nil?
279
+ command.query['updateMask'] = update_mask unless update_mask.nil?
280
+ command.query['fields'] = fields unless fields.nil?
281
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
282
+ execute_or_queue_command(command, &block)
283
+ end
284
+
201
285
  # Creates an Application in a host project and location.
202
286
  # @param [String] parent
203
287
  # Required. Project and location to create Application in. Expected format: `
@@ -1342,11 +1426,12 @@ module Google
1342
1426
  # The standard list page token.
1343
1427
  # @param [Boolean] return_partial_success
1344
1428
  # When set to `true`, operations that are reachable are returned as normal, and
1345
- # those that are unreachable are returned in the [ListOperationsResponse.
1346
- # unreachable] field. This can only be `true` when reading across collections e.
1347
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1348
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1349
- # explicitly documented otherwise in service or product specific documentation.
1429
+ # those that are unreachable are returned in the ListOperationsResponse.
1430
+ # unreachable field. This can only be `true` when reading across collections.
1431
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1432
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1433
+ # if set unless explicitly documented otherwise in service or product specific
1434
+ # documentation.
1350
1435
  # @param [String] fields
1351
1436
  # Selector specifying which fields to include in a partial response.
1352
1437
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-apphub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.14.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.15.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1
62
62
  rdoc_options: []
63
63
  require_paths: