google-apis-saasservicemgmt_v1beta1 0.4.0 → 0.5.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: 7113ef1620de7e337fa7bbcbde5f933ea7171351a28b6f60af2006e808942d19
4
- data.tar.gz: 897dff8d283b17d2e7ea9a093a5d7de39496a103aac451bbff7479777ba82000
3
+ metadata.gz: 48db97809678150294df20430410eece83a1fb0487b85fbfaae9aba80c806439
4
+ data.tar.gz: c4c26a2806ac90af1b1c3f93bf8edec7d6558af9d40bc28e49dcc555f2c1de33
5
5
  SHA512:
6
- metadata.gz: 7878e0ae6ba571a6a4d2ce9574ae8c162dbf0adf55d0b91a10d4250850358167af9d9cf9ccfa9fa8ac2f51cd2254c58c5c63bef103c14e3c88a6c96e95fc4482
7
- data.tar.gz: b5a10bd7d3469ebef14f18322317e3831dcafb57a7a24534489c0e680abb477566ae024dc269d22fa2e2bf88e2f19c66686f2419ffd08d7979744349abeab037
6
+ metadata.gz: 895c26d651380f4698e6373f81cc0f4ac3b5fed1de86e1b5996ba3ed24c16c40a86dc56b597dc8046a76c9b2ee533e49d6604be0aefa532f7c6954d4d7b81a11
7
+ data.tar.gz: b727940deab576c9b0b7617bba2ecaf5cba2dac2838a12016766d62e205b0c073799a9758630aeaf5dc8ce32326cf15424e350caee97a66fdd64a8e3038ff9ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-saasservicemgmt_v1beta1
2
2
 
3
+ ### v0.5.0 (2025-09-28)
4
+
5
+ * Regenerated from discovery document revision 20250917
6
+
3
7
  ### v0.4.0 (2025-09-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20250910
@@ -299,6 +299,39 @@ module Google
299
299
  end
300
300
  end
301
301
 
302
+ # The response structure for the ListReplicationsInternal method.
303
+ class ListReplicationsInternalResponse
304
+ include Google::Apis::Core::Hashable
305
+
306
+ # If present, the next page token can be provided to a subsequent
307
+ # ListReplicationsInternal call to list the next page. If empty, there are no
308
+ # more pages.
309
+ # Corresponds to the JSON property `nextPageToken`
310
+ # @return [String]
311
+ attr_accessor :next_page_token
312
+
313
+ # The resulting replication internals.
314
+ # Corresponds to the JSON property `replicationsInternal`
315
+ # @return [Array<Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal>]
316
+ attr_accessor :replications_internal
317
+
318
+ # Locations that could not be reached.
319
+ # Corresponds to the JSON property `unreachable`
320
+ # @return [Array<String>]
321
+ attr_accessor :unreachable
322
+
323
+ def initialize(**args)
324
+ update!(**args)
325
+ end
326
+
327
+ # Update properties of this object
328
+ def update!(**args)
329
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
330
+ @replications_internal = args[:replications_internal] if args.key?(:replications_internal)
331
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
332
+ end
333
+ end
334
+
302
335
  # The response structure for the ListRolloutKinds method.
303
336
  class ListRolloutKindsResponse
304
337
  include Google::Apis::Core::Hashable
@@ -729,6 +762,157 @@ module Google
729
762
  end
730
763
  end
731
764
 
