Skip to content

Commit e113805

Browse files
feat: Automated regeneration of saasservicemgmt v1beta1 client (#24430)
Auto-created at 2025-09-28 10:19:16 +0000 using the toys pull request generator.
1 parent f490166 commit e113805

File tree

6 files changed

+615
-2
lines changed

6 files changed

+615
-2
lines changed

api_names_out.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335284,6 +335284,12 @@
335284335284
"/saasservicemgmt:v1beta1/ListReleasesResponse/releases/release": release
335285335285
"/saasservicemgmt:v1beta1/ListReleasesResponse/unreachable": unreachable
335286335286
"/saasservicemgmt:v1beta1/ListReleasesResponse/unreachable/unreachable": unreachable
335287+
"/saasservicemgmt:v1beta1/ListReplicationsInternalResponse": list_replications_internal_response
335288+
"/saasservicemgmt:v1beta1/ListReplicationsInternalResponse/nextPageToken": next_page_token
335289+
"/saasservicemgmt:v1beta1/ListReplicationsInternalResponse/replicationsInternal": replications_internal
335290+
"/saasservicemgmt:v1beta1/ListReplicationsInternalResponse/replicationsInternal/replications_internal": replications_internal
335291+
"/saasservicemgmt:v1beta1/ListReplicationsInternalResponse/unreachable": unreachable
335292+
"/saasservicemgmt:v1beta1/ListReplicationsInternalResponse/unreachable/unreachable": unreachable
335287335293
"/saasservicemgmt:v1beta1/ListRolloutKindsResponse": list_rollout_kinds_response
335288335294
"/saasservicemgmt:v1beta1/ListRolloutKindsResponse/nextPageToken": next_page_token
335289335295
"/saasservicemgmt:v1beta1/ListRolloutKindsResponse/rolloutKinds": rollout_kinds
@@ -335356,6 +335362,35 @@
335356335362
"/saasservicemgmt:v1beta1/ReleaseRequirements": release_requirements
335357335363
"/saasservicemgmt:v1beta1/ReleaseRequirements/upgradeableFromReleases": upgradeable_from_releases
335358335364
"/saasservicemgmt:v1beta1/ReleaseRequirements/upgradeableFromReleases/upgradeable_from_release": upgradeable_from_release
335365+
"/saasservicemgmt:v1beta1/ReplicationInternal": replication_internal
335366+
"/saasservicemgmt:v1beta1/ReplicationInternal/annotations": annotations
335367+
"/saasservicemgmt:v1beta1/ReplicationInternal/annotations/annotation": annotation
335368+
"/saasservicemgmt:v1beta1/ReplicationInternal/createTime": create_time
335369+
"/saasservicemgmt:v1beta1/ReplicationInternal/etag": etag
335370+
"/saasservicemgmt:v1beta1/ReplicationInternal/labels": labels
335371+
"/saasservicemgmt:v1beta1/ReplicationInternal/labels/label": label
335372+
"/saasservicemgmt:v1beta1/ReplicationInternal/maxRetryCount": max_retry_count
335373+
"/saasservicemgmt:v1beta1/ReplicationInternal/name": name
335374+
"/saasservicemgmt:v1beta1/ReplicationInternal/payload": payload
335375+
"/saasservicemgmt:v1beta1/ReplicationInternal/payload/payload": payload
335376+
"/saasservicemgmt:v1beta1/ReplicationInternal/state": state
335377+
"/saasservicemgmt:v1beta1/ReplicationInternal/stats": stats
335378+
"/saasservicemgmt:v1beta1/ReplicationInternal/stats/stat": stat
335379+
"/saasservicemgmt:v1beta1/ReplicationInternal/targetLocations": target_locations
335380+
"/saasservicemgmt:v1beta1/ReplicationInternal/targetLocations/target_location": target_location
335381+
"/saasservicemgmt:v1beta1/ReplicationInternal/uid": uid
335382+
"/saasservicemgmt:v1beta1/ReplicationInternal/updateTime": update_time
335383+
"/saasservicemgmt:v1beta1/ReplicationStats": replication_stats
335384+
"/saasservicemgmt:v1beta1/ReplicationStats/errors": errors
335385+
"/saasservicemgmt:v1beta1/ReplicationStats/errors/error": error
335386+
"/saasservicemgmt:v1beta1/ReplicationStats/failedResources": failed_resources
335387+
"/saasservicemgmt:v1beta1/ReplicationStats/failedResources/failed_resource": failed_resource
335388+
"/saasservicemgmt:v1beta1/ReplicationStats/finishedResources": finished_resources
335389+
"/saasservicemgmt:v1beta1/ReplicationStats/finishedResources/finished_resource": finished_resource
335390+
"/saasservicemgmt:v1beta1/ReplicationStats/pendingResources": pending_resources
335391+
"/saasservicemgmt:v1beta1/ReplicationStats/pendingResources/pending_resource": pending_resource
335392+
"/saasservicemgmt:v1beta1/ReplicationStats/retryCount": retry_count
335393+
"/saasservicemgmt:v1beta1/ReplicationStats/retryCount/retry_count": retry_count
335359335394
"/saasservicemgmt:v1beta1/Rollout": rollout
335360335395
"/saasservicemgmt:v1beta1/Rollout/annotations": annotations
335361335396
"/saasservicemgmt:v1beta1/Rollout/annotations/annotation": annotation
@@ -335416,6 +335451,12 @@
335416335451
"/saasservicemgmt:v1beta1/Saas/updateTime": update_time
335417335452
"/saasservicemgmt:v1beta1/Schedule": schedule
335418335453
"/saasservicemgmt:v1beta1/Schedule/startTime": start_time
335454+
"/saasservicemgmt:v1beta1/Status": status
335455+
"/saasservicemgmt:v1beta1/Status/code": code
335456+
"/saasservicemgmt:v1beta1/Status/details": details
335457+
"/saasservicemgmt:v1beta1/Status/details/detail": detail
335458+
"/saasservicemgmt:v1beta1/Status/details/detail/detail": detail
335459+
"/saasservicemgmt:v1beta1/Status/message": message
335419335460
"/saasservicemgmt:v1beta1/Tenant": tenant
335420335461
"/saasservicemgmt:v1beta1/Tenant/annotations": annotations
335421335462
"/saasservicemgmt:v1beta1/Tenant/annotations/annotation": annotation
@@ -335568,6 +335609,30 @@
335568335609
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.releases.patch/requestId": request_id
335569335610
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.releases.patch/updateMask": update_mask
335570335611
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.releases.patch/validateOnly": validate_only
335612+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.create": create_project_location_replications_internal
335613+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.create/parent": parent
335614+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.create/replicationInternalId": replication_internal_id
335615+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.create/requestId": request_id
335616+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.create/validateOnly": validate_only
335617+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.delete": delete_project_location_replications_internal
335618+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.delete/etag": etag
335619+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.delete/name": name
335620+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.delete/requestId": request_id
335621+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.delete/validateOnly": validate_only
335622+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.get": get_project_location_replications_internal
335623+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.get/name": name
335624+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.list": list_project_location_replications_internals
335625+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.list/filter": filter
335626+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.list/orderBy": order_by
335627+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.list/pageSize": page_size
335628+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.list/pageToken": page_token
335629+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.list/parent": parent
335630+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.patch": patch_project_location_replications_internal
335631+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.patch/etag": etag
335632+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.patch/name": name
335633+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.patch/requestId": request_id
335634+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.patch/updateMask": update_mask
335635+
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.replicationsInternal.patch/validateOnly": validate_only
335571335636
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.rolloutKinds.create": create_project_location_rollout_kind
335572335637
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.rolloutKinds.create/parent": parent
335573335638
"/saasservicemgmt:v1beta1/saasservicemgmt.projects.locations.rolloutKinds.create/requestId": request_id

generated/google-apis-saasservicemgmt_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-saasservicemgmt_v1beta1
22

3+
### v0.5.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250917
6+
37
### v0.4.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250910

generated/google-apis-saasservicemgmt_v1beta1/lib/google/apis/saasservicemgmt_v1beta1/classes.rb

Lines changed: 223 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,39 @@ def update!(**args)
299299
end
300300
end
301301

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+
302335
# The response structure for the ListRolloutKinds method.
303336
class ListRolloutKindsResponse
304337
include Google::Apis::Core::Hashable
@@ -729,6 +762,157 @@ def update!(**args)
729762
end
730763
end
731764

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+
732916
# Represents a single rollout execution and its results
733917
class Rollout
734918
include Google::Apis::Core::Hashable
@@ -1180,6 +1364,45 @@ def update!(**args)
11801364
end
11811365
end
11821366

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+
11831406
# Tenant represents the service producer side of an instance of the service
11841407
# created based on a request from a consumer. In a typical scenario a Tenant has
11851408
# a one-to-one mapping with a resource given out to a service consumer. Example:

generated/google-apis-saasservicemgmt_v1beta1/lib/google/apis/saasservicemgmt_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SaasservicemgmtV1beta1
1818
# Version of the google-apis-saasservicemgmt_v1beta1 gem
19-
GEM_VERSION = "0.4.0"
19+
GEM_VERSION = "0.5.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250910"
25+
REVISION = "20250917"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)