Skip to content

Commit

Permalink
feat: Promote network_configs field to v2 API (#13431)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

BEGIN_COMMIT_OVERRIDE
feat: Make v6e available for GA
feat: Add UNKNOWN to TPU node state, This state will be used to prevent
a node from being marked as READY during diagnose after it has failed
repair
feat: Make V5Litepod accelerator config available for v2
feat: Make v5p available for GA
docs: A comment for field `network_config` in message
`.google.cloud.tpu.v2.Node` is changed
feat: Promote network_configs field to v2 API
END_COMMIT_OVERRIDE




PiperOrigin-RevId: 714369166

Source-Link:
googleapis/googleapis@276b372

Source-Link:
googleapis/googleapis-gen@5b65431
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXJlY29tbWVuZGF0aW9ucy1haS8uT3dsQm90LnlhbWwiLCJoIjoiNWI2NTQzMTUyN2FkN2JhZDk0MGRkZWMwZDBhYjllZTJlZjEyY2U5MiJ9
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXRwdS8uT3dsQm90LnlhbWwiLCJoIjoiNWI2NTQzMTUyN2FkN2JhZDk0MGRkZWMwZDBhYjllZTJlZjEyY2U5MiJ9
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXZtLW1pZ3JhdGlvbi8uT3dsQm90LnlhbWwiLCJoIjoiNWI2NTQzMTUyN2FkN2JhZDk0MGRkZWMwZDBhYjllZTJlZjEyY2U5MiJ9
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXdlYnJpc2svLk93bEJvdC55YW1sIiwiaCI6IjViNjU0MzE1MjdhZDdiYWQ5NDBkZGVjMGQwYWI5ZWUyZWYxMmNlOTIifQ==

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent 7f6bc72 commit ad5c169
Show file tree
Hide file tree
Showing 25 changed files with 12,529 additions and 3,133 deletions.
16 changes: 16 additions & 0 deletions packages/google-cloud-tpu/google/cloud/tpu_v2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@
AccessConfig,
AttachedDisk,
CreateNodeRequest,
CreateQueuedResourceRequest,
DeleteNodeRequest,
DeleteQueuedResourceRequest,
GenerateServiceIdentityRequest,
GenerateServiceIdentityResponse,
GetAcceleratorTypeRequest,
GetGuestAttributesRequest,
GetGuestAttributesResponse,
GetNodeRequest,
GetQueuedResourceRequest,
GetRuntimeVersionRequest,
GuestAttributes,
GuestAttributesEntry,
Expand All @@ -40,12 +43,17 @@
ListAcceleratorTypesResponse,
ListNodesRequest,
ListNodesResponse,
ListQueuedResourcesRequest,
ListQueuedResourcesResponse,
ListRuntimeVersionsRequest,
ListRuntimeVersionsResponse,
NetworkConfig,
NetworkEndpoint,
Node,
OperationMetadata,
QueuedResource,
QueuedResourceState,
ResetQueuedResourceRequest,
RuntimeVersion,
SchedulingConfig,
ServiceAccount,
Expand All @@ -64,13 +72,16 @@
"AccessConfig",
"AttachedDisk",
"CreateNodeRequest",
"CreateQueuedResourceRequest",
"DeleteNodeRequest",
"DeleteQueuedResourceRequest",
"GenerateServiceIdentityRequest",
"GenerateServiceIdentityResponse",
"GetAcceleratorTypeRequest",
"GetGuestAttributesRequest",
"GetGuestAttributesResponse",
"GetNodeRequest",
"GetQueuedResourceRequest",
"GetRuntimeVersionRequest",
"GuestAttributes",
"GuestAttributesEntry",
Expand All @@ -79,12 +90,17 @@
"ListAcceleratorTypesResponse",
"ListNodesRequest",
"ListNodesResponse",
"ListQueuedResourcesRequest",
"ListQueuedResourcesResponse",
"ListRuntimeVersionsRequest",
"ListRuntimeVersionsResponse",
"NetworkConfig",
"NetworkEndpoint",
"Node",
"OperationMetadata",
"QueuedResource",
"QueuedResourceState",
"ResetQueuedResourceRequest",
"RuntimeVersion",
"SchedulingConfig",
"ServiceAccount",
Expand Down
75 changes: 75 additions & 0 deletions packages/google-cloud-tpu/google/cloud/tpu_v2/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@
"create_node"
]
},
"CreateQueuedResource": {
"methods": [
"create_queued_resource"
]
},
"DeleteNode": {
"methods": [
"delete_node"
]
},
"DeleteQueuedResource": {
"methods": [
"delete_queued_resource"
]
},
"GenerateServiceIdentity": {
"methods": [
"generate_service_identity"
Expand All @@ -40,6 +50,11 @@
"get_node"
]
},
"GetQueuedResource": {
"methods": [
"get_queued_resource"
]
},
"GetRuntimeVersion": {
"methods": [
"get_runtime_version"
Expand All @@ -55,11 +70,21 @@
"list_nodes"
]
},
"ListQueuedResources": {
"methods": [
"list_queued_resources"
]
},
"ListRuntimeVersions": {
"methods": [
"list_runtime_versions"
]
},
"ResetQueuedResource": {
"methods": [
"reset_queued_resource"
]
},
"StartNode": {
"methods": [
"start_node"
Expand All @@ -85,11 +110,21 @@
"create_node"
]
},
"CreateQueuedResource": {
"methods": [
"create_queued_resource"
]
},
"DeleteNode": {
"methods": [
"delete_node"
]
},
"DeleteQueuedResource": {
"methods": [
"delete_queued_resource"
]
},
"GenerateServiceIdentity": {
"methods": [
"generate_service_identity"
Expand All @@ -110,6 +145,11 @@
"get_node"
]
},
"GetQueuedResource": {
"methods": [
"get_queued_resource"
]
},
"GetRuntimeVersion": {
"methods": [
"get_runtime_version"
Expand All @@ -125,11 +165,21 @@
"list_nodes"
]
},
"ListQueuedResources": {
"methods": [
"list_queued_resources"
]
},
"ListRuntimeVersions": {
"methods": [
"list_runtime_versions"
]
},
"ResetQueuedResource": {
"methods": [
"reset_queued_resource"
]
},
"StartNode": {
"methods": [
"start_node"
Expand All @@ -155,11 +205,21 @@
"create_node"
]
},
"CreateQueuedResource": {
"methods": [
"create_queued_resource"
]
},
"DeleteNode": {
"methods": [
"delete_node"
]
},
"DeleteQueuedResource": {
"methods": [
"delete_queued_resource"
]
},
"GenerateServiceIdentity": {
"methods": [
"generate_service_identity"
Expand All @@ -180,6 +240,11 @@
"get_node"
]
},
"GetQueuedResource": {
"methods": [
"get_queued_resource"
]
},
"GetRuntimeVersion": {
"methods": [
"get_runtime_version"
Expand All @@ -195,11 +260,21 @@
"list_nodes"
]
},
"ListQueuedResources": {
"methods": [
"list_queued_resources"
]
},
"ListRuntimeVersions": {
"methods": [
"list_runtime_versions"
]
},
"ResetQueuedResource": {
"methods": [
"reset_queued_resource"
]
},
"StartNode": {
"methods": [
"start_node"
Expand Down
Loading

0 comments on commit ad5c169

Please sign in to comment.