765
+ # ReplicationInternal is a resource that represents the replication of a
766
+ # resource to multiple locations. This is an internal resource to achieve
767
+ # replication before GA and will not expose to the public API.
768
+ class ReplicationInternal
769
+ include Google::Apis::Core::Hashable
770
+
771
+ # Optional. Annotations is an unstructured key-value map stored with a resource
772
+ # that may be set by external tools to store and retrieve arbitrary metadata.
773
+ # They are not queryable and should be preserved when modifying objects. More
774
+ # info: https://kubernetes.io/docs/user-guide/annotations
775
+ # Corresponds to the JSON property `annotations`
776
+ # @return [Hash<String,String>]
777
+ attr_accessor :annotations
778
+
779
+ # Output only. The timestamp when the resource was created.
780
+ # Corresponds to the JSON property `createTime`
781
+ # @return [String]
782
+ attr_accessor :create_time
783
+
784
+ # Output only. An opaque value that uniquely identifies a version or generation
785
+ # of a resource. It can be used to confirm that the client and server agree on
786
+ # the ordering of a resource being written.
787
+ # Corresponds to the JSON property `etag`
788
+ # @return [String]
789
+ attr_accessor :etag
790
+
791
+ # Optional. The labels on the resource, which can be used for categorization.
792
+ # similar to Kubernetes resource labels.
793
+ # Corresponds to the JSON property `labels`
794
+ # @return [Hash<String,String>]
795
+ attr_accessor :labels
796
+
797
+ # Optional. The maximum number of retries for the replication. If the
798
+ # replication fails from a retryable error, it will be retried for this number
799
+ # of times.
800
+ # Corresponds to the JSON property `maxRetryCount`
801
+ # @return [Fixnum]
802
+ attr_accessor :max_retry_count
803
+
804
+ # Identifier. The resource name (full URI of the resource) following the
805
+ # standard naming scheme: "projects/`project`/locations/`location`/
806
+ # replicationInternal/`replication_internal_id`"
807
+ # Corresponds to the JSON property `name`
808
+ # @return [String]
809
+ attr_accessor :name
810
+
811
+ # Required. The payload of the request for replication. It could be any request
812
+ # type that is supported by the replication service. e.g. CreateUnitKindRequest,
813
+ # UpdateUnitKindRequest, DeleteReleaseRequest, etc.
814
+ # Corresponds to the JSON property `payload`
815
+ # @return [Hash<String,Object>]
816
+ attr_accessor :payload
817
+
818
+ # Output only. The state of the replication.
819
+ # Corresponds to the JSON property `state`
820
+ # @return [String]
821
+ attr_accessor :state
822
+
823
+ # Output only. The stats of the replication. One key for each location in
824
+ # target_locations
825
+ # Corresponds to the JSON property `stats`
826
+ # @return [Hash<String,Google::Apis::SaasservicemgmtV1beta1::ReplicationStats>]
827
+ attr_accessor :stats
828
+
829
+ # Optional. The target locations to replicate the resource to.
830
+ # Corresponds to the JSON property `targetLocations`
831
+ # @return [Array<String>]
832
+ attr_accessor :target_locations
833
+
834
+ # Output only. The unique identifier of the resource. UID is unique in the time
835
+ # and space for this resource within the scope of the service. It is typically
836
+ # generated by the server on successful creation of a resource and must not be
837
+ # changed. UID is used to uniquely identify resources with resource name reuses.
838
+ # This should be a UUID4.
839
+ # Corresponds to the JSON property `uid`
840
+ # @return [String]
841
+ attr_accessor :uid
842
+
843
+ # Output only. The timestamp when the resource was last updated. Any change to
844
+ # the resource made by users must refresh this value. Changes to a resource made
845
+ # by the service should refresh this value.
846
+ # Corresponds to the JSON property `updateTime`
847
+ # @return [String]
848
+ attr_accessor :update_time
849
+
850
+ def initialize(**args)
851
+ update!(**args)
852
+ end
853
+
854
+ # Update properties of this object
855
+ def update!(**args)
856
+ @annotations = args[:annotations] if args.key?(:annotations)
857
+ @create_time = args[:create_time] if args.key?(:create_time)
858
+ @etag = args[:etag] if args.key?(:etag)
859
+ @labels = args[:labels] if args.key?(:labels)
860
+ @max_retry_count = args[:max_retry_count] if args.key?(:max_retry_count)
861
+ @name = args[:name] if args.key?(:name)
862
+ @payload = args[:payload] if args.key?(:payload)
863
+ @state = args[:state] if args.key?(:state)
864
+ @stats = args[:stats] if args.key?(:stats)
865
+ @target_locations = args[:target_locations] if args.key?(:target_locations)
866
+ @uid = args[:uid] if args.key?(:uid)
867
+ @update_time = args[:update_time] if args.key?(:update_time)
868
+ end
869
+ end
870
+
871
+ # ReplicationStats contains the stats of the replication. It contains the
872
+ # resources that are pending, finished, failed, and the errors if any.
873
+ class ReplicationStats
874
+ include Google::Apis::Core::Hashable
875
+
876
+ # The errors that occurred during replication, one error for each failed
877
+ # resource.
878
+ # Corresponds to the JSON property `errors`
879
+ # @return [Array<Google::Apis::SaasservicemgmtV1beta1::Status>]
880
+ attr_accessor :errors
881
+
882
+ # The resources that are failed replication.
883
+ # Corresponds to the JSON property `failedResources`
884
+ # @return [Array<String>]
885
+ attr_accessor :failed_resources
886
+
887
+ # The resources that are finished replication.
888
+ # Corresponds to the JSON property `finishedResources`
889
+ # @return [Array<String>]
890
+ attr_accessor :finished_resources
891
+
892
+ # The resources that are pending replication.
893
+ # Corresponds to the JSON property `pendingResources`
894
+ # @return [Array<String>]
895
+ attr_accessor :pending_resources
896
+
897
+ # The number of retries for the failed resources.
898
+ # Corresponds to the JSON property `retryCount`
899
+ # @return [Array<Fixnum>]
900
+ attr_accessor :retry_count
901
+
902
+ def initialize(**args)
903
+ update!(**args)
904
+ end
905
+
906
+ # Update properties of this object
907
+ def update!(**args)
908
+ @errors = args[:errors] if args.key?(:errors)
909
+ @failed_resources = args[:failed_resources] if args.key?(:failed_resources)
910
+ @finished_resources = args[:finished_resources] if args.key?(:finished_resources)
911
+ @pending_resources = args[:pending_resources] if args.key?(:pending_resources)
912
+ @retry_count = args[:retry_count] if args.key?(:retry_count)
913
+ end
914
+ end
915
+
732
916
  # Represents a single rollout execution and its results
