Skip to content

Commit 9ce2929

Browse files
feat(servicecontrol): update the api
#### servicecontrol:v1 The following keys were added: - schemas.AuthenticationInfo.properties.serviceDelegationHistory.$ref (Total Keys: 1) - schemas.ServiceDelegationHistory (Total Keys: 5) - schemas.ServiceMetadata (Total Keys: 6) #### servicecontrol:v2 The following keys were added: - schemas.AuthenticationInfo.properties.serviceDelegationHistory.$ref (Total Keys: 1) - schemas.ServiceDelegationHistory (Total Keys: 5) - schemas.ServiceMetadata (Total Keys: 6)
1 parent c1a5947 commit 9ce2929

File tree

2 files changed

+92
-2
lines changed

2 files changed

+92
-2
lines changed

googleapiclient/discovery_cache/documents/servicecontrol.v1.json

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
}
198198
}
199199
},
200-
"revision": "20230720",
200+
"revision": "20230728",
201201
"rootUrl": "https://servicecontrol.googleapis.com/",
202202
"schemas": {
203203
"AllocateInfo": {
@@ -456,6 +456,10 @@
456456
"description": "The name of the service account key used to create or exchange credentials for authenticating the service account making the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\"",
457457
"type": "string"
458458
},
459+
"serviceDelegationHistory": {
460+
"$ref": "ServiceDelegationHistory",
461+
"description": "Records the history of delegated resource access across Google services."
462+
},
459463
"thirdPartyPrincipal": {
460464
"additionalProperties": {
461465
"description": "Properties of the object.",
@@ -1751,6 +1755,47 @@
17511755
},
17521756
"type": "object"
17531757
},
1758+
"ServiceDelegationHistory": {
1759+
"description": "The history of delegation across multiple services as the result of the original user's action. Such as \"service A uses its own account to do something for user B\". This differs from ServiceAccountDelegationInfo, which only tracks the history of direct token exchanges (impersonation).",
1760+
"id": "ServiceDelegationHistory",
1761+
"properties": {
1762+
"originalPrincipal": {
1763+
"description": "The original end user who initiated the request to GCP.",
1764+
"type": "string"
1765+
},
1766+
"serviceMetadata": {
1767+
"description": "Data identifying the service specific jobs or units of work that were involved in a chain of service calls.",
1768+
"items": {
1769+
"$ref": "ServiceMetadata"
1770+
},
1771+
"type": "array"
1772+
}
1773+
},
1774+
"type": "object"
1775+
},
1776+
"ServiceMetadata": {
1777+
"description": "Metadata describing the service and additional service specific information used to identify the job or unit of work at hand.",
1778+
"id": "ServiceMetadata",
1779+
"properties": {
1780+
"jobMetadata": {
1781+
"additionalProperties": {
1782+
"description": "Properties of the object.",
1783+
"type": "any"
1784+
},
1785+
"description": "Additional metadata provided by service teams to describe service specific job information that was triggered by the original principal.",
1786+
"type": "object"
1787+
},
1788+
"principalSubject": {
1789+
"description": "A string representing the principal_subject associated with the identity. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]` If the identity is a Google account (e.g. workspace user account or service account), this will be the email of the prefixed by `serviceAccount:`. For example: `serviceAccount:[email protected]`. If the identity is an individual user, the identity will be formatted as: `user:[email protected]`.",
1790+
"type": "string"
1791+
},
1792+
"serviceDomain": {
1793+
"description": "The service's fully qualified domain name, e.g. \"dataproc.googleapis.com\".",
1794+
"type": "string"
1795+
}
1796+
},
1797+
"type": "object"
1798+
},
17541799
"SpanContext": {
17551800
"description": "The context of a span. This is attached to an Exemplar in Distribution values during aggregation. It contains the name of a span with format: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]",
17561801
"id": "SpanContext",

googleapiclient/discovery_cache/documents/servicecontrol.v2.json

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
}
170170
}
171171
},
172-
"revision": "20230720",
172+
"revision": "20230728",
173173
"rootUrl": "https://servicecontrol.googleapis.com/",
174174
"schemas": {
175175
"Api": {
@@ -397,6 +397,10 @@
397397
"description": "The name of the service account key used to create or exchange credentials for authenticating the service account making the request. This is a scheme-less URI full resource name. For example: \"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}\"",
398398
"type": "string"
399399
},
400+
"serviceDelegationHistory": {
401+
"$ref": "ServiceDelegationHistory",
402+
"description": "Records the history of delegated resource access across Google services."
403+
},
400404
"thirdPartyPrincipal": {
401405
"additionalProperties": {
402406
"description": "Properties of the object.",
@@ -845,6 +849,47 @@
845849
},
846850
"type": "object"
847851
},
852+
"ServiceDelegationHistory": {
853+
"description": "The history of delegation across multiple services as the result of the original user's action. Such as \"service A uses its own account to do something for user B\". This differs from ServiceAccountDelegationInfo, which only tracks the history of direct token exchanges (impersonation).",
854+
"id": "ServiceDelegationHistory",
855+
"properties": {
856+
"originalPrincipal": {
857+
"description": "The original end user who initiated the request to GCP.",
858+
"type": "string"
859+
},
860+
"serviceMetadata": {
861+
"description": "Data identifying the service specific jobs or units of work that were involved in a chain of service calls.",
862+
"items": {
863+
"$ref": "ServiceMetadata"
864+
},
865+
"type": "array"
866+
}
867+
},
868+
"type": "object"
869+
},
870+
"ServiceMetadata": {
871+
"description": "Metadata describing the service and additional service specific information used to identify the job or unit of work at hand.",
872+
"id": "ServiceMetadata",
873+
"properties": {
874+
"jobMetadata": {
875+
"additionalProperties": {
876+
"description": "Properties of the object.",
877+
"type": "any"
878+
},
879+
"description": "Additional metadata provided by service teams to describe service specific job information that was triggered by the original principal.",
880+
"type": "object"
881+
},
882+
"principalSubject": {
883+
"description": "A string representing the principal_subject associated with the identity. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]` If the identity is a Google account (e.g. workspace user account or service account), this will be the email of the prefixed by `serviceAccount:`. For example: `serviceAccount:[email protected]`. If the identity is an individual user, the identity will be formatted as: `user:[email protected]`.",
884+
"type": "string"
885+
},
886+
"serviceDomain": {
887+
"description": "The service's fully qualified domain name, e.g. \"dataproc.googleapis.com\".",
888+
"type": "string"
889+
}
890+
},
891+
"type": "object"
892+
},
848893
"SpanContext": {
849894
"description": "The context of a span. This is attached to an Exemplar in Distribution values during aggregation. It contains the name of a span with format: projects/[PROJECT_ID_OR_NUMBER]/traces/[TRACE_ID]/spans/[SPAN_ID]",
850895
"id": "SpanContext",

0 commit comments

Comments
 (0)