google-apis-saasservicemgmt_v1beta1 0.6.0 → 0.7.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/saasservicemgmt_v1beta1/classes.rb +8 -223
- data/lib/google/apis/saasservicemgmt_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/saasservicemgmt_v1beta1/representations.rb +1 -74
- data/lib/google/apis/saasservicemgmt_v1beta1/service.rb +0 -247
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 709a88107c82d15342fe9cbfc2cd024762e761303c30325e5a10a6312a05ea3a
|
|
4
|
+
data.tar.gz: b850c785cc72cf9cfec57ec6d369ec4e0ab8465ee633a78c6ef4906e30c2f80b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d80b08dd6d1de510d45a2bad471e6f5016644e285c79feba95262499a500175b2d729fc1eb32e5805d27548cbfc340e9703fd77f83682c6446ccfa8c269ee5c
|
|
7
|
+
data.tar.gz: e3cb53988579cd832dd8d675227d3823aa1b65242d593fa644c13794fdd08bf2dc23ef5dc2239559861e3353920503102679be1ecb874085ba143a6f0cbeb10e
|
data/CHANGELOG.md
CHANGED
|
@@ -299,39 +299,6 @@ 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
|
-
|
|
335
302
|
# The response structure for the ListRolloutKinds method.
|
|
336
303
|
class ListRolloutKindsResponse
|
|
337
304
|
include Google::Apis::Core::Hashable
|
|
@@ -762,157 +729,6 @@ module Google
|
|
|
762
729
|
end
|
|
763
730
|
end
|
|
764
731
|
|
|
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
|
-
|
|
916
732
|
# Represents a single rollout execution and its results
|
|
917
733
|
class Rollout
|
|
918
734
|
include Google::Apis::Core::Hashable
|
|
@@ -1158,6 +974,13 @@ module Google
|
|
|
1158
974
|
# @return [Hash<String,String>]
|
|
1159
975
|
attr_accessor :labels
|
|
1160
976
|
|
|
977
|
+
# Optional. Value among strict (enforcing maintenance policy and only looking at
|
|
978
|
+
# Units with maintenance policy), ignore (ignoring maintenance policy) and skip (
|
|
979
|
+
# skipping Units with maintenance policy)
|
|
980
|
+
# Corresponds to the JSON property `maintenancePolicyEnforcement`
|
|
981
|
+
# @return [String]
|
|
982
|
+
attr_accessor :maintenance_policy_enforcement
|
|
983
|
+
|
|
1161
984
|
# Identifier. The resource name (full URI of the resource) following the
|
|
1162
985
|
# standard naming scheme: "projects/`project`/locations/`location`/rolloutKinds/`
|
|
1163
986
|
# rollout_kind_id`"
|
|
@@ -1223,6 +1046,7 @@ module Google
|
|
|
1223
1046
|
@error_budget = args[:error_budget] if args.key?(:error_budget)
|
|
1224
1047
|
@etag = args[:etag] if args.key?(:etag)
|
|
1225
1048
|
@labels = args[:labels] if args.key?(:labels)
|
|
1049
|
+
@maintenance_policy_enforcement = args[:maintenance_policy_enforcement] if args.key?(:maintenance_policy_enforcement)
|
|
1226
1050
|
@name = args[:name] if args.key?(:name)
|
|
1227
1051
|
@rollout_orchestration_strategy = args[:rollout_orchestration_strategy] if args.key?(:rollout_orchestration_strategy)
|
|
1228
1052
|
@uid = args[:uid] if args.key?(:uid)
|
|
@@ -1375,45 +1199,6 @@ module Google
|
|
|
1375
1199
|
end
|
|
1376
1200
|
end
|
|
1377
1201
|
|
|
1378
|
-
# The `Status` type defines a logical error model that is suitable for different
|
|
1379
|
-
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1380
|
-
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1381
|
-
# data: error code, error message, and error details. You can find out more
|
|
1382
|
-
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1383
|
-
# //cloud.google.com/apis/design/errors).
|
|
1384
|
-
class Status
|
|
1385
|
-
include Google::Apis::Core::Hashable
|
|
1386
|
-
|
|
1387
|
-
# The status code, which should be an enum value of google.rpc.Code.
|
|
1388
|
-
# Corresponds to the JSON property `code`
|
|
1389
|
-
# @return [Fixnum]
|
|
1390
|
-
attr_accessor :code
|
|
1391
|
-
|
|
1392
|
-
# A list of messages that carry the error details. There is a common set of
|
|
1393
|
-
# message types for APIs to use.
|
|
1394
|
-
# Corresponds to the JSON property `details`
|
|
1395
|
-
# @return [Array<Hash<String,Object>>]
|
|
1396
|
-
attr_accessor :details
|
|
1397
|
-
|
|
1398
|
-
# A developer-facing error message, which should be in English. Any user-facing
|
|
1399
|
-
# error message should be localized and sent in the google.rpc.Status.details
|
|
1400
|
-
# field, or localized by the client.
|
|
1401
|
-
# Corresponds to the JSON property `message`
|
|
1402
|
-
# @return [String]
|
|
1403
|
-
attr_accessor :message
|
|
1404
|
-
|
|
1405
|
-
def initialize(**args)
|
|
1406
|
-
update!(**args)
|
|
1407
|
-
end
|
|
1408
|
-
|
|
1409
|
-
# Update properties of this object
|
|
1410
|
-
def update!(**args)
|
|
1411
|
-
@code = args[:code] if args.key?(:code)
|
|
1412
|
-
@details = args[:details] if args.key?(:details)
|
|
1413
|
-
@message = args[:message] if args.key?(:message)
|
|
1414
|
-
end
|
|
1415
|
-
end
|
|
1416
|
-
|
|
1417
1202
|
# Tenant represents the service producer side of an instance of the service
|
|
1418
1203
|
# created based on a request from a consumer. In a typical scenario a Tenant has
|
|
1419
1204
|
# 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.
|
|
19
|
+
GEM_VERSION = "0.7.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 = "
|
|
25
|
+
REVISION = "20251207"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -82,12 +82,6 @@ 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
|
-
|
|
91
85
|
class ListRolloutKindsResponse
|
|
92
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
87
|
|
|
@@ -160,18 +154,6 @@ module Google
|
|
|
160
154
|
include Google::Apis::Core::JsonObjectSupport
|
|
161
155
|
end
|
|
162
156
|
|
|
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
|
-
|
|
175
157
|
class Rollout
|
|
176
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
159
|
|
|
@@ -214,12 +196,6 @@ module Google
|
|
|
214
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
197
|
end
|
|
216
198
|
|
|
217
|
-
class Status
|
|
218
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
-
|
|
220
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
-
end
|
|
222
|
-
|
|
223
199
|
class Tenant
|
|
224
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
201
|
|
|
@@ -369,16 +345,6 @@ module Google
|
|
|
369
345
|
end
|
|
370
346
|
end
|
|
371
347
|
|
|
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
|
-
|
|
382
348
|
class ListRolloutKindsResponse
|
|
383
349
|
# @private
|
|
384
350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -503,37 +469,6 @@ module Google
|
|
|
503
469
|
end
|
|
504
470
|
end
|
|
505
471
|
|
|
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
|
-
|
|
537
472
|
class Rollout
|
|
538
473
|
# @private
|
|
539
474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -581,6 +516,7 @@ module Google
|
|
|
581
516
|
|
|
582
517
|
property :etag, as: 'etag'
|
|
583
518
|
hash :labels, as: 'labels'
|
|
519
|
+
property :maintenance_policy_enforcement, as: 'maintenancePolicyEnforcement'
|
|
584
520
|
property :name, as: 'name'
|
|
585
521
|
property :rollout_orchestration_strategy, as: 'rolloutOrchestrationStrategy'
|
|
586
522
|
property :uid, as: 'uid'
|
|
@@ -628,15 +564,6 @@ module Google
|
|
|
628
564
|
end
|
|
629
565
|
end
|
|
630
566
|
|
|
631
|
-
class Status
|
|
632
|
-
# @private
|
|
633
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
634
|
-
property :code, as: 'code'
|
|
635
|
-
collection :details, as: 'details'
|
|
636
|
-
property :message, as: 'message'
|
|
637
|
-
end
|
|
638
|
-
end
|
|
639
|
-
|
|
640
567
|
class Tenant
|
|
641
568
|
# @private
|
|
642
569
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -365,253 +365,6 @@ 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
|
-
|
|
615
368
|
# Create a new rollout kind.
|
|
616
369
|
# @param [String] parent
|
|
617
370
|
# 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
|
+
version: 0.7.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-saasservicemgmt_v1beta1/v0.7.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:
|