733
917
  class Rollout
734
918
  include Google::Apis::Core::Hashable
@@ -1180,6 +1364,45 @@ module Google
1180
1364
  end
1181
1365
  end
1182
1366
 
1367
+ # The `Status` type defines a logical error model that is suitable for different
1368
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1369
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1370
+ # data: error code, error message, and error details. You can find out more
1371
+ # about this error model and how to work with it in the [API Design Guide](https:
1372
+ # //cloud.google.com/apis/design/errors).
1373
+ class Status
1374
+ include Google::Apis::Core::Hashable
1375
+
1376
+ # The status code, which should be an enum value of google.rpc.Code.
1377
+ # Corresponds to the JSON property `code`
1378
+ # @return [Fixnum]
1379
+ attr_accessor :code
1380
+
1381
+ # A list of messages that carry the error details. There is a common set of
1382
+ # message types for APIs to use.
1383
+ # Corresponds to the JSON property `details`
1384
+ # @return [Array<Hash<String,Object>>]
1385
+ attr_accessor :details
1386
+
1387
+ # A developer-facing error message, which should be in English. Any user-facing
1388
+ # error message should be localized and sent in the google.rpc.Status.details
1389
+ # field, or localized by the client.
1390
+ # Corresponds to the JSON property `message`
1391
+ # @return [String]
1392
+ attr_accessor :message
1393
+
1394
+ def initialize(**args)
1395
+ update!(**args)
1396
+ end
1397
+
1398
+ # Update properties of this object
1399
+ def update!(**args)
1400
+ @code = args[:code] if args.key?(:code)
1401
+ @details = args[:details] if args.key?(:details)
1402
+ @message = args[:message] if args.key?(:message)
1403
+ end
1404
+ end
1405
+
1183
1406
  # Tenant represents the service producer side of an instance of the service
