google-apis-serviceusage_v1beta1 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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/serviceusage_v1beta1/classes.rb +51 -15
- data/lib/google/apis/serviceusage_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/serviceusage_v1beta1/representations.rb +28 -3
- data/lib/google/apis/serviceusage_v1beta1/service.rb +9 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cfab3675baae48e359f7f304ed3500483f4f04ace94976b15298b067e52132fd
|
|
4
|
+
data.tar.gz: dc9587460c32c8fe7f3ce3673760fac1b179c0f8215895fcc8f38ec9adccede9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 198b703c4fe54a7b1588e18b177622283b35894d3ceaf4a69699b856151cb49c8b26738a18c04804d8439cb3b3b0be2c7c25cbb1880c19503e48960075d04c5b
|
|
7
|
+
data.tar.gz: 9aa484f28a0f95f3fe16424d3489d981e376c496b545ce3f9d4a590a665d1b6e5c01eee74624aacf49fe2e602ce287cf7da2025e4a87d76cd154398ddcba8355
|
data/CHANGELOG.md
CHANGED
|
@@ -1263,6 +1263,36 @@ module Google
|
|
|
1263
1263
|
end
|
|
1264
1264
|
end
|
|
1265
1265
|
|
|
1266
|
+
# Content Security Policy contains the content security related policy of a
|
|
1267
|
+
# resource.
|
|
1268
|
+
class ContentSecurityPolicy
|
|
1269
|
+
include Google::Apis::Core::Hashable
|
|
1270
|
+
|
|
1271
|
+
# ContentSecurity defines the content security related fields of a MCP policy.
|
|
1272
|
+
# Corresponds to the JSON property `mcpContentSecurity`
|
|
1273
|
+
# @return [Google::Apis::ServiceusageV1beta1::ContentSecurity]
|
|
1274
|
+
attr_accessor :mcp_content_security
|
|
1275
|
+
|
|
1276
|
+
# Output only. The resource name of the policy. Only the `default` policy is
|
|
1277
|
+
# supported. We allow the following formats: `projects/`PROJECT_NUMBER`/
|
|
1278
|
+
# contentSecurityPolicies/default`, `projects/`PROJECT_ID`/
|
|
1279
|
+
# contentSecurityPolicies/default`, We only support project level content
|
|
1280
|
+
# security policy for now.
|
|
1281
|
+
# Corresponds to the JSON property `name`
|
|
1282
|
+
# @return [String]
|
|
1283
|
+
attr_accessor :name
|
|
1284
|
+
|
|
1285
|
+
def initialize(**args)
|
|
1286
|
+
update!(**args)
|
|
1287
|
+
end
|
|
1288
|
+
|
|
1289
|
+
# Update properties of this object
|
|
1290
|
+
def update!(**args)
|
|
1291
|
+
@mcp_content_security = args[:mcp_content_security] if args.key?(:mcp_content_security)
|
|
1292
|
+
@name = args[:name] if args.key?(:name)
|
|
1293
|
+
end
|
|
1294
|
+
end
|
|
1295
|
+
|
|
1266
1296
|
# ContentSecurityProvider contains the name of content security provider.
|
|
1267
1297
|
class ContentSecurityProvider
|
|
1268
1298
|
include Google::Apis::Core::Hashable
|
|
@@ -3060,14 +3090,6 @@ module Google
|
|
|
3060
3090
|
class GoogleApiServiceusageV2betaConsumerPolicy
|
|
3061
3091
|
include Google::Apis::Core::Hashable
|
|
3062
3092
|
|
|
3063
|
-
# Optional. Annotations is an unstructured key-value map stored with a policy
|
|
3064
|
-
# that may be set by external tools to store and retrieve arbitrary metadata.
|
|
3065
|
-
# They are not queryable and should be preserved when modifying objects. [AIP-
|
|
3066
|
-
# 128](https://google.aip.dev/128#annotations)
|
|
3067
|
-
# Corresponds to the JSON property `annotations`
|
|
3068
|
-
# @return [Hash<String,String>]
|
|
3069
|
-
attr_accessor :annotations
|
|
3070
|
-
|
|
3071
3093
|
# Output only. The time the policy was created. For singleton policies, this is
|
|
3072
3094
|
# the first touch of the policy.
|
|
3073
3095
|
# Corresponds to the JSON property `createTime`
|
|
@@ -3105,7 +3127,6 @@ module Google
|
|
|
3105
3127
|
|
|
3106
3128
|
# Update properties of this object
|
|
3107
3129
|
def update!(**args)
|
|
3108
|
-
@annotations = args[:annotations] if args.key?(:annotations)
|
|
3109
3130
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3110
3131
|
@enable_rules = args[:enable_rules] if args.key?(:enable_rules)
|
|
3111
3132
|
@etag = args[:etag] if args.key?(:etag)
|
|
@@ -3848,6 +3869,13 @@ module Google
|
|
|
3848
3869
|
# @return [Array<Google::Apis::ServiceusageV1beta1::Operation>]
|
|
3849
3870
|
attr_accessor :operations
|
|
3850
3871
|
|
|
3872
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
3873
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
3874
|
+
# when attempting to list all resources across all supported locations.
|
|
3875
|
+
# Corresponds to the JSON property `unreachable`
|
|
3876
|
+
# @return [Array<String>]
|
|
3877
|
+
attr_accessor :unreachable
|
|
3878
|
+
|
|
3851
3879
|
def initialize(**args)
|
|
3852
3880
|
update!(**args)
|
|
3853
3881
|
end
|
|
@@ -3856,6 +3884,7 @@ module Google
|
|
|
3856
3884
|
def update!(**args)
|
|
3857
3885
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
3858
3886
|
@operations = args[:operations] if args.key?(:operations)
|
|
3887
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
3859
3888
|
end
|
|
3860
3889
|
end
|
|
3861
3890
|
|
|
@@ -4065,11 +4094,6 @@ module Google
|
|
|
4065
4094
|
class McpPolicy
|
|
4066
4095
|
include Google::Apis::Core::Hashable
|
|
4067
4096
|
|
|
4068
|
-
# ContentSecurity defines the content security related fields of a MCP policy.
|
|
4069
|
-
# Corresponds to the JSON property `contentSecurity`
|
|
4070
|
-
# @return [Google::Apis::ServiceusageV1beta1::ContentSecurity]
|
|
4071
|
-
attr_accessor :content_security
|
|
4072
|
-
|
|
4073
4097
|
# Output only. The time the policy was created. For singleton policies (such as
|
|
4074
4098
|
# the `default` policy), this is the first touch of the policy.
|
|
4075
4099
|
# Corresponds to the JSON property `createTime`
|
|
@@ -4106,7 +4130,6 @@ module Google
|
|
|
4106
4130
|
|
|
4107
4131
|
# Update properties of this object
|
|
4108
4132
|
def update!(**args)
|
|
4109
|
-
@content_security = args[:content_security] if args.key?(:content_security)
|
|
4110
4133
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
4111
4134
|
@etag = args[:etag] if args.key?(:etag)
|
|
4112
4135
|
@mcp_enable_rules = args[:mcp_enable_rules] if args.key?(:mcp_enable_rules)
|
|
@@ -6032,6 +6055,19 @@ module Google
|
|
|
6032
6055
|
end
|
|
6033
6056
|
end
|
|
6034
6057
|
|
|
6058
|
+
# Metadata for the `UpdateContentSecurityPolicy` method.
|
|
6059
|
+
class UpdateContentSecurityPolicyMetadata
|
|
6060
|
+
include Google::Apis::Core::Hashable
|
|
6061
|
+
|
|
6062
|
+
def initialize(**args)
|
|
6063
|
+
update!(**args)
|
|
6064
|
+
end
|
|
6065
|
+
|
|
6066
|
+
# Update properties of this object
|
|
6067
|
+
def update!(**args)
|
|
6068
|
+
end
|
|
6069
|
+
end
|
|
6070
|
+
|
|
6035
6071
|
# Metadata for the `UpdateMcpPolicy` method.
|
|
6036
6072
|
class UpdateMcpPolicyMetadata
|
|
6037
6073
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ServiceusageV1beta1
|
|
18
18
|
# Version of the google-apis-serviceusage_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "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 = "
|
|
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
|
|
|
@@ -886,6 +892,12 @@ module Google
|
|
|
886
892
|
include Google::Apis::Core::JsonObjectSupport
|
|
887
893
|
end
|
|
888
894
|
|
|
895
|
+
class UpdateContentSecurityPolicyMetadata
|
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
897
|
+
|
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
899
|
+
end
|
|
900
|
+
|
|
889
901
|
class UpdateMcpPolicyMetadata
|
|
890
902
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
891
903
|
|
|
@@ -1225,6 +1237,15 @@ module Google
|
|
|
1225
1237
|
end
|
|
1226
1238
|
end
|
|
1227
1239
|
|
|
1240
|
+
class ContentSecurityPolicy
|
|
1241
|
+
# @private
|
|
1242
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1243
|
+
property :mcp_content_security, as: 'mcpContentSecurity', class: Google::Apis::ServiceusageV1beta1::ContentSecurity, decorator: Google::Apis::ServiceusageV1beta1::ContentSecurity::Representation
|
|
1244
|
+
|
|
1245
|
+
property :name, as: 'name'
|
|
1246
|
+
end
|
|
1247
|
+
end
|
|
1248
|
+
|
|
1228
1249
|
class ContentSecurityProvider
|
|
1229
1250
|
# @private
|
|
1230
1251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1673,7 +1694,6 @@ module Google
|
|
|
1673
1694
|
class GoogleApiServiceusageV2betaConsumerPolicy
|
|
1674
1695
|
# @private
|
|
1675
1696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1676
|
-
hash :annotations, as: 'annotations'
|
|
1677
1697
|
property :create_time, as: 'createTime'
|
|
1678
1698
|
collection :enable_rules, as: 'enableRules', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV2betaEnableRule::Representation
|
|
1679
1699
|
|
|
@@ -1865,6 +1885,7 @@ module Google
|
|
|
1865
1885
|
property :next_page_token, as: 'nextPageToken'
|
|
1866
1886
|
collection :operations, as: 'operations', class: Google::Apis::ServiceusageV1beta1::Operation, decorator: Google::Apis::ServiceusageV1beta1::Operation::Representation
|
|
1867
1887
|
|
|
1888
|
+
collection :unreachable, as: 'unreachable'
|
|
1868
1889
|
end
|
|
1869
1890
|
end
|
|
1870
1891
|
|
|
@@ -1927,8 +1948,6 @@ module Google
|
|
|
1927
1948
|
class McpPolicy
|
|
1928
1949
|
# @private
|
|
1929
1950
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1930
|
-
property :content_security, as: 'contentSecurity', class: Google::Apis::ServiceusageV1beta1::ContentSecurity, decorator: Google::Apis::ServiceusageV1beta1::ContentSecurity::Representation
|
|
1931
|
-
|
|
1932
1951
|
property :create_time, as: 'createTime'
|
|
1933
1952
|
property :etag, as: 'etag'
|
|
1934
1953
|
collection :mcp_enable_rules, as: 'mcpEnableRules', class: Google::Apis::ServiceusageV1beta1::McpEnableRule, decorator: Google::Apis::ServiceusageV1beta1::McpEnableRule::Representation
|
|
@@ -2381,6 +2400,12 @@ module Google
|
|
|
2381
2400
|
end
|
|
2382
2401
|
end
|
|
2383
2402
|
|
|
2403
|
+
class UpdateContentSecurityPolicyMetadata
|
|
2404
|
+
# @private
|
|
2405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2406
|
+
end
|
|
2407
|
+
end
|
|
2408
|
+
|
|
2384
2409
|
class UpdateMcpPolicyMetadata
|
|
2385
2410
|
# @private
|
|
2386
2411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -94,6 +94,13 @@ module Google
|
|
|
94
94
|
# The standard list page size.
|
|
95
95
|
# @param [String] page_token
|
|
96
96
|
# The standard list page token.
|
|
97
|
+
# @param [Boolean] return_partial_success
|
|
98
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
99
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
100
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
101
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
102
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
103
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
97
104
|
# @param [String] fields
|
|
98
105
|
# Selector specifying which fields to include in a partial response.
|
|
99
106
|
# @param [String] quota_user
|
|
@@ -111,7 +118,7 @@ module Google
|
|
|
111
118
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
112
119
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
113
120
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
114
|
-
def list_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
121
|
+
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)
|
|
115
122
|
command = make_simple_command(:get, 'v1beta1/operations', options)
|
|
116
123
|
command.response_representation = Google::Apis::ServiceusageV1beta1::ListOperationsResponse::Representation
|
|
117
124
|
command.response_class = Google::Apis::ServiceusageV1beta1::ListOperationsResponse
|
|
@@ -119,6 +126,7 @@ module Google
|
|
|
119
126
|
command.query['name'] = name unless name.nil?
|
|
120
127
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
121
128
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
129
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
122
130
|
command.query['fields'] = fields unless fields.nil?
|
|
123
131
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
124
132
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-serviceusage_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 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_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-serviceusage_v1beta1/v0.71.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-serviceusage_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|