- 1.70.0 (latest)
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 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
The interfaces provided are listed below, along with usage samples.
AcceleratorTypesClient
Service Description: Services
The AcceleratorTypes API.
Sample for AcceleratorTypesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String acceleratorType = "acceleratorType-82462651";
AcceleratorType response = acceleratorTypesClient.get(project, zone, acceleratorType);
}
AddressesClient
Service Description: The Addresses API.
Sample for AddressesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AddressesClient addressesClient = AddressesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String address = "address-1147692044";
Address response = addressesClient.get(project, region, address);
}
AutoscalersClient
Service Description: The Autoscalers API.
Sample for AutoscalersClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String autoscaler = "autoscaler517258967";
Autoscaler response = autoscalersClient.get(project, zone, autoscaler);
}
BackendBucketsClient
Service Description: The BackendBuckets API.
Sample for BackendBucketsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
String project = "project-309310695";
String backendBucket = "backendBucket713751966";
BackendBucket response = backendBucketsClient.get(project, backendBucket);
}
BackendServicesClient
Service Description: The BackendServices API.
Sample for BackendServicesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
String project = "project-309310695";
String backendService = "backendService-1884714623";
BackendService response = backendServicesClient.get(project, backendService);
}
DiskTypesClient
Service Description: The DiskTypes API.
Sample for DiskTypesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DiskTypesClient diskTypesClient = DiskTypesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String diskType = "diskType279771767";
DiskType response = diskTypesClient.get(project, zone, diskType);
}
DisksClient
Service Description: The Disks API.
Sample for DisksClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DisksClient disksClient = DisksClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String disk = "disk3083677";
Disk response = disksClient.get(project, zone, disk);
}
ExternalVpnGatewaysClient
Service Description: The ExternalVpnGateways API.
Sample for ExternalVpnGatewaysClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ExternalVpnGatewaysClient externalVpnGatewaysClient = ExternalVpnGatewaysClient.create()) {
String project = "project-309310695";
String externalVpnGateway = "externalVpnGateway-1140582181";
ExternalVpnGateway response = externalVpnGatewaysClient.get(project, externalVpnGateway);
}
FirewallPoliciesClient
Service Description: The FirewallPolicies API.
Sample for FirewallPoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (FirewallPoliciesClient firewallPoliciesClient = FirewallPoliciesClient.create()) {
String firewallPolicy = "firewallPolicy1819692626";
FirewallPolicy response = firewallPoliciesClient.get(firewallPolicy);
}
FirewallsClient
Service Description: The Firewalls API.
Sample for FirewallsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (FirewallsClient firewallsClient = FirewallsClient.create()) {
String project = "project-309310695";
String firewall = "firewall-562725632";
Firewall response = firewallsClient.get(project, firewall);
}
ForwardingRulesClient
Service Description: The ForwardingRules API.
Sample for ForwardingRulesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ForwardingRulesClient forwardingRulesClient = ForwardingRulesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String forwardingRule = "forwardingRule-1429104743";
ForwardingRule response = forwardingRulesClient.get(project, region, forwardingRule);
}
GlobalAddressesClient
Service Description: The GlobalAddresses API.
Sample for GlobalAddressesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalAddressesClient globalAddressesClient = GlobalAddressesClient.create()) {
String project = "project-309310695";
String address = "address-1147692044";
Address response = globalAddressesClient.get(project, address);
}
GlobalForwardingRulesClient
Service Description: The GlobalForwardingRules API.
Sample for GlobalForwardingRulesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalForwardingRulesClient globalForwardingRulesClient =
GlobalForwardingRulesClient.create()) {
String project = "project-309310695";
String forwardingRule = "forwardingRule-1429104743";
ForwardingRule response = globalForwardingRulesClient.get(project, forwardingRule);
}
GlobalNetworkEndpointGroupsClient
Service Description: The GlobalNetworkEndpointGroups API.
Sample for GlobalNetworkEndpointGroupsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient =
GlobalNetworkEndpointGroupsClient.create()) {
String project = "project-309310695";
String networkEndpointGroup = "networkEndpointGroup-2120389028";
NetworkEndpointGroup response =
globalNetworkEndpointGroupsClient.get(project, networkEndpointGroup);
}
GlobalOperationsClient
Service Description: The GlobalOperations API.
Sample for GlobalOperationsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalOperationsClient globalOperationsClient = GlobalOperationsClient.create()) {
String project = "project-309310695";
String operation = "operation1662702951";
DeleteGlobalOperationResponse response = globalOperationsClient.delete(project, operation);
}
GlobalOrganizationOperationsClient
Service Description: The GlobalOrganizationOperations API.
Sample for GlobalOrganizationOperationsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalOrganizationOperationsClient globalOrganizationOperationsClient =
GlobalOrganizationOperationsClient.create()) {
String operation = "operation1662702951";
DeleteGlobalOrganizationOperationResponse response =
globalOrganizationOperationsClient.delete(operation);
}
GlobalPublicDelegatedPrefixesClient
Service Description: The GlobalPublicDelegatedPrefixes API.
Sample for GlobalPublicDelegatedPrefixesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalPublicDelegatedPrefixesClient globalPublicDelegatedPrefixesClient =
GlobalPublicDelegatedPrefixesClient.create()) {
String project = "project-309310695";
String publicDelegatedPrefix = "publicDelegatedPrefix-663003832";
PublicDelegatedPrefix response =
globalPublicDelegatedPrefixesClient.get(project, publicDelegatedPrefix);
}
HealthChecksClient
Service Description: The HealthChecks API.
Sample for HealthChecksClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (HealthChecksClient healthChecksClient = HealthChecksClient.create()) {
String project = "project-309310695";
String healthCheck = "healthCheck-1938093044";
HealthCheck response = healthChecksClient.get(project, healthCheck);
}
ImageFamilyViewsClient
Service Description: The ImageFamilyViews API.
Sample for ImageFamilyViewsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ImageFamilyViewsClient imageFamilyViewsClient = ImageFamilyViewsClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String family = "family-1281860764";
ImageFamilyView response = imageFamilyViewsClient.get(project, zone, family);
}
ImagesClient
Service Description: The Images API.
Sample for ImagesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ImagesClient imagesClient = ImagesClient.create()) {
String project = "project-309310695";
String image = "image100313435";
Image response = imagesClient.get(project, image);
}
InstanceGroupManagersClient
Service Description: The InstanceGroupManagers API.
Sample for InstanceGroupManagersClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (InstanceGroupManagersClient instanceGroupManagersClient =
InstanceGroupManagersClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String instanceGroupManager = "instanceGroupManager-388242077";
InstanceGroupManager response =
instanceGroupManagersClient.get(project, zone, instanceGroupManager);
}
InstanceGroupsClient
Service Description: The InstanceGroups API.
Sample for InstanceGroupsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String instanceGroup = "instanceGroup-1404696854";
InstanceGroup response = instanceGroupsClient.get(project, zone, instanceGroup);
}
InstanceTemplatesClient
Service Description: The InstanceTemplates API.
Sample for InstanceTemplatesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (InstanceTemplatesClient instanceTemplatesClient = InstanceTemplatesClient.create()) {
String project = "project-309310695";
String instanceTemplate = "instanceTemplate1009541167";
InstanceTemplate response = instanceTemplatesClient.get(project, instanceTemplate);
}
InstancesClient
Service Description: The Instances API.
Sample for InstancesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (InstancesClient instancesClient = InstancesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String instance = "instance555127957";
Instance response = instancesClient.get(project, zone, instance);
}
InterconnectAttachmentsClient
Service Description: The InterconnectAttachments API.
Sample for InterconnectAttachmentsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (InterconnectAttachmentsClient interconnectAttachmentsClient =
InterconnectAttachmentsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String interconnectAttachment = "interconnectAttachment1869250641";
InterconnectAttachment response =
interconnectAttachmentsClient.get(project, region, interconnectAttachment);
}
InterconnectLocationsClient
Service Description: The InterconnectLocations API.
Sample for InterconnectLocationsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (InterconnectLocationsClient interconnectLocationsClient =
InterconnectLocationsClient.create()) {
String project = "project-309310695";
String interconnectLocation = "interconnectLocation220117603";
InterconnectLocation response =
interconnectLocationsClient.get(project, interconnectLocation);
}
InterconnectsClient
Service Description: The Interconnects API.
Sample for InterconnectsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (InterconnectsClient interconnectsClient = InterconnectsClient.create()) {
String project = "project-309310695";
String interconnect = "interconnect-849140594";
Interconnect response = interconnectsClient.get(project, interconnect);
}
LicenseCodesClient
Service Description: The LicenseCodes API.
Sample for LicenseCodesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (LicenseCodesClient licenseCodesClient = LicenseCodesClient.create()) {
String project = "project-309310695";
String licenseCode = "licenseCode-641557042";
LicenseCode response = licenseCodesClient.get(project, licenseCode);
}
LicensesClient
Service Description: The Licenses API.
Sample for LicensesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (LicensesClient licensesClient = LicensesClient.create()) {
String project = "project-309310695";
String license = "license166757441";
License response = licensesClient.get(project, license);
}
MachineImagesClient
Service Description: The MachineImages API.
Sample for MachineImagesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (MachineImagesClient machineImagesClient = MachineImagesClient.create()) {
String project = "project-309310695";
String machineImage = "machineImage1817774420";
MachineImage response = machineImagesClient.get(project, machineImage);
}
MachineTypesClient
Service Description: The MachineTypes API.
Sample for MachineTypesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (MachineTypesClient machineTypesClient = MachineTypesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String machineType = "machineType-218117087";
MachineType response = machineTypesClient.get(project, zone, machineType);
}
NetworkAttachmentsClient
Service Description: The NetworkAttachments API.
Sample for NetworkAttachmentsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NetworkAttachmentsClient networkAttachmentsClient = NetworkAttachmentsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String networkAttachment = "networkAttachment1918512625";
NetworkAttachment response = networkAttachmentsClient.get(project, region, networkAttachment);
}
NetworkEdgeSecurityServicesClient
Service Description: The NetworkEdgeSecurityServices API.
Sample for NetworkEdgeSecurityServicesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
NetworkEdgeSecurityServicesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String networkEdgeSecurityService = "networkEdgeSecurityService-1390253366";
NetworkEdgeSecurityService response =
networkEdgeSecurityServicesClient.get(project, region, networkEdgeSecurityService);
}
NetworkEndpointGroupsClient
Service Description: The NetworkEndpointGroups API.
Sample for NetworkEndpointGroupsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NetworkEndpointGroupsClient networkEndpointGroupsClient =
NetworkEndpointGroupsClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String networkEndpointGroup = "networkEndpointGroup-2120389028";
NetworkEndpointGroup response =
networkEndpointGroupsClient.get(project, zone, networkEndpointGroup);
}
NetworkFirewallPoliciesClient
Service Description: The NetworkFirewallPolicies API.
Sample for NetworkFirewallPoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
NetworkFirewallPoliciesClient.create()) {
String project = "project-309310695";
String firewallPolicy = "firewallPolicy1819692626";
FirewallPolicy response = networkFirewallPoliciesClient.get(project, firewallPolicy);
}
NetworksClient
Service Description: The Networks API.
Sample for NetworksClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NetworksClient networksClient = NetworksClient.create()) {
String project = "project-309310695";
String network = "network1843485230";
Network response = networksClient.get(project, network);
}
NodeGroupsClient
Service Description: The NodeGroups API.
Sample for NodeGroupsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String nodeGroup = "nodeGroup443599261";
NodeGroup response = nodeGroupsClient.get(project, zone, nodeGroup);
}
NodeTemplatesClient
Service Description: The NodeTemplates API.
Sample for NodeTemplatesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NodeTemplatesClient nodeTemplatesClient = NodeTemplatesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String nodeTemplate = "nodeTemplate2118368412";
NodeTemplate response = nodeTemplatesClient.get(project, region, nodeTemplate);
}
NodeTypesClient
Service Description: The NodeTypes API.
Sample for NodeTypesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (NodeTypesClient nodeTypesClient = NodeTypesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String nodeType = "nodeType1123082332";
NodeType response = nodeTypesClient.get(project, zone, nodeType);
}
PacketMirroringsClient
Service Description: The PacketMirrorings API.
Sample for PacketMirroringsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PacketMirroringsClient packetMirroringsClient = PacketMirroringsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String packetMirroring = "packetMirroring1405520923";
PacketMirroring response = packetMirroringsClient.get(project, region, packetMirroring);
}
ProjectsClient
Service Description: The Projects API.
Sample for ProjectsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ProjectsClient projectsClient = ProjectsClient.create()) {
String project = "project-309310695";
Project response = projectsClient.get(project);
}
PublicAdvertisedPrefixesClient
Service Description: The PublicAdvertisedPrefixes API.
Sample for PublicAdvertisedPrefixesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PublicAdvertisedPrefixesClient publicAdvertisedPrefixesClient =
PublicAdvertisedPrefixesClient.create()) {
String project = "project-309310695";
String publicAdvertisedPrefix = "publicAdvertisedPrefix1506440856";
PublicAdvertisedPrefix response =
publicAdvertisedPrefixesClient.get(project, publicAdvertisedPrefix);
}
PublicDelegatedPrefixesClient
Service Description: The PublicDelegatedPrefixes API.
Sample for PublicDelegatedPrefixesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PublicDelegatedPrefixesClient publicDelegatedPrefixesClient =
PublicDelegatedPrefixesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String publicDelegatedPrefix = "publicDelegatedPrefix-663003832";
PublicDelegatedPrefix response =
publicDelegatedPrefixesClient.get(project, region, publicDelegatedPrefix);
}
RegionAutoscalersClient
Service Description: The RegionAutoscalers API.
Sample for RegionAutoscalersClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionAutoscalersClient regionAutoscalersClient = RegionAutoscalersClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String autoscaler = "autoscaler517258967";
Autoscaler response = regionAutoscalersClient.get(project, region, autoscaler);
}
RegionBackendServicesClient
Service Description: The RegionBackendServices API.
Sample for RegionBackendServicesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionBackendServicesClient regionBackendServicesClient =
RegionBackendServicesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String backendService = "backendService-1884714623";
BackendService response = regionBackendServicesClient.get(project, region, backendService);
}
RegionCommitmentsClient
Service Description: The RegionCommitments API.
Sample for RegionCommitmentsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionCommitmentsClient regionCommitmentsClient = RegionCommitmentsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String commitment = "commitment1019005717";
Commitment response = regionCommitmentsClient.get(project, region, commitment);
}
RegionDiskTypesClient
Service Description: The RegionDiskTypes API.
Sample for RegionDiskTypesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionDiskTypesClient regionDiskTypesClient = RegionDiskTypesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String diskType = "diskType279771767";
DiskType response = regionDiskTypesClient.get(project, region, diskType);
}
RegionDisksClient
Service Description: The RegionDisks API.
Sample for RegionDisksClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionDisksClient regionDisksClient = RegionDisksClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String disk = "disk3083677";
Disk response = regionDisksClient.get(project, region, disk);
}
RegionHealthCheckServicesClient
Service Description: The RegionHealthCheckServices API.
Sample for RegionHealthCheckServicesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionHealthCheckServicesClient regionHealthCheckServicesClient =
RegionHealthCheckServicesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String healthCheckService = "healthCheckService-917902071";
HealthCheckService response =
regionHealthCheckServicesClient.get(project, region, healthCheckService);
}
RegionHealthChecksClient
Service Description: The RegionHealthChecks API.
Sample for RegionHealthChecksClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionHealthChecksClient regionHealthChecksClient = RegionHealthChecksClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String healthCheck = "healthCheck-1938093044";
HealthCheck response = regionHealthChecksClient.get(project, region, healthCheck);
}
RegionInstanceGroupManagersClient
Service Description: The RegionInstanceGroupManagers API.
Sample for RegionInstanceGroupManagersClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionInstanceGroupManagersClient regionInstanceGroupManagersClient =
RegionInstanceGroupManagersClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String instanceGroupManager = "instanceGroupManager-388242077";
InstanceGroupManager response =
regionInstanceGroupManagersClient.get(project, region, instanceGroupManager);
}
RegionInstanceGroupsClient
Service Description: The RegionInstanceGroups API.
Sample for RegionInstanceGroupsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionInstanceGroupsClient regionInstanceGroupsClient =
RegionInstanceGroupsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String instanceGroup = "instanceGroup-1404696854";
InstanceGroup response = regionInstanceGroupsClient.get(project, region, instanceGroup);
}
RegionInstanceTemplatesClient
Service Description: The RegionInstanceTemplates API.
Sample for RegionInstanceTemplatesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionInstanceTemplatesClient regionInstanceTemplatesClient =
RegionInstanceTemplatesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String instanceTemplate = "instanceTemplate1009541167";
InstanceTemplate response =
regionInstanceTemplatesClient.get(project, region, instanceTemplate);
}
RegionInstancesClient
Service Description: The RegionInstances API.
Sample for RegionInstancesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionInstancesClient regionInstancesClient = RegionInstancesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
BulkInsertInstanceResource bulkInsertInstanceResourceResource =
BulkInsertInstanceResource.newBuilder().build();
Operation response =
regionInstancesClient
.bulkInsertAsync(project, region, bulkInsertInstanceResourceResource)
.get();
}
RegionNetworkEndpointGroupsClient
Service Description: The RegionNetworkEndpointGroups API.
Sample for RegionNetworkEndpointGroupsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionNetworkEndpointGroupsClient regionNetworkEndpointGroupsClient =
RegionNetworkEndpointGroupsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String networkEndpointGroup = "networkEndpointGroup-2120389028";
NetworkEndpointGroup response =
regionNetworkEndpointGroupsClient.get(project, region, networkEndpointGroup);
}
RegionNetworkFirewallPoliciesClient
Service Description: The RegionNetworkFirewallPolicies API.
Sample for RegionNetworkFirewallPoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
RegionNetworkFirewallPoliciesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String firewallPolicy = "firewallPolicy1819692626";
FirewallPolicy response =
regionNetworkFirewallPoliciesClient.get(project, region, firewallPolicy);
}
RegionNotificationEndpointsClient
Service Description: The RegionNotificationEndpoints API.
Sample for RegionNotificationEndpointsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionNotificationEndpointsClient regionNotificationEndpointsClient =
RegionNotificationEndpointsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String notificationEndpoint = "notificationEndpoint-354029664";
NotificationEndpoint response =
regionNotificationEndpointsClient.get(project, region, notificationEndpoint);
}
RegionOperationsClient
Service Description: The RegionOperations API.
Sample for RegionOperationsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionOperationsClient regionOperationsClient = RegionOperationsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String operation = "operation1662702951";
DeleteRegionOperationResponse response =
regionOperationsClient.delete(project, region, operation);
}
RegionSecurityPoliciesClient
Service Description: The RegionSecurityPolicies API.
Sample for RegionSecurityPoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
RegionSecurityPoliciesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String securityPolicy = "securityPolicy-788621166";
SecurityPolicy response = regionSecurityPoliciesClient.get(project, region, securityPolicy);
}
RegionSslCertificatesClient
Service Description: The RegionSslCertificates API.
Sample for RegionSslCertificatesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionSslCertificatesClient regionSslCertificatesClient =
RegionSslCertificatesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String sslCertificate = "sslCertificate-1304941589";
SslCertificate response = regionSslCertificatesClient.get(project, region, sslCertificate);
}
RegionSslPoliciesClient
Service Description: The RegionSslPolicies API.
Sample for RegionSslPoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionSslPoliciesClient regionSslPoliciesClient = RegionSslPoliciesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String sslPolicy = "sslPolicy618174046";
SslPolicy response = regionSslPoliciesClient.get(project, region, sslPolicy);
}
RegionTargetHttpProxiesClient
Service Description: The RegionTargetHttpProxies API.
Sample for RegionTargetHttpProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionTargetHttpProxiesClient regionTargetHttpProxiesClient =
RegionTargetHttpProxiesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String targetHttpProxy = "targetHttpProxy-1944074187";
TargetHttpProxy response =
regionTargetHttpProxiesClient.get(project, region, targetHttpProxy);
}
RegionTargetHttpsProxiesClient
Service Description: The RegionTargetHttpsProxies API.
Sample for RegionTargetHttpsProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
RegionTargetHttpsProxiesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String targetHttpsProxy = "targetHttpsProxy833943732";
TargetHttpsProxy response =
regionTargetHttpsProxiesClient.get(project, region, targetHttpsProxy);
}
RegionTargetTcpProxiesClient
Service Description: The RegionTargetTcpProxies API.
Sample for RegionTargetTcpProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionTargetTcpProxiesClient regionTargetTcpProxiesClient =
RegionTargetTcpProxiesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String targetTcpProxy = "targetTcpProxy-337144898";
TargetTcpProxy response = regionTargetTcpProxiesClient.get(project, region, targetTcpProxy);
}
RegionUrlMapsClient
Service Description: The RegionUrlMaps API.
Sample for RegionUrlMapsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionUrlMapsClient regionUrlMapsClient = RegionUrlMapsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String urlMap = "urlMap-836780691";
UrlMap response = regionUrlMapsClient.get(project, region, urlMap);
}
RegionsClient
Service Description: The Regions API.
Sample for RegionsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RegionsClient regionsClient = RegionsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
Region response = regionsClient.get(project, region);
}
ReservationsClient
Service Description: The Reservations API.
Sample for ReservationsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ReservationsClient reservationsClient = ReservationsClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String reservation = "reservation-1563081780";
Reservation response = reservationsClient.get(project, zone, reservation);
}
ResourcePoliciesClient
Service Description: The ResourcePolicies API.
Sample for ResourcePoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ResourcePoliciesClient resourcePoliciesClient = ResourcePoliciesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String resourcePolicy = "resourcePolicy-130903328";
ResourcePolicy response = resourcePoliciesClient.get(project, region, resourcePolicy);
}
RoutersClient
Service Description: The Routers API.
Sample for RoutersClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RoutersClient routersClient = RoutersClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String router = "router-925132983";
Router response = routersClient.get(project, region, router);
}
RoutesClient
Service Description: The Routes API.
Sample for RoutesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (RoutesClient routesClient = RoutesClient.create()) {
String project = "project-309310695";
String route = "route108704329";
Route response = routesClient.get(project, route);
}
SecurityPoliciesClient
Service Description: The SecurityPolicies API.
Sample for SecurityPoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SecurityPoliciesClient securityPoliciesClient = SecurityPoliciesClient.create()) {
String project = "project-309310695";
String securityPolicy = "securityPolicy-788621166";
SecurityPolicy response = securityPoliciesClient.get(project, securityPolicy);
}
ServiceAttachmentsClient
Service Description: The ServiceAttachments API.
Sample for ServiceAttachmentsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ServiceAttachmentsClient serviceAttachmentsClient = ServiceAttachmentsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String serviceAttachment = "serviceAttachment-398467656";
ServiceAttachment response = serviceAttachmentsClient.get(project, region, serviceAttachment);
}
SnapshotsClient
Service Description: The Snapshots API.
Sample for SnapshotsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SnapshotsClient snapshotsClient = SnapshotsClient.create()) {
String project = "project-309310695";
String snapshot = "snapshot284874180";
Snapshot response = snapshotsClient.get(project, snapshot);
}
SslCertificatesClient
Service Description: The SslCertificates API.
Sample for SslCertificatesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SslCertificatesClient sslCertificatesClient = SslCertificatesClient.create()) {
String project = "project-309310695";
String sslCertificate = "sslCertificate-1304941589";
SslCertificate response = sslCertificatesClient.get(project, sslCertificate);
}
SslPoliciesClient
Service Description: The SslPolicies API.
Sample for SslPoliciesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SslPoliciesClient sslPoliciesClient = SslPoliciesClient.create()) {
String project = "project-309310695";
String sslPolicy = "sslPolicy618174046";
SslPolicy response = sslPoliciesClient.get(project, sslPolicy);
}
SubnetworksClient
Service Description: The Subnetworks API.
Sample for SubnetworksClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (SubnetworksClient subnetworksClient = SubnetworksClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String subnetwork = "subnetwork-1302785042";
Subnetwork response = subnetworksClient.get(project, region, subnetwork);
}
TargetGrpcProxiesClient
Service Description: The TargetGrpcProxies API.
Sample for TargetGrpcProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetGrpcProxiesClient targetGrpcProxiesClient = TargetGrpcProxiesClient.create()) {
String project = "project-309310695";
String targetGrpcProxy = "targetGrpcProxy1045500511";
TargetGrpcProxy response = targetGrpcProxiesClient.get(project, targetGrpcProxy);
}
TargetHttpProxiesClient
Service Description: The TargetHttpProxies API.
Sample for TargetHttpProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetHttpProxiesClient targetHttpProxiesClient = TargetHttpProxiesClient.create()) {
String project = "project-309310695";
String targetHttpProxy = "targetHttpProxy-1944074187";
TargetHttpProxy response = targetHttpProxiesClient.get(project, targetHttpProxy);
}
TargetHttpsProxiesClient
Service Description: The TargetHttpsProxies API.
Sample for TargetHttpsProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.create()) {
String project = "project-309310695";
String targetHttpsProxy = "targetHttpsProxy833943732";
TargetHttpsProxy response = targetHttpsProxiesClient.get(project, targetHttpsProxy);
}
TargetInstancesClient
Service Description: The TargetInstances API.
Sample for TargetInstancesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetInstancesClient targetInstancesClient = TargetInstancesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String targetInstance = "targetInstance-1036957370";
TargetInstance response = targetInstancesClient.get(project, zone, targetInstance);
}
TargetPoolsClient
Service Description: The TargetPools API.
Sample for TargetPoolsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetPoolsClient targetPoolsClient = TargetPoolsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String targetPool = "targetPool486493517";
TargetPool response = targetPoolsClient.get(project, region, targetPool);
}
TargetSslProxiesClient
Service Description: The TargetSslProxies API.
Sample for TargetSslProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.create()) {
String project = "project-309310695";
String targetSslProxy = "targetSslProxy-879314829";
TargetSslProxy response = targetSslProxiesClient.get(project, targetSslProxy);
}
TargetTcpProxiesClient
Service Description: The TargetTcpProxies API.
Sample for TargetTcpProxiesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetTcpProxiesClient targetTcpProxiesClient = TargetTcpProxiesClient.create()) {
String project = "project-309310695";
String targetTcpProxy = "targetTcpProxy-337144898";
TargetTcpProxy response = targetTcpProxiesClient.get(project, targetTcpProxy);
}
TargetVpnGatewaysClient
Service Description: The TargetVpnGateways API.
Sample for TargetVpnGatewaysClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (TargetVpnGatewaysClient targetVpnGatewaysClient = TargetVpnGatewaysClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String targetVpnGateway = "targetVpnGateway935274273";
TargetVpnGateway response = targetVpnGatewaysClient.get(project, region, targetVpnGateway);
}
UrlMapsClient
Service Description: The UrlMaps API.
Sample for UrlMapsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (UrlMapsClient urlMapsClient = UrlMapsClient.create()) {
String project = "project-309310695";
String urlMap = "urlMap-836780691";
UrlMap response = urlMapsClient.get(project, urlMap);
}
VpnGatewaysClient
Service Description: The VpnGateways API.
Sample for VpnGatewaysClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (VpnGatewaysClient vpnGatewaysClient = VpnGatewaysClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String vpnGateway = "vpnGateway1920916144";
VpnGateway response = vpnGatewaysClient.get(project, region, vpnGateway);
}
VpnTunnelsClient
Service Description: The VpnTunnels API.
Sample for VpnTunnelsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (VpnTunnelsClient vpnTunnelsClient = VpnTunnelsClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String vpnTunnel = "vpnTunnel452443772";
VpnTunnel response = vpnTunnelsClient.get(project, region, vpnTunnel);
}
ZoneOperationsClient
Service Description: The ZoneOperations API.
Sample for ZoneOperationsClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ZoneOperationsClient zoneOperationsClient = ZoneOperationsClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String operation = "operation1662702951";
DeleteZoneOperationResponse response = zoneOperationsClient.delete(project, zone, operation);
}
ZonesClient
Service Description: The Zones API.
Sample for ZonesClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ZonesClient zonesClient = ZonesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
Zone response = zonesClient.get(project, zone);
}
Classes
AbandonInstancesInstanceGroupManagerRequest
Messages
A request message for InstanceGroupManagers.AbandonInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest
AbandonInstancesInstanceGroupManagerRequest.Builder
Messages
A request message for InstanceGroupManagers.AbandonInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.AbandonInstancesInstanceGroupManagerRequest
AbandonInstancesRegionInstanceGroupManagerRequest
A request message for RegionInstanceGroupManagers.AbandonInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest
AbandonInstancesRegionInstanceGroupManagerRequest.Builder
A request message for RegionInstanceGroupManagers.AbandonInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.AbandonInstancesRegionInstanceGroupManagerRequest
AcceleratorConfig
A specification of the type and number of accelerator cards attached to the instance.
Protobuf type google.cloud.compute.v1.AcceleratorConfig
AcceleratorConfig.Builder
A specification of the type and number of accelerator cards attached to the instance.
Protobuf type google.cloud.compute.v1.AcceleratorConfig
AcceleratorType
Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine.
Protobuf type google.cloud.compute.v1.AcceleratorType
AcceleratorType.Builder
Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine.
Protobuf type google.cloud.compute.v1.AcceleratorType
AcceleratorTypeAggregatedList
Protobuf type google.cloud.compute.v1.AcceleratorTypeAggregatedList
AcceleratorTypeAggregatedList.Builder
Protobuf type google.cloud.compute.v1.AcceleratorTypeAggregatedList
AcceleratorTypeList
Contains a list of accelerator types.
Protobuf type google.cloud.compute.v1.AcceleratorTypeList
AcceleratorTypeList.Builder
Contains a list of accelerator types.
Protobuf type google.cloud.compute.v1.AcceleratorTypeList
AcceleratorTypesClient
Service Description: Services
The AcceleratorTypes API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String acceleratorType = "acceleratorType-82462651";
AcceleratorType response = acceleratorTypesClient.get(project, zone, acceleratorType);
}
Note: close() needs to be called on the AcceleratorTypesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of AcceleratorTypesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AcceleratorTypesSettings acceleratorTypesSettings =
AcceleratorTypesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
AcceleratorTypesClient acceleratorTypesClient =
AcceleratorTypesClient.create(acceleratorTypesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AcceleratorTypesSettings acceleratorTypesSettings =
AcceleratorTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
AcceleratorTypesClient acceleratorTypesClient =
AcceleratorTypesClient.create(acceleratorTypesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
AcceleratorTypesClient.AggregatedListFixedSizeCollection
AcceleratorTypesClient.AggregatedListPage
AcceleratorTypesClient.AggregatedListPagedResponse
AcceleratorTypesClient.ListFixedSizeCollection
AcceleratorTypesClient.ListPage
AcceleratorTypesClient.ListPagedResponse
AcceleratorTypesScopedList
Protobuf type google.cloud.compute.v1.AcceleratorTypesScopedList
AcceleratorTypesScopedList.Builder
Protobuf type google.cloud.compute.v1.AcceleratorTypesScopedList
AcceleratorTypesSettings
Settings class to configure an instance of AcceleratorTypesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AcceleratorTypesSettings.Builder acceleratorTypesSettingsBuilder =
AcceleratorTypesSettings.newBuilder();
acceleratorTypesSettingsBuilder
.getSettings()
.setRetrySettings(
acceleratorTypesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AcceleratorTypesSettings acceleratorTypesSettings = acceleratorTypesSettingsBuilder.build();
AcceleratorTypesSettings.Builder
Builder for AcceleratorTypesSettings.
Accelerators
Protobuf type google.cloud.compute.v1.Accelerators
Accelerators.Builder
Protobuf type google.cloud.compute.v1.Accelerators
AccessConfig
An access configuration attached to an instance's network interface. Only one access config per instance is supported.
Protobuf type google.cloud.compute.v1.AccessConfig
AccessConfig.Builder
An access configuration attached to an instance's network interface. Only one access config per instance is supported.
Protobuf type google.cloud.compute.v1.AccessConfig
AddAccessConfigInstanceRequest
A request message for Instances.AddAccessConfig. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAccessConfigInstanceRequest
AddAccessConfigInstanceRequest.Builder
A request message for Instances.AddAccessConfig. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAccessConfigInstanceRequest
AddAssociationFirewallPolicyRequest
A request message for FirewallPolicies.AddAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAssociationFirewallPolicyRequest
AddAssociationFirewallPolicyRequest.Builder
A request message for FirewallPolicies.AddAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAssociationFirewallPolicyRequest
AddAssociationNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.AddAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest
AddAssociationNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.AddAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest
AddAssociationRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.AddAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest
AddAssociationRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.AddAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest
AddHealthCheckTargetPoolRequest
A request message for TargetPools.AddHealthCheck. See the method description for details.
Protobuf type google.cloud.compute.v1.AddHealthCheckTargetPoolRequest
AddHealthCheckTargetPoolRequest.Builder
A request message for TargetPools.AddHealthCheck. See the method description for details.
Protobuf type google.cloud.compute.v1.AddHealthCheckTargetPoolRequest
AddInstanceTargetPoolRequest
A request message for TargetPools.AddInstance. See the method description for details.
Protobuf type google.cloud.compute.v1.AddInstanceTargetPoolRequest
AddInstanceTargetPoolRequest.Builder
A request message for TargetPools.AddInstance. See the method description for details.
Protobuf type google.cloud.compute.v1.AddInstanceTargetPoolRequest
AddInstancesInstanceGroupRequest
A request message for InstanceGroups.AddInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.AddInstancesInstanceGroupRequest
AddInstancesInstanceGroupRequest.Builder
A request message for InstanceGroups.AddInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.AddInstancesInstanceGroupRequest
AddNodesNodeGroupRequest
A request message for NodeGroups.AddNodes. See the method description for details.
Protobuf type google.cloud.compute.v1.AddNodesNodeGroupRequest
AddNodesNodeGroupRequest.Builder
A request message for NodeGroups.AddNodes. See the method description for details.
Protobuf type google.cloud.compute.v1.AddNodesNodeGroupRequest
AddPeeringNetworkRequest
A request message for Networks.AddPeering. See the method description for details.
Protobuf type google.cloud.compute.v1.AddPeeringNetworkRequest
AddPeeringNetworkRequest.Builder
A request message for Networks.AddPeering. See the method description for details.
Protobuf type google.cloud.compute.v1.AddPeeringNetworkRequest
AddResourcePoliciesDiskRequest
A request message for Disks.AddResourcePolicies. See the method description for details.
Protobuf type google.cloud.compute.v1.AddResourcePoliciesDiskRequest
AddResourcePoliciesDiskRequest.Builder
A request message for Disks.AddResourcePolicies. See the method description for details.
Protobuf type google.cloud.compute.v1.AddResourcePoliciesDiskRequest
AddResourcePoliciesInstanceRequest
A request message for Instances.AddResourcePolicies. See the method description for details.
Protobuf type google.cloud.compute.v1.AddResourcePoliciesInstanceRequest
AddResourcePoliciesInstanceRequest.Builder
A request message for Instances.AddResourcePolicies. See the method description for details.
Protobuf type google.cloud.compute.v1.AddResourcePoliciesInstanceRequest
AddResourcePoliciesRegionDiskRequest
A request message for RegionDisks.AddResourcePolicies. See the method description for details.
Protobuf type google.cloud.compute.v1.AddResourcePoliciesRegionDiskRequest
AddResourcePoliciesRegionDiskRequest.Builder
A request message for RegionDisks.AddResourcePolicies. See the method description for details.
Protobuf type google.cloud.compute.v1.AddResourcePoliciesRegionDiskRequest
AddRuleFirewallPolicyRequest
A request message for FirewallPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleFirewallPolicyRequest
AddRuleFirewallPolicyRequest.Builder
A request message for FirewallPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleFirewallPolicyRequest
AddRuleNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest
AddRuleNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest
AddRuleRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest
AddRuleRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest
AddRuleSecurityPolicyRequest
A request message for SecurityPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleSecurityPolicyRequest
AddRuleSecurityPolicyRequest.Builder
A request message for SecurityPolicies.AddRule. See the method description for details.
Protobuf type google.cloud.compute.v1.AddRuleSecurityPolicyRequest
AddSignedUrlKeyBackendBucketRequest
A request message for BackendBuckets.AddSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.AddSignedUrlKeyBackendBucketRequest
AddSignedUrlKeyBackendBucketRequest.Builder
A request message for BackendBuckets.AddSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.AddSignedUrlKeyBackendBucketRequest
AddSignedUrlKeyBackendServiceRequest
A request message for BackendServices.AddSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.AddSignedUrlKeyBackendServiceRequest
AddSignedUrlKeyBackendServiceRequest.Builder
A request message for BackendServices.AddSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.AddSignedUrlKeyBackendServiceRequest
Address
Represents an IP Address resource. Google Compute Engine has two IP Address resources: * Global (external and internal) * Regional (external and internal) For more information, see Reserving a static external IP address.
Protobuf type google.cloud.compute.v1.Address
Address.Builder
Represents an IP Address resource. Google Compute Engine has two IP Address resources: * Global (external and internal) * Regional (external and internal) For more information, see Reserving a static external IP address.
Protobuf type google.cloud.compute.v1.Address
AddressAggregatedList
Protobuf type google.cloud.compute.v1.AddressAggregatedList
AddressAggregatedList.Builder
Protobuf type google.cloud.compute.v1.AddressAggregatedList
AddressList
Contains a list of addresses.
Protobuf type google.cloud.compute.v1.AddressList
AddressList.Builder
Contains a list of addresses.
Protobuf type google.cloud.compute.v1.AddressList
AddressesClient
Service Description: The Addresses API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AddressesClient addressesClient = AddressesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String address = "address-1147692044";
Address response = addressesClient.get(project, region, address);
}
Note: close() needs to be called on the AddressesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of AddressesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AddressesSettings addressesSettings =
AddressesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
AddressesClient addressesClient = AddressesClient.create(addressesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AddressesSettings addressesSettings =
AddressesSettings.newBuilder().setEndpoint(myEndpoint).build();
AddressesClient addressesClient = AddressesClient.create(addressesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
AddressesClient.AggregatedListFixedSizeCollection
AddressesClient.AggregatedListPage
AddressesClient.AggregatedListPagedResponse
AddressesClient.ListFixedSizeCollection
AddressesClient.ListPage
AddressesClient.ListPagedResponse
AddressesScopedList
Protobuf type google.cloud.compute.v1.AddressesScopedList
AddressesScopedList.Builder
Protobuf type google.cloud.compute.v1.AddressesScopedList
AddressesSettings
Settings class to configure an instance of AddressesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AddressesSettings.Builder addressesSettingsBuilder = AddressesSettings.newBuilder();
addressesSettingsBuilder
.getSettings()
.setRetrySettings(
addressesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AddressesSettings addressesSettings = addressesSettingsBuilder.build();
AddressesSettings.Builder
Builder for AddressesSettings.
AdvancedMachineFeatures
Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).
Protobuf type google.cloud.compute.v1.AdvancedMachineFeatures
AdvancedMachineFeatures.Builder
Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).
Protobuf type google.cloud.compute.v1.AdvancedMachineFeatures
AggregatedListAcceleratorTypesRequest
A request message for AcceleratorTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListAcceleratorTypesRequest
AggregatedListAcceleratorTypesRequest.Builder
A request message for AcceleratorTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListAcceleratorTypesRequest
AggregatedListAddressesRequest
A request message for Addresses.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListAddressesRequest
AggregatedListAddressesRequest.Builder
A request message for Addresses.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListAddressesRequest
AggregatedListAutoscalersRequest
A request message for Autoscalers.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListAutoscalersRequest
AggregatedListAutoscalersRequest.Builder
A request message for Autoscalers.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListAutoscalersRequest
AggregatedListBackendServicesRequest
A request message for BackendServices.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListBackendServicesRequest
AggregatedListBackendServicesRequest.Builder
A request message for BackendServices.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListBackendServicesRequest
AggregatedListDiskTypesRequest
A request message for DiskTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListDiskTypesRequest
AggregatedListDiskTypesRequest.Builder
A request message for DiskTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListDiskTypesRequest
AggregatedListDisksRequest
A request message for Disks.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListDisksRequest
AggregatedListDisksRequest.Builder
A request message for Disks.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListDisksRequest
AggregatedListForwardingRulesRequest
A request message for ForwardingRules.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListForwardingRulesRequest
AggregatedListForwardingRulesRequest.Builder
A request message for ForwardingRules.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListForwardingRulesRequest
AggregatedListGlobalOperationsRequest
A request message for GlobalOperations.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListGlobalOperationsRequest
AggregatedListGlobalOperationsRequest.Builder
A request message for GlobalOperations.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListGlobalOperationsRequest
AggregatedListHealthChecksRequest
A request message for HealthChecks.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListHealthChecksRequest
AggregatedListHealthChecksRequest.Builder
A request message for HealthChecks.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListHealthChecksRequest
AggregatedListInstanceGroupManagersRequest
A request message for InstanceGroupManagers.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstanceGroupManagersRequest
AggregatedListInstanceGroupManagersRequest.Builder
A request message for InstanceGroupManagers.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstanceGroupManagersRequest
AggregatedListInstanceGroupsRequest
A request message for InstanceGroups.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstanceGroupsRequest
AggregatedListInstanceGroupsRequest.Builder
A request message for InstanceGroups.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstanceGroupsRequest
AggregatedListInstanceTemplatesRequest
A request message for InstanceTemplates.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstanceTemplatesRequest
AggregatedListInstanceTemplatesRequest.Builder
A request message for InstanceTemplates.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstanceTemplatesRequest
AggregatedListInstancesRequest
A request message for Instances.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstancesRequest
AggregatedListInstancesRequest.Builder
A request message for Instances.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInstancesRequest
AggregatedListInterconnectAttachmentsRequest
A request message for InterconnectAttachments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInterconnectAttachmentsRequest
AggregatedListInterconnectAttachmentsRequest.Builder
A request message for InterconnectAttachments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListInterconnectAttachmentsRequest
AggregatedListMachineTypesRequest
A request message for MachineTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListMachineTypesRequest
AggregatedListMachineTypesRequest.Builder
A request message for MachineTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListMachineTypesRequest
AggregatedListNetworkAttachmentsRequest
A request message for NetworkAttachments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNetworkAttachmentsRequest
AggregatedListNetworkAttachmentsRequest.Builder
A request message for NetworkAttachments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNetworkAttachmentsRequest
AggregatedListNetworkEdgeSecurityServicesRequest
A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest
AggregatedListNetworkEdgeSecurityServicesRequest.Builder
A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest
AggregatedListNetworkEndpointGroupsRequest
A request message for NetworkEndpointGroups.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNetworkEndpointGroupsRequest
AggregatedListNetworkEndpointGroupsRequest.Builder
A request message for NetworkEndpointGroups.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNetworkEndpointGroupsRequest
AggregatedListNodeGroupsRequest
A request message for NodeGroups.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNodeGroupsRequest
AggregatedListNodeGroupsRequest.Builder
A request message for NodeGroups.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNodeGroupsRequest
AggregatedListNodeTemplatesRequest
A request message for NodeTemplates.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNodeTemplatesRequest
AggregatedListNodeTemplatesRequest.Builder
A request message for NodeTemplates.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNodeTemplatesRequest
AggregatedListNodeTypesRequest
A request message for NodeTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNodeTypesRequest
AggregatedListNodeTypesRequest.Builder
A request message for NodeTypes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListNodeTypesRequest
AggregatedListPacketMirroringsRequest
A request message for PacketMirrorings.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListPacketMirroringsRequest
AggregatedListPacketMirroringsRequest.Builder
A request message for PacketMirrorings.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListPacketMirroringsRequest
AggregatedListPublicDelegatedPrefixesRequest
A request message for PublicDelegatedPrefixes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListPublicDelegatedPrefixesRequest
AggregatedListPublicDelegatedPrefixesRequest.Builder
A request message for PublicDelegatedPrefixes.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListPublicDelegatedPrefixesRequest
AggregatedListRegionCommitmentsRequest
A request message for RegionCommitments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListRegionCommitmentsRequest
AggregatedListRegionCommitmentsRequest.Builder
A request message for RegionCommitments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListRegionCommitmentsRequest
AggregatedListReservationsRequest
A request message for Reservations.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListReservationsRequest
AggregatedListReservationsRequest.Builder
A request message for Reservations.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListReservationsRequest
AggregatedListResourcePoliciesRequest
A request message for ResourcePolicies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListResourcePoliciesRequest
AggregatedListResourcePoliciesRequest.Builder
A request message for ResourcePolicies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListResourcePoliciesRequest
AggregatedListRoutersRequest
A request message for Routers.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListRoutersRequest
AggregatedListRoutersRequest.Builder
A request message for Routers.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListRoutersRequest
AggregatedListSecurityPoliciesRequest
A request message for SecurityPolicies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest
AggregatedListSecurityPoliciesRequest.Builder
A request message for SecurityPolicies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest
AggregatedListServiceAttachmentsRequest
A request message for ServiceAttachments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListServiceAttachmentsRequest
AggregatedListServiceAttachmentsRequest.Builder
A request message for ServiceAttachments.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListServiceAttachmentsRequest
AggregatedListSslCertificatesRequest
A request message for SslCertificates.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSslCertificatesRequest
AggregatedListSslCertificatesRequest.Builder
A request message for SslCertificates.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSslCertificatesRequest
AggregatedListSslPoliciesRequest
A request message for SslPolicies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSslPoliciesRequest
AggregatedListSslPoliciesRequest.Builder
A request message for SslPolicies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSslPoliciesRequest
AggregatedListSubnetworksRequest
A request message for Subnetworks.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSubnetworksRequest
AggregatedListSubnetworksRequest.Builder
A request message for Subnetworks.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListSubnetworksRequest
AggregatedListTargetHttpProxiesRequest
A request message for TargetHttpProxies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetHttpProxiesRequest
AggregatedListTargetHttpProxiesRequest.Builder
A request message for TargetHttpProxies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetHttpProxiesRequest
AggregatedListTargetHttpsProxiesRequest
A request message for TargetHttpsProxies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetHttpsProxiesRequest
AggregatedListTargetHttpsProxiesRequest.Builder
A request message for TargetHttpsProxies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetHttpsProxiesRequest
AggregatedListTargetInstancesRequest
A request message for TargetInstances.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetInstancesRequest
AggregatedListTargetInstancesRequest.Builder
A request message for TargetInstances.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetInstancesRequest
AggregatedListTargetPoolsRequest
A request message for TargetPools.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetPoolsRequest
AggregatedListTargetPoolsRequest.Builder
A request message for TargetPools.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetPoolsRequest
AggregatedListTargetTcpProxiesRequest
A request message for TargetTcpProxies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetTcpProxiesRequest
AggregatedListTargetTcpProxiesRequest.Builder
A request message for TargetTcpProxies.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetTcpProxiesRequest
AggregatedListTargetVpnGatewaysRequest
A request message for TargetVpnGateways.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetVpnGatewaysRequest
AggregatedListTargetVpnGatewaysRequest.Builder
A request message for TargetVpnGateways.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListTargetVpnGatewaysRequest
AggregatedListUrlMapsRequest
A request message for UrlMaps.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListUrlMapsRequest
AggregatedListUrlMapsRequest.Builder
A request message for UrlMaps.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListUrlMapsRequest
AggregatedListVpnGatewaysRequest
A request message for VpnGateways.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListVpnGatewaysRequest
AggregatedListVpnGatewaysRequest.Builder
A request message for VpnGateways.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListVpnGatewaysRequest
AggregatedListVpnTunnelsRequest
A request message for VpnTunnels.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListVpnTunnelsRequest
AggregatedListVpnTunnelsRequest.Builder
A request message for VpnTunnels.AggregatedList. See the method description for details.
Protobuf type google.cloud.compute.v1.AggregatedListVpnTunnelsRequest
AliasIpRange
An alias IP range attached to an instance's network interface.
Protobuf type google.cloud.compute.v1.AliasIpRange
AliasIpRange.Builder
An alias IP range attached to an instance's network interface.
Protobuf type google.cloud.compute.v1.AliasIpRange
AllocationResourceStatus
[Output Only] Contains output only fields.
Protobuf type google.cloud.compute.v1.AllocationResourceStatus
AllocationResourceStatus.Builder
[Output Only] Contains output only fields.
Protobuf type google.cloud.compute.v1.AllocationResourceStatus
AllocationResourceStatusSpecificSKUAllocation
Contains Properties set for the reservation.
Protobuf type google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation
AllocationResourceStatusSpecificSKUAllocation.Builder
Contains Properties set for the reservation.
Protobuf type google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk
Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder
Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk
AllocationSpecificSKUAllocationReservedInstanceProperties
Properties of the SKU instances being reserved. Next ID: 9
Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder
Properties of the SKU instances being reserved. Next ID: 9
Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties
AllocationSpecificSKUReservation
This reservation type allows to pre allocate specific instance configuration. Next ID: 6
Protobuf type google.cloud.compute.v1.AllocationSpecificSKUReservation
AllocationSpecificSKUReservation.Builder
This reservation type allows to pre allocate specific instance configuration. Next ID: 6
Protobuf type google.cloud.compute.v1.AllocationSpecificSKUReservation
Allowed
Protobuf type google.cloud.compute.v1.Allowed
Allowed.Builder
Protobuf type google.cloud.compute.v1.Allowed
ApplyUpdatesToInstancesInstanceGroupManagerRequest
A request message for InstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.ApplyUpdatesToInstancesInstanceGroupManagerRequest
ApplyUpdatesToInstancesInstanceGroupManagerRequest.Builder
A request message for InstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details.
Protobuf type
google.cloud.compute.v1.ApplyUpdatesToInstancesInstanceGroupManagerRequest
ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest
A request message for RegionInstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details.
Protobuf type
google.cloud.compute.v1.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest
ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest.Builder
A request message for RegionInstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details.
Protobuf type
google.cloud.compute.v1.ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest
AttachDiskInstanceRequest
A request message for Instances.AttachDisk. See the method description for details.
Protobuf type google.cloud.compute.v1.AttachDiskInstanceRequest
AttachDiskInstanceRequest.Builder
A request message for Instances.AttachDisk. See the method description for details.
Protobuf type google.cloud.compute.v1.AttachDiskInstanceRequest
AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest
A request message for GlobalNetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details.
Protobuf type
google.cloud.compute.v1.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest
AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest.Builder
A request message for GlobalNetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details.
Protobuf type
google.cloud.compute.v1.AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest
AttachNetworkEndpointsNetworkEndpointGroupRequest
A request message for NetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details.
Protobuf type google.cloud.compute.v1.AttachNetworkEndpointsNetworkEndpointGroupRequest
AttachNetworkEndpointsNetworkEndpointGroupRequest.Builder
A request message for NetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details.
Protobuf type google.cloud.compute.v1.AttachNetworkEndpointsNetworkEndpointGroupRequest
AttachedDisk
An instance-attached disk resource.
Protobuf type google.cloud.compute.v1.AttachedDisk
AttachedDisk.Builder
An instance-attached disk resource.
Protobuf type google.cloud.compute.v1.AttachedDisk
AttachedDiskInitializeParams
[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.
Protobuf type google.cloud.compute.v1.AttachedDiskInitializeParams
AttachedDiskInitializeParams.Builder
[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both.
Protobuf type google.cloud.compute.v1.AttachedDiskInitializeParams
AuditConfig
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices
and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
Protobuf type google.cloud.compute.v1.AuditConfig
AuditConfig.Builder
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices
and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
Protobuf type google.cloud.compute.v1.AuditConfig
AuditLogConfig
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
Protobuf type google.cloud.compute.v1.AuditLogConfig
AuditLogConfig.Builder
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
Protobuf type google.cloud.compute.v1.AuditLogConfig
AuthorizationLoggingOptions
This is deprecated and has no effect. Do not use.
Protobuf type google.cloud.compute.v1.AuthorizationLoggingOptions
AuthorizationLoggingOptions.Builder
This is deprecated and has no effect. Do not use.
Protobuf type google.cloud.compute.v1.AuthorizationLoggingOptions
Autoscaler
Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * Zonal * Regional Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource.
Protobuf type google.cloud.compute.v1.Autoscaler
Autoscaler.Builder
Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * Zonal * Regional Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource.
Protobuf type google.cloud.compute.v1.Autoscaler
AutoscalerAggregatedList
Protobuf type google.cloud.compute.v1.AutoscalerAggregatedList
AutoscalerAggregatedList.Builder
Protobuf type google.cloud.compute.v1.AutoscalerAggregatedList
AutoscalerList
Contains a list of Autoscaler resources.
Protobuf type google.cloud.compute.v1.AutoscalerList
AutoscalerList.Builder
Contains a list of Autoscaler resources.
Protobuf type google.cloud.compute.v1.AutoscalerList
AutoscalerStatusDetails
Protobuf type google.cloud.compute.v1.AutoscalerStatusDetails
AutoscalerStatusDetails.Builder
Protobuf type google.cloud.compute.v1.AutoscalerStatusDetails
AutoscalersClient
Service Description: The Autoscalers API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (AutoscalersClient autoscalersClient = AutoscalersClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String autoscaler = "autoscaler517258967";
Autoscaler response = autoscalersClient.get(project, zone, autoscaler);
}
Note: close() needs to be called on the AutoscalersClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of AutoscalersSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AutoscalersSettings autoscalersSettings =
AutoscalersSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
AutoscalersClient autoscalersClient = AutoscalersClient.create(autoscalersSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AutoscalersSettings autoscalersSettings =
AutoscalersSettings.newBuilder().setEndpoint(myEndpoint).build();
AutoscalersClient autoscalersClient = AutoscalersClient.create(autoscalersSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
AutoscalersClient.AggregatedListFixedSizeCollection
AutoscalersClient.AggregatedListPage
AutoscalersClient.AggregatedListPagedResponse
AutoscalersClient.ListFixedSizeCollection
AutoscalersClient.ListPage
AutoscalersClient.ListPagedResponse
AutoscalersScopedList
Protobuf type google.cloud.compute.v1.AutoscalersScopedList
AutoscalersScopedList.Builder
Protobuf type google.cloud.compute.v1.AutoscalersScopedList
AutoscalersSettings
Settings class to configure an instance of AutoscalersClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
AutoscalersSettings.Builder autoscalersSettingsBuilder = AutoscalersSettings.newBuilder();
autoscalersSettingsBuilder
.getSettings()
.setRetrySettings(
autoscalersSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
AutoscalersSettings autoscalersSettings = autoscalersSettingsBuilder.build();
AutoscalersSettings.Builder
Builder for AutoscalersSettings.
AutoscalingPolicy
Cloud Autoscaler policy.
Protobuf type google.cloud.compute.v1.AutoscalingPolicy
AutoscalingPolicy.Builder
Cloud Autoscaler policy.
Protobuf type google.cloud.compute.v1.AutoscalingPolicy
AutoscalingPolicyCpuUtilization
CPU utilization policy.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyCpuUtilization
AutoscalingPolicyCpuUtilization.Builder
CPU utilization policy.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyCpuUtilization
AutoscalingPolicyCustomMetricUtilization
Custom utilization metric policy.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization
AutoscalingPolicyCustomMetricUtilization.Builder
Custom utilization metric policy.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization
AutoscalingPolicyLoadBalancingUtilization
Configuration parameters of autoscaling based on load balancing.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization
AutoscalingPolicyLoadBalancingUtilization.Builder
Configuration parameters of autoscaling based on load balancing.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization
AutoscalingPolicyScaleInControl
Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyScaleInControl
AutoscalingPolicyScaleInControl.Builder
Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyScaleInControl
AutoscalingPolicyScalingSchedule
Scaling based on user-defined schedule. The message describes a single scaling schedule. A scaling schedule changes the minimum number of VM instances an autoscaler can recommend, which can trigger scaling out.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyScalingSchedule
AutoscalingPolicyScalingSchedule.Builder
Scaling based on user-defined schedule. The message describes a single scaling schedule. A scaling schedule changes the minimum number of VM instances an autoscaler can recommend, which can trigger scaling out.
Protobuf type google.cloud.compute.v1.AutoscalingPolicyScalingSchedule
Backend
Message containing information of one individual backend.
Protobuf type google.cloud.compute.v1.Backend
Backend.Builder
Message containing information of one individual backend.
Protobuf type google.cloud.compute.v1.Backend
BackendBucket
Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets.
Protobuf type google.cloud.compute.v1.BackendBucket
BackendBucket.Builder
Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets.
Protobuf type google.cloud.compute.v1.BackendBucket
BackendBucketCdnPolicy
Message containing Cloud CDN configuration for a backend bucket.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicy
BackendBucketCdnPolicy.Builder
Message containing Cloud CDN configuration for a backend bucket.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicy
BackendBucketCdnPolicyBypassCacheOnRequestHeader
Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyBypassCacheOnRequestHeader
BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder
Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyBypassCacheOnRequestHeader
BackendBucketCdnPolicyCacheKeyPolicy
Message containing what to include in the cache key for a request for Cloud CDN.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyCacheKeyPolicy
BackendBucketCdnPolicyCacheKeyPolicy.Builder
Message containing what to include in the cache key for a request for Cloud CDN.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyCacheKeyPolicy
BackendBucketCdnPolicyNegativeCachingPolicy
Specify CDN TTLs for response error codes.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyNegativeCachingPolicy
BackendBucketCdnPolicyNegativeCachingPolicy.Builder
Specify CDN TTLs for response error codes.
Protobuf type google.cloud.compute.v1.BackendBucketCdnPolicyNegativeCachingPolicy
BackendBucketList
Contains a list of BackendBucket resources.
Protobuf type google.cloud.compute.v1.BackendBucketList
BackendBucketList.Builder
Contains a list of BackendBucket resources.
Protobuf type google.cloud.compute.v1.BackendBucketList
BackendBucketsClient
Service Description: The BackendBuckets API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (BackendBucketsClient backendBucketsClient = BackendBucketsClient.create()) {
String project = "project-309310695";
String backendBucket = "backendBucket713751966";
BackendBucket response = backendBucketsClient.get(project, backendBucket);
}
Note: close() needs to be called on the BackendBucketsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of BackendBucketsSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
BackendBucketsSettings backendBucketsSettings =
BackendBucketsSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
BackendBucketsClient backendBucketsClient = BackendBucketsClient.create(backendBucketsSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
BackendBucketsSettings backendBucketsSettings =
BackendBucketsSettings.newBuilder().setEndpoint(myEndpoint).build();
BackendBucketsClient backendBucketsClient = BackendBucketsClient.create(backendBucketsSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
BackendBucketsClient.ListFixedSizeCollection
BackendBucketsClient.ListPage
BackendBucketsClient.ListPagedResponse
BackendBucketsSettings
Settings class to configure an instance of BackendBucketsClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
BackendBucketsSettings.Builder backendBucketsSettingsBuilder =
BackendBucketsSettings.newBuilder();
backendBucketsSettingsBuilder
.getSettings()
.setRetrySettings(
backendBucketsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
BackendBucketsSettings backendBucketsSettings = backendBucketsSettingsBuilder.build();
BackendBucketsSettings.Builder
Builder for BackendBucketsSettings.
BackendService
Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * Global * Regional For more information, see Backend Services.
Protobuf type google.cloud.compute.v1.BackendService
BackendService.Builder
Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * Global * Regional For more information, see Backend Services.
Protobuf type google.cloud.compute.v1.BackendService
BackendServiceAggregatedList
Contains a list of BackendServicesScopedList.
Protobuf type google.cloud.compute.v1.BackendServiceAggregatedList
BackendServiceAggregatedList.Builder
Contains a list of BackendServicesScopedList.
Protobuf type google.cloud.compute.v1.BackendServiceAggregatedList
BackendServiceCdnPolicy
Message containing Cloud CDN configuration for a backend service.
Protobuf type google.cloud.compute.v1.BackendServiceCdnPolicy
BackendServiceCdnPolicy.Builder
Message containing Cloud CDN configuration for a backend service.
Protobuf type google.cloud.compute.v1.BackendServiceCdnPolicy
BackendServiceCdnPolicyBypassCacheOnRequestHeader
Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.
Protobuf type google.cloud.compute.v1.BackendServiceCdnPolicyBypassCacheOnRequestHeader
BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder
Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting.
Protobuf type google.cloud.compute.v1.BackendServiceCdnPolicyBypassCacheOnRequestHeader
BackendServiceCdnPolicyNegativeCachingPolicy
Specify CDN TTLs for response error codes.
Protobuf type google.cloud.compute.v1.BackendServiceCdnPolicyNegativeCachingPolicy
BackendServiceCdnPolicyNegativeCachingPolicy.Builder
Specify CDN TTLs for response error codes.
Protobuf type google.cloud.compute.v1.BackendServiceCdnPolicyNegativeCachingPolicy
BackendServiceConnectionTrackingPolicy
Connection Tracking configuration for this BackendService.
Protobuf type google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy
BackendServiceConnectionTrackingPolicy.Builder
Connection Tracking configuration for this BackendService.
Protobuf type google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy
BackendServiceFailoverPolicy
For load balancers that have configurable failover: Internal TCP/UDP Load Balancing and external TCP/UDP Load Balancing. On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes).
Protobuf type google.cloud.compute.v1.BackendServiceFailoverPolicy
BackendServiceFailoverPolicy.Builder
For load balancers that have configurable failover: Internal TCP/UDP Load Balancing and external TCP/UDP Load Balancing. On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes).
Protobuf type google.cloud.compute.v1.BackendServiceFailoverPolicy
BackendServiceGroupHealth
Protobuf type google.cloud.compute.v1.BackendServiceGroupHealth
BackendServiceGroupHealth.Builder
Protobuf type google.cloud.compute.v1.BackendServiceGroupHealth
BackendServiceIAP
Identity-Aware Proxy
Protobuf type google.cloud.compute.v1.BackendServiceIAP
BackendServiceIAP.Builder
Identity-Aware Proxy
Protobuf type google.cloud.compute.v1.BackendServiceIAP
BackendServiceList
Contains a list of BackendService resources.
Protobuf type google.cloud.compute.v1.BackendServiceList
BackendServiceList.Builder
Contains a list of BackendService resources.
Protobuf type google.cloud.compute.v1.BackendServiceList
BackendServiceLocalityLoadBalancingPolicyConfig
Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.
Protobuf type google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig
BackendServiceLocalityLoadBalancingPolicyConfig.Builder
Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.
Protobuf type google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig
BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
The configuration for a custom policy implemented by the user and deployed with the client.
Protobuf type
google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.Builder
The configuration for a custom policy implemented by the user and deployed with the client.
Protobuf type
google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy
BackendServiceLocalityLoadBalancingPolicyConfigPolicy
The configuration for a built-in load balancing policy.
Protobuf type
google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy
BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Builder
The configuration for a built-in load balancing policy.
Protobuf type
google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy
BackendServiceLogConfig
The available logging options for the load balancer traffic served by this backend service.
Protobuf type google.cloud.compute.v1.BackendServiceLogConfig
BackendServiceLogConfig.Builder
The available logging options for the load balancer traffic served by this backend service.
Protobuf type google.cloud.compute.v1.BackendServiceLogConfig
BackendServiceReference
Protobuf type google.cloud.compute.v1.BackendServiceReference
BackendServiceReference.Builder
Protobuf type google.cloud.compute.v1.BackendServiceReference
BackendServicesClient
Service Description: The BackendServices API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (BackendServicesClient backendServicesClient = BackendServicesClient.create()) {
String project = "project-309310695";
String backendService = "backendService-1884714623";
BackendService response = backendServicesClient.get(project, backendService);
}
Note: close() needs to be called on the BackendServicesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of BackendServicesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
BackendServicesSettings backendServicesSettings =
BackendServicesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
BackendServicesClient backendServicesClient =
BackendServicesClient.create(backendServicesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
BackendServicesSettings backendServicesSettings =
BackendServicesSettings.newBuilder().setEndpoint(myEndpoint).build();
BackendServicesClient backendServicesClient =
BackendServicesClient.create(backendServicesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
BackendServicesClient.AggregatedListFixedSizeCollection
BackendServicesClient.AggregatedListPage
BackendServicesClient.AggregatedListPagedResponse
BackendServicesClient.ListFixedSizeCollection
BackendServicesClient.ListPage
BackendServicesClient.ListPagedResponse
BackendServicesScopedList
Protobuf type google.cloud.compute.v1.BackendServicesScopedList
BackendServicesScopedList.Builder
Protobuf type google.cloud.compute.v1.BackendServicesScopedList
BackendServicesSettings
Settings class to configure an instance of BackendServicesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
BackendServicesSettings.Builder backendServicesSettingsBuilder =
BackendServicesSettings.newBuilder();
backendServicesSettingsBuilder
.getSettings()
.setRetrySettings(
backendServicesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
BackendServicesSettings backendServicesSettings = backendServicesSettingsBuilder.build();
BackendServicesSettings.Builder
Builder for BackendServicesSettings.
BfdPacket
Protobuf type google.cloud.compute.v1.BfdPacket
BfdPacket.Builder
Protobuf type google.cloud.compute.v1.BfdPacket
BfdStatus
Next free: 15
Protobuf type google.cloud.compute.v1.BfdStatus
BfdStatus.Builder
Next free: 15
Protobuf type google.cloud.compute.v1.BfdStatus
BfdStatusPacketCounts
Protobuf type google.cloud.compute.v1.BfdStatusPacketCounts
BfdStatusPacketCounts.Builder
Protobuf type google.cloud.compute.v1.BfdStatusPacketCounts
Binding
Associates members
, or principals, with a role
.
Protobuf type google.cloud.compute.v1.Binding
Binding.Builder
Associates members
, or principals, with a role
.
Protobuf type google.cloud.compute.v1.Binding
BulkInsertInstanceRequest
A request message for Instances.BulkInsert. See the method description for details.
Protobuf type google.cloud.compute.v1.BulkInsertInstanceRequest
BulkInsertInstanceRequest.Builder
A request message for Instances.BulkInsert. See the method description for details.
Protobuf type google.cloud.compute.v1.BulkInsertInstanceRequest
BulkInsertInstanceResource
A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests.
Protobuf type google.cloud.compute.v1.BulkInsertInstanceResource
BulkInsertInstanceResource.Builder
A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests.
Protobuf type google.cloud.compute.v1.BulkInsertInstanceResource
BulkInsertInstanceResourcePerInstanceProperties
Per-instance properties to be set on individual instances. To be extended in the future.
Protobuf type google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties
BulkInsertInstanceResourcePerInstanceProperties.Builder
Per-instance properties to be set on individual instances. To be extended in the future.
Protobuf type google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties
BulkInsertRegionInstanceRequest
A request message for RegionInstances.BulkInsert. See the method description for details.
Protobuf type google.cloud.compute.v1.BulkInsertRegionInstanceRequest
BulkInsertRegionInstanceRequest.Builder
A request message for RegionInstances.BulkInsert. See the method description for details.
Protobuf type google.cloud.compute.v1.BulkInsertRegionInstanceRequest
CacheInvalidationRule
Protobuf type google.cloud.compute.v1.CacheInvalidationRule
CacheInvalidationRule.Builder
Protobuf type google.cloud.compute.v1.CacheInvalidationRule
CacheKeyPolicy
Message containing what to include in the cache key for a request for Cloud CDN.
Protobuf type google.cloud.compute.v1.CacheKeyPolicy
CacheKeyPolicy.Builder
Message containing what to include in the cache key for a request for Cloud CDN.
Protobuf type google.cloud.compute.v1.CacheKeyPolicy
CircuitBreakers
Settings controlling the volume of requests, connections and retries to this backend service.
Protobuf type google.cloud.compute.v1.CircuitBreakers
CircuitBreakers.Builder
Settings controlling the volume of requests, connections and retries to this backend service.
Protobuf type google.cloud.compute.v1.CircuitBreakers
CloneRulesFirewallPolicyRequest
A request message for FirewallPolicies.CloneRules. See the method description for details.
Protobuf type google.cloud.compute.v1.CloneRulesFirewallPolicyRequest
CloneRulesFirewallPolicyRequest.Builder
A request message for FirewallPolicies.CloneRules. See the method description for details.
Protobuf type google.cloud.compute.v1.CloneRulesFirewallPolicyRequest
CloneRulesNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.CloneRules. See the method description for details.
Protobuf type google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest
CloneRulesNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.CloneRules. See the method description for details.
Protobuf type google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest
CloneRulesRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.CloneRules. See the method description for details.
Protobuf type google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest
CloneRulesRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.CloneRules. See the method description for details.
Protobuf type google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest
Commitment
Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.
Protobuf type google.cloud.compute.v1.Commitment
Commitment.Builder
Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.
Protobuf type google.cloud.compute.v1.Commitment
CommitmentAggregatedList
Protobuf type google.cloud.compute.v1.CommitmentAggregatedList
CommitmentAggregatedList.Builder
Protobuf type google.cloud.compute.v1.CommitmentAggregatedList
CommitmentList
Contains a list of Commitment resources.
Protobuf type google.cloud.compute.v1.CommitmentList
CommitmentList.Builder
Contains a list of Commitment resources.
Protobuf type google.cloud.compute.v1.CommitmentList
CommitmentsScopedList
Protobuf type google.cloud.compute.v1.CommitmentsScopedList
CommitmentsScopedList.Builder
Protobuf type google.cloud.compute.v1.CommitmentsScopedList
Compute
Condition
This is deprecated and has no effect. Do not use.
Protobuf type google.cloud.compute.v1.Condition
Condition.Builder
This is deprecated and has no effect. Do not use.
Protobuf type google.cloud.compute.v1.Condition
ConfidentialInstanceConfig
A set of Confidential Instance options.
Protobuf type google.cloud.compute.v1.ConfidentialInstanceConfig
ConfidentialInstanceConfig.Builder
A set of Confidential Instance options.
Protobuf type google.cloud.compute.v1.ConfidentialInstanceConfig
ConnectionDraining
Message containing connection draining configuration.
Protobuf type google.cloud.compute.v1.ConnectionDraining
ConnectionDraining.Builder
Message containing connection draining configuration.
Protobuf type google.cloud.compute.v1.ConnectionDraining
ConsistentHashLoadBalancerSettings
This message defines settings for a consistent hash style load balancer.
Protobuf type google.cloud.compute.v1.ConsistentHashLoadBalancerSettings
ConsistentHashLoadBalancerSettings.Builder
This message defines settings for a consistent hash style load balancer.
Protobuf type google.cloud.compute.v1.ConsistentHashLoadBalancerSettings
ConsistentHashLoadBalancerSettingsHttpCookie
The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.
Protobuf type google.cloud.compute.v1.ConsistentHashLoadBalancerSettingsHttpCookie
ConsistentHashLoadBalancerSettingsHttpCookie.Builder
The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.
Protobuf type google.cloud.compute.v1.ConsistentHashLoadBalancerSettingsHttpCookie
CorsPolicy
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard.
Protobuf type google.cloud.compute.v1.CorsPolicy
CorsPolicy.Builder
The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard.
Protobuf type google.cloud.compute.v1.CorsPolicy
CreateInstancesInstanceGroupManagerRequest
A request message for InstanceGroupManagers.CreateInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateInstancesInstanceGroupManagerRequest
CreateInstancesInstanceGroupManagerRequest.Builder
A request message for InstanceGroupManagers.CreateInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateInstancesInstanceGroupManagerRequest
CreateInstancesRegionInstanceGroupManagerRequest
A request message for RegionInstanceGroupManagers.CreateInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateInstancesRegionInstanceGroupManagerRequest
CreateInstancesRegionInstanceGroupManagerRequest.Builder
A request message for RegionInstanceGroupManagers.CreateInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateInstancesRegionInstanceGroupManagerRequest
CreateSnapshotDiskRequest
A request message for Disks.CreateSnapshot. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateSnapshotDiskRequest
CreateSnapshotDiskRequest.Builder
A request message for Disks.CreateSnapshot. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateSnapshotDiskRequest
CreateSnapshotRegionDiskRequest
A request message for RegionDisks.CreateSnapshot. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateSnapshotRegionDiskRequest
CreateSnapshotRegionDiskRequest.Builder
A request message for RegionDisks.CreateSnapshot. See the method description for details.
Protobuf type google.cloud.compute.v1.CreateSnapshotRegionDiskRequest
CustomerEncryptionKey
Protobuf type google.cloud.compute.v1.CustomerEncryptionKey
CustomerEncryptionKey.Builder
Protobuf type google.cloud.compute.v1.CustomerEncryptionKey
CustomerEncryptionKeyProtectedDisk
Protobuf type google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk
CustomerEncryptionKeyProtectedDisk.Builder
Protobuf type google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk
Data
Protobuf type google.cloud.compute.v1.Data
Data.Builder
Protobuf type google.cloud.compute.v1.Data
DeleteAccessConfigInstanceRequest
A request message for Instances.DeleteAccessConfig. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteAccessConfigInstanceRequest
DeleteAccessConfigInstanceRequest.Builder
A request message for Instances.DeleteAccessConfig. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteAccessConfigInstanceRequest
DeleteAddressRequest
A request message for Addresses.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteAddressRequest
DeleteAddressRequest.Builder
A request message for Addresses.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteAddressRequest
DeleteAutoscalerRequest
A request message for Autoscalers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteAutoscalerRequest
DeleteAutoscalerRequest.Builder
A request message for Autoscalers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteAutoscalerRequest
DeleteBackendBucketRequest
A request message for BackendBuckets.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteBackendBucketRequest
DeleteBackendBucketRequest.Builder
A request message for BackendBuckets.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteBackendBucketRequest
DeleteBackendServiceRequest
A request message for BackendServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteBackendServiceRequest
DeleteBackendServiceRequest.Builder
A request message for BackendServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteBackendServiceRequest
DeleteDiskRequest
A request message for Disks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteDiskRequest
DeleteDiskRequest.Builder
A request message for Disks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteDiskRequest
DeleteExternalVpnGatewayRequest
A request message for ExternalVpnGateways.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteExternalVpnGatewayRequest
DeleteExternalVpnGatewayRequest.Builder
A request message for ExternalVpnGateways.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteExternalVpnGatewayRequest
DeleteFirewallPolicyRequest
A request message for FirewallPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteFirewallPolicyRequest
DeleteFirewallPolicyRequest.Builder
A request message for FirewallPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteFirewallPolicyRequest
DeleteFirewallRequest
A request message for Firewalls.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteFirewallRequest
DeleteFirewallRequest.Builder
A request message for Firewalls.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteFirewallRequest
DeleteForwardingRuleRequest
A request message for ForwardingRules.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteForwardingRuleRequest
DeleteForwardingRuleRequest.Builder
A request message for ForwardingRules.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteForwardingRuleRequest
DeleteGlobalAddressRequest
A request message for GlobalAddresses.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalAddressRequest
DeleteGlobalAddressRequest.Builder
A request message for GlobalAddresses.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalAddressRequest
DeleteGlobalForwardingRuleRequest
A request message for GlobalForwardingRules.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalForwardingRuleRequest
DeleteGlobalForwardingRuleRequest.Builder
A request message for GlobalForwardingRules.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalForwardingRuleRequest
DeleteGlobalNetworkEndpointGroupRequest
A request message for GlobalNetworkEndpointGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalNetworkEndpointGroupRequest
DeleteGlobalNetworkEndpointGroupRequest.Builder
A request message for GlobalNetworkEndpointGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalNetworkEndpointGroupRequest
DeleteGlobalOperationRequest
A request message for GlobalOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOperationRequest
DeleteGlobalOperationRequest.Builder
A request message for GlobalOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOperationRequest
DeleteGlobalOperationResponse
A response message for GlobalOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOperationResponse
DeleteGlobalOperationResponse.Builder
A response message for GlobalOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOperationResponse
DeleteGlobalOrganizationOperationRequest
A request message for GlobalOrganizationOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest
DeleteGlobalOrganizationOperationRequest.Builder
A request message for GlobalOrganizationOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest
DeleteGlobalOrganizationOperationResponse
A response message for GlobalOrganizationOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse
DeleteGlobalOrganizationOperationResponse.Builder
A response message for GlobalOrganizationOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse
DeleteGlobalPublicDelegatedPrefixeRequest
A request message for GlobalPublicDelegatedPrefixes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalPublicDelegatedPrefixeRequest
DeleteGlobalPublicDelegatedPrefixeRequest.Builder
A request message for GlobalPublicDelegatedPrefixes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteGlobalPublicDelegatedPrefixeRequest
DeleteHealthCheckRequest
A request message for HealthChecks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteHealthCheckRequest
DeleteHealthCheckRequest.Builder
A request message for HealthChecks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteHealthCheckRequest
DeleteImageRequest
A request message for Images.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteImageRequest
DeleteImageRequest.Builder
A request message for Images.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteImageRequest
DeleteInstanceGroupManagerRequest
A request message for InstanceGroupManagers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceGroupManagerRequest
DeleteInstanceGroupManagerRequest.Builder
A request message for InstanceGroupManagers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceGroupManagerRequest
DeleteInstanceGroupRequest
A request message for InstanceGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceGroupRequest
DeleteInstanceGroupRequest.Builder
A request message for InstanceGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceGroupRequest
DeleteInstanceRequest
A request message for Instances.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceRequest
DeleteInstanceRequest.Builder
A request message for Instances.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceRequest
DeleteInstanceTemplateRequest
A request message for InstanceTemplates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceTemplateRequest
DeleteInstanceTemplateRequest.Builder
A request message for InstanceTemplates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstanceTemplateRequest
DeleteInstancesInstanceGroupManagerRequest
A request message for InstanceGroupManagers.DeleteInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstancesInstanceGroupManagerRequest
DeleteInstancesInstanceGroupManagerRequest.Builder
A request message for InstanceGroupManagers.DeleteInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstancesInstanceGroupManagerRequest
DeleteInstancesRegionInstanceGroupManagerRequest
A request message for RegionInstanceGroupManagers.DeleteInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstancesRegionInstanceGroupManagerRequest
DeleteInstancesRegionInstanceGroupManagerRequest.Builder
A request message for RegionInstanceGroupManagers.DeleteInstances. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInstancesRegionInstanceGroupManagerRequest
DeleteInterconnectAttachmentRequest
A request message for InterconnectAttachments.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInterconnectAttachmentRequest
DeleteInterconnectAttachmentRequest.Builder
A request message for InterconnectAttachments.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInterconnectAttachmentRequest
DeleteInterconnectRequest
A request message for Interconnects.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInterconnectRequest
DeleteInterconnectRequest.Builder
A request message for Interconnects.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteInterconnectRequest
DeleteLicenseRequest
A request message for Licenses.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteLicenseRequest
DeleteLicenseRequest.Builder
A request message for Licenses.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteLicenseRequest
DeleteMachineImageRequest
A request message for MachineImages.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteMachineImageRequest
DeleteMachineImageRequest.Builder
A request message for MachineImages.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteMachineImageRequest
DeleteNetworkAttachmentRequest
A request message for NetworkAttachments.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkAttachmentRequest
DeleteNetworkAttachmentRequest.Builder
A request message for NetworkAttachments.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkAttachmentRequest
DeleteNetworkEdgeSecurityServiceRequest
A request message for NetworkEdgeSecurityServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest
DeleteNetworkEdgeSecurityServiceRequest.Builder
A request message for NetworkEdgeSecurityServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest
DeleteNetworkEndpointGroupRequest
A request message for NetworkEndpointGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkEndpointGroupRequest
DeleteNetworkEndpointGroupRequest.Builder
A request message for NetworkEndpointGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkEndpointGroupRequest
DeleteNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest
DeleteNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest
DeleteNetworkRequest
A request message for Networks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkRequest
DeleteNetworkRequest.Builder
A request message for Networks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNetworkRequest
DeleteNodeGroupRequest
A request message for NodeGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNodeGroupRequest
DeleteNodeGroupRequest.Builder
A request message for NodeGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNodeGroupRequest
DeleteNodeTemplateRequest
A request message for NodeTemplates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNodeTemplateRequest
DeleteNodeTemplateRequest.Builder
A request message for NodeTemplates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNodeTemplateRequest
DeleteNodesNodeGroupRequest
A request message for NodeGroups.DeleteNodes. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNodesNodeGroupRequest
DeleteNodesNodeGroupRequest.Builder
A request message for NodeGroups.DeleteNodes. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteNodesNodeGroupRequest
DeletePacketMirroringRequest
A request message for PacketMirrorings.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeletePacketMirroringRequest
DeletePacketMirroringRequest.Builder
A request message for PacketMirrorings.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeletePacketMirroringRequest
DeletePerInstanceConfigsInstanceGroupManagerRequest
A request message for InstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details.
Protobuf type google.cloud.compute.v1.DeletePerInstanceConfigsInstanceGroupManagerRequest
DeletePerInstanceConfigsInstanceGroupManagerRequest.Builder
A request message for InstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details.
Protobuf type
google.cloud.compute.v1.DeletePerInstanceConfigsInstanceGroupManagerRequest
DeletePerInstanceConfigsRegionInstanceGroupManagerRequest
A request message for RegionInstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details.
Protobuf type
google.cloud.compute.v1.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest
DeletePerInstanceConfigsRegionInstanceGroupManagerRequest.Builder
A request message for RegionInstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details.
Protobuf type
google.cloud.compute.v1.DeletePerInstanceConfigsRegionInstanceGroupManagerRequest
DeletePublicAdvertisedPrefixeRequest
A request message for PublicAdvertisedPrefixes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeletePublicAdvertisedPrefixeRequest
DeletePublicAdvertisedPrefixeRequest.Builder
A request message for PublicAdvertisedPrefixes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeletePublicAdvertisedPrefixeRequest
DeletePublicDelegatedPrefixeRequest
A request message for PublicDelegatedPrefixes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeletePublicDelegatedPrefixeRequest
DeletePublicDelegatedPrefixeRequest.Builder
A request message for PublicDelegatedPrefixes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeletePublicDelegatedPrefixeRequest
DeleteRegionAutoscalerRequest
A request message for RegionAutoscalers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionAutoscalerRequest
DeleteRegionAutoscalerRequest.Builder
A request message for RegionAutoscalers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionAutoscalerRequest
DeleteRegionBackendServiceRequest
A request message for RegionBackendServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionBackendServiceRequest
DeleteRegionBackendServiceRequest.Builder
A request message for RegionBackendServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionBackendServiceRequest
DeleteRegionDiskRequest
A request message for RegionDisks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionDiskRequest
DeleteRegionDiskRequest.Builder
A request message for RegionDisks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionDiskRequest
DeleteRegionHealthCheckRequest
A request message for RegionHealthChecks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionHealthCheckRequest
DeleteRegionHealthCheckRequest.Builder
A request message for RegionHealthChecks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionHealthCheckRequest
DeleteRegionHealthCheckServiceRequest
A request message for RegionHealthCheckServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionHealthCheckServiceRequest
DeleteRegionHealthCheckServiceRequest.Builder
A request message for RegionHealthCheckServices.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionHealthCheckServiceRequest
DeleteRegionInstanceGroupManagerRequest
A request message for RegionInstanceGroupManagers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionInstanceGroupManagerRequest
DeleteRegionInstanceGroupManagerRequest.Builder
A request message for RegionInstanceGroupManagers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionInstanceGroupManagerRequest
DeleteRegionInstanceTemplateRequest
A request message for RegionInstanceTemplates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionInstanceTemplateRequest
DeleteRegionInstanceTemplateRequest.Builder
A request message for RegionInstanceTemplates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionInstanceTemplateRequest
DeleteRegionNetworkEndpointGroupRequest
A request message for RegionNetworkEndpointGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionNetworkEndpointGroupRequest
DeleteRegionNetworkEndpointGroupRequest.Builder
A request message for RegionNetworkEndpointGroups.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionNetworkEndpointGroupRequest
DeleteRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest
DeleteRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest
DeleteRegionNotificationEndpointRequest
A request message for RegionNotificationEndpoints.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionNotificationEndpointRequest
DeleteRegionNotificationEndpointRequest.Builder
A request message for RegionNotificationEndpoints.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionNotificationEndpointRequest
DeleteRegionOperationRequest
A request message for RegionOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionOperationRequest
DeleteRegionOperationRequest.Builder
A request message for RegionOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionOperationRequest
DeleteRegionOperationResponse
A response message for RegionOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionOperationResponse
DeleteRegionOperationResponse.Builder
A response message for RegionOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionOperationResponse
DeleteRegionSecurityPolicyRequest
A request message for RegionSecurityPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest
DeleteRegionSecurityPolicyRequest.Builder
A request message for RegionSecurityPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest
DeleteRegionSslCertificateRequest
A request message for RegionSslCertificates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionSslCertificateRequest
DeleteRegionSslCertificateRequest.Builder
A request message for RegionSslCertificates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionSslCertificateRequest
DeleteRegionSslPolicyRequest
A request message for RegionSslPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionSslPolicyRequest
DeleteRegionSslPolicyRequest.Builder
A request message for RegionSslPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionSslPolicyRequest
DeleteRegionTargetHttpProxyRequest
A request message for RegionTargetHttpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionTargetHttpProxyRequest
DeleteRegionTargetHttpProxyRequest.Builder
A request message for RegionTargetHttpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionTargetHttpProxyRequest
DeleteRegionTargetHttpsProxyRequest
A request message for RegionTargetHttpsProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionTargetHttpsProxyRequest
DeleteRegionTargetHttpsProxyRequest.Builder
A request message for RegionTargetHttpsProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionTargetHttpsProxyRequest
DeleteRegionTargetTcpProxyRequest
A request message for RegionTargetTcpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionTargetTcpProxyRequest
DeleteRegionTargetTcpProxyRequest.Builder
A request message for RegionTargetTcpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionTargetTcpProxyRequest
DeleteRegionUrlMapRequest
A request message for RegionUrlMaps.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionUrlMapRequest
DeleteRegionUrlMapRequest.Builder
A request message for RegionUrlMaps.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRegionUrlMapRequest
DeleteReservationRequest
A request message for Reservations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteReservationRequest
DeleteReservationRequest.Builder
A request message for Reservations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteReservationRequest
DeleteResourcePolicyRequest
A request message for ResourcePolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteResourcePolicyRequest
DeleteResourcePolicyRequest.Builder
A request message for ResourcePolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteResourcePolicyRequest
DeleteRouteRequest
A request message for Routes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRouteRequest
DeleteRouteRequest.Builder
A request message for Routes.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRouteRequest
DeleteRouterRequest
A request message for Routers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRouterRequest
DeleteRouterRequest.Builder
A request message for Routers.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteRouterRequest
DeleteSecurityPolicyRequest
A request message for SecurityPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSecurityPolicyRequest
DeleteSecurityPolicyRequest.Builder
A request message for SecurityPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSecurityPolicyRequest
DeleteServiceAttachmentRequest
A request message for ServiceAttachments.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteServiceAttachmentRequest
DeleteServiceAttachmentRequest.Builder
A request message for ServiceAttachments.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteServiceAttachmentRequest
DeleteSignedUrlKeyBackendBucketRequest
A request message for BackendBuckets.DeleteSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSignedUrlKeyBackendBucketRequest
DeleteSignedUrlKeyBackendBucketRequest.Builder
A request message for BackendBuckets.DeleteSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSignedUrlKeyBackendBucketRequest
DeleteSignedUrlKeyBackendServiceRequest
A request message for BackendServices.DeleteSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSignedUrlKeyBackendServiceRequest
DeleteSignedUrlKeyBackendServiceRequest.Builder
A request message for BackendServices.DeleteSignedUrlKey. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSignedUrlKeyBackendServiceRequest
DeleteSnapshotRequest
A request message for Snapshots.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSnapshotRequest
DeleteSnapshotRequest.Builder
A request message for Snapshots.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSnapshotRequest
DeleteSslCertificateRequest
A request message for SslCertificates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSslCertificateRequest
DeleteSslCertificateRequest.Builder
A request message for SslCertificates.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSslCertificateRequest
DeleteSslPolicyRequest
A request message for SslPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSslPolicyRequest
DeleteSslPolicyRequest.Builder
A request message for SslPolicies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSslPolicyRequest
DeleteSubnetworkRequest
A request message for Subnetworks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSubnetworkRequest
DeleteSubnetworkRequest.Builder
A request message for Subnetworks.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteSubnetworkRequest
DeleteTargetGrpcProxyRequest
A request message for TargetGrpcProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetGrpcProxyRequest
DeleteTargetGrpcProxyRequest.Builder
A request message for TargetGrpcProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetGrpcProxyRequest
DeleteTargetHttpProxyRequest
A request message for TargetHttpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetHttpProxyRequest
DeleteTargetHttpProxyRequest.Builder
A request message for TargetHttpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetHttpProxyRequest
DeleteTargetHttpsProxyRequest
A request message for TargetHttpsProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetHttpsProxyRequest
DeleteTargetHttpsProxyRequest.Builder
A request message for TargetHttpsProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetHttpsProxyRequest
DeleteTargetInstanceRequest
A request message for TargetInstances.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetInstanceRequest
DeleteTargetInstanceRequest.Builder
A request message for TargetInstances.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetInstanceRequest
DeleteTargetPoolRequest
A request message for TargetPools.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetPoolRequest
DeleteTargetPoolRequest.Builder
A request message for TargetPools.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetPoolRequest
DeleteTargetSslProxyRequest
A request message for TargetSslProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetSslProxyRequest
DeleteTargetSslProxyRequest.Builder
A request message for TargetSslProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetSslProxyRequest
DeleteTargetTcpProxyRequest
A request message for TargetTcpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetTcpProxyRequest
DeleteTargetTcpProxyRequest.Builder
A request message for TargetTcpProxies.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetTcpProxyRequest
DeleteTargetVpnGatewayRequest
A request message for TargetVpnGateways.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetVpnGatewayRequest
DeleteTargetVpnGatewayRequest.Builder
A request message for TargetVpnGateways.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteTargetVpnGatewayRequest
DeleteUrlMapRequest
A request message for UrlMaps.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteUrlMapRequest
DeleteUrlMapRequest.Builder
A request message for UrlMaps.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteUrlMapRequest
DeleteVpnGatewayRequest
A request message for VpnGateways.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteVpnGatewayRequest
DeleteVpnGatewayRequest.Builder
A request message for VpnGateways.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteVpnGatewayRequest
DeleteVpnTunnelRequest
A request message for VpnTunnels.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteVpnTunnelRequest
DeleteVpnTunnelRequest.Builder
A request message for VpnTunnels.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteVpnTunnelRequest
DeleteZoneOperationRequest
A request message for ZoneOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteZoneOperationRequest
DeleteZoneOperationRequest.Builder
A request message for ZoneOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteZoneOperationRequest
DeleteZoneOperationResponse
A response message for ZoneOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteZoneOperationResponse
DeleteZoneOperationResponse.Builder
A response message for ZoneOperations.Delete. See the method description for details.
Protobuf type google.cloud.compute.v1.DeleteZoneOperationResponse
Denied
Protobuf type google.cloud.compute.v1.Denied
Denied.Builder
Protobuf type google.cloud.compute.v1.Denied
DeprecateImageRequest
A request message for Images.Deprecate. See the method description for details.
Protobuf type google.cloud.compute.v1.DeprecateImageRequest
DeprecateImageRequest.Builder
A request message for Images.Deprecate. See the method description for details.
Protobuf type google.cloud.compute.v1.DeprecateImageRequest
DeprecationStatus
Deprecation status for a public resource.
Protobuf type google.cloud.compute.v1.DeprecationStatus
DeprecationStatus.Builder
Deprecation status for a public resource.
Protobuf type google.cloud.compute.v1.DeprecationStatus
DetachDiskInstanceRequest
A request message for Instances.DetachDisk. See the method description for details.
Protobuf type google.cloud.compute.v1.DetachDiskInstanceRequest
DetachDiskInstanceRequest.Builder
A request message for Instances.DetachDisk. See the method description for details.
Protobuf type google.cloud.compute.v1.DetachDiskInstanceRequest
DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest
A request message for GlobalNetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details.
Protobuf type
google.cloud.compute.v1.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest
DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest.Builder
A request message for GlobalNetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details.
Protobuf type
google.cloud.compute.v1.DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest
DetachNetworkEndpointsNetworkEndpointGroupRequest
A request message for NetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details.
Protobuf type google.cloud.compute.v1.DetachNetworkEndpointsNetworkEndpointGroupRequest
DetachNetworkEndpointsNetworkEndpointGroupRequest.Builder
A request message for NetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details.
Protobuf type google.cloud.compute.v1.DetachNetworkEndpointsNetworkEndpointGroupRequest
DisableXpnHostProjectRequest
A request message for Projects.DisableXpnHost. See the method description for details.
Protobuf type google.cloud.compute.v1.DisableXpnHostProjectRequest
DisableXpnHostProjectRequest.Builder
A request message for Projects.DisableXpnHost. See the method description for details.
Protobuf type google.cloud.compute.v1.DisableXpnHostProjectRequest
DisableXpnResourceProjectRequest
A request message for Projects.DisableXpnResource. See the method description for details.
Protobuf type google.cloud.compute.v1.DisableXpnResourceProjectRequest
DisableXpnResourceProjectRequest.Builder
A request message for Projects.DisableXpnResource. See the method description for details.
Protobuf type google.cloud.compute.v1.DisableXpnResourceProjectRequest
Disk
Represents a Persistent Disk resource. Google Compute Engine has two Disk resources: * Zonal * Regional Persistent disks are required for running your VM instances. Create both boot and non-boot (data) persistent disks. For more information, read Persistent Disks. For more storage options, read Storage options. The disks resource represents a zonal persistent disk. For more information, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources.
Protobuf type google.cloud.compute.v1.Disk
Disk.Builder
Represents a Persistent Disk resource. Google Compute Engine has two Disk resources: * Zonal * Regional Persistent disks are required for running your VM instances. Create both boot and non-boot (data) persistent disks. For more information, read Persistent Disks. For more storage options, read Storage options. The disks resource represents a zonal persistent disk. For more information, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources.
Protobuf type google.cloud.compute.v1.Disk
DiskAggregatedList
Protobuf type google.cloud.compute.v1.DiskAggregatedList
DiskAggregatedList.Builder
Protobuf type google.cloud.compute.v1.DiskAggregatedList
DiskInstantiationConfig
A specification of the desired way to instantiate a disk in the instance template when its created from a source instance.
Protobuf type google.cloud.compute.v1.DiskInstantiationConfig
DiskInstantiationConfig.Builder
A specification of the desired way to instantiate a disk in the instance template when its created from a source instance.
Protobuf type google.cloud.compute.v1.DiskInstantiationConfig
DiskList
A list of Disk resources.
Protobuf type google.cloud.compute.v1.DiskList
DiskList.Builder
A list of Disk resources.
Protobuf type google.cloud.compute.v1.DiskList
DiskMoveRequest
Protobuf type google.cloud.compute.v1.DiskMoveRequest
DiskMoveRequest.Builder
Protobuf type google.cloud.compute.v1.DiskMoveRequest
DiskParams
Additional disk params.
Protobuf type google.cloud.compute.v1.DiskParams
DiskParams.Builder
Additional disk params.
Protobuf type google.cloud.compute.v1.DiskParams
DiskType
Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * Regional * Zonal You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.
Protobuf type google.cloud.compute.v1.DiskType
DiskType.Builder
Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * Regional * Zonal You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks.
Protobuf type google.cloud.compute.v1.DiskType
DiskTypeAggregatedList
Protobuf type google.cloud.compute.v1.DiskTypeAggregatedList
DiskTypeAggregatedList.Builder
Protobuf type google.cloud.compute.v1.DiskTypeAggregatedList
DiskTypeList
Contains a list of disk types.
Protobuf type google.cloud.compute.v1.DiskTypeList
DiskTypeList.Builder
Contains a list of disk types.
Protobuf type google.cloud.compute.v1.DiskTypeList
DiskTypesClient
Service Description: The DiskTypes API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DiskTypesClient diskTypesClient = DiskTypesClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String diskType = "diskType279771767";
DiskType response = diskTypesClient.get(project, zone, diskType);
}
Note: close() needs to be called on the DiskTypesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of DiskTypesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DiskTypesSettings diskTypesSettings =
DiskTypesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
DiskTypesClient diskTypesClient = DiskTypesClient.create(diskTypesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DiskTypesSettings diskTypesSettings =
DiskTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
DiskTypesClient diskTypesClient = DiskTypesClient.create(diskTypesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
DiskTypesClient.AggregatedListFixedSizeCollection
DiskTypesClient.AggregatedListPage
DiskTypesClient.AggregatedListPagedResponse
DiskTypesClient.ListFixedSizeCollection
DiskTypesClient.ListPage
DiskTypesClient.ListPagedResponse
DiskTypesScopedList
Protobuf type google.cloud.compute.v1.DiskTypesScopedList
DiskTypesScopedList.Builder
Protobuf type google.cloud.compute.v1.DiskTypesScopedList
DiskTypesSettings
Settings class to configure an instance of DiskTypesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DiskTypesSettings.Builder diskTypesSettingsBuilder = DiskTypesSettings.newBuilder();
diskTypesSettingsBuilder
.getSettings()
.setRetrySettings(
diskTypesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DiskTypesSettings diskTypesSettings = diskTypesSettingsBuilder.build();
DiskTypesSettings.Builder
Builder for DiskTypesSettings.
DisksAddResourcePoliciesRequest
Protobuf type google.cloud.compute.v1.DisksAddResourcePoliciesRequest
DisksAddResourcePoliciesRequest.Builder
Protobuf type google.cloud.compute.v1.DisksAddResourcePoliciesRequest
DisksClient
Service Description: The Disks API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DisksClient disksClient = DisksClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String disk = "disk3083677";
Disk response = disksClient.get(project, zone, disk);
}
Note: close() needs to be called on the DisksClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of DisksSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DisksSettings disksSettings =
DisksSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
DisksClient disksClient = DisksClient.create(disksSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DisksSettings disksSettings = DisksSettings.newBuilder().setEndpoint(myEndpoint).build();
DisksClient disksClient = DisksClient.create(disksSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
DisksClient.AggregatedListFixedSizeCollection
DisksClient.AggregatedListPage
DisksClient.AggregatedListPagedResponse
DisksClient.ListFixedSizeCollection
DisksClient.ListPage
DisksClient.ListPagedResponse
DisksRemoveResourcePoliciesRequest
Protobuf type google.cloud.compute.v1.DisksRemoveResourcePoliciesRequest
DisksRemoveResourcePoliciesRequest.Builder
Protobuf type google.cloud.compute.v1.DisksRemoveResourcePoliciesRequest
DisksResizeRequest
Protobuf type google.cloud.compute.v1.DisksResizeRequest
DisksResizeRequest.Builder
Protobuf type google.cloud.compute.v1.DisksResizeRequest
DisksScopedList
Protobuf type google.cloud.compute.v1.DisksScopedList
DisksScopedList.Builder
Protobuf type google.cloud.compute.v1.DisksScopedList
DisksSettings
Settings class to configure an instance of DisksClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
DisksSettings.Builder disksSettingsBuilder = DisksSettings.newBuilder();
disksSettingsBuilder
.getSettings()
.setRetrySettings(
disksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
DisksSettings disksSettings = disksSettingsBuilder.build();
DisksSettings.Builder
Builder for DisksSettings.
DisplayDevice
A set of Display Device options
Protobuf type google.cloud.compute.v1.DisplayDevice
DisplayDevice.Builder
A set of Display Device options
Protobuf type google.cloud.compute.v1.DisplayDevice
DistributionPolicy
Protobuf type google.cloud.compute.v1.DistributionPolicy
DistributionPolicy.Builder
Protobuf type google.cloud.compute.v1.DistributionPolicy
DistributionPolicyZoneConfiguration
Protobuf type google.cloud.compute.v1.DistributionPolicyZoneConfiguration
DistributionPolicyZoneConfiguration.Builder
Protobuf type google.cloud.compute.v1.DistributionPolicyZoneConfiguration
Duration
A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
Protobuf type google.cloud.compute.v1.Duration
Duration.Builder
A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
Protobuf type google.cloud.compute.v1.Duration
EnableXpnHostProjectRequest
A request message for Projects.EnableXpnHost. See the method description for details.
Protobuf type google.cloud.compute.v1.EnableXpnHostProjectRequest
EnableXpnHostProjectRequest.Builder
A request message for Projects.EnableXpnHost. See the method description for details.
Protobuf type google.cloud.compute.v1.EnableXpnHostProjectRequest
EnableXpnResourceProjectRequest
A request message for Projects.EnableXpnResource. See the method description for details.
Protobuf type google.cloud.compute.v1.EnableXpnResourceProjectRequest
EnableXpnResourceProjectRequest.Builder
A request message for Projects.EnableXpnResource. See the method description for details.
Protobuf type google.cloud.compute.v1.EnableXpnResourceProjectRequest
Error
[Output Only] If errors are generated during processing of the operation, this field will be populated.
Protobuf type google.cloud.compute.v1.Error
Error.Builder
[Output Only] If errors are generated during processing of the operation, this field will be populated.
Protobuf type google.cloud.compute.v1.Error
ErrorDetails
Protobuf type google.cloud.compute.v1.ErrorDetails
ErrorDetails.Builder
Protobuf type google.cloud.compute.v1.ErrorDetails
ErrorInfo
Describes the cause of the error with structured details. Example of an error when contacting the "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata": { "availableRegions": "us-central1,us-east2" } }
Protobuf type google.cloud.compute.v1.ErrorInfo
ErrorInfo.Builder
Describes the cause of the error with structured details. Example of an error when contacting the "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata": { "availableRegions": "us-central1,us-east2" } }
Protobuf type google.cloud.compute.v1.ErrorInfo
Errors
Protobuf type google.cloud.compute.v1.Errors
Errors.Builder
Protobuf type google.cloud.compute.v1.Errors
ExchangedPeeringRoute
Protobuf type google.cloud.compute.v1.ExchangedPeeringRoute
ExchangedPeeringRoute.Builder
Protobuf type google.cloud.compute.v1.ExchangedPeeringRoute
ExchangedPeeringRoutesList
Protobuf type google.cloud.compute.v1.ExchangedPeeringRoutesList
ExchangedPeeringRoutesList.Builder
Protobuf type google.cloud.compute.v1.ExchangedPeeringRoutesList
ExpandIpCidrRangeSubnetworkRequest
A request message for Subnetworks.ExpandIpCidrRange. See the method description for details.
Protobuf type google.cloud.compute.v1.ExpandIpCidrRangeSubnetworkRequest
ExpandIpCidrRangeSubnetworkRequest.Builder
A request message for Subnetworks.ExpandIpCidrRange. See the method description for details.
Protobuf type google.cloud.compute.v1.ExpandIpCidrRangeSubnetworkRequest
Expr
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
Protobuf type google.cloud.compute.v1.Expr
Expr.Builder
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
Protobuf type google.cloud.compute.v1.Expr
ExternalVpnGateway
Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN.
Protobuf type google.cloud.compute.v1.ExternalVpnGateway
ExternalVpnGateway.Builder
Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN.
Protobuf type google.cloud.compute.v1.ExternalVpnGateway
ExternalVpnGatewayInterface
The interface for the external VPN gateway.
Protobuf type google.cloud.compute.v1.ExternalVpnGatewayInterface
ExternalVpnGatewayInterface.Builder
The interface for the external VPN gateway.
Protobuf type google.cloud.compute.v1.ExternalVpnGatewayInterface
ExternalVpnGatewayList
Response to the list request, and contains a list of externalVpnGateways.
Protobuf type google.cloud.compute.v1.ExternalVpnGatewayList
ExternalVpnGatewayList.Builder
Response to the list request, and contains a list of externalVpnGateways.
Protobuf type google.cloud.compute.v1.ExternalVpnGatewayList
ExternalVpnGatewaysClient
Service Description: The ExternalVpnGateways API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ExternalVpnGatewaysClient externalVpnGatewaysClient = ExternalVpnGatewaysClient.create()) {
String project = "project-309310695";
String externalVpnGateway = "externalVpnGateway-1140582181";
ExternalVpnGateway response = externalVpnGatewaysClient.get(project, externalVpnGateway);
}
Note: close() needs to be called on the ExternalVpnGatewaysClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of ExternalVpnGatewaysSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ExternalVpnGatewaysSettings externalVpnGatewaysSettings =
ExternalVpnGatewaysSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
ExternalVpnGatewaysClient externalVpnGatewaysClient =
ExternalVpnGatewaysClient.create(externalVpnGatewaysSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ExternalVpnGatewaysSettings externalVpnGatewaysSettings =
ExternalVpnGatewaysSettings.newBuilder().setEndpoint(myEndpoint).build();
ExternalVpnGatewaysClient externalVpnGatewaysClient =
ExternalVpnGatewaysClient.create(externalVpnGatewaysSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
ExternalVpnGatewaysClient.ListFixedSizeCollection
ExternalVpnGatewaysClient.ListPage
ExternalVpnGatewaysClient.ListPagedResponse
ExternalVpnGatewaysSettings
Settings class to configure an instance of ExternalVpnGatewaysClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ExternalVpnGatewaysSettings.Builder externalVpnGatewaysSettingsBuilder =
ExternalVpnGatewaysSettings.newBuilder();
externalVpnGatewaysSettingsBuilder
.getSettings()
.setRetrySettings(
externalVpnGatewaysSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ExternalVpnGatewaysSettings externalVpnGatewaysSettings =
externalVpnGatewaysSettingsBuilder.build();
ExternalVpnGatewaysSettings.Builder
Builder for ExternalVpnGatewaysSettings.
FileContentBuffer
Protobuf type google.cloud.compute.v1.FileContentBuffer
FileContentBuffer.Builder
Protobuf type google.cloud.compute.v1.FileContentBuffer
Firewall
Represents a Firewall Rule resource. Firewall rules allow or deny ingress traffic to, and egress traffic from your instances. For more information, read Firewall rules.
Protobuf type google.cloud.compute.v1.Firewall
Firewall.Builder
Represents a Firewall Rule resource. Firewall rules allow or deny ingress traffic to, and egress traffic from your instances. For more information, read Firewall rules.
Protobuf type google.cloud.compute.v1.Firewall
FirewallList
Contains a list of firewalls.
Protobuf type google.cloud.compute.v1.FirewallList
FirewallList.Builder
Contains a list of firewalls.
Protobuf type google.cloud.compute.v1.FirewallList
FirewallLogConfig
The available logging options for a firewall rule.
Protobuf type google.cloud.compute.v1.FirewallLogConfig
FirewallLogConfig.Builder
The available logging options for a firewall rule.
Protobuf type google.cloud.compute.v1.FirewallLogConfig
FirewallPoliciesClient
Service Description: The FirewallPolicies API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (FirewallPoliciesClient firewallPoliciesClient = FirewallPoliciesClient.create()) {
String firewallPolicy = "firewallPolicy1819692626";
FirewallPolicy response = firewallPoliciesClient.get(firewallPolicy);
}
Note: close() needs to be called on the FirewallPoliciesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of FirewallPoliciesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
FirewallPoliciesSettings firewallPoliciesSettings =
FirewallPoliciesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
FirewallPoliciesClient firewallPoliciesClient =
FirewallPoliciesClient.create(firewallPoliciesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
FirewallPoliciesSettings firewallPoliciesSettings =
FirewallPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
FirewallPoliciesClient firewallPoliciesClient =
FirewallPoliciesClient.create(firewallPoliciesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
FirewallPoliciesClient.ListFixedSizeCollection
FirewallPoliciesClient.ListPage
FirewallPoliciesClient.ListPagedResponse
FirewallPoliciesListAssociationsResponse
Protobuf type google.cloud.compute.v1.FirewallPoliciesListAssociationsResponse
FirewallPoliciesListAssociationsResponse.Builder
Protobuf type google.cloud.compute.v1.FirewallPoliciesListAssociationsResponse
FirewallPoliciesSettings
Settings class to configure an instance of FirewallPoliciesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
FirewallPoliciesSettings.Builder firewallPoliciesSettingsBuilder =
FirewallPoliciesSettings.newBuilder();
firewallPoliciesSettingsBuilder
.getSettings()
.setRetrySettings(
firewallPoliciesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
FirewallPoliciesSettings firewallPoliciesSettings = firewallPoliciesSettingsBuilder.build();
FirewallPoliciesSettings.Builder
Builder for FirewallPoliciesSettings.
FirewallPolicy
Represents a Firewall Policy resource.
Protobuf type google.cloud.compute.v1.FirewallPolicy
FirewallPolicy.Builder
Represents a Firewall Policy resource.
Protobuf type google.cloud.compute.v1.FirewallPolicy
FirewallPolicyAssociation
Protobuf type google.cloud.compute.v1.FirewallPolicyAssociation
FirewallPolicyAssociation.Builder
Protobuf type google.cloud.compute.v1.FirewallPolicyAssociation
FirewallPolicyList
Protobuf type google.cloud.compute.v1.FirewallPolicyList
FirewallPolicyList.Builder
Protobuf type google.cloud.compute.v1.FirewallPolicyList
FirewallPolicyRule
Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).
Protobuf type google.cloud.compute.v1.FirewallPolicyRule
FirewallPolicyRule.Builder
Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).
Protobuf type google.cloud.compute.v1.FirewallPolicyRule
FirewallPolicyRuleMatcher
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleMatcher
FirewallPolicyRuleMatcher.Builder
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleMatcher
FirewallPolicyRuleMatcherLayer4Config
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config
FirewallPolicyRuleMatcherLayer4Config.Builder
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleMatcherLayer4Config
FirewallPolicyRuleSecureTag
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleSecureTag
FirewallPolicyRuleSecureTag.Builder
Protobuf type google.cloud.compute.v1.FirewallPolicyRuleSecureTag
FirewallsClient
Service Description: The Firewalls API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (FirewallsClient firewallsClient = FirewallsClient.create()) {
String project = "project-309310695";
String firewall = "firewall-562725632";
Firewall response = firewallsClient.get(project, firewall);
}
Note: close() needs to be called on the FirewallsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of FirewallsSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
FirewallsSettings firewallsSettings =
FirewallsSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
FirewallsClient firewallsClient = FirewallsClient.create(firewallsSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
FirewallsSettings firewallsSettings =
FirewallsSettings.newBuilder().setEndpoint(myEndpoint).build();
FirewallsClient firewallsClient = FirewallsClient.create(firewallsSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
FirewallsClient.ListFixedSizeCollection
FirewallsClient.ListPage
FirewallsClient.ListPagedResponse
FirewallsSettings
Settings class to configure an instance of FirewallsClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
FirewallsSettings.Builder firewallsSettingsBuilder = FirewallsSettings.newBuilder();
firewallsSettingsBuilder
.getSettings()
.setRetrySettings(
firewallsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
FirewallsSettings firewallsSettings = firewallsSettingsBuilder.build();
FirewallsSettings.Builder
Builder for FirewallsSettings.
FixedOrPercent
Encapsulates numeric value that can be either absolute or relative.
Protobuf type google.cloud.compute.v1.FixedOrPercent
FixedOrPercent.Builder
Encapsulates numeric value that can be either absolute or relative.
Protobuf type google.cloud.compute.v1.FixedOrPercent
ForwardingRule
Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * Global * Regional A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.
Protobuf type google.cloud.compute.v1.ForwardingRule
ForwardingRule.Builder
Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * Global * Regional A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding.
Protobuf type google.cloud.compute.v1.ForwardingRule
ForwardingRuleAggregatedList
Protobuf type google.cloud.compute.v1.ForwardingRuleAggregatedList
ForwardingRuleAggregatedList.Builder
Protobuf type google.cloud.compute.v1.ForwardingRuleAggregatedList
ForwardingRuleList
Contains a list of ForwardingRule resources.
Protobuf type google.cloud.compute.v1.ForwardingRuleList
ForwardingRuleList.Builder
Contains a list of ForwardingRule resources.
Protobuf type google.cloud.compute.v1.ForwardingRuleList
ForwardingRuleReference
Protobuf type google.cloud.compute.v1.ForwardingRuleReference
ForwardingRuleReference.Builder
Protobuf type google.cloud.compute.v1.ForwardingRuleReference
ForwardingRuleServiceDirectoryRegistration
Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule.
Protobuf type google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistration
ForwardingRuleServiceDirectoryRegistration.Builder
Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule.
Protobuf type google.cloud.compute.v1.ForwardingRuleServiceDirectoryRegistration
ForwardingRulesClient
Service Description: The ForwardingRules API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ForwardingRulesClient forwardingRulesClient = ForwardingRulesClient.create()) {
String project = "project-309310695";
String region = "region-934795532";
String forwardingRule = "forwardingRule-1429104743";
ForwardingRule response = forwardingRulesClient.get(project, region, forwardingRule);
}
Note: close() needs to be called on the ForwardingRulesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of ForwardingRulesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ForwardingRulesSettings forwardingRulesSettings =
ForwardingRulesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
ForwardingRulesClient forwardingRulesClient =
ForwardingRulesClient.create(forwardingRulesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ForwardingRulesSettings forwardingRulesSettings =
ForwardingRulesSettings.newBuilder().setEndpoint(myEndpoint).build();
ForwardingRulesClient forwardingRulesClient =
ForwardingRulesClient.create(forwardingRulesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
ForwardingRulesClient.AggregatedListFixedSizeCollection
ForwardingRulesClient.AggregatedListPage
ForwardingRulesClient.AggregatedListPagedResponse
ForwardingRulesClient.ListFixedSizeCollection
ForwardingRulesClient.ListPage
ForwardingRulesClient.ListPagedResponse
ForwardingRulesScopedList
Protobuf type google.cloud.compute.v1.ForwardingRulesScopedList
ForwardingRulesScopedList.Builder
Protobuf type google.cloud.compute.v1.ForwardingRulesScopedList
ForwardingRulesSettings
Settings class to configure an instance of ForwardingRulesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ForwardingRulesSettings.Builder forwardingRulesSettingsBuilder =
ForwardingRulesSettings.newBuilder();
forwardingRulesSettingsBuilder
.getSettings()
.setRetrySettings(
forwardingRulesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ForwardingRulesSettings forwardingRulesSettings = forwardingRulesSettingsBuilder.build();
ForwardingRulesSettings.Builder
Builder for ForwardingRulesSettings.
GRPCHealthCheck
Protobuf type google.cloud.compute.v1.GRPCHealthCheck
GRPCHealthCheck.Builder
Protobuf type google.cloud.compute.v1.GRPCHealthCheck
GetAcceleratorTypeRequest
A request message for AcceleratorTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAcceleratorTypeRequest
GetAcceleratorTypeRequest.Builder
A request message for AcceleratorTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAcceleratorTypeRequest
GetAddressRequest
A request message for Addresses.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAddressRequest
GetAddressRequest.Builder
A request message for Addresses.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAddressRequest
GetAssociationFirewallPolicyRequest
A request message for FirewallPolicies.GetAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAssociationFirewallPolicyRequest
GetAssociationFirewallPolicyRequest.Builder
A request message for FirewallPolicies.GetAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAssociationFirewallPolicyRequest
GetAssociationNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.GetAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest
GetAssociationNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.GetAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest
GetAssociationRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.GetAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest
GetAssociationRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.GetAssociation. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest
GetAutoscalerRequest
A request message for Autoscalers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAutoscalerRequest
GetAutoscalerRequest.Builder
A request message for Autoscalers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetAutoscalerRequest
GetBackendBucketRequest
A request message for BackendBuckets.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetBackendBucketRequest
GetBackendBucketRequest.Builder
A request message for BackendBuckets.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetBackendBucketRequest
GetBackendServiceRequest
A request message for BackendServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetBackendServiceRequest
GetBackendServiceRequest.Builder
A request message for BackendServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetBackendServiceRequest
GetDiagnosticsInterconnectRequest
A request message for Interconnects.GetDiagnostics. See the method description for details.
Protobuf type google.cloud.compute.v1.GetDiagnosticsInterconnectRequest
GetDiagnosticsInterconnectRequest.Builder
A request message for Interconnects.GetDiagnostics. See the method description for details.
Protobuf type google.cloud.compute.v1.GetDiagnosticsInterconnectRequest
GetDiskRequest
A request message for Disks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetDiskRequest
GetDiskRequest.Builder
A request message for Disks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetDiskRequest
GetDiskTypeRequest
A request message for DiskTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetDiskTypeRequest
GetDiskTypeRequest.Builder
A request message for DiskTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetDiskTypeRequest
GetEffectiveFirewallsInstanceRequest
A request message for Instances.GetEffectiveFirewalls. See the method description for details.
Protobuf type google.cloud.compute.v1.GetEffectiveFirewallsInstanceRequest
GetEffectiveFirewallsInstanceRequest.Builder
A request message for Instances.GetEffectiveFirewalls. See the method description for details.
Protobuf type google.cloud.compute.v1.GetEffectiveFirewallsInstanceRequest
GetEffectiveFirewallsNetworkRequest
A request message for Networks.GetEffectiveFirewalls. See the method description for details.
Protobuf type google.cloud.compute.v1.GetEffectiveFirewallsNetworkRequest
GetEffectiveFirewallsNetworkRequest.Builder
A request message for Networks.GetEffectiveFirewalls. See the method description for details.
Protobuf type google.cloud.compute.v1.GetEffectiveFirewallsNetworkRequest
GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details.
Protobuf type
google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest
GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details.
Protobuf type
google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest
GetExternalVpnGatewayRequest
A request message for ExternalVpnGateways.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetExternalVpnGatewayRequest
GetExternalVpnGatewayRequest.Builder
A request message for ExternalVpnGateways.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetExternalVpnGatewayRequest
GetFirewallPolicyRequest
A request message for FirewallPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFirewallPolicyRequest
GetFirewallPolicyRequest.Builder
A request message for FirewallPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFirewallPolicyRequest
GetFirewallRequest
A request message for Firewalls.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFirewallRequest
GetFirewallRequest.Builder
A request message for Firewalls.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFirewallRequest
GetForwardingRuleRequest
A request message for ForwardingRules.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetForwardingRuleRequest
GetForwardingRuleRequest.Builder
A request message for ForwardingRules.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetForwardingRuleRequest
GetFromFamilyImageRequest
A request message for Images.GetFromFamily. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFromFamilyImageRequest
GetFromFamilyImageRequest.Builder
A request message for Images.GetFromFamily. See the method description for details.
Protobuf type google.cloud.compute.v1.GetFromFamilyImageRequest
GetGlobalAddressRequest
A request message for GlobalAddresses.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalAddressRequest
GetGlobalAddressRequest.Builder
A request message for GlobalAddresses.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalAddressRequest
GetGlobalForwardingRuleRequest
A request message for GlobalForwardingRules.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalForwardingRuleRequest
GetGlobalForwardingRuleRequest.Builder
A request message for GlobalForwardingRules.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalForwardingRuleRequest
GetGlobalNetworkEndpointGroupRequest
A request message for GlobalNetworkEndpointGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalNetworkEndpointGroupRequest
GetGlobalNetworkEndpointGroupRequest.Builder
A request message for GlobalNetworkEndpointGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalNetworkEndpointGroupRequest
GetGlobalOperationRequest
A request message for GlobalOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalOperationRequest
GetGlobalOperationRequest.Builder
A request message for GlobalOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalOperationRequest
GetGlobalOrganizationOperationRequest
A request message for GlobalOrganizationOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalOrganizationOperationRequest
GetGlobalOrganizationOperationRequest.Builder
A request message for GlobalOrganizationOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalOrganizationOperationRequest
GetGlobalPublicDelegatedPrefixeRequest
A request message for GlobalPublicDelegatedPrefixes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalPublicDelegatedPrefixeRequest
GetGlobalPublicDelegatedPrefixeRequest.Builder
A request message for GlobalPublicDelegatedPrefixes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGlobalPublicDelegatedPrefixeRequest
GetGuestAttributesInstanceRequest
A request message for Instances.GetGuestAttributes. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGuestAttributesInstanceRequest
GetGuestAttributesInstanceRequest.Builder
A request message for Instances.GetGuestAttributes. See the method description for details.
Protobuf type google.cloud.compute.v1.GetGuestAttributesInstanceRequest
GetHealthBackendServiceRequest
A request message for BackendServices.GetHealth. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthBackendServiceRequest
GetHealthBackendServiceRequest.Builder
A request message for BackendServices.GetHealth. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthBackendServiceRequest
GetHealthCheckRequest
A request message for HealthChecks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthCheckRequest
GetHealthCheckRequest.Builder
A request message for HealthChecks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthCheckRequest
GetHealthRegionBackendServiceRequest
A request message for RegionBackendServices.GetHealth. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthRegionBackendServiceRequest
GetHealthRegionBackendServiceRequest.Builder
A request message for RegionBackendServices.GetHealth. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthRegionBackendServiceRequest
GetHealthTargetPoolRequest
A request message for TargetPools.GetHealth. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthTargetPoolRequest
GetHealthTargetPoolRequest.Builder
A request message for TargetPools.GetHealth. See the method description for details.
Protobuf type google.cloud.compute.v1.GetHealthTargetPoolRequest
GetIamPolicyBackendServiceRequest
A request message for BackendServices.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyBackendServiceRequest
GetIamPolicyBackendServiceRequest.Builder
A request message for BackendServices.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyBackendServiceRequest
GetIamPolicyDiskRequest
A request message for Disks.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyDiskRequest
GetIamPolicyDiskRequest.Builder
A request message for Disks.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyDiskRequest
GetIamPolicyFirewallPolicyRequest
A request message for FirewallPolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyFirewallPolicyRequest
GetIamPolicyFirewallPolicyRequest.Builder
A request message for FirewallPolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyFirewallPolicyRequest
GetIamPolicyImageRequest
A request message for Images.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyImageRequest
GetIamPolicyImageRequest.Builder
A request message for Images.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyImageRequest
GetIamPolicyInstanceRequest
A request message for Instances.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyInstanceRequest
GetIamPolicyInstanceRequest.Builder
A request message for Instances.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyInstanceRequest
GetIamPolicyInstanceTemplateRequest
A request message for InstanceTemplates.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyInstanceTemplateRequest
GetIamPolicyInstanceTemplateRequest.Builder
A request message for InstanceTemplates.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyInstanceTemplateRequest
GetIamPolicyLicenseRequest
A request message for Licenses.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyLicenseRequest
GetIamPolicyLicenseRequest.Builder
A request message for Licenses.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyLicenseRequest
GetIamPolicyMachineImageRequest
A request message for MachineImages.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyMachineImageRequest
GetIamPolicyMachineImageRequest.Builder
A request message for MachineImages.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyMachineImageRequest
GetIamPolicyNetworkAttachmentRequest
A request message for NetworkAttachments.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNetworkAttachmentRequest
GetIamPolicyNetworkAttachmentRequest.Builder
A request message for NetworkAttachments.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNetworkAttachmentRequest
GetIamPolicyNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest
GetIamPolicyNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest
GetIamPolicyNodeGroupRequest
A request message for NodeGroups.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNodeGroupRequest
GetIamPolicyNodeGroupRequest.Builder
A request message for NodeGroups.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNodeGroupRequest
GetIamPolicyNodeTemplateRequest
A request message for NodeTemplates.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNodeTemplateRequest
GetIamPolicyNodeTemplateRequest.Builder
A request message for NodeTemplates.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyNodeTemplateRequest
GetIamPolicyRegionBackendServiceRequest
A request message for RegionBackendServices.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyRegionBackendServiceRequest
GetIamPolicyRegionBackendServiceRequest.Builder
A request message for RegionBackendServices.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyRegionBackendServiceRequest
GetIamPolicyRegionDiskRequest
A request message for RegionDisks.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyRegionDiskRequest
GetIamPolicyRegionDiskRequest.Builder
A request message for RegionDisks.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyRegionDiskRequest
GetIamPolicyRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest
GetIamPolicyRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest
GetIamPolicyReservationRequest
A request message for Reservations.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyReservationRequest
GetIamPolicyReservationRequest.Builder
A request message for Reservations.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyReservationRequest
GetIamPolicyResourcePolicyRequest
A request message for ResourcePolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyResourcePolicyRequest
GetIamPolicyResourcePolicyRequest.Builder
A request message for ResourcePolicies.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyResourcePolicyRequest
GetIamPolicyServiceAttachmentRequest
A request message for ServiceAttachments.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyServiceAttachmentRequest
GetIamPolicyServiceAttachmentRequest.Builder
A request message for ServiceAttachments.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicyServiceAttachmentRequest
GetIamPolicySnapshotRequest
A request message for Snapshots.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicySnapshotRequest
GetIamPolicySnapshotRequest.Builder
A request message for Snapshots.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicySnapshotRequest
GetIamPolicySubnetworkRequest
A request message for Subnetworks.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicySubnetworkRequest
GetIamPolicySubnetworkRequest.Builder
A request message for Subnetworks.GetIamPolicy. See the method description for details.
Protobuf type google.cloud.compute.v1.GetIamPolicySubnetworkRequest
GetImageFamilyViewRequest
A request message for ImageFamilyViews.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetImageFamilyViewRequest
GetImageFamilyViewRequest.Builder
A request message for ImageFamilyViews.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetImageFamilyViewRequest
GetImageRequest
A request message for Images.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetImageRequest
GetImageRequest.Builder
A request message for Images.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetImageRequest
GetInstanceGroupManagerRequest
A request message for InstanceGroupManagers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceGroupManagerRequest
GetInstanceGroupManagerRequest.Builder
A request message for InstanceGroupManagers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceGroupManagerRequest
GetInstanceGroupRequest
A request message for InstanceGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceGroupRequest
GetInstanceGroupRequest.Builder
A request message for InstanceGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceGroupRequest
GetInstanceRequest
A request message for Instances.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceRequest
GetInstanceRequest.Builder
A request message for Instances.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceRequest
GetInstanceTemplateRequest
A request message for InstanceTemplates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceTemplateRequest
GetInstanceTemplateRequest.Builder
A request message for InstanceTemplates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInstanceTemplateRequest
GetInterconnectAttachmentRequest
A request message for InterconnectAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInterconnectAttachmentRequest
GetInterconnectAttachmentRequest.Builder
A request message for InterconnectAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInterconnectAttachmentRequest
GetInterconnectLocationRequest
A request message for InterconnectLocations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInterconnectLocationRequest
GetInterconnectLocationRequest.Builder
A request message for InterconnectLocations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInterconnectLocationRequest
GetInterconnectRequest
A request message for Interconnects.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInterconnectRequest
GetInterconnectRequest.Builder
A request message for Interconnects.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetInterconnectRequest
GetLicenseCodeRequest
A request message for LicenseCodes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetLicenseCodeRequest
GetLicenseCodeRequest.Builder
A request message for LicenseCodes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetLicenseCodeRequest
GetLicenseRequest
A request message for Licenses.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetLicenseRequest
GetLicenseRequest.Builder
A request message for Licenses.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetLicenseRequest
GetMachineImageRequest
A request message for MachineImages.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetMachineImageRequest
GetMachineImageRequest.Builder
A request message for MachineImages.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetMachineImageRequest
GetMachineTypeRequest
A request message for MachineTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetMachineTypeRequest
GetMachineTypeRequest.Builder
A request message for MachineTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetMachineTypeRequest
GetNatMappingInfoRoutersRequest
A request message for Routers.GetNatMappingInfo. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNatMappingInfoRoutersRequest
GetNatMappingInfoRoutersRequest.Builder
A request message for Routers.GetNatMappingInfo. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNatMappingInfoRoutersRequest
GetNetworkAttachmentRequest
A request message for NetworkAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkAttachmentRequest
GetNetworkAttachmentRequest.Builder
A request message for NetworkAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkAttachmentRequest
GetNetworkEdgeSecurityServiceRequest
A request message for NetworkEdgeSecurityServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest
GetNetworkEdgeSecurityServiceRequest.Builder
A request message for NetworkEdgeSecurityServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest
GetNetworkEndpointGroupRequest
A request message for NetworkEndpointGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkEndpointGroupRequest
GetNetworkEndpointGroupRequest.Builder
A request message for NetworkEndpointGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkEndpointGroupRequest
GetNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkFirewallPolicyRequest
GetNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkFirewallPolicyRequest
GetNetworkRequest
A request message for Networks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkRequest
GetNetworkRequest.Builder
A request message for Networks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNetworkRequest
GetNodeGroupRequest
A request message for NodeGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNodeGroupRequest
GetNodeGroupRequest.Builder
A request message for NodeGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNodeGroupRequest
GetNodeTemplateRequest
A request message for NodeTemplates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNodeTemplateRequest
GetNodeTemplateRequest.Builder
A request message for NodeTemplates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNodeTemplateRequest
GetNodeTypeRequest
A request message for NodeTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNodeTypeRequest
GetNodeTypeRequest.Builder
A request message for NodeTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetNodeTypeRequest
GetPacketMirroringRequest
A request message for PacketMirrorings.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetPacketMirroringRequest
GetPacketMirroringRequest.Builder
A request message for PacketMirrorings.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetPacketMirroringRequest
GetProjectRequest
A request message for Projects.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetProjectRequest
GetProjectRequest.Builder
A request message for Projects.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetProjectRequest
GetPublicAdvertisedPrefixeRequest
A request message for PublicAdvertisedPrefixes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetPublicAdvertisedPrefixeRequest
GetPublicAdvertisedPrefixeRequest.Builder
A request message for PublicAdvertisedPrefixes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetPublicAdvertisedPrefixeRequest
GetPublicDelegatedPrefixeRequest
A request message for PublicDelegatedPrefixes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetPublicDelegatedPrefixeRequest
GetPublicDelegatedPrefixeRequest.Builder
A request message for PublicDelegatedPrefixes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetPublicDelegatedPrefixeRequest
GetRegionAutoscalerRequest
A request message for RegionAutoscalers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionAutoscalerRequest
GetRegionAutoscalerRequest.Builder
A request message for RegionAutoscalers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionAutoscalerRequest
GetRegionBackendServiceRequest
A request message for RegionBackendServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionBackendServiceRequest
GetRegionBackendServiceRequest.Builder
A request message for RegionBackendServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionBackendServiceRequest
GetRegionCommitmentRequest
A request message for RegionCommitments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionCommitmentRequest
GetRegionCommitmentRequest.Builder
A request message for RegionCommitments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionCommitmentRequest
GetRegionDiskRequest
A request message for RegionDisks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionDiskRequest
GetRegionDiskRequest.Builder
A request message for RegionDisks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionDiskRequest
GetRegionDiskTypeRequest
A request message for RegionDiskTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionDiskTypeRequest
GetRegionDiskTypeRequest.Builder
A request message for RegionDiskTypes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionDiskTypeRequest
GetRegionHealthCheckRequest
A request message for RegionHealthChecks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionHealthCheckRequest
GetRegionHealthCheckRequest.Builder
A request message for RegionHealthChecks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionHealthCheckRequest
GetRegionHealthCheckServiceRequest
A request message for RegionHealthCheckServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionHealthCheckServiceRequest
GetRegionHealthCheckServiceRequest.Builder
A request message for RegionHealthCheckServices.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionHealthCheckServiceRequest
GetRegionInstanceGroupManagerRequest
A request message for RegionInstanceGroupManagers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionInstanceGroupManagerRequest
GetRegionInstanceGroupManagerRequest.Builder
A request message for RegionInstanceGroupManagers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionInstanceGroupManagerRequest
GetRegionInstanceGroupRequest
A request message for RegionInstanceGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionInstanceGroupRequest
GetRegionInstanceGroupRequest.Builder
A request message for RegionInstanceGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionInstanceGroupRequest
GetRegionInstanceTemplateRequest
A request message for RegionInstanceTemplates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionInstanceTemplateRequest
GetRegionInstanceTemplateRequest.Builder
A request message for RegionInstanceTemplates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionInstanceTemplateRequest
GetRegionNetworkEndpointGroupRequest
A request message for RegionNetworkEndpointGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionNetworkEndpointGroupRequest
GetRegionNetworkEndpointGroupRequest.Builder
A request message for RegionNetworkEndpointGroups.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionNetworkEndpointGroupRequest
GetRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest
GetRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest
GetRegionNotificationEndpointRequest
A request message for RegionNotificationEndpoints.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionNotificationEndpointRequest
GetRegionNotificationEndpointRequest.Builder
A request message for RegionNotificationEndpoints.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionNotificationEndpointRequest
GetRegionOperationRequest
A request message for RegionOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionOperationRequest
GetRegionOperationRequest.Builder
A request message for RegionOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionOperationRequest
GetRegionRequest
A request message for Regions.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionRequest
GetRegionRequest.Builder
A request message for Regions.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionRequest
GetRegionSecurityPolicyRequest
A request message for RegionSecurityPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionSecurityPolicyRequest
GetRegionSecurityPolicyRequest.Builder
A request message for RegionSecurityPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionSecurityPolicyRequest
GetRegionSslCertificateRequest
A request message for RegionSslCertificates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionSslCertificateRequest
GetRegionSslCertificateRequest.Builder
A request message for RegionSslCertificates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionSslCertificateRequest
GetRegionSslPolicyRequest
A request message for RegionSslPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionSslPolicyRequest
GetRegionSslPolicyRequest.Builder
A request message for RegionSslPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionSslPolicyRequest
GetRegionTargetHttpProxyRequest
A request message for RegionTargetHttpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionTargetHttpProxyRequest
GetRegionTargetHttpProxyRequest.Builder
A request message for RegionTargetHttpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionTargetHttpProxyRequest
GetRegionTargetHttpsProxyRequest
A request message for RegionTargetHttpsProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionTargetHttpsProxyRequest
GetRegionTargetHttpsProxyRequest.Builder
A request message for RegionTargetHttpsProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionTargetHttpsProxyRequest
GetRegionTargetTcpProxyRequest
A request message for RegionTargetTcpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionTargetTcpProxyRequest
GetRegionTargetTcpProxyRequest.Builder
A request message for RegionTargetTcpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionTargetTcpProxyRequest
GetRegionUrlMapRequest
A request message for RegionUrlMaps.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionUrlMapRequest
GetRegionUrlMapRequest.Builder
A request message for RegionUrlMaps.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRegionUrlMapRequest
GetReservationRequest
A request message for Reservations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetReservationRequest
GetReservationRequest.Builder
A request message for Reservations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetReservationRequest
GetResourcePolicyRequest
A request message for ResourcePolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetResourcePolicyRequest
GetResourcePolicyRequest.Builder
A request message for ResourcePolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetResourcePolicyRequest
GetRouteRequest
A request message for Routes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouteRequest
GetRouteRequest.Builder
A request message for Routes.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouteRequest
GetRouterRequest
A request message for Routers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouterRequest
GetRouterRequest.Builder
A request message for Routers.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouterRequest
GetRouterStatusRouterRequest
A request message for Routers.GetRouterStatus. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouterStatusRouterRequest
GetRouterStatusRouterRequest.Builder
A request message for Routers.GetRouterStatus. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRouterStatusRouterRequest
GetRuleFirewallPolicyRequest
A request message for FirewallPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleFirewallPolicyRequest
GetRuleFirewallPolicyRequest.Builder
A request message for FirewallPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleFirewallPolicyRequest
GetRuleNetworkFirewallPolicyRequest
A request message for NetworkFirewallPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest
GetRuleNetworkFirewallPolicyRequest.Builder
A request message for NetworkFirewallPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest
GetRuleRegionNetworkFirewallPolicyRequest
A request message for RegionNetworkFirewallPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest
GetRuleRegionNetworkFirewallPolicyRequest.Builder
A request message for RegionNetworkFirewallPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest
GetRuleSecurityPolicyRequest
A request message for SecurityPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleSecurityPolicyRequest
GetRuleSecurityPolicyRequest.Builder
A request message for SecurityPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleSecurityPolicyRequest
GetScreenshotInstanceRequest
A request message for Instances.GetScreenshot. See the method description for details.
Protobuf type google.cloud.compute.v1.GetScreenshotInstanceRequest
GetScreenshotInstanceRequest.Builder
A request message for Instances.GetScreenshot. See the method description for details.
Protobuf type google.cloud.compute.v1.GetScreenshotInstanceRequest
GetSecurityPolicyRequest
A request message for SecurityPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSecurityPolicyRequest
GetSecurityPolicyRequest.Builder
A request message for SecurityPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSecurityPolicyRequest
GetSerialPortOutputInstanceRequest
A request message for Instances.GetSerialPortOutput. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSerialPortOutputInstanceRequest
GetSerialPortOutputInstanceRequest.Builder
A request message for Instances.GetSerialPortOutput. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSerialPortOutputInstanceRequest
GetServiceAttachmentRequest
A request message for ServiceAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetServiceAttachmentRequest
GetServiceAttachmentRequest.Builder
A request message for ServiceAttachments.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetServiceAttachmentRequest
GetShieldedInstanceIdentityInstanceRequest
A request message for Instances.GetShieldedInstanceIdentity. See the method description for details.
Protobuf type google.cloud.compute.v1.GetShieldedInstanceIdentityInstanceRequest
GetShieldedInstanceIdentityInstanceRequest.Builder
A request message for Instances.GetShieldedInstanceIdentity. See the method description for details.
Protobuf type google.cloud.compute.v1.GetShieldedInstanceIdentityInstanceRequest
GetSnapshotRequest
A request message for Snapshots.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSnapshotRequest
GetSnapshotRequest.Builder
A request message for Snapshots.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSnapshotRequest
GetSslCertificateRequest
A request message for SslCertificates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSslCertificateRequest
GetSslCertificateRequest.Builder
A request message for SslCertificates.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSslCertificateRequest
GetSslPolicyRequest
A request message for SslPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSslPolicyRequest
GetSslPolicyRequest.Builder
A request message for SslPolicies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSslPolicyRequest
GetStatusVpnGatewayRequest
A request message for VpnGateways.GetStatus. See the method description for details.
Protobuf type google.cloud.compute.v1.GetStatusVpnGatewayRequest
GetStatusVpnGatewayRequest.Builder
A request message for VpnGateways.GetStatus. See the method description for details.
Protobuf type google.cloud.compute.v1.GetStatusVpnGatewayRequest
GetSubnetworkRequest
A request message for Subnetworks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSubnetworkRequest
GetSubnetworkRequest.Builder
A request message for Subnetworks.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetSubnetworkRequest
GetTargetGrpcProxyRequest
A request message for TargetGrpcProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetGrpcProxyRequest
GetTargetGrpcProxyRequest.Builder
A request message for TargetGrpcProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetGrpcProxyRequest
GetTargetHttpProxyRequest
A request message for TargetHttpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetHttpProxyRequest
GetTargetHttpProxyRequest.Builder
A request message for TargetHttpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetHttpProxyRequest
GetTargetHttpsProxyRequest
A request message for TargetHttpsProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetHttpsProxyRequest
GetTargetHttpsProxyRequest.Builder
A request message for TargetHttpsProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetHttpsProxyRequest
GetTargetInstanceRequest
A request message for TargetInstances.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetInstanceRequest
GetTargetInstanceRequest.Builder
A request message for TargetInstances.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetInstanceRequest
GetTargetPoolRequest
A request message for TargetPools.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetPoolRequest
GetTargetPoolRequest.Builder
A request message for TargetPools.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetPoolRequest
GetTargetSslProxyRequest
A request message for TargetSslProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetSslProxyRequest
GetTargetSslProxyRequest.Builder
A request message for TargetSslProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetSslProxyRequest
GetTargetTcpProxyRequest
A request message for TargetTcpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetTcpProxyRequest
GetTargetTcpProxyRequest.Builder
A request message for TargetTcpProxies.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetTcpProxyRequest
GetTargetVpnGatewayRequest
A request message for TargetVpnGateways.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetVpnGatewayRequest
GetTargetVpnGatewayRequest.Builder
A request message for TargetVpnGateways.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetTargetVpnGatewayRequest
GetUrlMapRequest
A request message for UrlMaps.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetUrlMapRequest
GetUrlMapRequest.Builder
A request message for UrlMaps.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetUrlMapRequest
GetVpnGatewayRequest
A request message for VpnGateways.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetVpnGatewayRequest
GetVpnGatewayRequest.Builder
A request message for VpnGateways.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetVpnGatewayRequest
GetVpnTunnelRequest
A request message for VpnTunnels.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetVpnTunnelRequest
GetVpnTunnelRequest.Builder
A request message for VpnTunnels.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetVpnTunnelRequest
GetXpnHostProjectRequest
A request message for Projects.GetXpnHost. See the method description for details.
Protobuf type google.cloud.compute.v1.GetXpnHostProjectRequest
GetXpnHostProjectRequest.Builder
A request message for Projects.GetXpnHost. See the method description for details.
Protobuf type google.cloud.compute.v1.GetXpnHostProjectRequest
GetXpnResourcesProjectsRequest
A request message for Projects.GetXpnResources. See the method description for details.
Protobuf type google.cloud.compute.v1.GetXpnResourcesProjectsRequest
GetXpnResourcesProjectsRequest.Builder
A request message for Projects.GetXpnResources. See the method description for details.
Protobuf type google.cloud.compute.v1.GetXpnResourcesProjectsRequest
GetZoneOperationRequest
A request message for ZoneOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetZoneOperationRequest
GetZoneOperationRequest.Builder
A request message for ZoneOperations.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetZoneOperationRequest
GetZoneRequest
A request message for Zones.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetZoneRequest
GetZoneRequest.Builder
A request message for Zones.Get. See the method description for details.
Protobuf type google.cloud.compute.v1.GetZoneRequest
GlobalAddressesClient
Service Description: The GlobalAddresses API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalAddressesClient globalAddressesClient = GlobalAddressesClient.create()) {
String project = "project-309310695";
String address = "address-1147692044";
Address response = globalAddressesClient.get(project, address);
}
Note: close() needs to be called on the GlobalAddressesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of GlobalAddressesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalAddressesSettings globalAddressesSettings =
GlobalAddressesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
GlobalAddressesClient globalAddressesClient =
GlobalAddressesClient.create(globalAddressesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalAddressesSettings globalAddressesSettings =
GlobalAddressesSettings.newBuilder().setEndpoint(myEndpoint).build();
GlobalAddressesClient globalAddressesClient =
GlobalAddressesClient.create(globalAddressesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
GlobalAddressesClient.ListFixedSizeCollection
GlobalAddressesClient.ListPage
GlobalAddressesClient.ListPagedResponse
GlobalAddressesSettings
Settings class to configure an instance of GlobalAddressesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalAddressesSettings.Builder globalAddressesSettingsBuilder =
GlobalAddressesSettings.newBuilder();
globalAddressesSettingsBuilder
.getSettings()
.setRetrySettings(
globalAddressesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalAddressesSettings globalAddressesSettings = globalAddressesSettingsBuilder.build();
GlobalAddressesSettings.Builder
Builder for GlobalAddressesSettings.
GlobalForwardingRulesClient
Service Description: The GlobalForwardingRules API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalForwardingRulesClient globalForwardingRulesClient =
GlobalForwardingRulesClient.create()) {
String project = "project-309310695";
String forwardingRule = "forwardingRule-1429104743";
ForwardingRule response = globalForwardingRulesClient.get(project, forwardingRule);
}
Note: close() needs to be called on the GlobalForwardingRulesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of GlobalForwardingRulesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalForwardingRulesSettings globalForwardingRulesSettings =
GlobalForwardingRulesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
GlobalForwardingRulesClient globalForwardingRulesClient =
GlobalForwardingRulesClient.create(globalForwardingRulesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalForwardingRulesSettings globalForwardingRulesSettings =
GlobalForwardingRulesSettings.newBuilder().setEndpoint(myEndpoint).build();
GlobalForwardingRulesClient globalForwardingRulesClient =
GlobalForwardingRulesClient.create(globalForwardingRulesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
GlobalForwardingRulesClient.ListFixedSizeCollection
GlobalForwardingRulesClient.ListPage
GlobalForwardingRulesClient.ListPagedResponse
GlobalForwardingRulesSettings
Settings class to configure an instance of GlobalForwardingRulesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalForwardingRulesSettings.Builder globalForwardingRulesSettingsBuilder =
GlobalForwardingRulesSettings.newBuilder();
globalForwardingRulesSettingsBuilder
.getSettings()
.setRetrySettings(
globalForwardingRulesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalForwardingRulesSettings globalForwardingRulesSettings =
globalForwardingRulesSettingsBuilder.build();
GlobalForwardingRulesSettings.Builder
Builder for GlobalForwardingRulesSettings.
GlobalNetworkEndpointGroupsAttachEndpointsRequest
Protobuf type google.cloud.compute.v1.GlobalNetworkEndpointGroupsAttachEndpointsRequest
GlobalNetworkEndpointGroupsAttachEndpointsRequest.Builder
Protobuf type google.cloud.compute.v1.GlobalNetworkEndpointGroupsAttachEndpointsRequest
GlobalNetworkEndpointGroupsClient
Service Description: The GlobalNetworkEndpointGroups API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient =
GlobalNetworkEndpointGroupsClient.create()) {
String project = "project-309310695";
String networkEndpointGroup = "networkEndpointGroup-2120389028";
NetworkEndpointGroup response =
globalNetworkEndpointGroupsClient.get(project, networkEndpointGroup);
}
Note: close() needs to be called on the GlobalNetworkEndpointGroupsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of GlobalNetworkEndpointGroupsSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalNetworkEndpointGroupsSettings globalNetworkEndpointGroupsSettings =
GlobalNetworkEndpointGroupsSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient =
GlobalNetworkEndpointGroupsClient.create(globalNetworkEndpointGroupsSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalNetworkEndpointGroupsSettings globalNetworkEndpointGroupsSettings =
GlobalNetworkEndpointGroupsSettings.newBuilder().setEndpoint(myEndpoint).build();
GlobalNetworkEndpointGroupsClient globalNetworkEndpointGroupsClient =
GlobalNetworkEndpointGroupsClient.create(globalNetworkEndpointGroupsSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
GlobalNetworkEndpointGroupsClient.ListFixedSizeCollection
GlobalNetworkEndpointGroupsClient.ListNetworkEndpointsFixedSizeCollection
GlobalNetworkEndpointGroupsClient.ListNetworkEndpointsPage
GlobalNetworkEndpointGroupsClient.ListNetworkEndpointsPagedResponse
GlobalNetworkEndpointGroupsClient.ListPage
GlobalNetworkEndpointGroupsClient.ListPagedResponse
GlobalNetworkEndpointGroupsDetachEndpointsRequest
Protobuf type google.cloud.compute.v1.GlobalNetworkEndpointGroupsDetachEndpointsRequest
GlobalNetworkEndpointGroupsDetachEndpointsRequest.Builder
Protobuf type google.cloud.compute.v1.GlobalNetworkEndpointGroupsDetachEndpointsRequest
GlobalNetworkEndpointGroupsSettings
Settings class to configure an instance of GlobalNetworkEndpointGroupsClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalNetworkEndpointGroupsSettings.Builder globalNetworkEndpointGroupsSettingsBuilder =
GlobalNetworkEndpointGroupsSettings.newBuilder();
globalNetworkEndpointGroupsSettingsBuilder
.getSettings()
.setRetrySettings(
globalNetworkEndpointGroupsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalNetworkEndpointGroupsSettings globalNetworkEndpointGroupsSettings =
globalNetworkEndpointGroupsSettingsBuilder.build();
GlobalNetworkEndpointGroupsSettings.Builder
Builder for GlobalNetworkEndpointGroupsSettings.
GlobalOperationsClient
Service Description: The GlobalOperations API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalOperationsClient globalOperationsClient = GlobalOperationsClient.create()) {
String project = "project-309310695";
String operation = "operation1662702951";
DeleteGlobalOperationResponse response = globalOperationsClient.delete(project, operation);
}
Note: close() needs to be called on the GlobalOperationsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of GlobalOperationsSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalOperationsSettings globalOperationsSettings =
GlobalOperationsSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
GlobalOperationsClient globalOperationsClient =
GlobalOperationsClient.create(globalOperationsSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalOperationsSettings globalOperationsSettings =
GlobalOperationsSettings.newBuilder().setEndpoint(myEndpoint).build();
GlobalOperationsClient globalOperationsClient =
GlobalOperationsClient.create(globalOperationsSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
GlobalOperationsClient.AggregatedListFixedSizeCollection
GlobalOperationsClient.AggregatedListPage
GlobalOperationsClient.AggregatedListPagedResponse
GlobalOperationsClient.ListFixedSizeCollection
GlobalOperationsClient.ListPage
GlobalOperationsClient.ListPagedResponse
GlobalOperationsSettings
Settings class to configure an instance of GlobalOperationsClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 delete to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalOperationsSettings.Builder globalOperationsSettingsBuilder =
GlobalOperationsSettings.newBuilder();
globalOperationsSettingsBuilder
.deleteSettings()
.setRetrySettings(
globalOperationsSettingsBuilder
.deleteSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalOperationsSettings globalOperationsSettings = globalOperationsSettingsBuilder.build();
GlobalOperationsSettings.Builder
Builder for GlobalOperationsSettings.
GlobalOrganizationOperationsClient
Service Description: The GlobalOrganizationOperations API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalOrganizationOperationsClient globalOrganizationOperationsClient =
GlobalOrganizationOperationsClient.create()) {
String operation = "operation1662702951";
DeleteGlobalOrganizationOperationResponse response =
globalOrganizationOperationsClient.delete(operation);
}
Note: close() needs to be called on the GlobalOrganizationOperationsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of GlobalOrganizationOperationsSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalOrganizationOperationsSettings globalOrganizationOperationsSettings =
GlobalOrganizationOperationsSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
GlobalOrganizationOperationsClient globalOrganizationOperationsClient =
GlobalOrganizationOperationsClient.create(globalOrganizationOperationsSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalOrganizationOperationsSettings globalOrganizationOperationsSettings =
GlobalOrganizationOperationsSettings.newBuilder().setEndpoint(myEndpoint).build();
GlobalOrganizationOperationsClient globalOrganizationOperationsClient =
GlobalOrganizationOperationsClient.create(globalOrganizationOperationsSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
GlobalOrganizationOperationsClient.ListFixedSizeCollection
GlobalOrganizationOperationsClient.ListPage
GlobalOrganizationOperationsClient.ListPagedResponse
GlobalOrganizationOperationsSettings
Settings class to configure an instance of GlobalOrganizationOperationsClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 delete to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalOrganizationOperationsSettings.Builder globalOrganizationOperationsSettingsBuilder =
GlobalOrganizationOperationsSettings.newBuilder();
globalOrganizationOperationsSettingsBuilder
.deleteSettings()
.setRetrySettings(
globalOrganizationOperationsSettingsBuilder
.deleteSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalOrganizationOperationsSettings globalOrganizationOperationsSettings =
globalOrganizationOperationsSettingsBuilder.build();
GlobalOrganizationOperationsSettings.Builder
Builder for GlobalOrganizationOperationsSettings.
GlobalOrganizationSetPolicyRequest
Protobuf type google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest
GlobalOrganizationSetPolicyRequest.Builder
Protobuf type google.cloud.compute.v1.GlobalOrganizationSetPolicyRequest
GlobalPublicDelegatedPrefixesClient
Service Description: The GlobalPublicDelegatedPrefixes API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (GlobalPublicDelegatedPrefixesClient globalPublicDelegatedPrefixesClient =
GlobalPublicDelegatedPrefixesClient.create()) {
String project = "project-309310695";
String publicDelegatedPrefix = "publicDelegatedPrefix-663003832";
PublicDelegatedPrefix response =
globalPublicDelegatedPrefixesClient.get(project, publicDelegatedPrefix);
}
Note: close() needs to be called on the GlobalPublicDelegatedPrefixesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of GlobalPublicDelegatedPrefixesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalPublicDelegatedPrefixesSettings globalPublicDelegatedPrefixesSettings =
GlobalPublicDelegatedPrefixesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
GlobalPublicDelegatedPrefixesClient globalPublicDelegatedPrefixesClient =
GlobalPublicDelegatedPrefixesClient.create(globalPublicDelegatedPrefixesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalPublicDelegatedPrefixesSettings globalPublicDelegatedPrefixesSettings =
GlobalPublicDelegatedPrefixesSettings.newBuilder().setEndpoint(myEndpoint).build();
GlobalPublicDelegatedPrefixesClient globalPublicDelegatedPrefixesClient =
GlobalPublicDelegatedPrefixesClient.create(globalPublicDelegatedPrefixesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
GlobalPublicDelegatedPrefixesClient.ListFixedSizeCollection
GlobalPublicDelegatedPrefixesClient.ListPage
GlobalPublicDelegatedPrefixesClient.ListPagedResponse
GlobalPublicDelegatedPrefixesSettings
Settings class to configure an instance of GlobalPublicDelegatedPrefixesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
GlobalPublicDelegatedPrefixesSettings.Builder globalPublicDelegatedPrefixesSettingsBuilder =
GlobalPublicDelegatedPrefixesSettings.newBuilder();
globalPublicDelegatedPrefixesSettingsBuilder
.getSettings()
.setRetrySettings(
globalPublicDelegatedPrefixesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
GlobalPublicDelegatedPrefixesSettings globalPublicDelegatedPrefixesSettings =
globalPublicDelegatedPrefixesSettingsBuilder.build();
GlobalPublicDelegatedPrefixesSettings.Builder
Builder for GlobalPublicDelegatedPrefixesSettings.
GlobalSetLabelsRequest
Protobuf type google.cloud.compute.v1.GlobalSetLabelsRequest
GlobalSetLabelsRequest.Builder
Protobuf type google.cloud.compute.v1.GlobalSetLabelsRequest
GlobalSetPolicyRequest
Protobuf type google.cloud.compute.v1.GlobalSetPolicyRequest
GlobalSetPolicyRequest.Builder
Protobuf type google.cloud.compute.v1.GlobalSetPolicyRequest
GuestAttributes
A guest attributes entry.
Protobuf type google.cloud.compute.v1.GuestAttributes
GuestAttributes.Builder
A guest attributes entry.
Protobuf type google.cloud.compute.v1.GuestAttributes
GuestAttributesEntry
A guest attributes namespace/key/value entry.
Protobuf type google.cloud.compute.v1.GuestAttributesEntry
GuestAttributesEntry.Builder
A guest attributes namespace/key/value entry.
Protobuf type google.cloud.compute.v1.GuestAttributesEntry
GuestAttributesValue
Array of guest attribute namespace/key/value tuples.
Protobuf type google.cloud.compute.v1.GuestAttributesValue
GuestAttributesValue.Builder
Array of guest attribute namespace/key/value tuples.
Protobuf type google.cloud.compute.v1.GuestAttributesValue
GuestOsFeature
Guest OS features.
Protobuf type google.cloud.compute.v1.GuestOsFeature
GuestOsFeature.Builder
Guest OS features.
Protobuf type google.cloud.compute.v1.GuestOsFeature
HTTP2HealthCheck
Protobuf type google.cloud.compute.v1.HTTP2HealthCheck
HTTP2HealthCheck.Builder
Protobuf type google.cloud.compute.v1.HTTP2HealthCheck
HTTPHealthCheck
Protobuf type google.cloud.compute.v1.HTTPHealthCheck
HTTPHealthCheck.Builder
Protobuf type google.cloud.compute.v1.HTTPHealthCheck
HTTPSHealthCheck
Protobuf type google.cloud.compute.v1.HTTPSHealthCheck
HTTPSHealthCheck.Builder
Protobuf type google.cloud.compute.v1.HTTPSHealthCheck
HealthCheck
Represents a Health Check resource. Google Compute Engine has two Health Check resources: * Global * Regional Internal HTTP(S) load balancers must use regional health checks (compute.v1.regionHealthChecks
). Traffic Director must use global health checks (compute.v1.HealthChecks
). Internal TCP/UDP load balancers can use either regional or global health checks (compute.v1.regionHealthChecks
or compute.v1.HealthChecks
). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (compute.v1.HealthChecks
). Backend service-based network load balancers must use regional health checks (compute.v1.regionHealthChecks
). Target pool-based network load balancers must use legacy HTTP health checks (compute.v1.httpHealthChecks
). For more information, see Health checks overview.
Protobuf type google.cloud.compute.v1.HealthCheck
HealthCheck.Builder
Represents a Health Check resource. Google Compute Engine has two Health Check resources: * Global * Regional Internal HTTP(S) load balancers must use regional health checks (compute.v1.regionHealthChecks
). Traffic Director must use global health checks (compute.v1.HealthChecks
). Internal TCP/UDP load balancers can use either regional or global health checks (compute.v1.regionHealthChecks
or compute.v1.HealthChecks
). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (compute.v1.HealthChecks
). Backend service-based network load balancers must use regional health checks (compute.v1.regionHealthChecks
). Target pool-based network load balancers must use legacy HTTP health checks (compute.v1.httpHealthChecks
). For more information, see Health checks overview.
Protobuf type google.cloud.compute.v1.HealthCheck
HealthCheckList
Contains a list of HealthCheck resources.
Protobuf type google.cloud.compute.v1.HealthCheckList
HealthCheckList.Builder
Contains a list of HealthCheck resources.
Protobuf type google.cloud.compute.v1.HealthCheckList
HealthCheckLogConfig
Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.
Protobuf type google.cloud.compute.v1.HealthCheckLogConfig
HealthCheckLogConfig.Builder
Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.
Protobuf type google.cloud.compute.v1.HealthCheckLogConfig
HealthCheckReference
A full or valid partial URL to a health check. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check
Protobuf type google.cloud.compute.v1.HealthCheckReference
HealthCheckReference.Builder
A full or valid partial URL to a health check. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check
Protobuf type google.cloud.compute.v1.HealthCheckReference
HealthCheckService
Represents a Health-Check as a Service resource.
Protobuf type google.cloud.compute.v1.HealthCheckService
HealthCheckService.Builder
Represents a Health-Check as a Service resource.
Protobuf type google.cloud.compute.v1.HealthCheckService
HealthCheckServiceReference
A full or valid partial URL to a health check service. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service
Protobuf type google.cloud.compute.v1.HealthCheckServiceReference
HealthCheckServiceReference.Builder
A full or valid partial URL to a health check service. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/regions/us-west1/healthCheckServices/health-check-service - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service
Protobuf type google.cloud.compute.v1.HealthCheckServiceReference
HealthCheckServicesList
Protobuf type google.cloud.compute.v1.HealthCheckServicesList
HealthCheckServicesList.Builder
Protobuf type google.cloud.compute.v1.HealthCheckServicesList
HealthChecksAggregatedList
Protobuf type google.cloud.compute.v1.HealthChecksAggregatedList
HealthChecksAggregatedList.Builder
Protobuf type google.cloud.compute.v1.HealthChecksAggregatedList
HealthChecksClient
Service Description: The HealthChecks API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (HealthChecksClient healthChecksClient = HealthChecksClient.create()) {
String project = "project-309310695";
String healthCheck = "healthCheck-1938093044";
HealthCheck response = healthChecksClient.get(project, healthCheck);
}
Note: close() needs to be called on the HealthChecksClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of HealthChecksSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
HealthChecksSettings healthChecksSettings =
HealthChecksSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
HealthChecksClient healthChecksClient = HealthChecksClient.create(healthChecksSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
HealthChecksSettings healthChecksSettings =
HealthChecksSettings.newBuilder().setEndpoint(myEndpoint).build();
HealthChecksClient healthChecksClient = HealthChecksClient.create(healthChecksSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
HealthChecksClient.AggregatedListFixedSizeCollection
HealthChecksClient.AggregatedListPage
HealthChecksClient.AggregatedListPagedResponse
HealthChecksClient.ListFixedSizeCollection
HealthChecksClient.ListPage
HealthChecksClient.ListPagedResponse
HealthChecksScopedList
Protobuf type google.cloud.compute.v1.HealthChecksScopedList
HealthChecksScopedList.Builder
Protobuf type google.cloud.compute.v1.HealthChecksScopedList
HealthChecksSettings
Settings class to configure an instance of HealthChecksClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
HealthChecksSettings.Builder healthChecksSettingsBuilder = HealthChecksSettings.newBuilder();
healthChecksSettingsBuilder
.getSettings()
.setRetrySettings(
healthChecksSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
HealthChecksSettings healthChecksSettings = healthChecksSettingsBuilder.build();
HealthChecksSettings.Builder
Builder for HealthChecksSettings.
HealthStatus
Protobuf type google.cloud.compute.v1.HealthStatus
HealthStatus.Builder
Protobuf type google.cloud.compute.v1.HealthStatus
HealthStatusForNetworkEndpoint
Protobuf type google.cloud.compute.v1.HealthStatusForNetworkEndpoint
HealthStatusForNetworkEndpoint.Builder
Protobuf type google.cloud.compute.v1.HealthStatusForNetworkEndpoint
Help
Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.
Protobuf type google.cloud.compute.v1.Help
Help.Builder
Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit.
Protobuf type google.cloud.compute.v1.Help
HelpLink
Describes a URL link.
Protobuf type google.cloud.compute.v1.HelpLink
HelpLink.Builder
Describes a URL link.
Protobuf type google.cloud.compute.v1.HelpLink
HostRule
UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
Protobuf type google.cloud.compute.v1.HostRule
HostRule.Builder
UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
Protobuf type google.cloud.compute.v1.HostRule
HttpFaultAbort
Specification for how requests are aborted as part of fault injection.
Protobuf type google.cloud.compute.v1.HttpFaultAbort
HttpFaultAbort.Builder
Specification for how requests are aborted as part of fault injection.
Protobuf type google.cloud.compute.v1.HttpFaultAbort
HttpFaultDelay
Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.
Protobuf type google.cloud.compute.v1.HttpFaultDelay
HttpFaultDelay.Builder
Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection.
Protobuf type google.cloud.compute.v1.HttpFaultDelay
HttpFaultInjection
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests.
Protobuf type google.cloud.compute.v1.HttpFaultInjection
HttpFaultInjection.Builder
The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests.
Protobuf type google.cloud.compute.v1.HttpFaultInjection
HttpHeaderAction
The request and response header transformations that take effect before the request is passed along to the selected backendService.
Protobuf type google.cloud.compute.v1.HttpHeaderAction
HttpHeaderAction.Builder
The request and response header transformations that take effect before the request is passed along to the selected backendService.
Protobuf type google.cloud.compute.v1.HttpHeaderAction
HttpHeaderMatch
matchRule criteria for request header matches.
Protobuf type google.cloud.compute.v1.HttpHeaderMatch
HttpHeaderMatch.Builder
matchRule criteria for request header matches.
Protobuf type google.cloud.compute.v1.HttpHeaderMatch
HttpHeaderOption
Specification determining how headers are added to requests or responses.
Protobuf type google.cloud.compute.v1.HttpHeaderOption
HttpHeaderOption.Builder
Specification determining how headers are added to requests or responses.
Protobuf type google.cloud.compute.v1.HttpHeaderOption
HttpQueryParameterMatch
HttpRouteRuleMatch criteria for a request's query parameter.
Protobuf type google.cloud.compute.v1.HttpQueryParameterMatch
HttpQueryParameterMatch.Builder
HttpRouteRuleMatch criteria for a request's query parameter.
Protobuf type google.cloud.compute.v1.HttpQueryParameterMatch
HttpRedirectAction
Specifies settings for an HTTP redirect.
Protobuf type google.cloud.compute.v1.HttpRedirectAction
HttpRedirectAction.Builder
Specifies settings for an HTTP redirect.
Protobuf type google.cloud.compute.v1.HttpRedirectAction
HttpRetryPolicy
The retry policy associates with HttpRouteRule
Protobuf type google.cloud.compute.v1.HttpRetryPolicy
HttpRetryPolicy.Builder
The retry policy associates with HttpRouteRule
Protobuf type google.cloud.compute.v1.HttpRetryPolicy
HttpRouteAction
Protobuf type google.cloud.compute.v1.HttpRouteAction
HttpRouteAction.Builder
Protobuf type google.cloud.compute.v1.HttpRouteAction
HttpRouteRule
The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform.
Protobuf type google.cloud.compute.v1.HttpRouteRule
HttpRouteRule.Builder
The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform.
Protobuf type google.cloud.compute.v1.HttpRouteRule
HttpRouteRuleMatch
HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.
Protobuf type google.cloud.compute.v1.HttpRouteRuleMatch
HttpRouteRuleMatch.Builder
HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.
Protobuf type google.cloud.compute.v1.HttpRouteRuleMatch
Image
Represents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images.
Protobuf type google.cloud.compute.v1.Image
Image.Builder
Represents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images.
Protobuf type google.cloud.compute.v1.Image
ImageFamilyView
Protobuf type google.cloud.compute.v1.ImageFamilyView
ImageFamilyView.Builder
Protobuf type google.cloud.compute.v1.ImageFamilyView
ImageFamilyViewsClient
Service Description: The ImageFamilyViews API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ImageFamilyViewsClient imageFamilyViewsClient = ImageFamilyViewsClient.create()) {
String project = "project-309310695";
String zone = "zone3744684";
String family = "family-1281860764";
ImageFamilyView response = imageFamilyViewsClient.get(project, zone, family);
}
Note: close() needs to be called on the ImageFamilyViewsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of ImageFamilyViewsSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ImageFamilyViewsSettings imageFamilyViewsSettings =
ImageFamilyViewsSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
ImageFamilyViewsClient imageFamilyViewsClient =
ImageFamilyViewsClient.create(imageFamilyViewsSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ImageFamilyViewsSettings imageFamilyViewsSettings =
ImageFamilyViewsSettings.newBuilder().setEndpoint(myEndpoint).build();
ImageFamilyViewsClient imageFamilyViewsClient =
ImageFamilyViewsClient.create(imageFamilyViewsSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
ImageFamilyViewsSettings
Settings class to configure an instance of ImageFamilyViewsClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ImageFamilyViewsSettings.Builder imageFamilyViewsSettingsBuilder =
ImageFamilyViewsSettings.newBuilder();
imageFamilyViewsSettingsBuilder
.getSettings()
.setRetrySettings(
imageFamilyViewsSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ImageFamilyViewsSettings imageFamilyViewsSettings = imageFamilyViewsSettingsBuilder.build();
ImageFamilyViewsSettings.Builder
Builder for ImageFamilyViewsSettings.
ImageList
Contains a list of images.
Protobuf type google.cloud.compute.v1.ImageList
ImageList.Builder
Contains a list of images.
Protobuf type google.cloud.compute.v1.ImageList
ImagesClient
Service Description: The Images API.
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ImagesClient imagesClient = ImagesClient.create()) {
String project = "project-309310695";
String image = "image100313435";
Image response = imagesClient.get(project, image);
}
Note: close() needs to be called on the ImagesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
- A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
- A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
- A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of ImagesSettings to create(). For example:
To customize credentials:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ImagesSettings imagesSettings =
ImagesSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
ImagesClient imagesClient = ImagesClient.create(imagesSettings);
To customize the endpoint:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ImagesSettings imagesSettings = ImagesSettings.newBuilder().setEndpoint(myEndpoint).build();
ImagesClient imagesClient = ImagesClient.create(imagesSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
ImagesClient.ListFixedSizeCollection
ImagesClient.ListPage
ImagesClient.ListPagedResponse
ImagesSettings
Settings class to configure an instance of ImagesClient.
The default instance has everything set to sensible defaults:
- The default service address (compute.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
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 get to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
ImagesSettings.Builder imagesSettingsBuilder = ImagesSettings.newBuilder();
imagesSettingsBuilder
.getSettings()
.setRetrySettings(
imagesSettingsBuilder
.getSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
ImagesSettings imagesSettings = imagesSettingsBuilder.build();
ImagesSettings.Builder
Builder for ImagesSettings.
InitialStateConfig
Initial State for shielded instance, these are public keys which are safe to store in public
Protobuf type google.cloud.compute.v1.InitialStateConfig
InitialStateConfig.Builder
Initial State for shielded instance, these are public keys which are safe to store in public
Protobuf type google.cloud.compute.v1.InitialStateConfig
InsertAddressRequest
A request message for Addresses.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertAddressRequest
InsertAddressRequest.Builder
A request message for Addresses.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertAddressRequest
InsertAutoscalerRequest
A request message for Autoscalers.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertAutoscalerRequest
InsertAutoscalerRequest.Builder
A request message for Autoscalers.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertAutoscalerRequest
InsertBackendBucketRequest
A request message for BackendBuckets.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertBackendBucketRequest
InsertBackendBucketRequest.Builder
A request message for BackendBuckets.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertBackendBucketRequest
InsertBackendServiceRequest
A request message for BackendServices.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertBackendServiceRequest
InsertBackendServiceRequest.Builder
A request message for BackendServices.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertBackendServiceRequest
InsertDiskRequest
A request message for Disks.Insert. See the method description for details.
Protobuf type google.cloud.compute.v1.InsertDiskRequest
InsertDiskRequest.Builder
A request message for Disks.Insert. See the method descript