Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .librarian/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: google-cloud-container
version: 2.62.0
last_generated_commit: 94ccdfe4519e0ba817bd33aa22eb9c64f88a6874
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
apis:
- path: google/container/v1
service_config: container_v1.yaml
Expand Down Expand Up @@ -1416,7 +1416,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: google-cloud-documentai
version: 3.8.0
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
apis:
- path: google/cloud/documentai/v1beta3
service_config: documentai_v1beta3.yaml
Expand Down Expand Up @@ -2097,7 +2097,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: google-cloud-network-management
version: 1.31.0
last_generated_commit: 53f97391f3451398f7b53c7f86dabd325d205677
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
apis:
- path: google/cloud/networkmanagement/v1
service_config: networkmanagement_v1.yaml
Expand Down Expand Up @@ -2387,7 +2387,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: google-cloud-quotas
version: 0.3.0
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
apis:
- path: google/api/cloudquotas/v1
service_config: cloudquotas_v1.yaml
Expand Down Expand Up @@ -2507,7 +2507,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: google-cloud-retail
version: 2.8.0
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
apis:
- path: google/cloud/retail/v2
service_config: retail_v2.yaml
Expand Down Expand Up @@ -3598,7 +3598,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: googleapis-common-protos
version: 1.72.0
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
apis:
- path: google/api
service_config: serviceconfig.yaml
Expand All @@ -3625,7 +3625,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: grafeas
version: 1.18.0
last_generated_commit: 94aa4f5ae672addf00e7970ecc47699e34989e90
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
apis:
- path: grafeas/v1
service_config: grafeas_v1.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
DeleteNodePoolRequest,
DesiredAdditionalIPRangesConfig,
DesiredEnterpriseConfig,
DisruptionEvent,
DnsCacheConfig,
DNSConfig,
EnterpriseConfig,
Expand All @@ -99,6 +100,7 @@
GetServerConfigRequest,
GkeAutoUpgradeConfig,
GkeBackupAgentConfig,
GPUDirectConfig,
GPUDriverInstallationConfig,
GPUSharingConfig,
HighScaleCheckpointingConfig,
Expand Down Expand Up @@ -131,6 +133,7 @@
MaintenanceExclusionOptions,
MaintenancePolicy,
MaintenanceWindow,
ManagedOpenTelemetryConfig,
ManagedPrometheusConfig,
MasterAuth,
MasterAuthorizedNetworksConfig,
Expand Down Expand Up @@ -204,6 +207,7 @@
SetNodePoolSizeRequest,
ShieldedInstanceConfig,
ShieldedNodes,
SliceControllerConfig,
SoleTenantConfig,
StackType,
StartIPRotationRequest,
Expand Down Expand Up @@ -280,6 +284,7 @@
"DeleteNodePoolRequest",
"DesiredAdditionalIPRangesConfig",
"DesiredEnterpriseConfig",
"DisruptionEvent",
"DnsCacheConfig",
"DNSConfig",
"EnterpriseConfig",
Expand All @@ -306,6 +311,7 @@
"GetServerConfigRequest",
"GkeAutoUpgradeConfig",
"GkeBackupAgentConfig",
"GPUDirectConfig",
"GPUDriverInstallationConfig",
"GPUSharingConfig",
"HighScaleCheckpointingConfig",
Expand Down Expand Up @@ -336,6 +342,7 @@
"MaintenanceExclusionOptions",
"MaintenancePolicy",
"MaintenanceWindow",
"ManagedOpenTelemetryConfig",
"ManagedPrometheusConfig",
"MasterAuth",
"MasterAuthorizedNetworksConfig",
Expand Down Expand Up @@ -407,6 +414,7 @@
"SetNodePoolSizeRequest",
"ShieldedInstanceConfig",
"ShieldedNodes",
"SliceControllerConfig",
"SoleTenantConfig",
"StartIPRotationRequest",
"StatefulHAConfig",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
DeleteNodePoolRequest,
DesiredAdditionalIPRangesConfig,
DesiredEnterpriseConfig,
DisruptionEvent,
DnsCacheConfig,
DNSConfig,
EnterpriseConfig,
Expand All @@ -104,6 +105,7 @@
GetServerConfigRequest,
GkeAutoUpgradeConfig,
GkeBackupAgentConfig,
GPUDirectConfig,
GPUDriverInstallationConfig,
GPUSharingConfig,
HighScaleCheckpointingConfig,
Expand Down Expand Up @@ -136,6 +138,7 @@
MaintenanceExclusionOptions,
MaintenancePolicy,
MaintenanceWindow,
ManagedOpenTelemetryConfig,
ManagedPrometheusConfig,
MasterAuth,
MasterAuthorizedNetworksConfig,
Expand Down Expand Up @@ -209,6 +212,7 @@
SetNodePoolSizeRequest,
ShieldedInstanceConfig,
ShieldedNodes,
SliceControllerConfig,
SoleTenantConfig,
StackType,
StartIPRotationRequest,
Expand Down Expand Up @@ -381,6 +385,7 @@ def _get_version(dependency_name):
"DeleteNodePoolRequest",
"DesiredAdditionalIPRangesConfig",
"DesiredEnterpriseConfig",
"DisruptionEvent",
"DnsCacheConfig",
"EnterpriseConfig",
"EphemeralStorageLocalSsdConfig",
Expand All @@ -391,6 +396,7 @@ def _get_version(dependency_name):
"FetchClusterUpgradeInfoRequest",
"FetchNodePoolUpgradeInfoRequest",
"Fleet",
"GPUDirectConfig",
"GPUDriverInstallationConfig",
"GPUSharingConfig",
"GatewayAPIConfig",
Expand Down Expand Up @@ -438,6 +444,7 @@ def _get_version(dependency_name):
"MaintenanceExclusionOptions",
"MaintenancePolicy",
"MaintenanceWindow",
"ManagedOpenTelemetryConfig",
"ManagedPrometheusConfig",
"MasterAuth",
"MasterAuthorizedNetworksConfig",
Expand Down Expand Up @@ -511,6 +518,7 @@ def _get_version(dependency_name):
"SetNodePoolSizeRequest",
"ShieldedInstanceConfig",
"ShieldedNodes",
"SliceControllerConfig",
"SoleTenantConfig",
"StackType",
"StartIPRotationRequest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ class ClusterManagerAsyncClient:
parse_crypto_key_version_path = staticmethod(
ClusterManagerClient.parse_crypto_key_version_path
)
subnetwork_path = staticmethod(ClusterManagerClient.subnetwork_path)
parse_subnetwork_path = staticmethod(ClusterManagerClient.parse_subnetwork_path)
topic_path = staticmethod(ClusterManagerClient.topic_path)
parse_topic_path = staticmethod(ClusterManagerClient.parse_topic_path)
common_billing_account_path = staticmethod(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,28 @@ def parse_crypto_key_version_path(path: str) -> Dict[str, str]:
)
return m.groupdict() if m else {}

@staticmethod
def subnetwork_path(
project: str,
region: str,
subnetwork: str,
) -> str:
"""Returns a fully-qualified subnetwork string."""
return "projects/{project}/regions/{region}/subnetworks/{subnetwork}".format(
project=project,
region=region,
subnetwork=subnetwork,
)

@staticmethod
def parse_subnetwork_path(path: str) -> Dict[str, str]:
"""Parses a subnetwork path into its component segments."""
m = re.match(
r"^projects/(?P<project>.+?)/regions/(?P<region>.+?)/subnetworks/(?P<subnetwork>.+?)$",
path,
)
return m.groupdict() if m else {}

@staticmethod
def topic_path(
project: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
DeleteNodePoolRequest,
DesiredAdditionalIPRangesConfig,
DesiredEnterpriseConfig,
DisruptionEvent,
DnsCacheConfig,
DNSConfig,
EnterpriseConfig,
Expand All @@ -88,6 +89,7 @@
GetServerConfigRequest,
GkeAutoUpgradeConfig,
GkeBackupAgentConfig,
GPUDirectConfig,
GPUDriverInstallationConfig,
GPUSharingConfig,
HighScaleCheckpointingConfig,
Expand Down Expand Up @@ -120,6 +122,7 @@
MaintenanceExclusionOptions,
MaintenancePolicy,
MaintenanceWindow,
ManagedOpenTelemetryConfig,
ManagedPrometheusConfig,
MasterAuth,
MasterAuthorizedNetworksConfig,
Expand Down Expand Up @@ -193,6 +196,7 @@
SetNodePoolSizeRequest,
ShieldedInstanceConfig,
ShieldedNodes,
SliceControllerConfig,
SoleTenantConfig,
StackType,
StartIPRotationRequest,
Expand Down Expand Up @@ -267,6 +271,7 @@
"DeleteNodePoolRequest",
"DesiredAdditionalIPRangesConfig",
"DesiredEnterpriseConfig",
"DisruptionEvent",
"DnsCacheConfig",
"DNSConfig",
"EnterpriseConfig",
Expand All @@ -293,6 +298,7 @@
"GetServerConfigRequest",
"GkeAutoUpgradeConfig",
"GkeBackupAgentConfig",
"GPUDirectConfig",
"GPUDriverInstallationConfig",
"GPUSharingConfig",
"HighScaleCheckpointingConfig",
Expand Down Expand Up @@ -323,6 +329,7 @@
"MaintenanceExclusionOptions",
"MaintenancePolicy",
"MaintenanceWindow",
"ManagedOpenTelemetryConfig",
"ManagedPrometheusConfig",
"MasterAuth",
"MasterAuthorizedNetworksConfig",
Expand Down Expand Up @@ -394,6 +401,7 @@
"SetNodePoolSizeRequest",
"ShieldedInstanceConfig",
"ShieldedNodes",
"SliceControllerConfig",
"SoleTenantConfig",
"StartIPRotationRequest",
"StatefulHAConfig",
Expand Down
Loading
Loading