1184
1407
  # created based on a request from a consumer. In a typical scenario a Tenant has
1185
1408
  # a one-to-one mapping with a resource given out to a service consumer. Example:
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SaasservicemgmtV1beta1
18
18
  # Version of the google-apis-saasservicemgmt_v1beta1 gem
19
- GEM_VERSION = "0.4.0"
19
+ GEM_VERSION = "0.5.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 = "20250910"
25
+ REVISION = "20250917"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class ListReplicationsInternalResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class ListRolloutKindsResponse
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -154,6 +160,18 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class ReplicationInternal
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ReplicationStats
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class Rollout
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
@@ -196,6 +214,12 @@ module Google
196
214
  include Google::Apis::Core::JsonObjectSupport
197
215
  end
198
216
 
217
+ class Status
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
199
223
  class Tenant
200
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
225
 
@@ -345,6 +369,16 @@ module Google
345
369
  end
346
370
  end
347
371
 
372
+ class ListReplicationsInternalResponse
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ property :next_page_token, as: 'nextPageToken'
376
+ collection :replications_internal, as: 'replicationsInternal', class: Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal, decorator: Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal::Representation
377
+
378
+ collection :unreachable, as: 'unreachable'
379
+ end
380
+ end
381
+
348
382
  class ListRolloutKindsResponse
349
383
  # @private
350
384
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -469,6 +503,37 @@ module Google
469
503
  end
470
504
  end
471
505
 
506
+ class ReplicationInternal
507
+ # @private
508
+ class Representation < Google::Apis::Core::JsonRepresentation
509
+ hash :annotations, as: 'annotations'
510
+ property :create_time, as: 'createTime'
511
+ property :etag, as: 'etag'
512
+ hash :labels, as: 'labels'
513
+ property :max_retry_count, as: 'maxRetryCount'
514
+ property :name, as: 'name'
515
+ hash :payload, as: 'payload'
516
+ property :state, as: 'state'
517
+ hash :stats, as: 'stats', class: Google::Apis::SaasservicemgmtV1beta1::ReplicationStats, decorator: Google::Apis::SaasservicemgmtV1beta1::ReplicationStats::Representation
518
+
519
+ collection :target_locations, as: 'targetLocations'
520
+ property :uid, as: 'uid'
521
+ property :update_time, as: 'updateTime'
522
+ end
523
+ end
524
+
525
+ class ReplicationStats
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ collection :errors, as: 'errors', class: Google::Apis::SaasservicemgmtV1beta1::Status, decorator: Google::Apis::SaasservicemgmtV1beta1::Status::Representation
529
+
530
+ collection :failed_resources, as: 'failedResources'
531
+ collection :finished_resources, as: 'finishedResources'
532
+ collection :pending_resources, as: 'pendingResources'
533
+ collection :retry_count, as: 'retryCount'
534
+ end
535
+ end
536
+
472
537
  class Rollout
473
538
  # @private
474
539
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -562,6 +627,15 @@ module Google
562
627
  end
563
628
  end
564
629
 
630
+ class Status
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ property :code, as: 'code'
634
+ collection :details, as: 'details'
635
+ property :message, as: 'message'
636
+ end
637
+ end
638
+
565
639
  class Tenant
566
640
  # @private
567
641
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -365,6 +365,253 @@ module Google
365
365
  execute_or_queue_command(command, &block)
366
366
  end
367
367
 
