google-apis-saasservicemgmt_v1 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: d31dcb99efbaac8021018d2081638a5303866ca1dc276cd76381fd704fd77696
4
- data.tar.gz: 907623926f18eb128f37674279d01bda63b9b31e1106876555810c1dedf93f6c
3
+ metadata.gz: d5408ef07ca8fc88e07fbebceedcc4eb9d5c900bff29e17013e3af4abcd70a85
4
+ data.tar.gz: 52175c53a0179dd21ae99b638251ae8fb685167c31eb8435572b345d77912d0a
5
5
  SHA512:
6
- metadata.gz: 538ed4a5e538fd64a5ecdd9eb16aea44c9ad855fbe865d34c9d23b582c188323430c80050d9006ba616662ee0c5447b29c698838083da44984a3da6383b10489
7
- data.tar.gz: ab7d1ece40e9e27ff38cb1833f69bf7e68990ee254b48067d5145f23ab4fe625e0e6d729567d8a4a0c0e8a4c3e3f4c6f468a5ec740252d8146b85bc91269cd9c
6
+ metadata.gz: c5f08d4d6d8dbd65f7810fef04062e51b71a5145cb911dbbbbdd8d69b28faa0f0eea03cdfd0154dcea1f2fcaa3d08db6a4665e09ea51431d4db28e2c29a2304e
7
+ data.tar.gz: 439d822342d5a514974c4d7616d68283adec776183cad6744b40c3f02b57fc15dfa015dc05608d2da30d0ff9806b02fa5cdd0b72f40ecc2d887f7e7dad394fd1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-saasservicemgmt_v1
2
2
 
3
+ ### v0.5.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260603
6
+ * Regenerated using generator version 0.19.0
7
+
3
8
  ### v0.4.0 (2026-05-17)
4
9
 
5
10
  * Regenerated from discovery document revision 20260505
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/saas-runtime/docs) may prov
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -86,6 +86,62 @@ module Google
86
86
  end
87
87
  end
88
88
 
89
+ # A representation of a decimal value, such as 2.5. Clients may convert values
90
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
91
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
92
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
93
+ class Decimal
94
+ include Google::Apis::Core::Hashable
95
+
96
+ # The decimal value, as a string. The string representation consists of an
97
+ # optional sign, `+` (`U+002B`) or `-` (`U+002D`), followed by a sequence of
98
+ # zero or more decimal digits ("the integer"), optionally followed by a fraction,
99
+ # optionally followed by an exponent. An empty string **should** be interpreted
100
+ # as `0`. The fraction consists of a decimal point followed by zero or more
101
+ # decimal digits. The string must contain at least one digit in either the
102
+ # integer or the fraction. The number formed by the sign, the integer and the
103
+ # fraction is referred to as the significand. The exponent consists of the
104
+ # character `e` (`U+0065`) or `E` (`U+0045`) followed by one or more decimal
105
+ # digits. Services **should** normalize decimal values before storing them by: -
106
+ # Removing an explicitly-provided `+` sign (`+2.5` -> `2.5`). - Replacing a zero-
107
+ # length integer value with `0` (`.5` -> `0.5`). - Coercing the exponent
108
+ # character to upper-case, with explicit sign (`2.5e8` -> `2.5E+8`). - Removing
109
+ # an explicitly-provided zero exponent (`2.5E0` -> `2.5`). Services **may**
110
+ # perform additional normalization based on its own needs and the internal
111
+ # decimal implementation selected, such as shifting the decimal point and
112
+ # exponent value together (example: `2.5E-1` <-> `0.25`). Additionally, services
113
+ # **may** preserve trailing zeroes in the fraction to indicate increased
114
+ # precision, but are not required to do so. Note that only the `.` character is
115
+ # supported to divide the integer and the fraction; `,` **should not** be
116
+ # supported regardless of locale. Additionally, thousand separators **should not*
117
+ # * be supported. If a service does support them, values **must** be normalized.
118
+ # The ENBF grammar is: DecimalString = '' | [Sign] Significand [Exponent]; Sign =
119
+ # '+' | '-'; Significand = Digits '.' | [Digits] '.' Digits; Exponent = ('e' | '
120
+ # E') [Sign] Digits; Digits = ` '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '
121
+ # 8' | '9' `; Services **should** clearly document the range of supported values,
122
+ # the maximum supported precision (total number of digits), and, if applicable,
123
+ # the scale (number of digits after the decimal point), as well as how it
124
+ # behaves when receiving out-of-bounds values. Services **may** choose to accept
125
+ # values passed as input even when the value has a higher precision or scale
126
+ # than the service supports, and **should** round the value to fit the supported
127
+ # scale. Alternatively, the service **may** error with `400 Bad Request` (`
128
+ # INVALID_ARGUMENT` in gRPC) if precision would be lost. Services **should**
129
+ # error with `400 Bad Request` (`INVALID_ARGUMENT` in gRPC) if the service
130
+ # receives a value outside of the supported range.
131
+ # Corresponds to the JSON property `value`
132
+ # @return [String]
133
+ attr_accessor :value
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ @value = args[:value] if args.key?(:value)
142
+ end
143
+ end
144
+
89
145
  # Dependency represent a single dependency with another unit kind by alias.
90
146
  class Dependency
91
147
  include Google::Apis::Core::Hashable
@@ -382,6 +438,38 @@ module Google
382
438
  end
383
439
  end
384
440
 
441
+ # The response structure for the ListSaasReleases method.
442
+ class ListSaasReleasesResponse
443
+ include Google::Apis::Core::Hashable
444
+
445
+ # If present, the next page token can be provided to a subsequent
446
+ # ListSaasReleases call to list the next page. If empty, there are no more pages.
447
+ # Corresponds to the JSON property `nextPageToken`
448
+ # @return [String]
449
+ attr_accessor :next_page_token
450
+
451
+ # The resulting saas releases.
452
+ # Corresponds to the JSON property `saasReleases`
453
+ # @return [Array<Google::Apis::SaasservicemgmtV1::SaasRelease>]
454
+ attr_accessor :saas_releases
455
+
456
+ # Locations that could not be reached.
457
+ # Corresponds to the JSON property `unreachable`
458
+ # @return [Array<String>]
459
+ attr_accessor :unreachable
460
+
461
+ def initialize(**args)
462
+ update!(**args)
463
+ end
464
+
465
+ # Update properties of this object
466
+ def update!(**args)
467
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
468
+ @saas_releases = args[:saas_releases] if args.key?(:saas_releases)
469
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
470
+ end
471
+ end
472
+
385
473
  # The response structure for the ListSaas method.
386
474
  class ListSaasResponse
387
475
  include Google::Apis::Core::Hashable
@@ -446,6 +534,71 @@ module Google
446
534
  end
447
535
  end
448
536
 
537
+ # The response structure for the ListUnitGroupOperations method.
538
+ class ListUnitGroupOperationsResponse
539
+ include Google::Apis::Core::Hashable
540
+
541
+ # If present, the next page token can be provided to a subsequent
542
+ # ListUnitGroupOperations call to list the next page. If empty, there are no
543
+ # more pages.
544
+ # Corresponds to the JSON property `nextPageToken`
545
+ # @return [String]
546
+ attr_accessor :next_page_token
547
+
548
+ # The resulting unit group operations.
549
+ # Corresponds to the JSON property `unitGroupOperations`
550
+ # @return [Array<Google::Apis::SaasservicemgmtV1::UnitGroupOperation>]
551
+ attr_accessor :unit_group_operations
552
+
553
+ # Locations that could not be reached.
554
+ # Corresponds to the JSON property `unreachable`
555
+ # @return [Array<String>]
556
+ attr_accessor :unreachable
557
+
558
+ def initialize(**args)
559
+ update!(**args)
560
+ end
561
+
562
+ # Update properties of this object
563
+ def update!(**args)
564
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
565
+ @unit_group_operations = args[:unit_group_operations] if args.key?(:unit_group_operations)
566
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
567
+ end
568
+ end
569
+
570
+ # The response structure for the ListUnitGroups method.
571
+ class ListUnitGroupsResponse
572
+ include Google::Apis::Core::Hashable
573
+
574
+ # If present, the next page token can be provided to a subsequent ListUnitGroups
575
+ # call to list the next page. If empty, there are no more pages.
576
+ # Corresponds to the JSON property `nextPageToken`
577
+ # @return [String]
578
+ attr_accessor :next_page_token
579
+
580
+ # The resulting unit groups.
581
+ # Corresponds to the JSON property `unitGroups`
582
+ # @return [Array<Google::Apis::SaasservicemgmtV1::UnitGroup>]
583
+ attr_accessor :unit_groups
584
+
585
+ # Locations that could not be reached.
586
+ # Corresponds to the JSON property `unreachable`
587
+ # @return [Array<String>]
588
+ attr_accessor :unreachable
589
+
590
+ def initialize(**args)
591
+ update!(**args)
592
+ end
593
+
594
+ # Update properties of this object
595
+ def update!(**args)
596
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
597
+ @unit_groups = args[:unit_groups] if args.key?(:unit_groups)
598
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
599
+ end
600
+ end
601
+
449
602
  # The response structure for the ListUnitKinds method.
450
603
  class ListUnitKindsResponse
451
604
  include Google::Apis::Core::Hashable
@@ -1050,6 +1203,12 @@ module Google
1050
1203
  # @return [String]
1051
1204
  attr_accessor :unit_kind
1052
1205
 
1206
+ # UnitUpdatePacing defines the policy for the maximum number of unit operations
1207
+ # that can run for a rollout in parallel in a single region.
1208
+ # Corresponds to the JSON property `unitUpdatePacing`
1209
+ # @return [Google::Apis::SaasservicemgmtV1::UnitUpdatePacing]
1210
+ attr_accessor :unit_update_pacing
1211
+
1053
1212
  # Output only. The timestamp when the resource was last updated. Any change to
1054
1213
  # the resource made by users must refresh this value. Changes to a resource made
1055
1214
  # by the service should refresh this value.
@@ -1079,6 +1238,7 @@ module Google
1079
1238
  @uid = args[:uid] if args.key?(:uid)
1080
1239
  @unit_filter = args[:unit_filter] if args.key?(:unit_filter)
1081
1240
  @unit_kind = args[:unit_kind] if args.key?(:unit_kind)
1241
+ @unit_update_pacing = args[:unit_update_pacing] if args.key?(:unit_update_pacing)
1082
1242
  @update_time = args[:update_time] if args.key?(:update_time)
1083
1243
  @update_unit_kind_strategy = args[:update_unit_kind_strategy] if args.key?(:update_unit_kind_strategy)
1084
1244
  end
@@ -1196,7 +1356,7 @@ module Google
1196
1356
  # @return [String]
1197
1357
  attr_accessor :name
1198
1358
 
1199
- # Output only. State of the Saas. It is always in ACTIVE state if the
1359
+ # Output only. State of the Saas. It is always in STATE_ACTIVE state if the
1200
1360
  # application_template is empty.
1201
1361
  # Corresponds to the JSON property `state`
1202
1362
  # @return [String]
@@ -1281,6 +1441,77 @@ module Google
1281
1441
  end
1282
1442
  end
1283
1443
 
1444
+ # SaasRelease is a collection of Releases that are assigned to a UnitGroup. It
1445
+ # allows provisioning and updates of UnitGroup, which contains multiple Units of
1446
+ # different UnitKinds.
1447
+ class SaasRelease
1448
+ include Google::Apis::Core::Hashable
1449
+
1450
+ # Optional. Annotations is an unstructured key-value map stored with a resource
1451
+ # that may be set by external tools to store and retrieve arbitrary metadata.
1452
+ # They are not queryable and should be preserved when modifying objects. More
1453
+ # info: https://kubernetes.io/docs/user-guide/annotations
1454
+ # Corresponds to the JSON property `annotations`
1455
+ # @return [Hash<String,String>]
1456
+ attr_accessor :annotations
1457
+
1458
+ # Output only. The timestamp when the resource was created.
1459
+ # Corresponds to the JSON property `createTime`
1460
+ # @return [String]
1461
+ attr_accessor :create_time
1462
+
1463
+ # Output only. An opaque value that uniquely identifies a version or generation
1464
+ # of a resource. It can be used to confirm that the client and server agree on
1465
+ # the ordering of a resource being written.
1466
+ # Corresponds to the JSON property `etag`
1467
+ # @return [String]
1468
+ attr_accessor :etag
1469
+
1470
+ # Optional. The labels on the resource, which can be used for categorization.
1471
+ # similar to Kubernetes resource labels.
1472
+ # Corresponds to the JSON property `labels`
1473
+ # @return [Hash<String,String>]
1474
+ attr_accessor :labels
1475
+
1476
+ # Identifier. The resource name (full URI of the resource) following the
1477
+ # standard naming scheme: "projects/`project`/locations/`location`/saasReleases/`
1478
+ # saasRelease`"
1479
+ # Corresponds to the JSON property `name`
1480
+ # @return [String]
1481
+ attr_accessor :name
1482
+
1483
+ # Output only. The unique identifier of the resource. UID is unique in the time
1484
+ # and space for this resource within the scope of the service. It is typically
1485
+ # generated by the server on successful creation of a resource and must not be
1486
+ # changed. UID is used to uniquely identify resources with resource name reuses.
1487
+ # This should be a UUID4.
1488
+ # Corresponds to the JSON property `uid`
1489
+ # @return [String]
1490
+ attr_accessor :uid
1491
+
1492
+ # Output only. The timestamp when the resource was last updated. Any change to
1493
+ # the resource made by users must refresh this value. Changes to a resource made
1494
+ # by the service should refresh this value.
1495
+ # Corresponds to the JSON property `updateTime`
1496
+ # @return [String]
1497
+ attr_accessor :update_time
1498
+
1499
+ def initialize(**args)
1500
+ update!(**args)
1501
+ end
1502
+
1503
+ # Update properties of this object
1504
+ def update!(**args)
1505
+ @annotations = args[:annotations] if args.key?(:annotations)
1506
+ @create_time = args[:create_time] if args.key?(:create_time)
1507
+ @etag = args[:etag] if args.key?(:etag)
1508
+ @labels = args[:labels] if args.key?(:labels)
1509
+ @name = args[:name] if args.key?(:name)
1510
+ @uid = args[:uid] if args.key?(:uid)
1511
+ @update_time = args[:update_time] if args.key?(:update_time)
1512
+ end
1513
+ end
1514
+
1284
1515
  # A time specification to schedule the maintenance.
1285
1516
  class Schedule
1286
1517
  include Google::Apis::Core::Hashable
@@ -1621,6 +1852,11 @@ module Google
1621
1852
  # @return [String]
1622
1853
  attr_accessor :uid
1623
1854
 
1855
+ # Optional. Output only. Reference to the UnitGroup this unit belongs to.
1856
+ # Corresponds to the JSON property `unitGroup`
1857
+ # @return [String]
1858
+ attr_accessor :unit_group
1859
+
1624
1860
  # Optional. Reference to the UnitKind this Unit belongs to. Immutable once set.
1625
1861
  # Corresponds to the JSON property `unitKind`
1626
1862
  # @return [String]
@@ -1663,6 +1899,7 @@ module Google
1663
1899
  @system_managed_state = args[:system_managed_state] if args.key?(:system_managed_state)
1664
1900
  @tenant = args[:tenant] if args.key?(:tenant)
1665
1901
  @uid = args[:uid] if args.key?(:uid)
1902
+ @unit_group = args[:unit_group] if args.key?(:unit_group)
1666
1903
  @unit_kind = args[:unit_kind] if args.key?(:unit_kind)
1667
1904
  @update_time = args[:update_time] if args.key?(:update_time)
1668
1905
  end
@@ -1737,6 +1974,146 @@ module Google
1737
1974
  end
1738
1975
  end
1739
1976
 
1977
+ # UnitGroup represents a set of Units to be used by a Tenant. In pooling
1978
+ # scenarios, the UnitGroup may be created and provisioned before the Tenant is
1979
+ # created.
1980
+ class UnitGroup
1981
+ include Google::Apis::Core::Hashable
1982
+
1983
+ # Optional. Annotations is an unstructured key-value map stored with a resource
1984
+ # that may be set by external tools to store and retrieve arbitrary metadata.
1985
+ # They are not queryable and should be preserved when modifying objects. More
1986
+ # info: https://kubernetes.io/docs/user-guide/annotations
1987
+ # Corresponds to the JSON property `annotations`
1988
+ # @return [Hash<String,String>]
1989
+ attr_accessor :annotations
1990
+
1991
+ # Output only. The timestamp when the resource was created.
1992
+ # Corresponds to the JSON property `createTime`
1993
+ # @return [String]
1994
+ attr_accessor :create_time
1995
+
1996
+ # Output only. An opaque value that uniquely identifies a version or generation
1997
+ # of a resource. It can be used to confirm that the client and server agree on
1998
+ # the ordering of a resource being written.
1999
+ # Corresponds to the JSON property `etag`
2000
+ # @return [String]
2001
+ attr_accessor :etag
2002
+
2003
+ # Optional. The labels on the resource, which can be used for categorization.
2004
+ # similar to Kubernetes resource labels.
2005
+ # Corresponds to the JSON property `labels`
2006
+ # @return [Hash<String,String>]
2007
+ attr_accessor :labels
2008
+
2009
+ # Identifier. The resource name (full URI of the resource) following the
2010
+ # standard naming scheme: "projects/`project`/locations/`location`/unitGroups/`
2011
+ # unitGroup`"
2012
+ # Corresponds to the JSON property `name`
2013
+ # @return [String]
2014
+ attr_accessor :name
2015
+
2016
+ # Output only. The unique identifier of the resource. UID is unique in the time
2017
+ # and space for this resource within the scope of the service. It is typically
2018
+ # generated by the server on successful creation of a resource and must not be
2019
+ # changed. UID is used to uniquely identify resources with resource name reuses.
2020
+ # This should be a UUID4.
2021
+ # Corresponds to the JSON property `uid`
2022
+ # @return [String]
2023
+ attr_accessor :uid
2024
+
2025
+ # Output only. The timestamp when the resource was last updated. Any change to
2026
+ # the resource made by users must refresh this value. Changes to a resource made
2027
+ # by the service should refresh this value.
2028
+ # Corresponds to the JSON property `updateTime`
2029
+ # @return [String]
2030
+ attr_accessor :update_time
2031
+
2032
+ def initialize(**args)
2033
+ update!(**args)
2034
+ end
2035
+
2036
+ # Update properties of this object
2037
+ def update!(**args)
2038
+ @annotations = args[:annotations] if args.key?(:annotations)
2039
+ @create_time = args[:create_time] if args.key?(:create_time)
2040
+ @etag = args[:etag] if args.key?(:etag)
2041
+ @labels = args[:labels] if args.key?(:labels)
2042
+ @name = args[:name] if args.key?(:name)
2043
+ @uid = args[:uid] if args.key?(:uid)
2044
+ @update_time = args[:update_time] if args.key?(:update_time)
2045
+ end
2046
+ end
2047
+
2048
+ # UnitGroupOperation represents an operation on a UnitGroup.
2049
+ class UnitGroupOperation
2050
+ include Google::Apis::Core::Hashable
2051
+
2052
+ # Optional. Annotations is an unstructured key-value map stored with a resource
2053
+ # that may be set by external tools to store and retrieve arbitrary metadata.
2054
+ # They are not queryable and should be preserved when modifying objects. More
2055
+ # info: https://kubernetes.io/docs/user-guide/annotations
2056
+ # Corresponds to the JSON property `annotations`
2057
+ # @return [Hash<String,String>]
2058
+ attr_accessor :annotations
2059
+
2060
+ # Output only. The timestamp when the resource was created.
2061
+ # Corresponds to the JSON property `createTime`
2062
+ # @return [String]
2063
+ attr_accessor :create_time
2064
+
2065
+ # Output only. An opaque value that uniquely identifies a version or generation
2066
+ # of a resource. It can be used to confirm that the client and server agree on
2067
+ # the ordering of a resource being written.
2068
+ # Corresponds to the JSON property `etag`
2069
+ # @return [String]
2070
+ attr_accessor :etag
2071
+
2072
+ # Optional. The labels on the resource, which can be used for categorization.
2073
+ # similar to Kubernetes resource labels.
2074
+ # Corresponds to the JSON property `labels`
2075
+ # @return [Hash<String,String>]
2076
+ attr_accessor :labels
2077
+
2078
+ # Identifier. The resource name (full URI of the resource) following the
2079
+ # standard naming scheme: "projects/`project`/locations/`location`/
2080
+ # unitGroupOperations/`unitGroupOperation`"
2081
+ # Corresponds to the JSON property `name`
2082
+ # @return [String]
2083
+ attr_accessor :name
2084
+
2085
+ # Output only. The unique identifier of the resource. UID is unique in the time
2086
+ # and space for this resource within the scope of the service. It is typically
2087
+ # generated by the server on successful creation of a resource and must not be
2088
+ # changed. UID is used to uniquely identify resources with resource name reuses.
2089
+ # This should be a UUID4.
2090
+ # Corresponds to the JSON property `uid`
2091
+ # @return [String]
2092
+ attr_accessor :uid
2093
+
2094
+ # Output only. The timestamp when the resource was last updated. Any change to
2095
+ # the resource made by users must refresh this value. Changes to a resource made
2096
+ # by the service should refresh this value.
2097
+ # Corresponds to the JSON property `updateTime`
2098
+ # @return [String]
2099
+ attr_accessor :update_time
2100
+
2101
+ def initialize(**args)
2102
+ update!(**args)
2103
+ end
2104
+
2105
+ # Update properties of this object
2106
+ def update!(**args)
2107
+ @annotations = args[:annotations] if args.key?(:annotations)
2108
+ @create_time = args[:create_time] if args.key?(:create_time)
2109
+ @etag = args[:etag] if args.key?(:etag)
2110
+ @labels = args[:labels] if args.key?(:labels)
2111
+ @name = args[:name] if args.key?(:name)
2112
+ @uid = args[:uid] if args.key?(:uid)
2113
+ @update_time = args[:update_time] if args.key?(:update_time)
2114
+ end
2115
+ end
2116
+
1740
2117
  # Definition of a Unit. Units belonging to the same UnitKind are managed
1741
2118
  # together; for example they follow the same release model (blueprints, versions
1742
2119
  # etc.) and are typically rolled out together.
@@ -1751,6 +2128,12 @@ module Google
1751
2128
  # @return [Hash<String,String>]
1752
2129
  attr_accessor :annotations
1753
2130
 
2131
+ # Optional. Output only. BoundaryType describes the type of boundary the Unit
2132
+ # Kind represents.
2133
+ # Corresponds to the JSON property `boundaryType`
2134
+ # @return [String]
2135
+ attr_accessor :boundary_type
2136
+
1754
2137
  # Output only. The timestamp when the resource was created.
1755
2138
  # Corresponds to the JSON property `createTime`
1756
2139
  # @return [String]
@@ -1838,6 +2221,7 @@ module Google
1838
2221
  # Update properties of this object
1839
2222
  def update!(**args)
1840
2223
  @annotations = args[:annotations] if args.key?(:annotations)
2224
+ @boundary_type = args[:boundary_type] if args.key?(:boundary_type)
1841
2225
  @create_time = args[:create_time] if args.key?(:create_time)
1842
2226
  @default_flag_revisions = args[:default_flag_revisions] if args.key?(:default_flag_revisions)
1843
2227
  @default_release = args[:default_release] if args.key?(:default_release)
@@ -2074,6 +2458,36 @@ module Google
2074
2458
  end
2075
2459
  end
2076
2460
 
2461
+ # UnitUpdatePacing defines the policy for the maximum number of unit operations
2462
+ # that can run for a rollout in parallel in a single region.
2463
+ class UnitUpdatePacing
2464
+ include Google::Apis::Core::Hashable
2465
+
2466
+ # Optional. An absolute cap on concurrent units operations. If both percent and
2467
+ # count are provided, the system uses the MINIMUM (most restrictive).
2468
+ # Corresponds to the JSON property `maxConcurrentOperationsCount`
2469
+ # @return [Fixnum]
2470
+ attr_accessor :max_concurrent_operations_count
2471
+
2472
+ # A representation of a decimal value, such as 2.5. Clients may convert values
2473
+ # into language-native decimal formats, such as Java's [BigDecimal](https://docs.
2474
+ # oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html) or
2475
+ # Python's [decimal.Decimal](https://docs.python.org/3/library/decimal.html).
2476
+ # Corresponds to the JSON property `maxConcurrentOperationsPercent`
2477
+ # @return [Google::Apis::SaasservicemgmtV1::Decimal]
2478
+ attr_accessor :max_concurrent_operations_percent
2479
+
2480
+ def initialize(**args)
2481
+ update!(**args)
2482
+ end
2483
+
2484
+ # Update properties of this object
2485
+ def update!(**args)
2486
+ @max_concurrent_operations_count = args[:max_concurrent_operations_count] if args.key?(:max_concurrent_operations_count)
2487
+ @max_concurrent_operations_percent = args[:max_concurrent_operations_percent] if args.key?(:max_concurrent_operations_percent)
2488
+ end
2489
+ end
2490
+
2077
2491
  # UnitVariable describes a parameter for a Unit.
2078
2492
  class UnitVariable
2079
2493
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SaasservicemgmtV1
18
18
  # Version of the google-apis-saasservicemgmt_v1 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
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260505"
25
+ REVISION = "20260603"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class Decimal
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Dependency
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -100,6 +106,12 @@ module Google
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class ListSaasReleasesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class ListSaasResponse
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -112,6 +124,18 @@ module Google
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class ListUnitGroupOperationsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListUnitGroupsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
115
139
  class ListUnitKindsResponse
116
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
141
 
@@ -202,6 +226,12 @@ module Google
202
226
  include Google::Apis::Core::JsonObjectSupport
203
227
  end
204
228
 
229
+ class SaasRelease
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
205
235
  class Schedule
206
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
237
 
@@ -244,6 +274,18 @@ module Google
244
274
  include Google::Apis::Core::JsonObjectSupport
245
275
  end
246
276
 
277
+ class UnitGroup
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class UnitGroupOperation
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
247
289
  class UnitKind
248
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
291
 
@@ -262,6 +304,12 @@ module Google
262
304
  include Google::Apis::Core::JsonObjectSupport
263
305
  end
264
306
 
307
+ class UnitUpdatePacing
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
265
313
  class UnitVariable
266
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
315
 
@@ -297,6 +345,13 @@ module Google
297
345
  end
298
346
  end
299
347
 
348
+ class Decimal
349
+ # @private
350
+ class Representation < Google::Apis::Core::JsonRepresentation
351
+ property :value, as: 'value'
352
+ end
353
+ end
354
+
300
355
  class Dependency
301
356
  # @private
302
357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -390,6 +445,16 @@ module Google
390
445
  end
391
446
  end
392
447
 
448
+ class ListSaasReleasesResponse
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :next_page_token, as: 'nextPageToken'
452
+ collection :saas_releases, as: 'saasReleases', class: Google::Apis::SaasservicemgmtV1::SaasRelease, decorator: Google::Apis::SaasservicemgmtV1::SaasRelease::Representation
453
+
454
+ collection :unreachable, as: 'unreachable'
455
+ end
456
+ end
457
+
393
458
  class ListSaasResponse
394
459
  # @private
395
460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -410,6 +475,26 @@ module Google
410
475
  end
411
476
  end
412
477
 
478
+ class ListUnitGroupOperationsResponse
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :next_page_token, as: 'nextPageToken'
482
+ collection :unit_group_operations, as: 'unitGroupOperations', class: Google::Apis::SaasservicemgmtV1::UnitGroupOperation, decorator: Google::Apis::SaasservicemgmtV1::UnitGroupOperation::Representation
483
+
484
+ collection :unreachable, as: 'unreachable'
485
+ end
486
+ end
487
+
488
+ class ListUnitGroupsResponse
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :next_page_token, as: 'nextPageToken'
492
+ collection :unit_groups, as: 'unitGroups', class: Google::Apis::SaasservicemgmtV1::UnitGroup, decorator: Google::Apis::SaasservicemgmtV1::UnitGroup::Representation
493
+
494
+ collection :unreachable, as: 'unreachable'
495
+ end
496
+ end
497
+
413
498
  class ListUnitKindsResponse
414
499
  # @private
415
500
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -548,6 +633,8 @@ module Google
548
633
  property :uid, as: 'uid'
549
634
  property :unit_filter, as: 'unitFilter'
550
635
  property :unit_kind, as: 'unitKind'
636
+ property :unit_update_pacing, as: 'unitUpdatePacing', class: Google::Apis::SaasservicemgmtV1::UnitUpdatePacing, decorator: Google::Apis::SaasservicemgmtV1::UnitUpdatePacing::Representation
637
+
551
638
  property :update_time, as: 'updateTime'
552
639
  property :update_unit_kind_strategy, as: 'updateUnitKindStrategy'
553
640
  end
@@ -600,6 +687,19 @@ module Google
600
687
  end
601
688
  end
602
689
 
690
+ class SaasRelease
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ hash :annotations, as: 'annotations'
694
+ property :create_time, as: 'createTime'
695
+ property :etag, as: 'etag'
696
+ hash :labels, as: 'labels'
697
+ property :name, as: 'name'
698
+ property :uid, as: 'uid'
699
+ property :update_time, as: 'updateTime'
700
+ end
701
+ end
702
+
603
703
  class Schedule
604
704
  # @private
605
705
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -673,6 +773,7 @@ module Google
673
773
  property :system_managed_state, as: 'systemManagedState'
674
774
  property :tenant, as: 'tenant'
675
775
  property :uid, as: 'uid'
776
+ property :unit_group, as: 'unitGroup'
676
777
  property :unit_kind, as: 'unitKind'
677
778
  property :update_time, as: 'updateTime'
678
779
  end
@@ -697,10 +798,37 @@ module Google
697
798
  end
698
799
  end
699
800
 
801
+ class UnitGroup
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ hash :annotations, as: 'annotations'
805
+ property :create_time, as: 'createTime'
806
+ property :etag, as: 'etag'
807
+ hash :labels, as: 'labels'
808
+ property :name, as: 'name'
809
+ property :uid, as: 'uid'
810
+ property :update_time, as: 'updateTime'
811
+ end
812
+ end
813
+
814
+ class UnitGroupOperation
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ hash :annotations, as: 'annotations'
818
+ property :create_time, as: 'createTime'
819
+ property :etag, as: 'etag'
820
+ hash :labels, as: 'labels'
821
+ property :name, as: 'name'
822
+ property :uid, as: 'uid'
823
+ property :update_time, as: 'updateTime'
824
+ end
825
+ end
826
+
700
827
  class UnitKind
701
828
  # @private
702
829
  class Representation < Google::Apis::Core::JsonRepresentation
703
830
  hash :annotations, as: 'annotations'
831
+ property :boundary_type, as: 'boundaryType'
704
832
  property :create_time, as: 'createTime'
705
833
  collection :default_flag_revisions, as: 'defaultFlagRevisions'
706
834
  property :default_release, as: 'defaultRelease'
@@ -763,6 +891,15 @@ module Google
763
891
  end
764
892
  end
765
893
 
894
+ class UnitUpdatePacing
895
+ # @private
896
+ class Representation < Google::Apis::Core::JsonRepresentation
897
+ property :max_concurrent_operations_count, as: 'maxConcurrentOperationsCount'
898
+ property :max_concurrent_operations_percent, as: 'maxConcurrentOperationsPercent', class: Google::Apis::SaasservicemgmtV1::Decimal, decorator: Google::Apis::SaasservicemgmtV1::Decimal::Representation
899
+
900
+ end
901
+ end
902
+
766
903
  class UnitVariable
767
904
  # @private
768
905
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1084,6 +1084,162 @@ module Google
1084
1084
  execute_or_queue_command(command, &block)
1085
1085
  end
1086
1086
 
1087
+ # Create a new saas release.
1088
+ # @param [String] parent
1089
+ # Required. The parent of the saas release.
1090
+ # @param [Google::Apis::SaasservicemgmtV1::SaasRelease] saas_release_object
1091
+ # @param [String] request_id
1092
+ # An optional request ID to identify requests.
1093
+ # @param [String] saas_release_id
1094
+ # Required. The ID value for the new saas release.
1095
+ # @param [Boolean] validate_only
1096
+ # If "validate_only" is set to true, the service will try to validate that this
1097
+ # request would succeed, but will not actually make changes.
1098
+ # @param [String] fields
1099
+ # Selector specifying which fields to include in a partial response.
1100
+ # @param [String] quota_user
1101
+ # Available to use for quota purposes for server-side applications. Can be any
1102
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1103
+ # @param [Google::Apis::RequestOptions] options
1104
+ # Request-specific options
1105
+ #
1106
+ # @yield [result, err] Result & error if block supplied
1107
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::SaasRelease] parsed result object
1108
+ # @yieldparam err [StandardError] error object if request failed
1109
+ #
1110
+ # @return [Google::Apis::SaasservicemgmtV1::SaasRelease]
1111
+ #
1112
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1113
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1114
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1115
+ def create_project_location_saas_release(parent, saas_release_object = nil, request_id: nil, saas_release_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1116
+ command = make_simple_command(:post, 'v1/{+parent}/saasReleases', options)
1117
+ command.request_representation = Google::Apis::SaasservicemgmtV1::SaasRelease::Representation
1118
+ command.request_object = saas_release_object
1119
+ command.response_representation = Google::Apis::SaasservicemgmtV1::SaasRelease::Representation
1120
+ command.response_class = Google::Apis::SaasservicemgmtV1::SaasRelease
1121
+ command.params['parent'] = parent unless parent.nil?
1122
+ command.query['requestId'] = request_id unless request_id.nil?
1123
+ command.query['saasReleaseId'] = saas_release_id unless saas_release_id.nil?
1124
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
1125
+ command.query['fields'] = fields unless fields.nil?
1126
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1127
+ execute_or_queue_command(command, &block)
1128
+ end
1129
+
1130
+ # Delete a single saas release.
1131
+ # @param [String] name
1132
+ # Required. The resource name of the resource within a service.
1133
+ # @param [String] etag
1134
+ # The etag known to the client for the expected state of the saas release.
1135
+ # @param [String] request_id
1136
+ # An optional request ID to identify requests.
1137
+ # @param [Boolean] validate_only
1138
+ # If "validate_only" is set to true, the service will try to validate that this
1139
+ # request would succeed, but will not actually make changes.
1140
+ # @param [String] fields
1141
+ # Selector specifying which fields to include in a partial response.
1142
+ # @param [String] quota_user
1143
+ # Available to use for quota purposes for server-side applications. Can be any
1144
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1145
+ # @param [Google::Apis::RequestOptions] options
1146
+ # Request-specific options
1147
+ #
1148
+ # @yield [result, err] Result & error if block supplied
1149
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::Empty] parsed result object
1150
+ # @yieldparam err [StandardError] error object if request failed
1151
+ #
1152
+ # @return [Google::Apis::SaasservicemgmtV1::Empty]
1153
+ #
1154
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1155
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1156
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1157
+ def delete_project_location_saas_release(name, etag: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1158
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1159
+ command.response_representation = Google::Apis::SaasservicemgmtV1::Empty::Representation
1160
+ command.response_class = Google::Apis::SaasservicemgmtV1::Empty
1161
+ command.params['name'] = name unless name.nil?
1162
+ command.query['etag'] = etag unless etag.nil?
1163
+ command.query['requestId'] = request_id unless request_id.nil?
1164
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
1165
+ command.query['fields'] = fields unless fields.nil?
1166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1167
+ execute_or_queue_command(command, &block)
1168
+ end
1169
+
1170
+ # Retrieve a single saas release.
1171
+ # @param [String] name
1172
+ # Required. The resource name of the resource within a service.
1173
+ # @param [String] fields
1174
+ # Selector specifying which fields to include in a partial response.
1175
+ # @param [String] quota_user
1176
+ # Available to use for quota purposes for server-side applications. Can be any
1177
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1178
+ # @param [Google::Apis::RequestOptions] options
1179
+ # Request-specific options
1180
+ #
1181
+ # @yield [result, err] Result & error if block supplied
1182
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::SaasRelease] parsed result object
1183
+ # @yieldparam err [StandardError] error object if request failed
1184
+ #
1185
+ # @return [Google::Apis::SaasservicemgmtV1::SaasRelease]
1186
+ #
1187
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1188
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1189
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1190
+ def get_project_location_saas_release(name, fields: nil, quota_user: nil, options: nil, &block)
1191
+ command = make_simple_command(:get, 'v1/{+name}', options)
1192
+ command.response_representation = Google::Apis::SaasservicemgmtV1::SaasRelease::Representation
1193
+ command.response_class = Google::Apis::SaasservicemgmtV1::SaasRelease
1194
+ command.params['name'] = name unless name.nil?
1195
+ command.query['fields'] = fields unless fields.nil?
1196
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1197
+ execute_or_queue_command(command, &block)
1198
+ end
1199
+
1200
+ # Retrieve a collection of saas releases.
1201
+ # @param [String] parent
1202
+ # Required. The parent of the saas releases.
1203
+ # @param [String] filter
1204
+ # Filter the list as specified in https://google.aip.dev/160.
1205
+ # @param [String] order_by
1206
+ # Order results as specified in https://google.aip.dev/132.
1207
+ # @param [Fixnum] page_size
1208
+ # The maximum number of saas releases to send per page.
1209
+ # @param [String] page_token
1210
+ # The page token: If the next_page_token from a previous response is provided,
1211
+ # this request will send the subsequent page.
1212
+ # @param [String] fields
1213
+ # Selector specifying which fields to include in a partial response.
1214
+ # @param [String] quota_user
1215
+ # Available to use for quota purposes for server-side applications. Can be any
1216
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1217
+ # @param [Google::Apis::RequestOptions] options
1218
+ # Request-specific options
1219
+ #
1220
+ # @yield [result, err] Result & error if block supplied
1221
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::ListSaasReleasesResponse] parsed result object
1222
+ # @yieldparam err [StandardError] error object if request failed
1223
+ #
1224
+ # @return [Google::Apis::SaasservicemgmtV1::ListSaasReleasesResponse]
1225
+ #
1226
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1227
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1228
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1229
+ def list_project_location_saas_releases(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1230
+ command = make_simple_command(:get, 'v1/{+parent}/saasReleases', options)
1231
+ command.response_representation = Google::Apis::SaasservicemgmtV1::ListSaasReleasesResponse::Representation
1232
+ command.response_class = Google::Apis::SaasservicemgmtV1::ListSaasReleasesResponse
1233
+ command.params['parent'] = parent unless parent.nil?
1234
+ command.query['filter'] = filter unless filter.nil?
1235
+ command.query['orderBy'] = order_by unless order_by.nil?
1236
+ command.query['pageSize'] = page_size unless page_size.nil?
1237
+ command.query['pageToken'] = page_token unless page_token.nil?
1238
+ command.query['fields'] = fields unless fields.nil?
1239
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1240
+ execute_or_queue_command(command, &block)
1241
+ end
1242
+
1087
1243
  # Create a new tenant.
1088
1244
  # @param [String] parent
1089
1245
  # Required. The parent of the tenant.
@@ -1321,6 +1477,342 @@ module Google
1321
1477
  execute_or_queue_command(command, &block)
1322
1478
  end
1323
1479
 
1480
+ # Create a new unit group operation.
1481
+ # @param [String] parent
1482
+ # Required. The parent of the unit group operation.
1483
+ # @param [Google::Apis::SaasservicemgmtV1::UnitGroupOperation] unit_group_operation_object
1484
+ # @param [String] request_id
1485
+ # Optional. An optional request ID to identify requests. Specify a unique
1486
+ # request ID so that if you must retry your request, the server will know to
1487
+ # ignore the request if it has already been completed. The server will guarantee
1488
+ # that for at least 60 minutes since the first request. For example, consider a
1489
+ # situation where you make an initial request and the request times out. If you
1490
+ # make the request again with the same request ID, the server can check if
1491
+ # original operation with the same request ID was received, and if so, will
1492
+ # ignore the second request. This prevents clients from accidentally creating
1493
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1494
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1495
+ # @param [String] unit_group_operation_id
1496
+ # Required. The ID value for the new unit group operation.
1497
+ # @param [Boolean] validate_only
1498
+ # Optional. If "validate_only" is set to true, the service will try to validate
1499
+ # that this request would succeed, but will not actually make changes.
1500
+ # @param [String] fields
1501
+ # Selector specifying which fields to include in a partial response.
1502
+ # @param [String] quota_user
1503
+ # Available to use for quota purposes for server-side applications. Can be any
1504
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1505
+ # @param [Google::Apis::RequestOptions] options
1506
+ # Request-specific options
1507
+ #
1508
+ # @yield [result, err] Result & error if block supplied
1509
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::UnitGroupOperation] parsed result object
1510
+ # @yieldparam err [StandardError] error object if request failed
1511
+ #
1512
+ # @return [Google::Apis::SaasservicemgmtV1::UnitGroupOperation]
1513
+ #
1514
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1515
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1516
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1517
+ def create_project_location_unit_group_operation(parent, unit_group_operation_object = nil, request_id: nil, unit_group_operation_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1518
+ command = make_simple_command(:post, 'v1/{+parent}/unitGroupOperations', options)
1519
+ command.request_representation = Google::Apis::SaasservicemgmtV1::UnitGroupOperation::Representation
1520
+ command.request_object = unit_group_operation_object
1521
+ command.response_representation = Google::Apis::SaasservicemgmtV1::UnitGroupOperation::Representation
1522
+ command.response_class = Google::Apis::SaasservicemgmtV1::UnitGroupOperation
1523
+ command.params['parent'] = parent unless parent.nil?
1524
+ command.query['requestId'] = request_id unless request_id.nil?
1525
+ command.query['unitGroupOperationId'] = unit_group_operation_id unless unit_group_operation_id.nil?
1526
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
1527
+ command.query['fields'] = fields unless fields.nil?
1528
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1529
+ execute_or_queue_command(command, &block)
1530
+ end
1531
+
1532
+ # Delete a single unit group operation.
1533
+ # @param [String] name
1534
+ # Required. The resource name of the resource within a service.
1535
+ # @param [String] etag
1536
+ # Optional. The etag known to the client for the expected state of the unit
1537
+ # group operation. This is used with state-changing methods to prevent
1538
+ # accidental overwrites when multiple user agents might be acting in parallel on
1539
+ # the same resource. An etag wildcard provide optimistic concurrency based on
1540
+ # the expected existence of the unit group operation. The Any wildcard (`*`)
1541
+ # requires that the resource must already exists, and the Not Any wildcard (`!*`)
1542
+ # requires that it must not.
1543
+ # @param [String] request_id
1544
+ # Optional. An optional request ID to identify requests. Specify a unique
1545
+ # request ID so that if you must retry your request, the server will know to
1546
+ # ignore the request if it has already been completed. The server will guarantee
1547
+ # that for at least 60 minutes since the first request. For example, consider a
1548
+ # situation where you make an initial request and the request times out. If you
1549
+ # make the request again with the same request ID, the server can check if
1550
+ # original operation with the same request ID was received, and if so, will
1551
+ # ignore the second request. This prevents clients from accidentally creating
1552
+ # duplicate commitments. The request ID must be a valid UUID with the exception
1553
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1554
+ # @param [Boolean] validate_only
1555
+ # Optional. If "validate_only" is set to true, the service will try to validate
1556
+ # that this request would succeed, but will not actually make changes.
1557
+ # @param [String] fields
1558
+ # Selector specifying which fields to include in a partial response.
1559
+ # @param [String] quota_user
1560
+ # Available to use for quota purposes for server-side applications. Can be any
1561
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1562
+ # @param [Google::Apis::RequestOptions] options
1563
+ # Request-specific options
1564
+ #
1565
+ # @yield [result, err] Result & error if block supplied
1566
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::Empty] parsed result object
1567
+ # @yieldparam err [StandardError] error object if request failed
1568
+ #
1569
+ # @return [Google::Apis::SaasservicemgmtV1::Empty]
1570
+ #
1571
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1572
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1573
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1574
+ def delete_project_location_unit_group_operation(name, etag: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1575
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1576
+ command.response_representation = Google::Apis::SaasservicemgmtV1::Empty::Representation
1577
+ command.response_class = Google::Apis::SaasservicemgmtV1::Empty
1578
+ command.params['name'] = name unless name.nil?
1579
+ command.query['etag'] = etag unless etag.nil?
1580
+ command.query['requestId'] = request_id unless request_id.nil?
1581
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
1582
+ command.query['fields'] = fields unless fields.nil?
1583
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1584
+ execute_or_queue_command(command, &block)
1585
+ end
1586
+
1587
+ # Retrieve a single unit group operation.
1588
+ # @param [String] name
1589
+ # Required. The resource name of the resource within a service.
1590
+ # @param [String] fields
1591
+ # Selector specifying which fields to include in a partial response.
1592
+ # @param [String] quota_user
1593
+ # Available to use for quota purposes for server-side applications. Can be any
1594
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1595
+ # @param [Google::Apis::RequestOptions] options
1596
+ # Request-specific options
1597
+ #
1598
+ # @yield [result, err] Result & error if block supplied
1599
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::UnitGroupOperation] parsed result object
1600
+ # @yieldparam err [StandardError] error object if request failed
1601
+ #
1602
+ # @return [Google::Apis::SaasservicemgmtV1::UnitGroupOperation]
1603
+ #
1604
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1605
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1606
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1607
+ def get_project_location_unit_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1608
+ command = make_simple_command(:get, 'v1/{+name}', options)
1609
+ command.response_representation = Google::Apis::SaasservicemgmtV1::UnitGroupOperation::Representation
1610
+ command.response_class = Google::Apis::SaasservicemgmtV1::UnitGroupOperation
1611
+ command.params['name'] = name unless name.nil?
1612
+ command.query['fields'] = fields unless fields.nil?
1613
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1614
+ execute_or_queue_command(command, &block)
1615
+ end
1616
+
1617
+ # Retrieve a collection of unit group operations.
1618
+ # @param [String] parent
1619
+ # Required. The parent of the unit group operation.
1620
+ # @param [String] filter
1621
+ # Filter the list as specified in https://google.aip.dev/160.
1622
+ # @param [String] order_by
1623
+ # Order results as specified in https://google.aip.dev/132.
1624
+ # @param [Fixnum] page_size
1625
+ # The maximum number of unit group operations to send per page.
1626
+ # @param [String] page_token
1627
+ # The page token: If the next_page_token from a previous response is provided,
1628
+ # this request will send the subsequent page.
1629
+ # @param [String] fields
1630
+ # Selector specifying which fields to include in a partial response.
1631
+ # @param [String] quota_user
1632
+ # Available to use for quota purposes for server-side applications. Can be any
1633
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1634
+ # @param [Google::Apis::RequestOptions] options
1635
+ # Request-specific options
1636
+ #
1637
+ # @yield [result, err] Result & error if block supplied
1638
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::ListUnitGroupOperationsResponse] parsed result object
1639
+ # @yieldparam err [StandardError] error object if request failed
1640
+ #
1641
+ # @return [Google::Apis::SaasservicemgmtV1::ListUnitGroupOperationsResponse]
1642
+ #
1643
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1644
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1645
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1646
+ def list_project_location_unit_group_operations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1647
+ command = make_simple_command(:get, 'v1/{+parent}/unitGroupOperations', options)
1648
+ command.response_representation = Google::Apis::SaasservicemgmtV1::ListUnitGroupOperationsResponse::Representation
1649
+ command.response_class = Google::Apis::SaasservicemgmtV1::ListUnitGroupOperationsResponse
1650
+ command.params['parent'] = parent unless parent.nil?
1651
+ command.query['filter'] = filter unless filter.nil?
1652
+ command.query['orderBy'] = order_by unless order_by.nil?
1653
+ command.query['pageSize'] = page_size unless page_size.nil?
1654
+ command.query['pageToken'] = page_token unless page_token.nil?
1655
+ command.query['fields'] = fields unless fields.nil?
1656
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1657
+ execute_or_queue_command(command, &block)
1658
+ end
1659
+
1660
+ # Create a new unit group.
1661
+ # @param [String] parent
1662
+ # Required. The parent of the unit group.
1663
+ # @param [Google::Apis::SaasservicemgmtV1::UnitGroup] unit_group_object
1664
+ # @param [String] request_id
1665
+ # An optional request ID to identify requests.
1666
+ # @param [String] unit_group_id
1667
+ # Required. The ID value for the new unit group.
1668
+ # @param [Boolean] validate_only
1669
+ # If "validate_only" is set to true, the service will try to validate that this
1670
+ # request would succeed, but will not actually make changes.
1671
+ # @param [String] fields
1672
+ # Selector specifying which fields to include in a partial response.
1673
+ # @param [String] quota_user
1674
+ # Available to use for quota purposes for server-side applications. Can be any
1675
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1676
+ # @param [Google::Apis::RequestOptions] options
1677
+ # Request-specific options
1678
+ #
1679
+ # @yield [result, err] Result & error if block supplied
1680
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::UnitGroup] parsed result object
1681
+ # @yieldparam err [StandardError] error object if request failed
1682
+ #
1683
+ # @return [Google::Apis::SaasservicemgmtV1::UnitGroup]
1684
+ #
1685
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1686
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1687
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1688
+ def create_project_location_unit_group(parent, unit_group_object = nil, request_id: nil, unit_group_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1689
+ command = make_simple_command(:post, 'v1/{+parent}/unitGroups', options)
1690
+ command.request_representation = Google::Apis::SaasservicemgmtV1::UnitGroup::Representation
1691
+ command.request_object = unit_group_object
1692
+ command.response_representation = Google::Apis::SaasservicemgmtV1::UnitGroup::Representation
1693
+ command.response_class = Google::Apis::SaasservicemgmtV1::UnitGroup
1694
+ command.params['parent'] = parent unless parent.nil?
1695
+ command.query['requestId'] = request_id unless request_id.nil?
1696
+ command.query['unitGroupId'] = unit_group_id unless unit_group_id.nil?
1697
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
1698
+ command.query['fields'] = fields unless fields.nil?
1699
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1700
+ execute_or_queue_command(command, &block)
1701
+ end
1702
+
1703
+ # Delete a single unit group.
1704
+ # @param [String] name
1705
+ # Required. The resource name of the resource within a service.
1706
+ # @param [String] etag
1707
+ # The etag known to the client for the expected state of the unit group.
1708
+ # @param [String] request_id
1709
+ # An optional request ID to identify requests.
1710
+ # @param [Boolean] validate_only
1711
+ # If "validate_only" is set to true, the service will try to validate that this
1712
+ # request would succeed, but will not actually make changes.
1713
+ # @param [String] fields
1714
+ # Selector specifying which fields to include in a partial response.
1715
+ # @param [String] quota_user
1716
+ # Available to use for quota purposes for server-side applications. Can be any
1717
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1718
+ # @param [Google::Apis::RequestOptions] options
1719
+ # Request-specific options
1720
+ #
1721
+ # @yield [result, err] Result & error if block supplied
1722
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::Empty] parsed result object
1723
+ # @yieldparam err [StandardError] error object if request failed
1724
+ #
1725
+ # @return [Google::Apis::SaasservicemgmtV1::Empty]
1726
+ #
1727
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1728
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1729
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1730
+ def delete_project_location_unit_group(name, etag: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1731
+ command = make_simple_command(:delete, 'v1/{+name}', options)
1732
+ command.response_representation = Google::Apis::SaasservicemgmtV1::Empty::Representation
1733
+ command.response_class = Google::Apis::SaasservicemgmtV1::Empty
1734
+ command.params['name'] = name unless name.nil?
1735
+ command.query['etag'] = etag unless etag.nil?
1736
+ command.query['requestId'] = request_id unless request_id.nil?
1737
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
1738
+ command.query['fields'] = fields unless fields.nil?
1739
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1740
+ execute_or_queue_command(command, &block)
1741
+ end
1742
+
1743
+ # Retrieve a single unit group.
1744
+ # @param [String] name
1745
+ # Required. The resource name of the resource within a service.
1746
+ # @param [String] fields
1747
+ # Selector specifying which fields to include in a partial response.
1748
+ # @param [String] quota_user
1749
+ # Available to use for quota purposes for server-side applications. Can be any
1750
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1751
+ # @param [Google::Apis::RequestOptions] options
1752
+ # Request-specific options
1753
+ #
1754
+ # @yield [result, err] Result & error if block supplied
1755
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::UnitGroup] parsed result object
1756
+ # @yieldparam err [StandardError] error object if request failed
1757
+ #
1758
+ # @return [Google::Apis::SaasservicemgmtV1::UnitGroup]
1759
+ #
1760
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1761
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1762
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1763
+ def get_project_location_unit_group(name, fields: nil, quota_user: nil, options: nil, &block)
1764
+ command = make_simple_command(:get, 'v1/{+name}', options)
1765
+ command.response_representation = Google::Apis::SaasservicemgmtV1::UnitGroup::Representation
1766
+ command.response_class = Google::Apis::SaasservicemgmtV1::UnitGroup
1767
+ command.params['name'] = name unless name.nil?
1768
+ command.query['fields'] = fields unless fields.nil?
1769
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1770
+ execute_or_queue_command(command, &block)
1771
+ end
1772
+
1773
+ # Retrieve a collection of unit groups.
1774
+ # @param [String] parent
1775
+ # Required. The parent of the unit group.
1776
+ # @param [String] filter
1777
+ # Filter the list as specified in https://google.aip.dev/160.
1778
+ # @param [String] order_by
1779
+ # Order results as specified in https://google.aip.dev/132.
1780
+ # @param [Fixnum] page_size
1781
+ # The maximum number of unit groups to send per page.
1782
+ # @param [String] page_token
1783
+ # The page token: If the next_page_token from a previous response is provided,
1784
+ # this request will send the subsequent page.
1785
+ # @param [String] fields
1786
+ # Selector specifying which fields to include in a partial response.
1787
+ # @param [String] quota_user
1788
+ # Available to use for quota purposes for server-side applications. Can be any
1789
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1790
+ # @param [Google::Apis::RequestOptions] options
1791
+ # Request-specific options
1792
+ #
1793
+ # @yield [result, err] Result & error if block supplied
1794
+ # @yieldparam result [Google::Apis::SaasservicemgmtV1::ListUnitGroupsResponse] parsed result object
1795
+ # @yieldparam err [StandardError] error object if request failed
1796
+ #
1797
+ # @return [Google::Apis::SaasservicemgmtV1::ListUnitGroupsResponse]
1798
+ #
1799
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1800
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1801
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1802
+ def list_project_location_unit_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1803
+ command = make_simple_command(:get, 'v1/{+parent}/unitGroups', options)
1804
+ command.response_representation = Google::Apis::SaasservicemgmtV1::ListUnitGroupsResponse::Representation
1805
+ command.response_class = Google::Apis::SaasservicemgmtV1::ListUnitGroupsResponse
1806
+ command.params['parent'] = parent unless parent.nil?
1807
+ command.query['filter'] = filter unless filter.nil?
1808
+ command.query['orderBy'] = order_by unless order_by.nil?
1809
+ command.query['pageSize'] = page_size unless page_size.nil?
1810
+ command.query['pageToken'] = page_token unless page_token.nil?
1811
+ command.query['fields'] = fields unless fields.nil?
1812
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1813
+ execute_or_queue_command(command, &block)
1814
+ end
1815
+
1324
1816
  # Create a new unit kind.
1325
1817
  # @param [String] parent
1326
1818
  # Required. The parent of the unit kind.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-saasservicemgmt_v1
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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-saasservicemgmt_v1/v0.4.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-saasservicemgmt_v1/v0.5.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-saasservicemgmt_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="