google-apis-serviceusage_v1 0.70.0 → 0.71.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: 96b7278cf1f6dd0f61283f78cb639a48c0f4e9c4b9726387663fa22e16b7be17
4
- data.tar.gz: 5700a9787d9d6afedd4726e11b8f539c45ff96bf6e1d15b7245302cec934ee77
3
+ metadata.gz: 9e63211ffe287cda9eddf39d38d9859cff11d37570e26daf7eea2f2c8129a9db
4
+ data.tar.gz: a60fda8c7d65cc73f50fb74318de1e4c6bc65bfc52e349e41f39db2f7cb90660
5
5
  SHA512:
6
- metadata.gz: bedd4b406b044b73410dfec1797cbf4e9a451ac821066f14063e0f3abc47f35f36c78743d5294f42e2685c20dc3d99203e576c3f84c71fbf38f68fe48cd06508
7
- data.tar.gz: de89acc776839316a154a09e9d7c1323bbb06def3178c70710ddbce00172a6940dc47dec51d017a8b13b2f56a3f302e7a531a4675e8ca90695561c80af106543
6
+ metadata.gz: 8317d881c44dc81ef53224e1c9049cc133a126fc04c6f2e9f139e5f23a826f18df789c7a0b0272584185a0b4e8af1e0b16a5c22ce0db30ddf7751eb8b9a5190c
7
+ data.tar.gz: bdb8d98b493051dfe037777a6baa6dc0f689a9c6593ef2c32bccc00337f69be5c65d8a9fbb02b4904717c8aabbc5016c4c11b709cc5db33bd7301be08553072f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-serviceusage_v1
2
2
 
3
+ ### v0.71.0 (2025-10-26)
4
+
5
+ * Regenerated from discovery document revision 20251021
6
+
3
7
  ### v0.70.0 (2025-09-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20250919
@@ -1169,6 +1169,36 @@ module Google
1169
1169
  end
1170
1170
  end
1171
1171
 
1172
+ # Content Security Policy contains the content security related policy of a
1173
+ # resource.
1174
+ class ContentSecurityPolicy
1175
+ include Google::Apis::Core::Hashable
1176
+
1177
+ # ContentSecurity defines the content security related fields of a MCP policy.
1178
+ # Corresponds to the JSON property `mcpContentSecurity`
1179
+ # @return [Google::Apis::ServiceusageV1::ContentSecurity]
1180
+ attr_accessor :mcp_content_security
1181
+
1182
+ # Output only. The resource name of the policy. Only the `default` policy is
1183
+ # supported. We allow the following formats: `projects/`PROJECT_NUMBER`/
1184
+ # contentSecurityPolicies/default`, `projects/`PROJECT_ID`/
1185
+ # contentSecurityPolicies/default`, We only support project level content
1186
+ # security policy for now.
1187
+ # Corresponds to the JSON property `name`
1188
+ # @return [String]
1189
+ attr_accessor :name
1190
+
1191
+ def initialize(**args)
1192
+ update!(**args)
1193
+ end
1194
+
1195
+ # Update properties of this object
1196
+ def update!(**args)
1197
+ @mcp_content_security = args[:mcp_content_security] if args.key?(:mcp_content_security)
1198
+ @name = args[:name] if args.key?(:name)
1199
+ end
1200
+ end
1201
+
1172
1202
  # ContentSecurityProvider contains the name of content security provider.
1173
1203
  class ContentSecurityProvider
1174
1204
  include Google::Apis::Core::Hashable
@@ -2982,14 +3012,6 @@ module Google
2982
3012
  class GoogleApiServiceusageV2betaConsumerPolicy
2983
3013
  include Google::Apis::Core::Hashable
2984
3014
 
2985
- # Optional. Annotations is an unstructured key-value map stored with a policy
2986
- # that may be set by external tools to store and retrieve arbitrary metadata.
2987
- # They are not queryable and should be preserved when modifying objects. [AIP-
2988
- # 128](https://google.aip.dev/128#annotations)
2989
- # Corresponds to the JSON property `annotations`
2990
- # @return [Hash<String,String>]
2991
- attr_accessor :annotations
2992
-
2993
3015
  # Output only. The time the policy was created. For singleton policies, this is
2994
3016
  # the first touch of the policy.
2995
3017
  # Corresponds to the JSON property `createTime`
@@ -3027,7 +3049,6 @@ module Google
3027
3049
 
3028
3050
  # Update properties of this object
3029
3051
  def update!(**args)
3030
- @annotations = args[:annotations] if args.key?(:annotations)
3031
3052
  @create_time = args[:create_time] if args.key?(:create_time)
3032
3053
  @enable_rules = args[:enable_rules] if args.key?(:enable_rules)
3033
3054
  @etag = args[:etag] if args.key?(:etag)
@@ -3613,6 +3634,13 @@ module Google
3613
3634
  # @return [Array<Google::Apis::ServiceusageV1::Operation>]
3614
3635
  attr_accessor :operations
3615
3636
 
3637
+ # Unordered list. Unreachable resources. Populated when the request sets `
3638
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
3639
+ # when attempting to list all resources across all supported locations.
3640
+ # Corresponds to the JSON property `unreachable`
3641
+ # @return [Array<String>]
3642
+ attr_accessor :unreachable
3643
+
3616
3644
  def initialize(**args)
3617
3645
  update!(**args)
3618
3646
  end
@@ -3621,6 +3649,7 @@ module Google
3621
3649
  def update!(**args)
3622
3650
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3623
3651
  @operations = args[:operations] if args.key?(:operations)
3652
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
3624
3653
  end
3625
3654
  end
3626
3655
 
@@ -3830,11 +3859,6 @@ module Google
3830
3859
  class McpPolicy
3831
3860
  include Google::Apis::Core::Hashable
3832
3861
 
3833
- # ContentSecurity defines the content security related fields of a MCP policy.
3834
- # Corresponds to the JSON property `contentSecurity`
3835
- # @return [Google::Apis::ServiceusageV1::ContentSecurity]
3836
- attr_accessor :content_security
3837
-
3838
3862
  # Output only. The time the policy was created. For singleton policies (such as
3839
3863
  # the `default` policy), this is the first touch of the policy.
3840
3864
  # Corresponds to the JSON property `createTime`
@@ -3871,7 +3895,6 @@ module Google
3871
3895
 
3872
3896
  # Update properties of this object
3873
3897
  def update!(**args)
3874
- @content_security = args[:content_security] if args.key?(:content_security)
3875
3898
  @create_time = args[:create_time] if args.key?(:create_time)
3876
3899
  @etag = args[:etag] if args.key?(:etag)
3877
3900
  @mcp_enable_rules = args[:mcp_enable_rules] if args.key?(:mcp_enable_rules)
@@ -5431,6 +5454,19 @@ module Google
5431
5454
  end
5432
5455
  end
5433
5456
 
5457
+ # Metadata for the `UpdateContentSecurityPolicy` method.
5458
+ class UpdateContentSecurityPolicyMetadata
5459
+ include Google::Apis::Core::Hashable
5460
+
5461
+ def initialize(**args)
5462
+ update!(**args)
5463
+ end
5464
+
5465
+ # Update properties of this object
5466
+ def update!(**args)
5467
+ end
5468
+ end
5469
+
5434
5470
  # Metadata for the `UpdateMcpPolicy` method.
5435
5471
  class UpdateMcpPolicyMetadata
5436
5472
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServiceusageV1
18
18
  # Version of the google-apis-serviceusage_v1 gem
19
- GEM_VERSION = "0.70.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250919"
25
+ REVISION = "20251021"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class ContentSecurityPolicy
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class ContentSecurityProvider
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -820,6 +826,12 @@ module Google
820
826
  include Google::Apis::Core::JsonObjectSupport
821
827
  end
822
828
 
829
+ class UpdateContentSecurityPolicyMetadata
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
823
835
  class UpdateMcpPolicyMetadata
824
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
825
837
 
@@ -1145,6 +1157,15 @@ module Google
1145
1157
  end
1146
1158
  end
1147
1159
 
1160
+ class ContentSecurityPolicy
1161
+ # @private
1162
+ class Representation < Google::Apis::Core::JsonRepresentation
1163
+ property :mcp_content_security, as: 'mcpContentSecurity', class: Google::Apis::ServiceusageV1::ContentSecurity, decorator: Google::Apis::ServiceusageV1::ContentSecurity::Representation
1164
+
1165
+ property :name, as: 'name'
1166
+ end
1167
+ end
1168
+
1148
1169
  class ContentSecurityProvider
1149
1170
  # @private
1150
1171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1595,7 +1616,6 @@ module Google
1595
1616
  class GoogleApiServiceusageV2betaConsumerPolicy
1596
1617
  # @private
1597
1618
  class Representation < Google::Apis::Core::JsonRepresentation
1598
- hash :annotations, as: 'annotations'
1599
1619
  property :create_time, as: 'createTime'
1600
1620
  collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV2betaEnableRule::Representation
1601
1621
 
@@ -1740,6 +1760,7 @@ module Google
1740
1760
  property :next_page_token, as: 'nextPageToken'
1741
1761
  collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1::Operation, decorator: Google::Apis::ServiceusageV1::Operation::Representation
1742
1762
 
1763
+ collection :unreachable, as: 'unreachable'
1743
1764
  end
1744
1765
  end
1745
1766
 
@@ -1802,8 +1823,6 @@ module Google
1802
1823
  class McpPolicy
1803
1824
  # @private
1804
1825
  class Representation < Google::Apis::Core::JsonRepresentation
1805
- property :content_security, as: 'contentSecurity', class: Google::Apis::ServiceusageV1::ContentSecurity, decorator: Google::Apis::ServiceusageV1::ContentSecurity::Representation
1806
-
1807
1826
  property :create_time, as: 'createTime'
1808
1827
  property :etag, as: 'etag'
1809
1828
  collection :mcp_enable_rules, as: 'mcpEnableRules', class: Google::Apis::ServiceusageV1::McpEnableRule, decorator: Google::Apis::ServiceusageV1::McpEnableRule::Representation
@@ -2175,6 +2194,12 @@ module Google
2175
2194
  end
2176
2195
  end
2177
2196
 
2197
+ class UpdateContentSecurityPolicyMetadata
2198
+ # @private
2199
+ class Representation < Google::Apis::Core::JsonRepresentation
2200
+ end
2201
+ end
2202
+
2178
2203
  class UpdateMcpPolicyMetadata
2179
2204
  # @private
2180
2205
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -167,6 +167,13 @@ module Google
167
167
  # The standard list page size.
168
168
  # @param [String] page_token
169
169
  # The standard list page token.
170
+ # @param [Boolean] return_partial_success
171
+ # When set to `true`, operations that are reachable are returned as normal, and
172
+ # those that are unreachable are returned in the [ListOperationsResponse.
173
+ # unreachable] field. This can only be `true` when reading across collections e.
174
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
175
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
176
+ # explicitly documented otherwise in service or product specific documentation.
170
177
  # @param [String] fields
171
178
  # Selector specifying which fields to include in a partial response.
172
179
  # @param [String] quota_user
@@ -184,7 +191,7 @@ module Google
184
191
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185
192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186
193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
187
- def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
194
+ def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
188
195
  command = make_simple_command(:get, 'v1/operations', options)
189
196
  command.response_representation = Google::Apis::ServiceusageV1::ListOperationsResponse::Representation
190
197
  command.response_class = Google::Apis::ServiceusageV1::ListOperationsResponse
@@ -192,6 +199,7 @@ module Google
192
199
  command.query['name'] = name unless name.nil?
193
200
  command.query['pageSize'] = page_size unless page_size.nil?
194
201
  command.query['pageToken'] = page_token unless page_token.nil?
202
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
195
203
  command.query['fields'] = fields unless fields.nil?
196
204
  command.query['quotaUser'] = quota_user unless quota_user.nil?
197
205
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-serviceusage_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.71.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-serviceusage_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1/v0.71.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1
62
62
  rdoc_options: []
63
63
  require_paths: