@@ -1169,6 +1169,36 @@ def update!(**args)
11691169 end
11701170 end
11711171
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+
11721202 # ContentSecurityProvider contains the name of content security provider.
11731203 class ContentSecurityProvider
11741204 include Google ::Apis ::Core ::Hashable
@@ -2982,14 +3012,6 @@ def update!(**args)
29823012 class GoogleApiServiceusageV2betaConsumerPolicy
29833013 include Google ::Apis ::Core ::Hashable
29843014
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-
29933015 # Output only. The time the policy was created. For singleton policies, this is
29943016 # the first touch of the policy.
29953017 # Corresponds to the JSON property `createTime`
@@ -3027,7 +3049,6 @@ def initialize(**args)
30273049
30283050 # Update properties of this object
30293051 def update! ( **args )
3030- @annotations = args [ :annotations ] if args . key? ( :annotations )
30313052 @create_time = args [ :create_time ] if args . key? ( :create_time )
30323053 @enable_rules = args [ :enable_rules ] if args . key? ( :enable_rules )
30333054 @etag = args [ :etag ] if args . key? ( :etag )
@@ -3613,6 +3634,13 @@ class ListOperationsResponse
36133634 # @return [Array<Google::Apis::ServiceusageV1::Operation>]
36143635 attr_accessor :operations
36153636
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+
36163644 def initialize ( **args )
36173645 update! ( **args )
36183646 end
@@ -3621,6 +3649,7 @@ def initialize(**args)
36213649 def update! ( **args )
36223650 @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
36233651 @operations = args [ :operations ] if args . key? ( :operations )
3652+ @unreachable = args [ :unreachable ] if args . key? ( :unreachable )
36243653 end
36253654 end
36263655
@@ -3830,11 +3859,6 @@ def update!(**args)
38303859 class McpPolicy
38313860 include Google ::Apis ::Core ::Hashable
38323861
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-
38383862 # Output only. The time the policy was created. For singleton policies (such as
38393863 # the `default` policy), this is the first touch of the policy.
38403864 # Corresponds to the JSON property `createTime`
@@ -3871,7 +3895,6 @@ def initialize(**args)
38713895
38723896 # Update properties of this object
38733897 def update! ( **args )
3874- @content_security = args [ :content_security ] if args . key? ( :content_security )
38753898 @create_time = args [ :create_time ] if args . key? ( :create_time )
38763899 @etag = args [ :etag ] if args . key? ( :etag )
38773900 @mcp_enable_rules = args [ :mcp_enable_rules ] if args . key? ( :mcp_enable_rules )
@@ -5431,6 +5454,19 @@ def update!(**args)
54315454 end
54325455 end
54335456
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+
54345470 # Metadata for the `UpdateMcpPolicy` method.
54355471 class UpdateMcpPolicyMetadata
54365472 include Google ::Apis ::Core ::Hashable
0 commit comments