@Generated(value="by gapic-generator") @BetaApi public class TargetVpnGatewaySettings extends ClientSettings<TargetVpnGatewaySettings>
TargetVpnGatewayClient
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object. For example, to set the total timeout of deleteTargetVpnGateway to 30 seconds:
TargetVpnGatewaySettings.Builder targetVpnGatewaySettingsBuilder =
TargetVpnGatewaySettings.newBuilder();
targetVpnGatewaySettingsBuilder.deleteTargetVpnGatewaySettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
TargetVpnGatewaySettings targetVpnGatewaySettings = targetVpnGatewaySettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
TargetVpnGatewaySettings.Builder
Builder for TargetVpnGatewaySettings.
|
Modifier | Constructor and Description |
---|---|
protected |
TargetVpnGatewaySettings(TargetVpnGatewaySettings.Builder settingsBuilder) |
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected TargetVpnGatewaySettings(TargetVpnGatewaySettings.Builder settingsBuilder) throws IOException
IOException
public PagedCallSettings<AggregatedListTargetVpnGatewaysHttpRequest,TargetVpnGatewayAggregatedList,TargetVpnGatewayClient.AggregatedListTargetVpnGatewaysPagedResponse> aggregatedListTargetVpnGatewaysSettings()
public UnaryCallSettings<DeleteTargetVpnGatewayHttpRequest,Operation> deleteTargetVpnGatewaySettings()
public UnaryCallSettings<GetTargetVpnGatewayHttpRequest,TargetVpnGateway> getTargetVpnGatewaySettings()
public UnaryCallSettings<InsertTargetVpnGatewayHttpRequest,Operation> insertTargetVpnGatewaySettings()
public PagedCallSettings<ListTargetVpnGatewaysHttpRequest,TargetVpnGatewayList,TargetVpnGatewayClient.ListTargetVpnGatewaysPagedResponse> listTargetVpnGatewaysSettings()
public static final TargetVpnGatewaySettings create(TargetVpnGatewayStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static int getDefaultServicePort()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static TargetVpnGatewaySettings.Builder newBuilder()
public static TargetVpnGatewaySettings.Builder newBuilder(ClientContext clientContext)
public TargetVpnGatewaySettings.Builder toBuilder()
toBuilder
in class ClientSettings<TargetVpnGatewaySettings>
Copyright © 2019 Google LLC. All rights reserved.