368
+ # Create a new replication internal.
369
+ # @param [String] parent
370
+ # Required. The parent of the replication internal.
371
+ # @param [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal] replication_internal_object
372
+ # @param [String] replication_internal_id
373
+ # Required. The ID value for the new replication internal.
374
+ # @param [String] request_id
375
+ # An optional request ID to identify requests. Specify a unique request ID so
376
+ # that if you must retry your request, the server will know to ignore the
377
+ # request if it has already been completed. The server will guarantee that for
378
+ # at least 60 minutes since the first request. For example, consider a situation
379
+ # where you make an initial request and the request times out. If you make the
380
+ # request again with the same request ID, the server can check if original
381
+ # operation with the same request ID was received, and if so, will ignore the
382
+ # second request. This prevents clients from accidentally creating duplicate
383
+ # commitments. The request ID must be a valid UUID with the exception that zero
384
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
385
+ # @param [Boolean] validate_only
386
+ # If "validate_only" is set to true, the service will try to validate that this
387
+ # request would succeed, but will not actually make changes.
388
+ # @param [String] fields
389
+ # Selector specifying which fields to include in a partial response.
390
+ # @param [String] quota_user
391
+ # Available to use for quota purposes for server-side applications. Can be any
392
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
393
+ # @param [Google::Apis::RequestOptions] options
394
+ # Request-specific options
395
+ #
396
+ # @yield [result, err] Result & error if block supplied
397
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal] parsed result object
398
+ # @yieldparam err [StandardError] error object if request failed
399
+ #
400
+ # @return [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal]
401
+ #
402
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
403
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
404
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
405
+ def create_project_location_replications_internal(parent, replication_internal_object = nil, replication_internal_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
406
+ command = make_simple_command(:post, 'v1beta1/{+parent}/replicationsInternal', options)
407
+ command.request_representation = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal::Representation
408
+ command.request_object = replication_internal_object
409
+ command.response_representation = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal::Representation
410
+ command.response_class = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal
411
+ command.params['parent'] = parent unless parent.nil?
412
+ command.query['replicationInternalId'] = replication_internal_id unless replication_internal_id.nil?
413
+ command.query['requestId'] = request_id unless request_id.nil?
414
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
415
+ command.query['fields'] = fields unless fields.nil?
416
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
417
+ execute_or_queue_command(command, &block)
418
+ end
419
+
420
+ # Delete a single replication internal.
421
+ # @param [String] name
422
+ # Required. The resource name of the resource within a service.
423
+ # @param [String] etag
424
+ # The etag known to the client for the expected state of the replication
425
+ # internal. This is used with state-changing methods to prevent accidental
426
+ # overwrites when multiple user agents might be acting in parallel on the same
427
+ # resource. An etag wildcard provide optimistic concurrency based on the
428
+ # expected existence of the replication internal. The Any wildcard (`*`)
429
+ # requires that the resource must already exists, and the Not Any wildcard (`!*`)
430
+ # requires that it must not.
431
+ # @param [String] request_id
432
+ # An optional request ID to identify requests. Specify a unique request ID so
433
+ # that if you must retry your request, the server will know to ignore the
434
+ # request if it has already been completed. The server will guarantee that for
435
+ # at least 60 minutes since the first request. For example, consider a situation
436
+ # where you make an initial request and the request times out. If you make the
437
+ # request again with the same request ID, the server can check if original
438
+ # operation with the same request ID was received, and if so, will ignore the
439
+ # second request. This prevents clients from accidentally creating duplicate
440
+ # commitments. The request ID must be a valid UUID with the exception that zero
441
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
442
+ # @param [Boolean] validate_only
443
+ # If "validate_only" is set to true, the service will try to validate that this
444
+ # request would succeed, but will not actually make changes.
445
+ # @param [String] fields
446
+ # Selector specifying which fields to include in a partial response.
447
+ # @param [String] quota_user
448
+ # Available to use for quota purposes for server-side applications. Can be any
449
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
450
+ # @param [Google::Apis::RequestOptions] options
451
+ # Request-specific options
452
+ #
453
+ # @yield [result, err] Result & error if block supplied
454
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1beta1::Empty] parsed result object
455
+ # @yieldparam err [StandardError] error object if request failed
456
+ #
457
+ # @return [Google::Apis::SaasservicemgmtV1beta1::Empty]
458
+ #
459
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
460
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
461
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
462
+ def delete_project_location_replications_internal(name, etag: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
463
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
464
+ command.response_representation = Google::Apis::SaasservicemgmtV1beta1::Empty::Representation
465
+ command.response_class = Google::Apis::SaasservicemgmtV1beta1::Empty
466
+ command.params['name'] = name unless name.nil?
467
+ command.query['etag'] = etag unless etag.nil?
468
+ command.query['requestId'] = request_id unless request_id.nil?
469
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
470
+ command.query['fields'] = fields unless fields.nil?
471
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
472
+ execute_or_queue_command(command, &block)
473
+ end
474
+
475
+ # Retrieve a single replication internal.
476
+ # @param [String] name
477
+ # Required. The resource name of the resource within a service.
478
+ # @param [String] fields
479
+ # Selector specifying which fields to include in a partial response.
480
+ # @param [String] quota_user
481
+ # Available to use for quota purposes for server-side applications. Can be any
482
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
483
+ # @param [Google::Apis::RequestOptions] options
484
+ # Request-specific options
485
+ #
486
+ # @yield [result, err] Result & error if block supplied
487
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal] parsed result object
488
+ # @yieldparam err [StandardError] error object if request failed
489
+ #
490
+ # @return [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal]
491
+ #
492
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
493
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
494
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
495
+ def get_project_location_replications_internal(name, fields: nil, quota_user: nil, options: nil, &block)
496
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
497
+ command.response_representation = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal::Representation
498
+ command.response_class = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal
499
+ command.params['name'] = name unless name.nil?
500
+ command.query['fields'] = fields unless fields.nil?
501
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
502
+ execute_or_queue_command(command, &block)
503
+ end
504
+
505
+ # Retrieve a collection of replication internals.
506
+ # @param [String] parent
507
+ # Required. The parent of the replication internal.
508
+ # @param [String] filter
509
+ # Filter the list as specified in https://google.aip.dev/160.
510
+ # @param [String] order_by
511
+ # Order results as specified in https://google.aip.dev/132.
512
+ # @param [Fixnum] page_size
513
+ # The maximum number of replication internals to send per page.
514
+ # @param [String] page_token
515
+ # The page token: If the next_page_token from a previous response is provided,
516
+ # this request will send the subsequent page.
517
+ # @param [String] fields
518
+ # Selector specifying which fields to include in a partial response.
519
+ # @param [String] quota_user
520
+ # Available to use for quota purposes for server-side applications. Can be any
521
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
522
+ # @param [Google::Apis::RequestOptions] options
523
+ # Request-specific options
524
+ #
525
+ # @yield [result, err] Result & error if block supplied
526
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1beta1::ListReplicationsInternalResponse] parsed result object
527
+ # @yieldparam err [StandardError] error object if request failed
528
+ #
529
+ # @return [Google::Apis::SaasservicemgmtV1beta1::ListReplicationsInternalResponse]
530
+ #
531
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
532
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
533
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
534
+ def list_project_location_replications_internals(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
535
+ command = make_simple_command(:get, 'v1beta1/{+parent}/replicationsInternal', options)
536
+ command.response_representation = Google::Apis::SaasservicemgmtV1beta1::ListReplicationsInternalResponse::Representation
537
+ command.response_class = Google::Apis::SaasservicemgmtV1beta1::ListReplicationsInternalResponse
538
+ command.params['parent'] = parent unless parent.nil?
539
+ command.query['filter'] = filter unless filter.nil?
540
+ command.query['orderBy'] = order_by unless order_by.nil?
541
+ command.query['pageSize'] = page_size unless page_size.nil?
542
+ command.query['pageToken'] = page_token unless page_token.nil?
543
+ command.query['fields'] = fields unless fields.nil?
544
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
545
+ execute_or_queue_command(command, &block)
546
+ end
547
+
548
+ # Update a single replication internal.
549
+ # @param [String] name
550
+ # Identifier. The resource name (full URI of the resource) following the
551
+ # standard naming scheme: "projects/`project`/locations/`location`/
552
+ # replicationInternal/`replication_internal_id`"
553
+ # @param [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal] replication_internal_object
554
+ # @param [String] etag
555
+ # The etag known to the client for the expected state of the replication
556
+ # internal. This is used with state-changing methods to prevent accidental
557
+ # overwrites when multiple user agents might be acting in parallel on the same
558
+ # resource. An etag wildcard provide optimistic concurrency based on the
559
+ # expected existence of the replication internal. The Any wildcard (`*`)
560
+ # requires that the resource must already exists, and the Not Any wildcard (`!*`)
561
+ # requires that it must not.
562
+ # @param [String] request_id
563
+ # An optional request ID to identify requests. Specify a unique request ID so
564
+ # that if you must retry your request, the server will know to ignore the
565
+ # request if it has already been completed. The server will guarantee that for
566
+ # at least 60 minutes since the first request. For example, consider a situation
567
+ # where you make an initial request and the request times out. If you make the
568
+ # request again with the same request ID, the server can check if original
569
+ # operation with the same request ID was received, and if so, will ignore the
570
+ # second request. This prevents clients from accidentally creating duplicate
571
+ # commitments. The request ID must be a valid UUID with the exception that zero
572
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
573
+ # @param [String] update_mask
574
+ # Field mask is used to specify the fields to be overwritten in the
575
+ # ReplicationInternal resource by the update. The fields specified in the
576
+ # update_mask are relative to the resource, not the full request. A field will
577
+ # be overwritten if it is in the mask. If the user does not provide a mask then
578
+ # all fields in the ReplicationInternal will be overwritten.
579
+ # @param [Boolean] validate_only
580
+ # If "validate_only" is set to true, the service will try to validate that this
581
+ # request would succeed, but will not actually make changes.
582
+ # @param [String] fields
583
+ # Selector specifying which fields to include in a partial response.
584
+ # @param [String] quota_user
585
+ # Available to use for quota purposes for server-side applications. Can be any
586
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
587
+ # @param [Google::Apis::RequestOptions] options
588
+ # Request-specific options
589
+ #
590
+ # @yield [result, err] Result & error if block supplied
591
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal] parsed result object
592
+ # @yieldparam err [StandardError] error object if request failed
593
+ #
594
+ # @return [Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal]
595
+ #
596
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
597
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
598
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
599
+ def patch_project_location_replications_internal(name, replication_internal_object = nil, etag: nil, request_id: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
600
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
601
+ command.request_representation = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal::Representation
602
+ command.request_object = replication_internal_object
603
+ command.response_representation = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal::Representation
604
+ command.response_class = Google::Apis::SaasservicemgmtV1beta1::ReplicationInternal
605
+ command.params['name'] = name unless name.nil?
606
+ command.query['etag'] = etag unless etag.nil?
607
+ command.query['requestId'] = request_id unless request_id.nil?
608
+ command.query['updateMask'] = update_mask unless update_mask.nil?
609
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
610
+ command.query['fields'] = fields unless fields.nil?
611
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
612
+ execute_or_queue_command(command, &block)
613
+ end
614
+
368
615
  # Create a new rollout kind.
369
616
  # @param [String] parent
370
617
  # Required. The parent of the rollout kind.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-saasservicemgmt_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-saasservicemgmt_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-saasservicemgmt_v1beta1/v0.4.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-saasservicemgmt_v1beta1/v0.5.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-saasservicemgmt_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: