google-apis-cloudasset_v1beta1 0.48.0 → 0.49.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: 0ef7b087748468f31ab89d64e1963337672f746802841cbbabd52a60c2a17bd1
4
- data.tar.gz: f5ac4bce88b2ce0dadecc1e5877a6fe16ac902f3876c07135715088431a97e4c
3
+ metadata.gz: f0a672a27051c958c4df2a66fe91ac253f768dbf9299cf448259d9a29fb0ad66
4
+ data.tar.gz: 0c5685ba16d3136427e794293a6a670087a24b2b255f31072567b5456832607a
5
5
  SHA512:
6
- metadata.gz: e0d1b619f28255ec46832f5980d3525faf86b9d8e59a6c62932518f85fe0cd8d5e471d48763e2a055fbeb749704f08ac03699b4aac4e207aef7e9cbdcf4537f5
7
- data.tar.gz: cfab0b7b93f0009306dd2aaba24b6be3a3897520a189e38292d368c8f8dc47ecb1d8ef21871cec6a8ed86af6450869fffcee4be42b9236f42f16e72603fa7bc0
6
+ metadata.gz: 1919a7682bca285a3b261019f049d53703137a5b0a3230610db653deb11a96936a9f035366204fe2d7c4b66049dd68b09a1c238e96f6d7f62f5f046f5acf883d
7
+ data.tar.gz: 7580ecaa5e8ac1a13d8f99bdfefd445013ab3ee39909e41325c0af7416db997654c557a8726fbb6ee004e77e54678ed17c10e7bbc743177ac32833b41dda6c58
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudasset_v1beta1
2
2
 
3
+ ### v0.49.0 (2026-07-05)
4
+
5
+ * Regenerated from discovery document revision 20260624
6
+
3
7
  ### v0.48.0 (2026-06-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20260427
@@ -1205,6 +1205,31 @@ module Google
1205
1205
  end
1206
1206
  end
1207
1207
 
1208
+ # Adds a request header to the API.
1209
+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
1210
+ include Google::Apis::Core::Hashable
1211
+
1212
+ # HTTP header key.
1213
+ # Corresponds to the JSON property `key`
1214
+ # @return [String]
1215
+ attr_accessor :key
1216
+
1217
+ # HTTP header value.
1218
+ # Corresponds to the JSON property `value`
1219
+ # @return [String]
1220
+ attr_accessor :value
1221
+
1222
+ def initialize(**args)
1223
+ update!(**args)
1224
+ end
1225
+
1226
+ # Update properties of this object
1227
+ def update!(**args)
1228
+ @key = args[:key] if args.key?(:key)
1229
+ @value = args[:value] if args.key?(:value)
1230
+ end
1231
+ end
1232
+
1208
1233
  # Identification for an API Operation.
1209
1234
  class GoogleIdentityAccesscontextmanagerV1ApiOperation
1210
1235
  include Google::Apis::Core::Hashable
@@ -1563,6 +1588,11 @@ module Google
1563
1588
  # @return [String]
1564
1589
  attr_accessor :access_level
1565
1590
 
1591
+ # Specifies the PSC an API call refers to.
1592
+ # Corresponds to the JSON property `pscEndpoint`
1593
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1594
+ attr_accessor :psc_endpoint
1595
+
1566
1596
  # A Google Cloud resource from the service perimeter that you want to allow to
1567
1597
  # access data outside the perimeter. This field supports only projects. The
1568
1598
  # project format is `projects/`project_number``. You can't use `*` in this field
@@ -1578,6 +1608,7 @@ module Google
1578
1608
  # Update properties of this object
1579
1609
  def update!(**args)
1580
1610
  @access_level = args[:access_level] if args.key?(:access_level)
1611
+ @psc_endpoint = args[:psc_endpoint] if args.key?(:psc_endpoint)
1581
1612
  @resource = args[:resource] if args.key?(:resource)
1582
1613
  end
1583
1614
  end
@@ -1742,6 +1773,11 @@ module Google
1742
1773
  # @return [String]
1743
1774
  attr_accessor :access_level
1744
1775
 
1776
+ # Specifies the PSC an API call refers to.
1777
+ # Corresponds to the JSON property `pscEndpoint`
1778
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint]
1779
+ attr_accessor :psc_endpoint
1780
+
1745
1781
  # A Google Cloud resource that is allowed to ingress the perimeter. Requests
1746
1782
  # from these resources will be allowed to access perimeter data. Currently only
1747
1783
  # projects and VPCs are allowed. Project format: `projects/`project_number`` VPC
@@ -1760,6 +1796,7 @@ module Google
1760
1796
  # Update properties of this object
1761
1797
  def update!(**args)
1762
1798
  @access_level = args[:access_level] if args.key?(:access_level)
1799
+ @psc_endpoint = args[:psc_endpoint] if args.key?(:psc_endpoint)
1763
1800
  @resource = args[:resource] if args.key?(:resource)
1764
1801
  end
1765
1802
  end
@@ -1831,6 +1868,25 @@ module Google
1831
1868
  end
1832
1869
  end
1833
1870
 
1871
+ # Modifier to apply to the API requests.
1872
+ class GoogleIdentityAccesscontextmanagerV1Modifier
1873
+ include Google::Apis::Core::Hashable
1874
+
1875
+ # Adds a request header to the API.
1876
+ # Corresponds to the JSON property `addRequestHeader`
1877
+ # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader]
1878
+ attr_accessor :add_request_header
1879
+
1880
+ def initialize(**args)
1881
+ update!(**args)
1882
+ end
1883
+
1884
+ # Update properties of this object
1885
+ def update!(**args)
1886
+ @add_request_header = args[:add_request_header] if args.key?(:add_request_header)
1887
+ end
1888
+ end
1889
+
1834
1890
  # A restriction on the OS type and version of devices making requests.
1835
1891
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
1836
1892
  include Google::Apis::Core::Hashable
@@ -1868,6 +1924,60 @@ module Google
1868
1924
  end
1869
1925
  end
1870
1926
 
1927
+ # Specifies the PSC an API call refers to.
1928
+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
1929
+ include Google::Apis::Core::Hashable
1930
+
1931
+ # The global forwarding rule identifier. Forwarding rule format: `//compute.
1932
+ # googleapis.com/projects/`PROJECT_ID`/global/forwardingRules/`
1933
+ # FORWARDING_RULE_ID``.
1934
+ # Corresponds to the JSON property `forwardingRule`
1935
+ # @return [String]
1936
+ attr_accessor :forwarding_rule
1937
+
1938
+ def initialize(**args)
1939
+ update!(**args)
1940
+ end
1941
+
1942
+ # Update properties of this object
1943
+ def update!(**args)
1944
+ @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
1945
+ end
1946
+ end
1947
+
1948
+ # Service patterns used to allow access.
1949
+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
1950
+ include Google::Apis::Core::Hashable
1951
+
1952
+ # Modifiers to apply to the requests that match the URL pattern.
1953
+ # Corresponds to the JSON property `modifiers`
1954
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1Modifier>]
1955
+ attr_accessor :modifiers
1956
+
1957
+ # URL pattern to allow. Only patterns of ".googleapis.com/*", "www.googleapis.
1958
+ # com//*" and "*.appspot.com/* forms are supported, where should be
1959
+ # alphanumerical name.
1960
+ # Corresponds to the JSON property `pattern`
1961
+ # @return [String]
1962
+ attr_accessor :pattern
1963
+
1964
+ # Supported service to allow.
1965
+ # Corresponds to the JSON property `service`
1966
+ # @return [String]
1967
+ attr_accessor :service
1968
+
1969
+ def initialize(**args)
1970
+ update!(**args)
1971
+ end
1972
+
1973
+ # Update properties of this object
1974
+ def update!(**args)
1975
+ @modifiers = args[:modifiers] if args.key?(:modifiers)
1976
+ @pattern = args[:pattern] if args.key?(:pattern)
1977
+ @service = args[:service] if args.key?(:service)
1978
+ end
1979
+ end
1980
+
1871
1981
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
1872
1982
  # import and export data amongst themselves, but not export outside of the `
1873
1983
  # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
@@ -2028,6 +2138,12 @@ module Google
2028
2138
  class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
2029
2139
  include Google::Apis::Core::Hashable
2030
2140
 
2141
+ # Specifies which Google services are allowed to be accessed from VPC networks
2142
+ # in the service perimeter.
2143
+ # Corresponds to the JSON property `allowedServicePatterns`
2144
+ # @return [Array<Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern>]
2145
+ attr_accessor :allowed_service_patterns
2146
+
2031
2147
  # The list of APIs usable within the Service Perimeter. Must be empty unless '
2032
2148
  # enable_restriction' is True. You can specify a list of individual services, as
2033
2149
  # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
@@ -2043,14 +2159,21 @@ module Google
2043
2159
  attr_accessor :enable_restriction
2044
2160
  alias_method :enable_restriction?, :enable_restriction
2045
2161
 
2162
+ # Defines the enforcement scopes of service patterns.
2163
+ # Corresponds to the JSON property `servicePatternsEnforcementScopes`
2164
+ # @return [Array<String>]
2165
+ attr_accessor :service_patterns_enforcement_scopes
2166
+
2046
2167
  def initialize(**args)
2047
2168
  update!(**args)
2048
2169
  end
2049
2170
 
2050
2171
  # Update properties of this object
2051
2172
  def update!(**args)
2173
+ @allowed_service_patterns = args[:allowed_service_patterns] if args.key?(:allowed_service_patterns)
2052
2174
  @allowed_services = args[:allowed_services] if args.key?(:allowed_services)
2053
2175
  @enable_restriction = args[:enable_restriction] if args.key?(:enable_restriction)
2176
+ @service_patterns_enforcement_scopes = args[:service_patterns_enforcement_scopes] if args.key?(:service_patterns_enforcement_scopes)
2054
2177
  end
2055
2178
  end
2056
2179
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1beta1
18
18
  # Version of the google-apis-cloudasset_v1beta1 gem
19
- GEM_VERSION = "0.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260427"
25
+ REVISION = "20260624"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class GoogleIdentityAccesscontextmanagerV1ApiOperation
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -232,12 +238,30 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class GoogleIdentityAccesscontextmanagerV1Modifier
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
253
+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -537,6 +561,14 @@ module Google
537
561
  end
538
562
  end
539
563
 
564
+ class GoogleIdentityAccesscontextmanagerV1AddRequestHeader
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ property :key, as: 'key'
568
+ property :value, as: 'value'
569
+ end
570
+ end
571
+
540
572
  class GoogleIdentityAccesscontextmanagerV1ApiOperation
541
573
  # @private
542
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -617,6 +649,8 @@ module Google
617
649
  # @private
618
650
  class Representation < Google::Apis::Core::JsonRepresentation
619
651
  property :access_level, as: 'accessLevel'
652
+ property :psc_endpoint, as: 'pscEndpoint', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint::Representation
653
+
620
654
  property :resource, as: 'resource'
621
655
  end
622
656
  end
@@ -657,6 +691,8 @@ module Google
657
691
  # @private
658
692
  class Representation < Google::Apis::Core::JsonRepresentation
659
693
  property :access_level, as: 'accessLevel'
694
+ property :psc_endpoint, as: 'pscEndpoint', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint::Representation
695
+
660
696
  property :resource, as: 'resource'
661
697
  end
662
698
  end
@@ -679,6 +715,14 @@ module Google
679
715
  end
680
716
  end
681
717
 
718
+ class GoogleIdentityAccesscontextmanagerV1Modifier
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :add_request_header, as: 'addRequestHeader', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AddRequestHeader::Representation
722
+
723
+ end
724
+ end
725
+
682
726
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
683
727
  # @private
684
728
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -688,6 +732,23 @@ module Google
688
732
  end
689
733
  end
690
734
 
735
+ class GoogleIdentityAccesscontextmanagerV1PrivateServiceConnectEndpoint
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :forwarding_rule, as: 'forwardingRule'
739
+ end
740
+ end
741
+
742
+ class GoogleIdentityAccesscontextmanagerV1ServicePattern
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ collection :modifiers, as: 'modifiers', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1Modifier, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1Modifier::Representation
746
+
747
+ property :pattern, as: 'pattern'
748
+ property :service, as: 'service'
749
+ end
750
+ end
751
+
691
752
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
692
753
  # @private
693
754
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -722,8 +783,11 @@ module Google
722
783
  class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
723
784
  # @private
724
785
  class Representation < Google::Apis::Core::JsonRepresentation
786
+ collection :allowed_service_patterns, as: 'allowedServicePatterns', class: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern, decorator: Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePattern::Representation
787
+
725
788
  collection :allowed_services, as: 'allowedServices'
726
789
  property :enable_restriction, as: 'enableRestriction'
790
+ collection :service_patterns_enforcement_scopes, as: 'servicePatternsEnforcementScopes'
727
791
  end
728
792
  end
729
793
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.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-cloudasset_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1beta1/v0.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1beta1/v0.49.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: