@Generated public class WorkspaceNetworkConfigurationAPI extends Object
| Constructor and Description |
|---|
WorkspaceNetworkConfigurationAPI(ApiClient apiClient)
Regular-use constructor
|
WorkspaceNetworkConfigurationAPI(WorkspaceNetworkConfigurationService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
WorkspaceNetworkOption |
getWorkspaceNetworkOptionRpc(GetWorkspaceNetworkOptionRequest request)
Get workspace network option.
|
WorkspaceNetworkOption |
getWorkspaceNetworkOptionRpc(long workspaceId) |
WorkspaceNetworkConfigurationService |
impl() |
WorkspaceNetworkOption |
updateWorkspaceNetworkOptionRpc(long workspaceId,
WorkspaceNetworkOption workspaceNetworkOption) |
WorkspaceNetworkOption |
updateWorkspaceNetworkOptionRpc(UpdateWorkspaceNetworkOptionRequest request)
Update workspace network option.
|
public WorkspaceNetworkConfigurationAPI(ApiClient apiClient)
public WorkspaceNetworkConfigurationAPI(WorkspaceNetworkConfigurationService mock)
public WorkspaceNetworkOption getWorkspaceNetworkOptionRpc(long workspaceId)
public WorkspaceNetworkOption getWorkspaceNetworkOptionRpc(GetWorkspaceNetworkOptionRequest request)
Gets the network option for a workspace. Every workspace has exactly one network policy binding, with 'default-policy' used if no explicit assignment exists.
public WorkspaceNetworkOption updateWorkspaceNetworkOptionRpc(long workspaceId, WorkspaceNetworkOption workspaceNetworkOption)
public WorkspaceNetworkOption updateWorkspaceNetworkOptionRpc(UpdateWorkspaceNetworkOptionRequest request)
Updates the network option for a workspace. This operation associates the workspace with the specified network policy. To revert to the default policy, specify 'default-policy' as the network_policy_id.
public WorkspaceNetworkConfigurationService impl()
Copyright © 2025. All rights reserved.