- 1.64.0 (latest)
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public class HttpJsonInstancesStub extends InstancesStub
REST stub implementation for the Instances service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonInstancesStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonInstancesStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonInstancesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonInstancesStub |
Type | Description |
IOException |
create(InstancesStubSettings settings)
public static final HttpJsonInstancesStub create(InstancesStubSettings settings)
Name | Description |
settings | InstancesStubSettings |
Type | Description |
HttpJsonInstancesStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext)
protected HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonInstancesStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | InstancesStubSettings |
clientContext | ClientContext |
HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonInstancesStub(InstancesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonInstancesStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
Name | Description |
settings | InstancesStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
addAccessConfigCallable()
public UnaryCallable<AddAccessConfigInstanceRequest,Operation> addAccessConfigCallable()
Type | Description |
UnaryCallable<AddAccessConfigInstanceRequest,Operation> |
addAccessConfigOperationCallable()
public OperationCallable<AddAccessConfigInstanceRequest,Operation,Operation> addAccessConfigOperationCallable()
Type | Description |
OperationCallable<AddAccessConfigInstanceRequest,Operation,Operation> |
addResourcePoliciesCallable()
public UnaryCallable<AddResourcePoliciesInstanceRequest,Operation> addResourcePoliciesCallable()
Type | Description |
UnaryCallable<AddResourcePoliciesInstanceRequest,Operation> |
addResourcePoliciesOperationCallable()
public OperationCallable<AddResourcePoliciesInstanceRequest,Operation,Operation> addResourcePoliciesOperationCallable()
Type | Description |
OperationCallable<AddResourcePoliciesInstanceRequest,Operation,Operation> |
aggregatedListCallable()
public UnaryCallable<AggregatedListInstancesRequest,InstanceAggregatedList> aggregatedListCallable()
Type | Description |
UnaryCallable<AggregatedListInstancesRequest,InstanceAggregatedList> |
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListInstancesRequest,InstancesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Type | Description |
UnaryCallable<AggregatedListInstancesRequest,AggregatedListPagedResponse> |
attachDiskCallable()
public UnaryCallable<AttachDiskInstanceRequest,Operation> attachDiskCallable()
Type | Description |
UnaryCallable<AttachDiskInstanceRequest,Operation> |
attachDiskOperationCallable()
public OperationCallable<AttachDiskInstanceRequest,Operation,Operation> attachDiskOperationCallable()
Type | Description |
OperationCallable<AttachDiskInstanceRequest,Operation,Operation> |
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
bulkInsertCallable()
public UnaryCallable<BulkInsertInstanceRequest,Operation> bulkInsertCallable()
Type | Description |
UnaryCallable<BulkInsertInstanceRequest,Operation> |
bulkInsertOperationCallable()
public OperationCallable<BulkInsertInstanceRequest,Operation,Operation> bulkInsertOperationCallable()
Type | Description |
OperationCallable<BulkInsertInstanceRequest,Operation,Operation> |
close()
public final void close()
deleteAccessConfigCallable()
public UnaryCallable<DeleteAccessConfigInstanceRequest,Operation> deleteAccessConfigCallable()
Type | Description |
UnaryCallable<DeleteAccessConfigInstanceRequest,Operation> |
deleteAccessConfigOperationCallable()
public OperationCallable<DeleteAccessConfigInstanceRequest,Operation,Operation> deleteAccessConfigOperationCallable()
Type | Description |
OperationCallable<DeleteAccessConfigInstanceRequest,Operation,Operation> |
deleteCallable()
public UnaryCallable<DeleteInstanceRequest,Operation> deleteCallable()
Type | Description |
UnaryCallable<DeleteInstanceRequest,Operation> |
deleteOperationCallable()
public OperationCallable<DeleteInstanceRequest,Operation,Operation> deleteOperationCallable()
Type | Description |
OperationCallable<DeleteInstanceRequest,Operation,Operation> |
detachDiskCallable()
public UnaryCallable<DetachDiskInstanceRequest,Operation> detachDiskCallable()
Type | Description |
UnaryCallable<DetachDiskInstanceRequest,Operation> |
detachDiskOperationCallable()
public OperationCallable<DetachDiskInstanceRequest,Operation,Operation> detachDiskOperationCallable()
Type | Description |
OperationCallable<DetachDiskInstanceRequest,Operation,Operation> |
getCallable()
public UnaryCallable<GetInstanceRequest,Instance> getCallable()
Type | Description |
UnaryCallable<GetInstanceRequest,Instance> |
getEffectiveFirewallsCallable()
public UnaryCallable<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse> getEffectiveFirewallsCallable()
Type | Description |
UnaryCallable<GetEffectiveFirewallsInstanceRequest,InstancesGetEffectiveFirewallsResponse> |
getGuestAttributesCallable()
public UnaryCallable<GetGuestAttributesInstanceRequest,GuestAttributes> getGuestAttributesCallable()
Type | Description |
UnaryCallable<GetGuestAttributesInstanceRequest,GuestAttributes> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyInstanceRequest,Policy> getIamPolicyCallable()
Type | Description |
UnaryCallable<GetIamPolicyInstanceRequest,Policy> |
getScreenshotCallable()
public UnaryCallable<GetScreenshotInstanceRequest,Screenshot> getScreenshotCallable()
Type | Description |
UnaryCallable<GetScreenshotInstanceRequest,Screenshot> |
getSerialPortOutputCallable()
public UnaryCallable<GetSerialPortOutputInstanceRequest,SerialPortOutput> getSerialPortOutputCallable()
Type | Description |
UnaryCallable<GetSerialPortOutputInstanceRequest,SerialPortOutput> |
getShieldedInstanceIdentityCallable()
public UnaryCallable<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity> getShieldedInstanceIdentityCallable()
Type | Description |
UnaryCallable<GetShieldedInstanceIdentityInstanceRequest,ShieldedInstanceIdentity> |
insertCallable()
public UnaryCallable<InsertInstanceRequest,Operation> insertCallable()
Type | Description |
UnaryCallable<InsertInstanceRequest,Operation> |
insertOperationCallable()
public OperationCallable<InsertInstanceRequest,Operation,Operation> insertOperationCallable()
Type | Description |
OperationCallable<InsertInstanceRequest,Operation,Operation> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listCallable()
public UnaryCallable<ListInstancesRequest,InstanceList> listCallable()
Type | Description |
UnaryCallable<ListInstancesRequest,InstanceList> |
listPagedCallable()
public UnaryCallable<ListInstancesRequest,InstancesClient.ListPagedResponse> listPagedCallable()
Type | Description |
UnaryCallable<ListInstancesRequest,ListPagedResponse> |
listReferrersCallable()
public UnaryCallable<ListReferrersInstancesRequest,InstanceListReferrers> listReferrersCallable()
Type | Description |
UnaryCallable<ListReferrersInstancesRequest,InstanceListReferrers> |
listReferrersPagedCallable()
public UnaryCallable<ListReferrersInstancesRequest,InstancesClient.ListReferrersPagedResponse> listReferrersPagedCallable()
Type | Description |
UnaryCallable<ListReferrersInstancesRequest,ListReferrersPagedResponse> |
removeResourcePoliciesCallable()
public UnaryCallable<RemoveResourcePoliciesInstanceRequest,Operation> removeResourcePoliciesCallable()
Type | Description |
UnaryCallable<RemoveResourcePoliciesInstanceRequest,Operation> |
removeResourcePoliciesOperationCallable()
public OperationCallable<RemoveResourcePoliciesInstanceRequest,Operation,Operation> removeResourcePoliciesOperationCallable()
Type | Description |
OperationCallable<RemoveResourcePoliciesInstanceRequest,Operation,Operation> |
resetCallable()
public UnaryCallable<ResetInstanceRequest,Operation> resetCallable()
Type | Description |
UnaryCallable<ResetInstanceRequest,Operation> |
resetOperationCallable()
public OperationCallable<ResetInstanceRequest,Operation,Operation> resetOperationCallable()
Type | Description |
OperationCallable<ResetInstanceRequest,Operation,Operation> |
resumeCallable()
public UnaryCallable<ResumeInstanceRequest,Operation> resumeCallable()
Type | Description |
UnaryCallable<ResumeInstanceRequest,Operation> |
resumeOperationCallable()
public OperationCallable<ResumeInstanceRequest,Operation,Operation> resumeOperationCallable()
Type | Description |
OperationCallable<ResumeInstanceRequest,Operation,Operation> |
sendDiagnosticInterruptCallable()
public UnaryCallable<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse> sendDiagnosticInterruptCallable()
Type | Description |
UnaryCallable<SendDiagnosticInterruptInstanceRequest,SendDiagnosticInterruptInstanceResponse> |
setDeletionProtectionCallable()
public UnaryCallable<SetDeletionProtectionInstanceRequest,Operation> setDeletionProtectionCallable()
Type | Description |
UnaryCallable<SetDeletionProtectionInstanceRequest,Operation> |
setDeletionProtectionOperationCallable()
public OperationCallable<SetDeletionProtectionInstanceRequest,Operation,Operation> setDeletionProtectionOperationCallable()
Type | Description |
OperationCallable<SetDeletionProtectionInstanceRequest,Operation,Operation> |
setDiskAutoDeleteCallable()
public UnaryCallable<SetDiskAutoDeleteInstanceRequest,Operation> setDiskAutoDeleteCallable()
Type | Description |
UnaryCallable<SetDiskAutoDeleteInstanceRequest,Operation> |
setDiskAutoDeleteOperationCallable()
public OperationCallable<SetDiskAutoDeleteInstanceRequest,Operation,Operation> setDiskAutoDeleteOperationCallable()
Type | Description |
OperationCallable<SetDiskAutoDeleteInstanceRequest,Operation,Operation> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyInstanceRequest,Policy> setIamPolicyCallable()
Type | Description |
UnaryCallable<SetIamPolicyInstanceRequest,Policy> |
setLabelsCallable()
public UnaryCallable<SetLabelsInstanceRequest,Operation> setLabelsCallable()
Type | Description |
UnaryCallable<SetLabelsInstanceRequest,Operation> |
setLabelsOperationCallable()
public OperationCallable<SetLabelsInstanceRequest,Operation,Operation> setLabelsOperationCallable()
Type | Description |
OperationCallable<SetLabelsInstanceRequest,Operation,Operation> |
setMachineResourcesCallable()
public UnaryCallable<SetMachineResourcesInstanceRequest,Operation> setMachineResourcesCallable()
Type | Description |
UnaryCallable<SetMachineResourcesInstanceRequest,Operation> |
setMachineResourcesOperationCallable()
public OperationCallable<SetMachineResourcesInstanceRequest,Operation,Operation> setMachineResourcesOperationCallable()
Type | Description |
OperationCallable<SetMachineResourcesInstanceRequest,Operation,Operation> |
setMachineTypeCallable()
public UnaryCallable<SetMachineTypeInstanceRequest,Operation> setMachineTypeCallable()
Type | Description |
UnaryCallable<SetMachineTypeInstanceRequest,Operation> |
setMachineTypeOperationCallable()
public OperationCallable<SetMachineTypeInstanceRequest,Operation,Operation> setMachineTypeOperationCallable()
Type | Description |
OperationCallable<SetMachineTypeInstanceRequest,Operation,Operation> |
setMetadataCallable()
public UnaryCallable<SetMetadataInstanceRequest,Operation> setMetadataCallable()
Type | Description |
UnaryCallable<SetMetadataInstanceRequest,Operation> |
setMetadataOperationCallable()
public OperationCallable<SetMetadataInstanceRequest,Operation,Operation> setMetadataOperationCallable()
Type | Description |
OperationCallable<SetMetadataInstanceRequest,Operation,Operation> |
setMinCpuPlatformCallable()
public UnaryCallable<SetMinCpuPlatformInstanceRequest,Operation> setMinCpuPlatformCallable()
Type | Description |
UnaryCallable<SetMinCpuPlatformInstanceRequest,Operation> |
setMinCpuPlatformOperationCallable()
public OperationCallable<SetMinCpuPlatformInstanceRequest,Operation,Operation> setMinCpuPlatformOperationCallable()
Type | Description |
OperationCallable<SetMinCpuPlatformInstanceRequest,Operation,Operation> |
setSchedulingCallable()
public UnaryCallable<SetSchedulingInstanceRequest,Operation> setSchedulingCallable()
Type | Description |
UnaryCallable<SetSchedulingInstanceRequest,Operation> |
setSchedulingOperationCallable()
public OperationCallable<SetSchedulingInstanceRequest,Operation,Operation> setSchedulingOperationCallable()
Type | Description |
OperationCallable<SetSchedulingInstanceRequest,Operation,Operation> |
setServiceAccountCallable()
public UnaryCallable<SetServiceAccountInstanceRequest,Operation> setServiceAccountCallable()
Type | Description |
UnaryCallable<SetServiceAccountInstanceRequest,Operation> |
setServiceAccountOperationCallable()
public OperationCallable<SetServiceAccountInstanceRequest,Operation,Operation> setServiceAccountOperationCallable()
Type | Description |
OperationCallable<SetServiceAccountInstanceRequest,Operation,Operation> |
setShieldedInstanceIntegrityPolicyCallable()
public UnaryCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation> setShieldedInstanceIntegrityPolicyCallable()
Type | Description |
UnaryCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation> |
setShieldedInstanceIntegrityPolicyOperationCallable()
public OperationCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation> setShieldedInstanceIntegrityPolicyOperationCallable()
Type | Description |
OperationCallable<SetShieldedInstanceIntegrityPolicyInstanceRequest,Operation,Operation> |
setTagsCallable()
public UnaryCallable<SetTagsInstanceRequest,Operation> setTagsCallable()
Type | Description |
UnaryCallable<SetTagsInstanceRequest,Operation> |
setTagsOperationCallable()
public OperationCallable<SetTagsInstanceRequest,Operation,Operation> setTagsOperationCallable()
Type | Description |
OperationCallable<SetTagsInstanceRequest,Operation,Operation> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
simulateMaintenanceEventCallable()
public UnaryCallable<SimulateMaintenanceEventInstanceRequest,Operation> simulateMaintenanceEventCallable()
Type | Description |
UnaryCallable<SimulateMaintenanceEventInstanceRequest,Operation> |
simulateMaintenanceEventOperationCallable()
public OperationCallable<SimulateMaintenanceEventInstanceRequest,Operation,Operation> simulateMaintenanceEventOperationCallable()
Type | Description |
OperationCallable<SimulateMaintenanceEventInstanceRequest,Operation,Operation> |
startCallable()
public UnaryCallable<StartInstanceRequest,Operation> startCallable()
Type | Description |
UnaryCallable<StartInstanceRequest,Operation> |
startOperationCallable()
public OperationCallable<StartInstanceRequest,Operation,Operation> startOperationCallable()
Type | Description |
OperationCallable<StartInstanceRequest,Operation,Operation> |
startWithEncryptionKeyCallable()
public UnaryCallable<StartWithEncryptionKeyInstanceRequest,Operation> startWithEncryptionKeyCallable()
Type | Description |
UnaryCallable<StartWithEncryptionKeyInstanceRequest,Operation> |
startWithEncryptionKeyOperationCallable()
public OperationCallable<StartWithEncryptionKeyInstanceRequest,Operation,Operation> startWithEncryptionKeyOperationCallable()
Type | Description |
OperationCallable<StartWithEncryptionKeyInstanceRequest,Operation,Operation> |
stopCallable()
public UnaryCallable<StopInstanceRequest,Operation> stopCallable()
Type | Description |
UnaryCallable<StopInstanceRequest,Operation> |
stopOperationCallable()
public OperationCallable<StopInstanceRequest,Operation,Operation> stopOperationCallable()
Type | Description |
OperationCallable<StopInstanceRequest,Operation,Operation> |
suspendCallable()
public UnaryCallable<SuspendInstanceRequest,Operation> suspendCallable()
Type | Description |
UnaryCallable<SuspendInstanceRequest,Operation> |
suspendOperationCallable()
public OperationCallable<SuspendInstanceRequest,Operation,Operation> suspendOperationCallable()
Type | Description |
OperationCallable<SuspendInstanceRequest,Operation,Operation> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsInstanceRequest,TestPermissionsResponse> testIamPermissionsCallable()
Type | Description |
UnaryCallable<TestIamPermissionsInstanceRequest,TestPermissionsResponse> |
updateAccessConfigCallable()
public UnaryCallable<UpdateAccessConfigInstanceRequest,Operation> updateAccessConfigCallable()
Type | Description |
UnaryCallable<UpdateAccessConfigInstanceRequest,Operation> |
updateAccessConfigOperationCallable()
public OperationCallable<UpdateAccessConfigInstanceRequest,Operation,Operation> updateAccessConfigOperationCallable()
Type | Description |
OperationCallable<UpdateAccessConfigInstanceRequest,Operation,Operation> |
updateCallable()
public UnaryCallable<UpdateInstanceRequest,Operation> updateCallable()
Type | Description |
UnaryCallable<UpdateInstanceRequest,Operation> |
updateDisplayDeviceCallable()
public UnaryCallable<UpdateDisplayDeviceInstanceRequest,Operation> updateDisplayDeviceCallable()
Type | Description |
UnaryCallable<UpdateDisplayDeviceInstanceRequest,Operation> |
updateDisplayDeviceOperationCallable()
public OperationCallable<UpdateDisplayDeviceInstanceRequest,Operation,Operation> updateDisplayDeviceOperationCallable()
Type | Description |
OperationCallable<UpdateDisplayDeviceInstanceRequest,Operation,Operation> |
updateNetworkInterfaceCallable()
public UnaryCallable<UpdateNetworkInterfaceInstanceRequest,Operation> updateNetworkInterfaceCallable()
Type | Description |
UnaryCallable<UpdateNetworkInterfaceInstanceRequest,Operation> |
updateNetworkInterfaceOperationCallable()
public OperationCallable<UpdateNetworkInterfaceInstanceRequest,Operation,Operation> updateNetworkInterfaceOperationCallable()
Type | Description |
OperationCallable<UpdateNetworkInterfaceInstanceRequest,Operation,Operation> |
updateOperationCallable()
public OperationCallable<UpdateInstanceRequest,Operation,Operation> updateOperationCallable()
Type | Description |
OperationCallable<UpdateInstanceRequest,Operation,Operation> |
updateShieldedInstanceConfigCallable()
public UnaryCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation> updateShieldedInstanceConfigCallable()
Type | Description |
UnaryCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation> |
updateShieldedInstanceConfigOperationCallable()
public OperationCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation> updateShieldedInstanceConfigOperationCallable()
Type | Description |
OperationCallable<UpdateShieldedInstanceConfigInstanceRequest,Operation,Operation> |