Package com.google.cloud.compute.v1 (1.37.0)

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);
 }
 

InterconnectRemoteLocationsClient

Service Description: The InterconnectRemoteLocations API.

Sample for InterconnectRemoteLocationsClient:


 // 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 (InterconnectRemoteLocationsClient interconnectRemoteLocationsClient =
     InterconnectRemoteLocationsClient.create()) {
   String project = "project-309310695";
   String interconnectRemoteLocation = "interconnectRemoteLocation-993839543";
   InterconnectRemoteLocation response =
       interconnectRemoteLocationsClient.get(project, interconnectRemoteLocation);
 }
 

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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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

BulkInsertDiskRequest

A request message for Disks.BulkInsert. See the method description for details.

Protobuf type google.cloud.compute.v1.BulkInsertDiskRequest

BulkInsertDiskRequest.Builder

A request message for Disks.BulkInsert. See the method description for details.

Protobuf type google.cloud.compute.v1.BulkInsertDiskRequest

BulkInsertDiskResource

A transient resource used in compute.disks.bulkInsert and compute.regionDisks.bulkInsert. It is only used to process requests and is not persisted.

Protobuf type google.cloud.compute.v1.BulkInsertDiskResource

BulkInsertDiskResource.Builder

A transient resource used in compute.disks.bulkInsert and compute.regionDisks.bulkInsert. It is only used to process requests and is not persisted.

Protobuf type google.cloud.compute.v1.BulkInsertDiskResource

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

BulkInsertRegionDiskRequest

A request message for RegionDisks.BulkInsert. See the method description for details.

Protobuf type google.cloud.compute.v1.BulkInsertRegionDiskRequest

BulkInsertRegionDiskRequest.Builder

A request message for RegionDisks.BulkInsert. See the method description for details.

Protobuf type google.cloud.compute.v1.BulkInsertRegionDiskRequest

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

DiskAsyncReplication

Protobuf type google.cloud.compute.v1.DiskAsyncReplication

DiskAsyncReplication.Builder

Protobuf type google.cloud.compute.v1.DiskAsyncReplication

DiskAsyncReplicationList

Protobuf type google.cloud.compute.v1.DiskAsyncReplicationList

DiskAsyncReplicationList.Builder

Protobuf type google.cloud.compute.v1.DiskAsyncReplicationList

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

DiskResourceStatus

Protobuf type google.cloud.compute.v1.DiskResourceStatus

DiskResourceStatus.Builder

Protobuf type google.cloud.compute.v1.DiskResourceStatus

DiskResourceStatusAsyncReplicationStatus

Protobuf type google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus

DiskResourceStatusAsyncReplicationStatus.Builder

Protobuf type google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus

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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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.

DisksStartAsyncReplicationRequest

Protobuf type google.cloud.compute.v1.DisksStartAsyncReplicationRequest

DisksStartAsyncReplicationRequest.Builder

Protobuf type google.cloud.compute.v1.DisksStartAsyncReplicationRequest

DisksStopGroupAsyncReplicationResource

A transient resource used in compute.disks.stopGroupAsyncReplication and compute.regionDisks.stopGroupAsyncReplication. It is only used to process requests and is not persisted.

Protobuf type google.cloud.compute.v1.DisksStopGroupAsyncReplicationResource

DisksStopGroupAsyncReplicationResource.Builder

A transient resource used in compute.disks.stopGroupAsyncReplication and compute.regionDisks.stopGroupAsyncReplication. It is only used to process requests and is not persisted.

Protobuf type google.cloud.compute.v1.DisksStopGroupAsyncReplicationResource

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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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

GetInterconnectRemoteLocationRequest

A request message for InterconnectRemoteLocations.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetInterconnectRemoteLocationRequest

GetInterconnectRemoteLocationRequest.Builder

A request message for InterconnectRemoteLocations.Get. See the method description for details.

Protobuf type google.cloud.compute.v1.GetInterconnectRemoteLocationRequest

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:

  1. 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.
  2. 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.
  3. 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

GlobalAddressesMoveRequest

Protobuf type google.cloud.compute.v1.GlobalAddressesMoveRequest

GlobalAddressesMoveRequest.Builder

Protobuf type google.cloud.compute.v1.GlobalAddressesMoveRequest

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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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

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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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 description for details.

Protobuf type google.cloud.compute.v1.InsertDiskRequest

InsertExternalVpnGatewayRequest

A request message for ExternalVpnGateways.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertExternalVpnGatewayRequest

InsertExternalVpnGatewayRequest.Builder

A request message for ExternalVpnGateways.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertExternalVpnGatewayRequest

InsertFirewallPolicyRequest

A request message for FirewallPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertFirewallPolicyRequest

InsertFirewallPolicyRequest.Builder

A request message for FirewallPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertFirewallPolicyRequest

InsertFirewallRequest

A request message for Firewalls.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertFirewallRequest

InsertFirewallRequest.Builder

A request message for Firewalls.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertFirewallRequest

InsertForwardingRuleRequest

A request message for ForwardingRules.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertForwardingRuleRequest

InsertForwardingRuleRequest.Builder

A request message for ForwardingRules.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertForwardingRuleRequest

InsertGlobalAddressRequest

A request message for GlobalAddresses.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalAddressRequest

InsertGlobalAddressRequest.Builder

A request message for GlobalAddresses.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalAddressRequest

InsertGlobalForwardingRuleRequest

A request message for GlobalForwardingRules.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalForwardingRuleRequest

InsertGlobalForwardingRuleRequest.Builder

A request message for GlobalForwardingRules.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalForwardingRuleRequest

InsertGlobalNetworkEndpointGroupRequest

A request message for GlobalNetworkEndpointGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalNetworkEndpointGroupRequest

InsertGlobalNetworkEndpointGroupRequest.Builder

A request message for GlobalNetworkEndpointGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalNetworkEndpointGroupRequest

InsertGlobalPublicDelegatedPrefixeRequest

A request message for GlobalPublicDelegatedPrefixes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalPublicDelegatedPrefixeRequest

InsertGlobalPublicDelegatedPrefixeRequest.Builder

A request message for GlobalPublicDelegatedPrefixes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertGlobalPublicDelegatedPrefixeRequest

InsertHealthCheckRequest

A request message for HealthChecks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertHealthCheckRequest

InsertHealthCheckRequest.Builder

A request message for HealthChecks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertHealthCheckRequest

InsertImageRequest

A request message for Images.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertImageRequest

InsertImageRequest.Builder

A request message for Images.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertImageRequest

InsertInstanceGroupManagerRequest

A request message for InstanceGroupManagers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceGroupManagerRequest

InsertInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceGroupManagerRequest

InsertInstanceGroupRequest

A request message for InstanceGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceGroupRequest

InsertInstanceGroupRequest.Builder

A request message for InstanceGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceGroupRequest

InsertInstanceRequest

A request message for Instances.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceRequest

InsertInstanceRequest.Builder

A request message for Instances.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceRequest

InsertInstanceTemplateRequest

A request message for InstanceTemplates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceTemplateRequest

InsertInstanceTemplateRequest.Builder

A request message for InstanceTemplates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInstanceTemplateRequest

InsertInterconnectAttachmentRequest

A request message for InterconnectAttachments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInterconnectAttachmentRequest

InsertInterconnectAttachmentRequest.Builder

A request message for InterconnectAttachments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInterconnectAttachmentRequest

InsertInterconnectRequest

A request message for Interconnects.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInterconnectRequest

InsertInterconnectRequest.Builder

A request message for Interconnects.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertInterconnectRequest

InsertLicenseRequest

A request message for Licenses.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertLicenseRequest

InsertLicenseRequest.Builder

A request message for Licenses.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertLicenseRequest

InsertMachineImageRequest

A request message for MachineImages.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertMachineImageRequest

InsertMachineImageRequest.Builder

A request message for MachineImages.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertMachineImageRequest

InsertNetworkAttachmentRequest

A request message for NetworkAttachments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkAttachmentRequest

InsertNetworkAttachmentRequest.Builder

A request message for NetworkAttachments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkAttachmentRequest

InsertNetworkEdgeSecurityServiceRequest

A request message for NetworkEdgeSecurityServices.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest

InsertNetworkEdgeSecurityServiceRequest.Builder

A request message for NetworkEdgeSecurityServices.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest

InsertNetworkEndpointGroupRequest

A request message for NetworkEndpointGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkEndpointGroupRequest

InsertNetworkEndpointGroupRequest.Builder

A request message for NetworkEndpointGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkEndpointGroupRequest

InsertNetworkFirewallPolicyRequest

A request message for NetworkFirewallPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest

InsertNetworkFirewallPolicyRequest.Builder

A request message for NetworkFirewallPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest

InsertNetworkRequest

A request message for Networks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkRequest

InsertNetworkRequest.Builder

A request message for Networks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNetworkRequest

InsertNodeGroupRequest

A request message for NodeGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNodeGroupRequest

InsertNodeGroupRequest.Builder

A request message for NodeGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNodeGroupRequest

InsertNodeTemplateRequest

A request message for NodeTemplates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNodeTemplateRequest

InsertNodeTemplateRequest.Builder

A request message for NodeTemplates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertNodeTemplateRequest

InsertPacketMirroringRequest

A request message for PacketMirrorings.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertPacketMirroringRequest

InsertPacketMirroringRequest.Builder

A request message for PacketMirrorings.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertPacketMirroringRequest

InsertPublicAdvertisedPrefixeRequest

A request message for PublicAdvertisedPrefixes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertPublicAdvertisedPrefixeRequest

InsertPublicAdvertisedPrefixeRequest.Builder

A request message for PublicAdvertisedPrefixes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertPublicAdvertisedPrefixeRequest

InsertPublicDelegatedPrefixeRequest

A request message for PublicDelegatedPrefixes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertPublicDelegatedPrefixeRequest

InsertPublicDelegatedPrefixeRequest.Builder

A request message for PublicDelegatedPrefixes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertPublicDelegatedPrefixeRequest

InsertRegionAutoscalerRequest

A request message for RegionAutoscalers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionAutoscalerRequest

InsertRegionAutoscalerRequest.Builder

A request message for RegionAutoscalers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionAutoscalerRequest

InsertRegionBackendServiceRequest

A request message for RegionBackendServices.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionBackendServiceRequest

InsertRegionBackendServiceRequest.Builder

A request message for RegionBackendServices.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionBackendServiceRequest

InsertRegionCommitmentRequest

A request message for RegionCommitments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionCommitmentRequest

InsertRegionCommitmentRequest.Builder

A request message for RegionCommitments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionCommitmentRequest

InsertRegionDiskRequest

A request message for RegionDisks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionDiskRequest

InsertRegionDiskRequest.Builder

A request message for RegionDisks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionDiskRequest

InsertRegionHealthCheckRequest

A request message for RegionHealthChecks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionHealthCheckRequest

InsertRegionHealthCheckRequest.Builder

A request message for RegionHealthChecks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionHealthCheckRequest

InsertRegionHealthCheckServiceRequest

A request message for RegionHealthCheckServices.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionHealthCheckServiceRequest

InsertRegionHealthCheckServiceRequest.Builder

A request message for RegionHealthCheckServices.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionHealthCheckServiceRequest

InsertRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionInstanceGroupManagerRequest

InsertRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionInstanceGroupManagerRequest

InsertRegionInstanceTemplateRequest

A request message for RegionInstanceTemplates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionInstanceTemplateRequest

InsertRegionInstanceTemplateRequest.Builder

A request message for RegionInstanceTemplates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionInstanceTemplateRequest

InsertRegionNetworkEndpointGroupRequest

A request message for RegionNetworkEndpointGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionNetworkEndpointGroupRequest

InsertRegionNetworkEndpointGroupRequest.Builder

A request message for RegionNetworkEndpointGroups.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionNetworkEndpointGroupRequest

InsertRegionNetworkFirewallPolicyRequest

A request message for RegionNetworkFirewallPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest

InsertRegionNetworkFirewallPolicyRequest.Builder

A request message for RegionNetworkFirewallPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest

InsertRegionNotificationEndpointRequest

A request message for RegionNotificationEndpoints.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionNotificationEndpointRequest

InsertRegionNotificationEndpointRequest.Builder

A request message for RegionNotificationEndpoints.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionNotificationEndpointRequest

InsertRegionSecurityPolicyRequest

A request message for RegionSecurityPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionSecurityPolicyRequest

InsertRegionSecurityPolicyRequest.Builder

A request message for RegionSecurityPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionSecurityPolicyRequest

InsertRegionSslCertificateRequest

A request message for RegionSslCertificates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionSslCertificateRequest

InsertRegionSslCertificateRequest.Builder

A request message for RegionSslCertificates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionSslCertificateRequest

InsertRegionSslPolicyRequest

A request message for RegionSslPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionSslPolicyRequest

InsertRegionSslPolicyRequest.Builder

A request message for RegionSslPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionSslPolicyRequest

InsertRegionTargetHttpProxyRequest

A request message for RegionTargetHttpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionTargetHttpProxyRequest

InsertRegionTargetHttpProxyRequest.Builder

A request message for RegionTargetHttpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionTargetHttpProxyRequest

InsertRegionTargetHttpsProxyRequest

A request message for RegionTargetHttpsProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionTargetHttpsProxyRequest

InsertRegionTargetHttpsProxyRequest.Builder

A request message for RegionTargetHttpsProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionTargetHttpsProxyRequest

InsertRegionTargetTcpProxyRequest

A request message for RegionTargetTcpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionTargetTcpProxyRequest

InsertRegionTargetTcpProxyRequest.Builder

A request message for RegionTargetTcpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionTargetTcpProxyRequest

InsertRegionUrlMapRequest

A request message for RegionUrlMaps.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionUrlMapRequest

InsertRegionUrlMapRequest.Builder

A request message for RegionUrlMaps.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRegionUrlMapRequest

InsertReservationRequest

A request message for Reservations.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertReservationRequest

InsertReservationRequest.Builder

A request message for Reservations.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertReservationRequest

InsertResourcePolicyRequest

A request message for ResourcePolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertResourcePolicyRequest

InsertResourcePolicyRequest.Builder

A request message for ResourcePolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertResourcePolicyRequest

InsertRouteRequest

A request message for Routes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRouteRequest

InsertRouteRequest.Builder

A request message for Routes.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRouteRequest

InsertRouterRequest

A request message for Routers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRouterRequest

InsertRouterRequest.Builder

A request message for Routers.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertRouterRequest

InsertSecurityPolicyRequest

A request message for SecurityPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSecurityPolicyRequest

InsertSecurityPolicyRequest.Builder

A request message for SecurityPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSecurityPolicyRequest

InsertServiceAttachmentRequest

A request message for ServiceAttachments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertServiceAttachmentRequest

InsertServiceAttachmentRequest.Builder

A request message for ServiceAttachments.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertServiceAttachmentRequest

InsertSnapshotRequest

A request message for Snapshots.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSnapshotRequest

InsertSnapshotRequest.Builder

A request message for Snapshots.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSnapshotRequest

InsertSslCertificateRequest

A request message for SslCertificates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSslCertificateRequest

InsertSslCertificateRequest.Builder

A request message for SslCertificates.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSslCertificateRequest

InsertSslPolicyRequest

A request message for SslPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSslPolicyRequest

InsertSslPolicyRequest.Builder

A request message for SslPolicies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSslPolicyRequest

InsertSubnetworkRequest

A request message for Subnetworks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSubnetworkRequest

InsertSubnetworkRequest.Builder

A request message for Subnetworks.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertSubnetworkRequest

InsertTargetGrpcProxyRequest

A request message for TargetGrpcProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetGrpcProxyRequest

InsertTargetGrpcProxyRequest.Builder

A request message for TargetGrpcProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetGrpcProxyRequest

InsertTargetHttpProxyRequest

A request message for TargetHttpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetHttpProxyRequest

InsertTargetHttpProxyRequest.Builder

A request message for TargetHttpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetHttpProxyRequest

InsertTargetHttpsProxyRequest

A request message for TargetHttpsProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetHttpsProxyRequest

InsertTargetHttpsProxyRequest.Builder

A request message for TargetHttpsProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetHttpsProxyRequest

InsertTargetInstanceRequest

A request message for TargetInstances.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetInstanceRequest

InsertTargetInstanceRequest.Builder

A request message for TargetInstances.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetInstanceRequest

InsertTargetPoolRequest

A request message for TargetPools.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetPoolRequest

InsertTargetPoolRequest.Builder

A request message for TargetPools.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetPoolRequest

InsertTargetSslProxyRequest

A request message for TargetSslProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetSslProxyRequest

InsertTargetSslProxyRequest.Builder

A request message for TargetSslProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetSslProxyRequest

InsertTargetTcpProxyRequest

A request message for TargetTcpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetTcpProxyRequest

InsertTargetTcpProxyRequest.Builder

A request message for TargetTcpProxies.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetTcpProxyRequest

InsertTargetVpnGatewayRequest

A request message for TargetVpnGateways.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetVpnGatewayRequest

InsertTargetVpnGatewayRequest.Builder

A request message for TargetVpnGateways.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertTargetVpnGatewayRequest

InsertUrlMapRequest

A request message for UrlMaps.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertUrlMapRequest

InsertUrlMapRequest.Builder

A request message for UrlMaps.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertUrlMapRequest

InsertVpnGatewayRequest

A request message for VpnGateways.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertVpnGatewayRequest

InsertVpnGatewayRequest.Builder

A request message for VpnGateways.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertVpnGatewayRequest

InsertVpnTunnelRequest

A request message for VpnTunnels.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertVpnTunnelRequest

InsertVpnTunnelRequest.Builder

A request message for VpnTunnels.Insert. See the method description for details.

Protobuf type google.cloud.compute.v1.InsertVpnTunnelRequest

Instance

Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual Machine Instances.

Protobuf type google.cloud.compute.v1.Instance

Instance.Builder

Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual Machine Instances.

Protobuf type google.cloud.compute.v1.Instance

InstanceAggregatedList

Protobuf type google.cloud.compute.v1.InstanceAggregatedList

InstanceAggregatedList.Builder

Protobuf type google.cloud.compute.v1.InstanceAggregatedList

InstanceConsumptionData

Protobuf type google.cloud.compute.v1.InstanceConsumptionData

InstanceConsumptionData.Builder

Protobuf type google.cloud.compute.v1.InstanceConsumptionData

InstanceConsumptionInfo

Protobuf type google.cloud.compute.v1.InstanceConsumptionInfo

InstanceConsumptionInfo.Builder

Protobuf type google.cloud.compute.v1.InstanceConsumptionInfo

InstanceGroup

Represents an Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups. For more information, read Instance groups.

Protobuf type google.cloud.compute.v1.InstanceGroup

InstanceGroup.Builder

Represents an Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups. For more information, read Instance groups.

Protobuf type google.cloud.compute.v1.InstanceGroup

InstanceGroupAggregatedList

Protobuf type google.cloud.compute.v1.InstanceGroupAggregatedList

InstanceGroupAggregatedList.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupAggregatedList

InstanceGroupList

A list of InstanceGroup resources.

Protobuf type google.cloud.compute.v1.InstanceGroupList

InstanceGroupList.Builder

A list of InstanceGroup resources.

Protobuf type google.cloud.compute.v1.InstanceGroupList

InstanceGroupManager

Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource.

Protobuf type google.cloud.compute.v1.InstanceGroupManager

InstanceGroupManager.Builder

Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource.

Protobuf type google.cloud.compute.v1.InstanceGroupManager

InstanceGroupManagerActionsSummary

Protobuf type google.cloud.compute.v1.InstanceGroupManagerActionsSummary

InstanceGroupManagerActionsSummary.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerActionsSummary

InstanceGroupManagerAggregatedList

Protobuf type google.cloud.compute.v1.InstanceGroupManagerAggregatedList

InstanceGroupManagerAggregatedList.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerAggregatedList

InstanceGroupManagerAutoHealingPolicy

Protobuf type google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy

InstanceGroupManagerAutoHealingPolicy.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerAutoHealingPolicy

InstanceGroupManagerInstanceLifecyclePolicy

Protobuf type google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy

InstanceGroupManagerInstanceLifecyclePolicy.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy

InstanceGroupManagerList

[Output Only] A list of managed instance groups.

Protobuf type google.cloud.compute.v1.InstanceGroupManagerList

InstanceGroupManagerList.Builder

[Output Only] A list of managed instance groups.

Protobuf type google.cloud.compute.v1.InstanceGroupManagerList

InstanceGroupManagerStatus

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatus

InstanceGroupManagerStatus.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatus

InstanceGroupManagerStatusStateful

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusStateful

InstanceGroupManagerStatusStateful.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusStateful

InstanceGroupManagerStatusStatefulPerInstanceConfigs

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs

InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs

InstanceGroupManagerStatusVersionTarget

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget

InstanceGroupManagerStatusVersionTarget.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusVersionTarget

InstanceGroupManagerUpdatePolicy

Protobuf type google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy

InstanceGroupManagerUpdatePolicy.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy

InstanceGroupManagerVersion

Protobuf type google.cloud.compute.v1.InstanceGroupManagerVersion

InstanceGroupManagerVersion.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagerVersion

InstanceGroupManagersAbandonInstancesRequest

Protobuf type google.cloud.compute.v1.InstanceGroupManagersAbandonInstancesRequest

InstanceGroupManagersAbandonInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersAbandonInstancesRequest

InstanceGroupManagersApplyUpdatesRequest

InstanceGroupManagers.applyUpdatesToInstances

Protobuf type google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest

InstanceGroupManagersApplyUpdatesRequest.Builder

InstanceGroupManagers.applyUpdatesToInstances

Protobuf type google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest

InstanceGroupManagersClient

Service Description: The InstanceGroupManagers 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 (InstanceGroupManagersClient instanceGroupManagersClient =
     InstanceGroupManagersClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String instanceGroupManager = "instanceGroupManager-388242077";
   InstanceGroupManager response =
       instanceGroupManagersClient.get(project, zone, instanceGroupManager);
 }
 

Note: close() needs to be called on the InstanceGroupManagersClient 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:

  1. 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.
  2. 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.
  3. 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 InstanceGroupManagersSettings 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
 InstanceGroupManagersSettings instanceGroupManagersSettings =
     InstanceGroupManagersSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InstanceGroupManagersClient instanceGroupManagersClient =
     InstanceGroupManagersClient.create(instanceGroupManagersSettings);
 

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
 InstanceGroupManagersSettings instanceGroupManagersSettings =
     InstanceGroupManagersSettings.newBuilder().setEndpoint(myEndpoint).build();
 InstanceGroupManagersClient instanceGroupManagersClient =
     InstanceGroupManagersClient.create(instanceGroupManagersSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InstanceGroupManagersClient.AggregatedListFixedSizeCollection

InstanceGroupManagersClient.AggregatedListPage

InstanceGroupManagersClient.AggregatedListPagedResponse

InstanceGroupManagersClient.ListErrorsFixedSizeCollection

InstanceGroupManagersClient.ListErrorsPage

InstanceGroupManagersClient.ListErrorsPagedResponse

InstanceGroupManagersClient.ListFixedSizeCollection

InstanceGroupManagersClient.ListManagedInstancesFixedSizeCollection

InstanceGroupManagersClient.ListManagedInstancesPage

InstanceGroupManagersClient.ListManagedInstancesPagedResponse

InstanceGroupManagersClient.ListPage

InstanceGroupManagersClient.ListPagedResponse

InstanceGroupManagersClient.ListPerInstanceConfigsFixedSizeCollection

InstanceGroupManagersClient.ListPerInstanceConfigsPage

InstanceGroupManagersClient.ListPerInstanceConfigsPagedResponse

InstanceGroupManagersCreateInstancesRequest

InstanceGroupManagers.createInstances

Protobuf type google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest

InstanceGroupManagersCreateInstancesRequest.Builder

InstanceGroupManagers.createInstances

Protobuf type google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest

InstanceGroupManagersDeleteInstancesRequest

Protobuf type google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest

InstanceGroupManagersDeleteInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersDeleteInstancesRequest

InstanceGroupManagersDeletePerInstanceConfigsReq

InstanceGroupManagers.deletePerInstanceConfigs

Protobuf type google.cloud.compute.v1.InstanceGroupManagersDeletePerInstanceConfigsReq

InstanceGroupManagersDeletePerInstanceConfigsReq.Builder

InstanceGroupManagers.deletePerInstanceConfigs

Protobuf type google.cloud.compute.v1.InstanceGroupManagersDeletePerInstanceConfigsReq

InstanceGroupManagersListErrorsResponse

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse

InstanceGroupManagersListErrorsResponse.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse

InstanceGroupManagersListManagedInstancesResponse

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse

InstanceGroupManagersListManagedInstancesResponse.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse

InstanceGroupManagersListPerInstanceConfigsResp

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListPerInstanceConfigsResp

InstanceGroupManagersListPerInstanceConfigsResp.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListPerInstanceConfigsResp

InstanceGroupManagersPatchPerInstanceConfigsReq

InstanceGroupManagers.patchPerInstanceConfigs

Protobuf type google.cloud.compute.v1.InstanceGroupManagersPatchPerInstanceConfigsReq

InstanceGroupManagersPatchPerInstanceConfigsReq.Builder

InstanceGroupManagers.patchPerInstanceConfigs

Protobuf type google.cloud.compute.v1.InstanceGroupManagersPatchPerInstanceConfigsReq

InstanceGroupManagersRecreateInstancesRequest

Protobuf type google.cloud.compute.v1.InstanceGroupManagersRecreateInstancesRequest

InstanceGroupManagersRecreateInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersRecreateInstancesRequest

InstanceGroupManagersScopedList

Protobuf type google.cloud.compute.v1.InstanceGroupManagersScopedList

InstanceGroupManagersScopedList.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersScopedList

InstanceGroupManagersSetInstanceTemplateRequest

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest

InstanceGroupManagersSetInstanceTemplateRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetInstanceTemplateRequest

InstanceGroupManagersSetTargetPoolsRequest

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest

InstanceGroupManagersSetTargetPoolsRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersSetTargetPoolsRequest

InstanceGroupManagersSettings

Settings class to configure an instance of InstanceGroupManagersClient.

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
 InstanceGroupManagersSettings.Builder instanceGroupManagersSettingsBuilder =
     InstanceGroupManagersSettings.newBuilder();
 instanceGroupManagersSettingsBuilder
     .getSettings()
     .setRetrySettings(
         instanceGroupManagersSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InstanceGroupManagersSettings instanceGroupManagersSettings =
     instanceGroupManagersSettingsBuilder.build();
 

InstanceGroupManagersSettings.Builder

Builder for InstanceGroupManagersSettings.

InstanceGroupManagersUpdatePerInstanceConfigsReq

InstanceGroupManagers.updatePerInstanceConfigs

Protobuf type google.cloud.compute.v1.InstanceGroupManagersUpdatePerInstanceConfigsReq

InstanceGroupManagersUpdatePerInstanceConfigsReq.Builder

InstanceGroupManagers.updatePerInstanceConfigs

Protobuf type google.cloud.compute.v1.InstanceGroupManagersUpdatePerInstanceConfigsReq

InstanceGroupsAddInstancesRequest

Protobuf type google.cloud.compute.v1.InstanceGroupsAddInstancesRequest

InstanceGroupsAddInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupsAddInstancesRequest

InstanceGroupsClient

Service Description: The InstanceGroups 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 (InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String instanceGroup = "instanceGroup-1404696854";
   InstanceGroup response = instanceGroupsClient.get(project, zone, instanceGroup);
 }
 

Note: close() needs to be called on the InstanceGroupsClient 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:

  1. 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.
  2. 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.
  3. 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 InstanceGroupsSettings 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
 InstanceGroupsSettings instanceGroupsSettings =
     InstanceGroupsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.create(instanceGroupsSettings);
 

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
 InstanceGroupsSettings instanceGroupsSettings =
     InstanceGroupsSettings.newBuilder().setEndpoint(myEndpoint).build();
 InstanceGroupsClient instanceGroupsClient = InstanceGroupsClient.create(instanceGroupsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InstanceGroupsClient.AggregatedListFixedSizeCollection

InstanceGroupsClient.AggregatedListPage

InstanceGroupsClient.AggregatedListPagedResponse

InstanceGroupsClient.ListFixedSizeCollection

InstanceGroupsClient.ListInstancesFixedSizeCollection

InstanceGroupsClient.ListInstancesPage

InstanceGroupsClient.ListInstancesPagedResponse

InstanceGroupsClient.ListPage

InstanceGroupsClient.ListPagedResponse

InstanceGroupsListInstances

Protobuf type google.cloud.compute.v1.InstanceGroupsListInstances

InstanceGroupsListInstances.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupsListInstances

InstanceGroupsListInstancesRequest

Protobuf type google.cloud.compute.v1.InstanceGroupsListInstancesRequest

InstanceGroupsListInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupsListInstancesRequest

InstanceGroupsRemoveInstancesRequest

Protobuf type google.cloud.compute.v1.InstanceGroupsRemoveInstancesRequest

InstanceGroupsRemoveInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupsRemoveInstancesRequest

InstanceGroupsScopedList

Protobuf type google.cloud.compute.v1.InstanceGroupsScopedList

InstanceGroupsScopedList.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupsScopedList

InstanceGroupsSetNamedPortsRequest

Protobuf type google.cloud.compute.v1.InstanceGroupsSetNamedPortsRequest

InstanceGroupsSetNamedPortsRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceGroupsSetNamedPortsRequest

InstanceGroupsSettings

Settings class to configure an instance of InstanceGroupsClient.

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
 InstanceGroupsSettings.Builder instanceGroupsSettingsBuilder =
     InstanceGroupsSettings.newBuilder();
 instanceGroupsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         instanceGroupsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InstanceGroupsSettings instanceGroupsSettings = instanceGroupsSettingsBuilder.build();
 

InstanceGroupsSettings.Builder

Builder for InstanceGroupsSettings.

InstanceList

Contains a list of instances.

Protobuf type google.cloud.compute.v1.InstanceList

InstanceList.Builder

Contains a list of instances.

Protobuf type google.cloud.compute.v1.InstanceList

InstanceListReferrers

Contains a list of instance referrers.

Protobuf type google.cloud.compute.v1.InstanceListReferrers

InstanceListReferrers.Builder

Contains a list of instance referrers.

Protobuf type google.cloud.compute.v1.InstanceListReferrers

InstanceManagedByIgmError

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmError

InstanceManagedByIgmError.Builder

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmError

InstanceManagedByIgmErrorInstanceActionDetails

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails

InstanceManagedByIgmErrorInstanceActionDetails.Builder

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails

InstanceManagedByIgmErrorManagedInstanceError

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError

InstanceManagedByIgmErrorManagedInstanceError.Builder

Protobuf type google.cloud.compute.v1.InstanceManagedByIgmErrorManagedInstanceError

InstanceMoveRequest

Protobuf type google.cloud.compute.v1.InstanceMoveRequest

InstanceMoveRequest.Builder

Protobuf type google.cloud.compute.v1.InstanceMoveRequest

InstanceParams

Additional instance params.

Protobuf type google.cloud.compute.v1.InstanceParams

InstanceParams.Builder

Additional instance params.

Protobuf type google.cloud.compute.v1.InstanceParams

InstanceProperties

Protobuf type google.cloud.compute.v1.InstanceProperties

InstanceProperties.Builder

Protobuf type google.cloud.compute.v1.InstanceProperties

InstanceReference

Protobuf type google.cloud.compute.v1.InstanceReference

InstanceReference.Builder

Protobuf type google.cloud.compute.v1.InstanceReference

InstanceTemplate

Represents an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates.

Protobuf type google.cloud.compute.v1.InstanceTemplate

InstanceTemplate.Builder

Represents an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates.

Protobuf type google.cloud.compute.v1.InstanceTemplate

InstanceTemplateAggregatedList

Contains a list of InstanceTemplatesScopedList.

Protobuf type google.cloud.compute.v1.InstanceTemplateAggregatedList

InstanceTemplateAggregatedList.Builder

Contains a list of InstanceTemplatesScopedList.

Protobuf type google.cloud.compute.v1.InstanceTemplateAggregatedList

InstanceTemplateList

A list of instance templates.

Protobuf type google.cloud.compute.v1.InstanceTemplateList

InstanceTemplateList.Builder

A list of instance templates.

Protobuf type google.cloud.compute.v1.InstanceTemplateList

InstanceTemplatesClient

Service Description: The InstanceTemplates 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 (InstanceTemplatesClient instanceTemplatesClient = InstanceTemplatesClient.create()) {
   String project = "project-309310695";
   String instanceTemplate = "instanceTemplate1009541167";
   InstanceTemplate response = instanceTemplatesClient.get(project, instanceTemplate);
 }
 

Note: close() needs to be called on the InstanceTemplatesClient 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:

  1. 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.
  2. 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.
  3. 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 InstanceTemplatesSettings 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
 InstanceTemplatesSettings instanceTemplatesSettings =
     InstanceTemplatesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InstanceTemplatesClient instanceTemplatesClient =
     InstanceTemplatesClient.create(instanceTemplatesSettings);
 

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
 InstanceTemplatesSettings instanceTemplatesSettings =
     InstanceTemplatesSettings.newBuilder().setEndpoint(myEndpoint).build();
 InstanceTemplatesClient instanceTemplatesClient =
     InstanceTemplatesClient.create(instanceTemplatesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InstanceTemplatesClient.AggregatedListFixedSizeCollection

InstanceTemplatesClient.AggregatedListPage

InstanceTemplatesClient.AggregatedListPagedResponse

InstanceTemplatesClient.ListFixedSizeCollection

InstanceTemplatesClient.ListPage

InstanceTemplatesClient.ListPagedResponse

InstanceTemplatesScopedList

Protobuf type google.cloud.compute.v1.InstanceTemplatesScopedList

InstanceTemplatesScopedList.Builder

Protobuf type google.cloud.compute.v1.InstanceTemplatesScopedList

InstanceTemplatesSettings

Settings class to configure an instance of InstanceTemplatesClient.

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
 InstanceTemplatesSettings.Builder instanceTemplatesSettingsBuilder =
     InstanceTemplatesSettings.newBuilder();
 instanceTemplatesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         instanceTemplatesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InstanceTemplatesSettings instanceTemplatesSettings = instanceTemplatesSettingsBuilder.build();
 

InstanceTemplatesSettings.Builder

Builder for InstanceTemplatesSettings.

InstanceWithNamedPorts

Protobuf type google.cloud.compute.v1.InstanceWithNamedPorts

InstanceWithNamedPorts.Builder

Protobuf type google.cloud.compute.v1.InstanceWithNamedPorts

InstancesAddResourcePoliciesRequest

Protobuf type google.cloud.compute.v1.InstancesAddResourcePoliciesRequest

InstancesAddResourcePoliciesRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesAddResourcePoliciesRequest

InstancesClient

Service Description: The Instances 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 (InstancesClient instancesClient = InstancesClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String instance = "instance555127957";
   Instance response = instancesClient.get(project, zone, instance);
 }
 

Note: close() needs to be called on the InstancesClient 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:

  1. 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.
  2. 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.
  3. 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 InstancesSettings 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
 InstancesSettings instancesSettings =
     InstancesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InstancesClient instancesClient = InstancesClient.create(instancesSettings);
 

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
 InstancesSettings instancesSettings =
     InstancesSettings.newBuilder().setEndpoint(myEndpoint).build();
 InstancesClient instancesClient = InstancesClient.create(instancesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InstancesClient.AggregatedListFixedSizeCollection

InstancesClient.AggregatedListPage

InstancesClient.AggregatedListPagedResponse

InstancesClient.ListFixedSizeCollection

InstancesClient.ListPage

InstancesClient.ListPagedResponse

InstancesClient.ListReferrersFixedSizeCollection

InstancesClient.ListReferrersPage

InstancesClient.ListReferrersPagedResponse

InstancesGetEffectiveFirewallsResponse

Protobuf type google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponse

InstancesGetEffectiveFirewallsResponse.Builder

Protobuf type google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponse

InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

Protobuf type google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

Protobuf type google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

InstancesRemoveResourcePoliciesRequest

Protobuf type google.cloud.compute.v1.InstancesRemoveResourcePoliciesRequest

InstancesRemoveResourcePoliciesRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesRemoveResourcePoliciesRequest

InstancesScopedList

Protobuf type google.cloud.compute.v1.InstancesScopedList

InstancesScopedList.Builder

Protobuf type google.cloud.compute.v1.InstancesScopedList

InstancesSetLabelsRequest

Protobuf type google.cloud.compute.v1.InstancesSetLabelsRequest

InstancesSetLabelsRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesSetLabelsRequest

InstancesSetMachineResourcesRequest

Protobuf type google.cloud.compute.v1.InstancesSetMachineResourcesRequest

InstancesSetMachineResourcesRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesSetMachineResourcesRequest

InstancesSetMachineTypeRequest

Protobuf type google.cloud.compute.v1.InstancesSetMachineTypeRequest

InstancesSetMachineTypeRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesSetMachineTypeRequest

InstancesSetMinCpuPlatformRequest

Protobuf type google.cloud.compute.v1.InstancesSetMinCpuPlatformRequest

InstancesSetMinCpuPlatformRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesSetMinCpuPlatformRequest

InstancesSetNameRequest

Protobuf type google.cloud.compute.v1.InstancesSetNameRequest

InstancesSetNameRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesSetNameRequest

InstancesSetServiceAccountRequest

Protobuf type google.cloud.compute.v1.InstancesSetServiceAccountRequest

InstancesSetServiceAccountRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesSetServiceAccountRequest

InstancesSettings

Settings class to configure an instance of InstancesClient.

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
 InstancesSettings.Builder instancesSettingsBuilder = InstancesSettings.newBuilder();
 instancesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         instancesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InstancesSettings instancesSettings = instancesSettingsBuilder.build();
 

InstancesSettings.Builder

Builder for InstancesSettings.

InstancesStartWithEncryptionKeyRequest

Protobuf type google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest

InstancesStartWithEncryptionKeyRequest.Builder

Protobuf type google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest

Int64RangeMatch

HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.

Protobuf type google.cloud.compute.v1.Int64RangeMatch

Int64RangeMatch.Builder

HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.

Protobuf type google.cloud.compute.v1.Int64RangeMatch

Interconnect

Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the Google Cloud network and your on-premises network. For more information, read the Dedicated Interconnect Overview.

Protobuf type google.cloud.compute.v1.Interconnect

Interconnect.Builder

Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the Google Cloud network and your on-premises network. For more information, read the Dedicated Interconnect Overview.

Protobuf type google.cloud.compute.v1.Interconnect

InterconnectAttachment

Represents an Interconnect Attachment (VLAN) resource. You can use Interconnect attachments (VLANS) to connect your Virtual Private Cloud networks to your on-premises networks through an Interconnect. For more information, read Creating VLAN Attachments.

Protobuf type google.cloud.compute.v1.InterconnectAttachment

InterconnectAttachment.Builder

Represents an Interconnect Attachment (VLAN) resource. You can use Interconnect attachments (VLANS) to connect your Virtual Private Cloud networks to your on-premises networks through an Interconnect. For more information, read Creating VLAN Attachments.

Protobuf type google.cloud.compute.v1.InterconnectAttachment

InterconnectAttachmentAggregatedList

Protobuf type google.cloud.compute.v1.InterconnectAttachmentAggregatedList

InterconnectAttachmentAggregatedList.Builder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentAggregatedList

InterconnectAttachmentConfigurationConstraints

Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints

InterconnectAttachmentConfigurationConstraints.Builder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints

InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange.Builder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange

InterconnectAttachmentList

Response to the list request, and contains a list of interconnect attachments.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentList

InterconnectAttachmentList.Builder

Response to the list request, and contains a list of interconnect attachments.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentList

InterconnectAttachmentPartnerMetadata

Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata

InterconnectAttachmentPartnerMetadata.Builder

Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentPartnerMetadata

InterconnectAttachmentPrivateInfo

Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentPrivateInfo

InterconnectAttachmentPrivateInfo.Builder

Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED.

Protobuf type google.cloud.compute.v1.InterconnectAttachmentPrivateInfo

InterconnectAttachmentsClient

Service Description: The InterconnectAttachments 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 (InterconnectAttachmentsClient interconnectAttachmentsClient =
     InterconnectAttachmentsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String interconnectAttachment = "interconnectAttachment1869250641";
   InterconnectAttachment response =
       interconnectAttachmentsClient.get(project, region, interconnectAttachment);
 }
 

Note: close() needs to be called on the InterconnectAttachmentsClient 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:

  1. 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.
  2. 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.
  3. 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 InterconnectAttachmentsSettings 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
 InterconnectAttachmentsSettings interconnectAttachmentsSettings =
     InterconnectAttachmentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InterconnectAttachmentsClient interconnectAttachmentsClient =
     InterconnectAttachmentsClient.create(interconnectAttachmentsSettings);
 

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
 InterconnectAttachmentsSettings interconnectAttachmentsSettings =
     InterconnectAttachmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 InterconnectAttachmentsClient interconnectAttachmentsClient =
     InterconnectAttachmentsClient.create(interconnectAttachmentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InterconnectAttachmentsClient.AggregatedListFixedSizeCollection

InterconnectAttachmentsClient.AggregatedListPage

InterconnectAttachmentsClient.AggregatedListPagedResponse

InterconnectAttachmentsClient.ListFixedSizeCollection

InterconnectAttachmentsClient.ListPage

InterconnectAttachmentsClient.ListPagedResponse

InterconnectAttachmentsScopedList

Protobuf type google.cloud.compute.v1.InterconnectAttachmentsScopedList

InterconnectAttachmentsScopedList.Builder

Protobuf type google.cloud.compute.v1.InterconnectAttachmentsScopedList

InterconnectAttachmentsSettings

Settings class to configure an instance of InterconnectAttachmentsClient.

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
 InterconnectAttachmentsSettings.Builder interconnectAttachmentsSettingsBuilder =
     InterconnectAttachmentsSettings.newBuilder();
 interconnectAttachmentsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         interconnectAttachmentsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InterconnectAttachmentsSettings interconnectAttachmentsSettings =
     interconnectAttachmentsSettingsBuilder.build();
 

InterconnectAttachmentsSettings.Builder

Builder for InterconnectAttachmentsSettings.

InterconnectCircuitInfo

Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.

Protobuf type google.cloud.compute.v1.InterconnectCircuitInfo

InterconnectCircuitInfo.Builder

Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only.

Protobuf type google.cloud.compute.v1.InterconnectCircuitInfo

InterconnectDiagnostics

Diagnostics information about the Interconnect connection, which contains detailed and current technical information about Google's side of the connection.

Protobuf type google.cloud.compute.v1.InterconnectDiagnostics

InterconnectDiagnostics.Builder

Diagnostics information about the Interconnect connection, which contains detailed and current technical information about Google's side of the connection.

Protobuf type google.cloud.compute.v1.InterconnectDiagnostics

InterconnectDiagnosticsARPEntry

Describing the ARP neighbor entries seen on this link

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsARPEntry

InterconnectDiagnosticsARPEntry.Builder

Describing the ARP neighbor entries seen on this link

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsARPEntry

InterconnectDiagnosticsLinkLACPStatus

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus

InterconnectDiagnosticsLinkLACPStatus.Builder

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus

InterconnectDiagnosticsLinkOpticalPower

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower

InterconnectDiagnosticsLinkOpticalPower.Builder

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower

InterconnectDiagnosticsLinkStatus

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus

InterconnectDiagnosticsLinkStatus.Builder

Protobuf type google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus

InterconnectList

Response to the list request, and contains a list of interconnects.

Protobuf type google.cloud.compute.v1.InterconnectList

InterconnectList.Builder

Response to the list request, and contains a list of interconnects.

Protobuf type google.cloud.compute.v1.InterconnectList

InterconnectLocation

Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.

Protobuf type google.cloud.compute.v1.InterconnectLocation

InterconnectLocation.Builder

Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments.

Protobuf type google.cloud.compute.v1.InterconnectLocation

InterconnectLocationList

Response to the list request, and contains a list of interconnect locations.

Protobuf type google.cloud.compute.v1.InterconnectLocationList

InterconnectLocationList.Builder

Response to the list request, and contains a list of interconnect locations.

Protobuf type google.cloud.compute.v1.InterconnectLocationList

InterconnectLocationRegionInfo

Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.

Protobuf type google.cloud.compute.v1.InterconnectLocationRegionInfo

InterconnectLocationRegionInfo.Builder

Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region.

Protobuf type google.cloud.compute.v1.InterconnectLocationRegionInfo

InterconnectLocationsClient

Service Description: The InterconnectLocations 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 (InterconnectLocationsClient interconnectLocationsClient =
     InterconnectLocationsClient.create()) {
   String project = "project-309310695";
   String interconnectLocation = "interconnectLocation220117603";
   InterconnectLocation response =
       interconnectLocationsClient.get(project, interconnectLocation);
 }
 

Note: close() needs to be called on the InterconnectLocationsClient 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:

  1. 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.
  2. 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.
  3. 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 InterconnectLocationsSettings 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
 InterconnectLocationsSettings interconnectLocationsSettings =
     InterconnectLocationsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InterconnectLocationsClient interconnectLocationsClient =
     InterconnectLocationsClient.create(interconnectLocationsSettings);
 

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
 InterconnectLocationsSettings interconnectLocationsSettings =
     InterconnectLocationsSettings.newBuilder().setEndpoint(myEndpoint).build();
 InterconnectLocationsClient interconnectLocationsClient =
     InterconnectLocationsClient.create(interconnectLocationsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InterconnectLocationsClient.ListFixedSizeCollection

InterconnectLocationsClient.ListPage

InterconnectLocationsClient.ListPagedResponse

InterconnectLocationsSettings

Settings class to configure an instance of InterconnectLocationsClient.

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
 InterconnectLocationsSettings.Builder interconnectLocationsSettingsBuilder =
     InterconnectLocationsSettings.newBuilder();
 interconnectLocationsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         interconnectLocationsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InterconnectLocationsSettings interconnectLocationsSettings =
     interconnectLocationsSettingsBuilder.build();
 

InterconnectLocationsSettings.Builder

Builder for InterconnectLocationsSettings.

InterconnectOutageNotification

Description of a planned outage on this Interconnect.

Protobuf type google.cloud.compute.v1.InterconnectOutageNotification

InterconnectOutageNotification.Builder

Description of a planned outage on this Interconnect.

Protobuf type google.cloud.compute.v1.InterconnectOutageNotification

InterconnectRemoteLocation

Represents a Cross-Cloud Interconnect Remote Location resource. You can use this resource to find remote location details about an Interconnect attachment (VLAN).

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocation

InterconnectRemoteLocation.Builder

Represents a Cross-Cloud Interconnect Remote Location resource. You can use this resource to find remote location details about an Interconnect attachment (VLAN).

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocation

InterconnectRemoteLocationConstraints

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraints

InterconnectRemoteLocationConstraints.Builder

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraints

InterconnectRemoteLocationConstraintsSubnetLengthRange

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraintsSubnetLengthRange

InterconnectRemoteLocationConstraintsSubnetLengthRange.Builder

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationConstraintsSubnetLengthRange

InterconnectRemoteLocationList

Response to the list request, and contains a list of interconnect remote locations.

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationList

InterconnectRemoteLocationList.Builder

Response to the list request, and contains a list of interconnect remote locations.

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationList

InterconnectRemoteLocationPermittedConnections

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationPermittedConnections

InterconnectRemoteLocationPermittedConnections.Builder

Protobuf type google.cloud.compute.v1.InterconnectRemoteLocationPermittedConnections

InterconnectRemoteLocationsClient

Service Description: The InterconnectRemoteLocations 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 (InterconnectRemoteLocationsClient interconnectRemoteLocationsClient =
     InterconnectRemoteLocationsClient.create()) {
   String project = "project-309310695";
   String interconnectRemoteLocation = "interconnectRemoteLocation-993839543";
   InterconnectRemoteLocation response =
       interconnectRemoteLocationsClient.get(project, interconnectRemoteLocation);
 }
 

Note: close() needs to be called on the InterconnectRemoteLocationsClient 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:

  1. 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.
  2. 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.
  3. 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 InterconnectRemoteLocationsSettings 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
 InterconnectRemoteLocationsSettings interconnectRemoteLocationsSettings =
     InterconnectRemoteLocationsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InterconnectRemoteLocationsClient interconnectRemoteLocationsClient =
     InterconnectRemoteLocationsClient.create(interconnectRemoteLocationsSettings);
 

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
 InterconnectRemoteLocationsSettings interconnectRemoteLocationsSettings =
     InterconnectRemoteLocationsSettings.newBuilder().setEndpoint(myEndpoint).build();
 InterconnectRemoteLocationsClient interconnectRemoteLocationsClient =
     InterconnectRemoteLocationsClient.create(interconnectRemoteLocationsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InterconnectRemoteLocationsClient.ListFixedSizeCollection

InterconnectRemoteLocationsClient.ListPage

InterconnectRemoteLocationsClient.ListPagedResponse

InterconnectRemoteLocationsSettings

Settings class to configure an instance of InterconnectRemoteLocationsClient.

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
 InterconnectRemoteLocationsSettings.Builder interconnectRemoteLocationsSettingsBuilder =
     InterconnectRemoteLocationsSettings.newBuilder();
 interconnectRemoteLocationsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         interconnectRemoteLocationsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InterconnectRemoteLocationsSettings interconnectRemoteLocationsSettings =
     interconnectRemoteLocationsSettingsBuilder.build();
 

InterconnectRemoteLocationsSettings.Builder

Builder for InterconnectRemoteLocationsSettings.

InterconnectsClient

Service Description: The Interconnects 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 (InterconnectsClient interconnectsClient = InterconnectsClient.create()) {
   String project = "project-309310695";
   String interconnect = "interconnect-849140594";
   Interconnect response = interconnectsClient.get(project, interconnect);
 }
 

Note: close() needs to be called on the InterconnectsClient 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:

  1. 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.
  2. 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.
  3. 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 InterconnectsSettings 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
 InterconnectsSettings interconnectsSettings =
     InterconnectsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 InterconnectsClient interconnectsClient = InterconnectsClient.create(interconnectsSettings);
 

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
 InterconnectsSettings interconnectsSettings =
     InterconnectsSettings.newBuilder().setEndpoint(myEndpoint).build();
 InterconnectsClient interconnectsClient = InterconnectsClient.create(interconnectsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

InterconnectsClient.ListFixedSizeCollection

InterconnectsClient.ListPage

InterconnectsClient.ListPagedResponse

InterconnectsGetDiagnosticsResponse

Response for the InterconnectsGetDiagnosticsRequest.

Protobuf type google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse

InterconnectsGetDiagnosticsResponse.Builder

Response for the InterconnectsGetDiagnosticsRequest.

Protobuf type google.cloud.compute.v1.InterconnectsGetDiagnosticsResponse

InterconnectsSettings

Settings class to configure an instance of InterconnectsClient.

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
 InterconnectsSettings.Builder interconnectsSettingsBuilder = InterconnectsSettings.newBuilder();
 interconnectsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         interconnectsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 InterconnectsSettings interconnectsSettings = interconnectsSettingsBuilder.build();
 

InterconnectsSettings.Builder

Builder for InterconnectsSettings.

InvalidateCacheUrlMapRequest

A request message for UrlMaps.InvalidateCache. See the method description for details.

Protobuf type google.cloud.compute.v1.InvalidateCacheUrlMapRequest

InvalidateCacheUrlMapRequest.Builder

A request message for UrlMaps.InvalidateCache. See the method description for details.

Protobuf type google.cloud.compute.v1.InvalidateCacheUrlMapRequest

Items

Metadata

Protobuf type google.cloud.compute.v1.Items

Items.Builder

Metadata

Protobuf type google.cloud.compute.v1.Items

License

Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Protobuf type google.cloud.compute.v1.License

License.Builder

Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Protobuf type google.cloud.compute.v1.License

LicenseCode

Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Protobuf type google.cloud.compute.v1.LicenseCode

LicenseCode.Builder

Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Protobuf type google.cloud.compute.v1.LicenseCode

LicenseCodeLicenseAlias

Protobuf type google.cloud.compute.v1.LicenseCodeLicenseAlias

LicenseCodeLicenseAlias.Builder

Protobuf type google.cloud.compute.v1.LicenseCodeLicenseAlias

LicenseCodesClient

Service Description: The LicenseCodes 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 (LicenseCodesClient licenseCodesClient = LicenseCodesClient.create()) {
   String project = "project-309310695";
   String licenseCode = "licenseCode-641557042";
   LicenseCode response = licenseCodesClient.get(project, licenseCode);
 }
 

Note: close() needs to be called on the LicenseCodesClient 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:

  1. 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.
  2. 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.
  3. 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 LicenseCodesSettings 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
 LicenseCodesSettings licenseCodesSettings =
     LicenseCodesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 LicenseCodesClient licenseCodesClient = LicenseCodesClient.create(licenseCodesSettings);
 

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
 LicenseCodesSettings licenseCodesSettings =
     LicenseCodesSettings.newBuilder().setEndpoint(myEndpoint).build();
 LicenseCodesClient licenseCodesClient = LicenseCodesClient.create(licenseCodesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

LicenseCodesSettings

Settings class to configure an instance of LicenseCodesClient.

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
 LicenseCodesSettings.Builder licenseCodesSettingsBuilder = LicenseCodesSettings.newBuilder();
 licenseCodesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         licenseCodesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 LicenseCodesSettings licenseCodesSettings = licenseCodesSettingsBuilder.build();
 

LicenseCodesSettings.Builder

Builder for LicenseCodesSettings.

LicenseResourceCommitment

Commitment for a particular license resource.

Protobuf type google.cloud.compute.v1.LicenseResourceCommitment

LicenseResourceCommitment.Builder

Commitment for a particular license resource.

Protobuf type google.cloud.compute.v1.LicenseResourceCommitment

LicenseResourceRequirements

Protobuf type google.cloud.compute.v1.LicenseResourceRequirements

LicenseResourceRequirements.Builder

Protobuf type google.cloud.compute.v1.LicenseResourceRequirements

LicensesClient

Service Description: The Licenses 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 (LicensesClient licensesClient = LicensesClient.create()) {
   String project = "project-309310695";
   String license = "license166757441";
   License response = licensesClient.get(project, license);
 }
 

Note: close() needs to be called on the LicensesClient 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:

  1. 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.
  2. 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.
  3. 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 LicensesSettings 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
 LicensesSettings licensesSettings =
     LicensesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 LicensesClient licensesClient = LicensesClient.create(licensesSettings);
 

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
 LicensesSettings licensesSettings =
     LicensesSettings.newBuilder().setEndpoint(myEndpoint).build();
 LicensesClient licensesClient = LicensesClient.create(licensesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

LicensesClient.ListFixedSizeCollection

LicensesClient.ListPage

LicensesClient.ListPagedResponse

LicensesListResponse

Protobuf type google.cloud.compute.v1.LicensesListResponse

LicensesListResponse.Builder

Protobuf type google.cloud.compute.v1.LicensesListResponse

LicensesSettings

Settings class to configure an instance of LicensesClient.

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
 LicensesSettings.Builder licensesSettingsBuilder = LicensesSettings.newBuilder();
 licensesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         licensesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 LicensesSettings licensesSettings = licensesSettingsBuilder.build();
 

LicensesSettings.Builder

Builder for LicensesSettings.

ListAcceleratorTypesRequest

A request message for AcceleratorTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAcceleratorTypesRequest

ListAcceleratorTypesRequest.Builder

A request message for AcceleratorTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAcceleratorTypesRequest

ListAddressesRequest

A request message for Addresses.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAddressesRequest

ListAddressesRequest.Builder

A request message for Addresses.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAddressesRequest

ListAssociationsFirewallPolicyRequest

A request message for FirewallPolicies.ListAssociations. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAssociationsFirewallPolicyRequest

ListAssociationsFirewallPolicyRequest.Builder

A request message for FirewallPolicies.ListAssociations. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAssociationsFirewallPolicyRequest

ListAutoscalersRequest

A request message for Autoscalers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAutoscalersRequest

ListAutoscalersRequest.Builder

A request message for Autoscalers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAutoscalersRequest

ListAvailableFeaturesRegionSslPoliciesRequest

A request message for RegionSslPolicies.ListAvailableFeatures. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAvailableFeaturesRegionSslPoliciesRequest

ListAvailableFeaturesRegionSslPoliciesRequest.Builder

A request message for RegionSslPolicies.ListAvailableFeatures. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAvailableFeaturesRegionSslPoliciesRequest

ListAvailableFeaturesSslPoliciesRequest

A request message for SslPolicies.ListAvailableFeatures. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAvailableFeaturesSslPoliciesRequest

ListAvailableFeaturesSslPoliciesRequest.Builder

A request message for SslPolicies.ListAvailableFeatures. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAvailableFeaturesSslPoliciesRequest

ListBackendBucketsRequest

A request message for BackendBuckets.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListBackendBucketsRequest

ListBackendBucketsRequest.Builder

A request message for BackendBuckets.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListBackendBucketsRequest

ListBackendServicesRequest

A request message for BackendServices.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListBackendServicesRequest

ListBackendServicesRequest.Builder

A request message for BackendServices.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListBackendServicesRequest

ListDiskTypesRequest

A request message for DiskTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListDiskTypesRequest

ListDiskTypesRequest.Builder

A request message for DiskTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListDiskTypesRequest

ListDisksRequest

A request message for Disks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListDisksRequest

ListDisksRequest.Builder

A request message for Disks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListDisksRequest

ListErrorsInstanceGroupManagersRequest

A request message for InstanceGroupManagers.ListErrors. See the method description for details.

Protobuf type google.cloud.compute.v1.ListErrorsInstanceGroupManagersRequest

ListErrorsInstanceGroupManagersRequest.Builder

A request message for InstanceGroupManagers.ListErrors. See the method description for details.

Protobuf type google.cloud.compute.v1.ListErrorsInstanceGroupManagersRequest

ListErrorsRegionInstanceGroupManagersRequest

A request message for RegionInstanceGroupManagers.ListErrors. See the method description for details.

Protobuf type google.cloud.compute.v1.ListErrorsRegionInstanceGroupManagersRequest

ListErrorsRegionInstanceGroupManagersRequest.Builder

A request message for RegionInstanceGroupManagers.ListErrors. See the method description for details.

Protobuf type google.cloud.compute.v1.ListErrorsRegionInstanceGroupManagersRequest

ListExternalVpnGatewaysRequest

A request message for ExternalVpnGateways.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListExternalVpnGatewaysRequest

ListExternalVpnGatewaysRequest.Builder

A request message for ExternalVpnGateways.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListExternalVpnGatewaysRequest

ListFirewallPoliciesRequest

A request message for FirewallPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListFirewallPoliciesRequest

ListFirewallPoliciesRequest.Builder

A request message for FirewallPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListFirewallPoliciesRequest

ListFirewallsRequest

A request message for Firewalls.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListFirewallsRequest

ListFirewallsRequest.Builder

A request message for Firewalls.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListFirewallsRequest

ListForwardingRulesRequest

A request message for ForwardingRules.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListForwardingRulesRequest

ListForwardingRulesRequest.Builder

A request message for ForwardingRules.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListForwardingRulesRequest

ListGlobalAddressesRequest

A request message for GlobalAddresses.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalAddressesRequest

ListGlobalAddressesRequest.Builder

A request message for GlobalAddresses.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalAddressesRequest

ListGlobalForwardingRulesRequest

A request message for GlobalForwardingRules.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalForwardingRulesRequest

ListGlobalForwardingRulesRequest.Builder

A request message for GlobalForwardingRules.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalForwardingRulesRequest

ListGlobalNetworkEndpointGroupsRequest

A request message for GlobalNetworkEndpointGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalNetworkEndpointGroupsRequest

ListGlobalNetworkEndpointGroupsRequest.Builder

A request message for GlobalNetworkEndpointGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalNetworkEndpointGroupsRequest

ListGlobalOperationsRequest

A request message for GlobalOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalOperationsRequest

ListGlobalOperationsRequest.Builder

A request message for GlobalOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalOperationsRequest

ListGlobalOrganizationOperationsRequest

A request message for GlobalOrganizationOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest

ListGlobalOrganizationOperationsRequest.Builder

A request message for GlobalOrganizationOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest

ListGlobalPublicDelegatedPrefixesRequest

A request message for GlobalPublicDelegatedPrefixes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalPublicDelegatedPrefixesRequest

ListGlobalPublicDelegatedPrefixesRequest.Builder

A request message for GlobalPublicDelegatedPrefixes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListGlobalPublicDelegatedPrefixesRequest

ListHealthChecksRequest

A request message for HealthChecks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListHealthChecksRequest

ListHealthChecksRequest.Builder

A request message for HealthChecks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListHealthChecksRequest

ListImagesRequest

A request message for Images.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListImagesRequest

ListImagesRequest.Builder

A request message for Images.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListImagesRequest

ListInstanceGroupManagersRequest

A request message for InstanceGroupManagers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstanceGroupManagersRequest

ListInstanceGroupManagersRequest.Builder

A request message for InstanceGroupManagers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstanceGroupManagersRequest

ListInstanceGroupsRequest

A request message for InstanceGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstanceGroupsRequest

ListInstanceGroupsRequest.Builder

A request message for InstanceGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstanceGroupsRequest

ListInstanceTemplatesRequest

A request message for InstanceTemplates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstanceTemplatesRequest

ListInstanceTemplatesRequest.Builder

A request message for InstanceTemplates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstanceTemplatesRequest

ListInstancesInstanceGroupsRequest

A request message for InstanceGroups.ListInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstancesInstanceGroupsRequest

ListInstancesInstanceGroupsRequest.Builder

A request message for InstanceGroups.ListInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstancesInstanceGroupsRequest

ListInstancesRegionInstanceGroupsRequest

A request message for RegionInstanceGroups.ListInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstancesRegionInstanceGroupsRequest

ListInstancesRegionInstanceGroupsRequest.Builder

A request message for RegionInstanceGroups.ListInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstancesRegionInstanceGroupsRequest

ListInstancesRequest

A request message for Instances.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstancesRequest

ListInstancesRequest.Builder

A request message for Instances.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInstancesRequest

ListInterconnectAttachmentsRequest

A request message for InterconnectAttachments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectAttachmentsRequest

ListInterconnectAttachmentsRequest.Builder

A request message for InterconnectAttachments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectAttachmentsRequest

ListInterconnectLocationsRequest

A request message for InterconnectLocations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectLocationsRequest

ListInterconnectLocationsRequest.Builder

A request message for InterconnectLocations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectLocationsRequest

ListInterconnectRemoteLocationsRequest

A request message for InterconnectRemoteLocations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectRemoteLocationsRequest

ListInterconnectRemoteLocationsRequest.Builder

A request message for InterconnectRemoteLocations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectRemoteLocationsRequest

ListInterconnectsRequest

A request message for Interconnects.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectsRequest

ListInterconnectsRequest.Builder

A request message for Interconnects.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListInterconnectsRequest

ListLicensesRequest

A request message for Licenses.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListLicensesRequest

ListLicensesRequest.Builder

A request message for Licenses.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListLicensesRequest

ListMachineImagesRequest

A request message for MachineImages.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListMachineImagesRequest

ListMachineImagesRequest.Builder

A request message for MachineImages.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListMachineImagesRequest

ListMachineTypesRequest

A request message for MachineTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListMachineTypesRequest

ListMachineTypesRequest.Builder

A request message for MachineTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListMachineTypesRequest

ListManagedInstancesInstanceGroupManagersRequest

A request message for InstanceGroupManagers.ListManagedInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListManagedInstancesInstanceGroupManagersRequest

ListManagedInstancesInstanceGroupManagersRequest.Builder

A request message for InstanceGroupManagers.ListManagedInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListManagedInstancesInstanceGroupManagersRequest

ListManagedInstancesRegionInstanceGroupManagersRequest

A request message for RegionInstanceGroupManagers.ListManagedInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListManagedInstancesRegionInstanceGroupManagersRequest

ListManagedInstancesRegionInstanceGroupManagersRequest.Builder

A request message for RegionInstanceGroupManagers.ListManagedInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.ListManagedInstancesRegionInstanceGroupManagersRequest

ListNetworkAttachmentsRequest

A request message for NetworkAttachments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkAttachmentsRequest

ListNetworkAttachmentsRequest.Builder

A request message for NetworkAttachments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkAttachmentsRequest

ListNetworkEndpointGroupsRequest

A request message for NetworkEndpointGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkEndpointGroupsRequest

ListNetworkEndpointGroupsRequest.Builder

A request message for NetworkEndpointGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkEndpointGroupsRequest

ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

A request message for GlobalNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest.Builder

A request message for GlobalNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest

ListNetworkEndpointsNetworkEndpointGroupsRequest

A request message for NetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkEndpointsNetworkEndpointGroupsRequest

ListNetworkEndpointsNetworkEndpointGroupsRequest.Builder

A request message for NetworkEndpointGroups.ListNetworkEndpoints. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkEndpointsNetworkEndpointGroupsRequest

ListNetworkFirewallPoliciesRequest

A request message for NetworkFirewallPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest

ListNetworkFirewallPoliciesRequest.Builder

A request message for NetworkFirewallPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest

ListNetworksRequest

A request message for Networks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworksRequest

ListNetworksRequest.Builder

A request message for Networks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNetworksRequest

ListNodeGroupsRequest

A request message for NodeGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodeGroupsRequest

ListNodeGroupsRequest.Builder

A request message for NodeGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodeGroupsRequest

ListNodeTemplatesRequest

A request message for NodeTemplates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodeTemplatesRequest

ListNodeTemplatesRequest.Builder

A request message for NodeTemplates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodeTemplatesRequest

ListNodeTypesRequest

A request message for NodeTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodeTypesRequest

ListNodeTypesRequest.Builder

A request message for NodeTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodeTypesRequest

ListNodesNodeGroupsRequest

A request message for NodeGroups.ListNodes. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodesNodeGroupsRequest

ListNodesNodeGroupsRequest.Builder

A request message for NodeGroups.ListNodes. See the method description for details.

Protobuf type google.cloud.compute.v1.ListNodesNodeGroupsRequest

ListPacketMirroringsRequest

A request message for PacketMirrorings.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPacketMirroringsRequest

ListPacketMirroringsRequest.Builder

A request message for PacketMirrorings.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPacketMirroringsRequest

ListPeeringRoutesNetworksRequest

A request message for Networks.ListPeeringRoutes. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPeeringRoutesNetworksRequest

ListPeeringRoutesNetworksRequest.Builder

A request message for Networks.ListPeeringRoutes. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPeeringRoutesNetworksRequest

ListPerInstanceConfigsInstanceGroupManagersRequest

A request message for InstanceGroupManagers.ListPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPerInstanceConfigsInstanceGroupManagersRequest

ListPerInstanceConfigsInstanceGroupManagersRequest.Builder

A request message for InstanceGroupManagers.ListPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPerInstanceConfigsInstanceGroupManagersRequest

ListPerInstanceConfigsRegionInstanceGroupManagersRequest

A request message for RegionInstanceGroupManagers.ListPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPerInstanceConfigsRegionInstanceGroupManagersRequest

ListPerInstanceConfigsRegionInstanceGroupManagersRequest.Builder

A request message for RegionInstanceGroupManagers.ListPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPerInstanceConfigsRegionInstanceGroupManagersRequest

ListPreconfiguredExpressionSetsSecurityPoliciesRequest

A request message for SecurityPolicies.ListPreconfiguredExpressionSets. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesRequest

ListPreconfiguredExpressionSetsSecurityPoliciesRequest.Builder

A request message for SecurityPolicies.ListPreconfiguredExpressionSets. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPreconfiguredExpressionSetsSecurityPoliciesRequest

ListPublicAdvertisedPrefixesRequest

A request message for PublicAdvertisedPrefixes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPublicAdvertisedPrefixesRequest

ListPublicAdvertisedPrefixesRequest.Builder

A request message for PublicAdvertisedPrefixes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPublicAdvertisedPrefixesRequest

ListPublicDelegatedPrefixesRequest

A request message for PublicDelegatedPrefixes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPublicDelegatedPrefixesRequest

ListPublicDelegatedPrefixesRequest.Builder

A request message for PublicDelegatedPrefixes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListPublicDelegatedPrefixesRequest

ListReferrersInstancesRequest

A request message for Instances.ListReferrers. See the method description for details.

Protobuf type google.cloud.compute.v1.ListReferrersInstancesRequest

ListReferrersInstancesRequest.Builder

A request message for Instances.ListReferrers. See the method description for details.

Protobuf type google.cloud.compute.v1.ListReferrersInstancesRequest

ListRegionAutoscalersRequest

A request message for RegionAutoscalers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionAutoscalersRequest

ListRegionAutoscalersRequest.Builder

A request message for RegionAutoscalers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionAutoscalersRequest

ListRegionBackendServicesRequest

A request message for RegionBackendServices.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionBackendServicesRequest

ListRegionBackendServicesRequest.Builder

A request message for RegionBackendServices.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionBackendServicesRequest

ListRegionCommitmentsRequest

A request message for RegionCommitments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionCommitmentsRequest

ListRegionCommitmentsRequest.Builder

A request message for RegionCommitments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionCommitmentsRequest

ListRegionDiskTypesRequest

A request message for RegionDiskTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionDiskTypesRequest

ListRegionDiskTypesRequest.Builder

A request message for RegionDiskTypes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionDiskTypesRequest

ListRegionDisksRequest

A request message for RegionDisks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionDisksRequest

ListRegionDisksRequest.Builder

A request message for RegionDisks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionDisksRequest

ListRegionHealthCheckServicesRequest

A request message for RegionHealthCheckServices.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionHealthCheckServicesRequest

ListRegionHealthCheckServicesRequest.Builder

A request message for RegionHealthCheckServices.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionHealthCheckServicesRequest

ListRegionHealthChecksRequest

A request message for RegionHealthChecks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionHealthChecksRequest

ListRegionHealthChecksRequest.Builder

A request message for RegionHealthChecks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionHealthChecksRequest

ListRegionInstanceGroupManagersRequest

A request message for RegionInstanceGroupManagers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionInstanceGroupManagersRequest

ListRegionInstanceGroupManagersRequest.Builder

A request message for RegionInstanceGroupManagers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionInstanceGroupManagersRequest

ListRegionInstanceGroupsRequest

A request message for RegionInstanceGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionInstanceGroupsRequest

ListRegionInstanceGroupsRequest.Builder

A request message for RegionInstanceGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionInstanceGroupsRequest

ListRegionInstanceTemplatesRequest

A request message for RegionInstanceTemplates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionInstanceTemplatesRequest

ListRegionInstanceTemplatesRequest.Builder

A request message for RegionInstanceTemplates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionInstanceTemplatesRequest

ListRegionNetworkEndpointGroupsRequest

A request message for RegionNetworkEndpointGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionNetworkEndpointGroupsRequest

ListRegionNetworkEndpointGroupsRequest.Builder

A request message for RegionNetworkEndpointGroups.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionNetworkEndpointGroupsRequest

ListRegionNetworkFirewallPoliciesRequest

A request message for RegionNetworkFirewallPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest

ListRegionNetworkFirewallPoliciesRequest.Builder

A request message for RegionNetworkFirewallPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest

ListRegionNotificationEndpointsRequest

A request message for RegionNotificationEndpoints.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionNotificationEndpointsRequest

ListRegionNotificationEndpointsRequest.Builder

A request message for RegionNotificationEndpoints.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionNotificationEndpointsRequest

ListRegionOperationsRequest

A request message for RegionOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionOperationsRequest

ListRegionOperationsRequest.Builder

A request message for RegionOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionOperationsRequest

ListRegionSecurityPoliciesRequest

A request message for RegionSecurityPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionSecurityPoliciesRequest

ListRegionSecurityPoliciesRequest.Builder

A request message for RegionSecurityPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionSecurityPoliciesRequest

ListRegionSslCertificatesRequest

A request message for RegionSslCertificates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionSslCertificatesRequest

ListRegionSslCertificatesRequest.Builder

A request message for RegionSslCertificates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionSslCertificatesRequest

ListRegionSslPoliciesRequest

A request message for RegionSslPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionSslPoliciesRequest

ListRegionSslPoliciesRequest.Builder

A request message for RegionSslPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionSslPoliciesRequest

ListRegionTargetHttpProxiesRequest

A request message for RegionTargetHttpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionTargetHttpProxiesRequest

ListRegionTargetHttpProxiesRequest.Builder

A request message for RegionTargetHttpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionTargetHttpProxiesRequest

ListRegionTargetHttpsProxiesRequest

A request message for RegionTargetHttpsProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionTargetHttpsProxiesRequest

ListRegionTargetHttpsProxiesRequest.Builder

A request message for RegionTargetHttpsProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionTargetHttpsProxiesRequest

ListRegionTargetTcpProxiesRequest

A request message for RegionTargetTcpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionTargetTcpProxiesRequest

ListRegionTargetTcpProxiesRequest.Builder

A request message for RegionTargetTcpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionTargetTcpProxiesRequest

ListRegionUrlMapsRequest

A request message for RegionUrlMaps.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionUrlMapsRequest

ListRegionUrlMapsRequest.Builder

A request message for RegionUrlMaps.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionUrlMapsRequest

ListRegionsRequest

A request message for Regions.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionsRequest

ListRegionsRequest.Builder

A request message for Regions.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRegionsRequest

ListReservationsRequest

A request message for Reservations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListReservationsRequest

ListReservationsRequest.Builder

A request message for Reservations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListReservationsRequest

ListResourcePoliciesRequest

A request message for ResourcePolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListResourcePoliciesRequest

ListResourcePoliciesRequest.Builder

A request message for ResourcePolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListResourcePoliciesRequest

ListRoutersRequest

A request message for Routers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRoutersRequest

ListRoutersRequest.Builder

A request message for Routers.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRoutersRequest

ListRoutesRequest

A request message for Routes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRoutesRequest

ListRoutesRequest.Builder

A request message for Routes.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListRoutesRequest

ListSecurityPoliciesRequest

A request message for SecurityPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSecurityPoliciesRequest

ListSecurityPoliciesRequest.Builder

A request message for SecurityPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSecurityPoliciesRequest

ListServiceAttachmentsRequest

A request message for ServiceAttachments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListServiceAttachmentsRequest

ListServiceAttachmentsRequest.Builder

A request message for ServiceAttachments.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListServiceAttachmentsRequest

ListSnapshotsRequest

A request message for Snapshots.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSnapshotsRequest

ListSnapshotsRequest.Builder

A request message for Snapshots.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSnapshotsRequest

ListSslCertificatesRequest

A request message for SslCertificates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSslCertificatesRequest

ListSslCertificatesRequest.Builder

A request message for SslCertificates.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSslCertificatesRequest

ListSslPoliciesRequest

A request message for SslPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSslPoliciesRequest

ListSslPoliciesRequest.Builder

A request message for SslPolicies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSslPoliciesRequest

ListSubnetworksRequest

A request message for Subnetworks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSubnetworksRequest

ListSubnetworksRequest.Builder

A request message for Subnetworks.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListSubnetworksRequest

ListTargetGrpcProxiesRequest

A request message for TargetGrpcProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetGrpcProxiesRequest

ListTargetGrpcProxiesRequest.Builder

A request message for TargetGrpcProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetGrpcProxiesRequest

ListTargetHttpProxiesRequest

A request message for TargetHttpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetHttpProxiesRequest

ListTargetHttpProxiesRequest.Builder

A request message for TargetHttpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetHttpProxiesRequest

ListTargetHttpsProxiesRequest

A request message for TargetHttpsProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetHttpsProxiesRequest

ListTargetHttpsProxiesRequest.Builder

A request message for TargetHttpsProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetHttpsProxiesRequest

ListTargetInstancesRequest

A request message for TargetInstances.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetInstancesRequest

ListTargetInstancesRequest.Builder

A request message for TargetInstances.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetInstancesRequest

ListTargetPoolsRequest

A request message for TargetPools.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetPoolsRequest

ListTargetPoolsRequest.Builder

A request message for TargetPools.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetPoolsRequest

ListTargetSslProxiesRequest

A request message for TargetSslProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetSslProxiesRequest

ListTargetSslProxiesRequest.Builder

A request message for TargetSslProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetSslProxiesRequest

ListTargetTcpProxiesRequest

A request message for TargetTcpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetTcpProxiesRequest

ListTargetTcpProxiesRequest.Builder

A request message for TargetTcpProxies.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetTcpProxiesRequest

ListTargetVpnGatewaysRequest

A request message for TargetVpnGateways.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetVpnGatewaysRequest

ListTargetVpnGatewaysRequest.Builder

A request message for TargetVpnGateways.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListTargetVpnGatewaysRequest

ListUrlMapsRequest

A request message for UrlMaps.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListUrlMapsRequest

ListUrlMapsRequest.Builder

A request message for UrlMaps.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListUrlMapsRequest

ListUsableSubnetworksRequest

A request message for Subnetworks.ListUsable. See the method description for details.

Protobuf type google.cloud.compute.v1.ListUsableSubnetworksRequest

ListUsableSubnetworksRequest.Builder

A request message for Subnetworks.ListUsable. See the method description for details.

Protobuf type google.cloud.compute.v1.ListUsableSubnetworksRequest

ListVpnGatewaysRequest

A request message for VpnGateways.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListVpnGatewaysRequest

ListVpnGatewaysRequest.Builder

A request message for VpnGateways.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListVpnGatewaysRequest

ListVpnTunnelsRequest

A request message for VpnTunnels.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListVpnTunnelsRequest

ListVpnTunnelsRequest.Builder

A request message for VpnTunnels.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListVpnTunnelsRequest

ListXpnHostsProjectsRequest

A request message for Projects.ListXpnHosts. See the method description for details.

Protobuf type google.cloud.compute.v1.ListXpnHostsProjectsRequest

ListXpnHostsProjectsRequest.Builder

A request message for Projects.ListXpnHosts. See the method description for details.

Protobuf type google.cloud.compute.v1.ListXpnHostsProjectsRequest

ListZoneOperationsRequest

A request message for ZoneOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListZoneOperationsRequest

ListZoneOperationsRequest.Builder

A request message for ZoneOperations.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListZoneOperationsRequest

ListZonesRequest

A request message for Zones.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListZonesRequest

ListZonesRequest.Builder

A request message for Zones.List. See the method description for details.

Protobuf type google.cloud.compute.v1.ListZonesRequest

LocalDisk

Protobuf type google.cloud.compute.v1.LocalDisk

LocalDisk.Builder

Protobuf type google.cloud.compute.v1.LocalDisk

LocalizedMessage

Provides a localized error message that is safe to return to the user which can be attached to an RPC error.

Protobuf type google.cloud.compute.v1.LocalizedMessage

LocalizedMessage.Builder

Provides a localized error message that is safe to return to the user which can be attached to an RPC error.

Protobuf type google.cloud.compute.v1.LocalizedMessage

LocationPolicy

Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).

Protobuf type google.cloud.compute.v1.LocationPolicy

LocationPolicy.Builder

Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region).

Protobuf type google.cloud.compute.v1.LocationPolicy

LocationPolicyLocation

Protobuf type google.cloud.compute.v1.LocationPolicyLocation

LocationPolicyLocation.Builder

Protobuf type google.cloud.compute.v1.LocationPolicyLocation

LocationPolicyLocationConstraints

Per-zone constraints on location policy for this zone.

Protobuf type google.cloud.compute.v1.LocationPolicyLocationConstraints

LocationPolicyLocationConstraints.Builder

Per-zone constraints on location policy for this zone.

Protobuf type google.cloud.compute.v1.LocationPolicyLocationConstraints

LogConfig

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfig

LogConfig.Builder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfig

LogConfigCloudAuditOptions

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigCloudAuditOptions

LogConfigCloudAuditOptions.Builder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigCloudAuditOptions

LogConfigCounterOptions

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigCounterOptions

LogConfigCounterOptions.Builder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigCounterOptions

LogConfigCounterOptionsCustomField

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigCounterOptionsCustomField

LogConfigCounterOptionsCustomField.Builder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigCounterOptionsCustomField

LogConfigDataAccessOptions

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigDataAccessOptions

LogConfigDataAccessOptions.Builder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.LogConfigDataAccessOptions

MachineImage

Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.

Protobuf type google.cloud.compute.v1.MachineImage

MachineImage.Builder

Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images.

Protobuf type google.cloud.compute.v1.MachineImage

MachineImageList

A list of machine images.

Protobuf type google.cloud.compute.v1.MachineImageList

MachineImageList.Builder

A list of machine images.

Protobuf type google.cloud.compute.v1.MachineImageList

MachineImagesClient

Service Description: The MachineImages 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 (MachineImagesClient machineImagesClient = MachineImagesClient.create()) {
   String project = "project-309310695";
   String machineImage = "machineImage1817774420";
   MachineImage response = machineImagesClient.get(project, machineImage);
 }
 

Note: close() needs to be called on the MachineImagesClient 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:

  1. 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.
  2. 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.
  3. 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 MachineImagesSettings 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
 MachineImagesSettings machineImagesSettings =
     MachineImagesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 MachineImagesClient machineImagesClient = MachineImagesClient.create(machineImagesSettings);
 

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
 MachineImagesSettings machineImagesSettings =
     MachineImagesSettings.newBuilder().setEndpoint(myEndpoint).build();
 MachineImagesClient machineImagesClient = MachineImagesClient.create(machineImagesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

MachineImagesClient.ListFixedSizeCollection

MachineImagesClient.ListPage

MachineImagesClient.ListPagedResponse

MachineImagesSettings

Settings class to configure an instance of MachineImagesClient.

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
 MachineImagesSettings.Builder machineImagesSettingsBuilder = MachineImagesSettings.newBuilder();
 machineImagesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         machineImagesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 MachineImagesSettings machineImagesSettings = machineImagesSettingsBuilder.build();
 

MachineImagesSettings.Builder

Builder for MachineImagesSettings.

MachineType

Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.

Protobuf type google.cloud.compute.v1.MachineType

MachineType.Builder

Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types.

Protobuf type google.cloud.compute.v1.MachineType

MachineTypeAggregatedList

Protobuf type google.cloud.compute.v1.MachineTypeAggregatedList

MachineTypeAggregatedList.Builder

Protobuf type google.cloud.compute.v1.MachineTypeAggregatedList

MachineTypeList

Contains a list of machine types.

Protobuf type google.cloud.compute.v1.MachineTypeList

MachineTypeList.Builder

Contains a list of machine types.

Protobuf type google.cloud.compute.v1.MachineTypeList

MachineTypesClient

Service Description: The MachineTypes 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 (MachineTypesClient machineTypesClient = MachineTypesClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String machineType = "machineType-218117087";
   MachineType response = machineTypesClient.get(project, zone, machineType);
 }
 

Note: close() needs to be called on the MachineTypesClient 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:

  1. 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.
  2. 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.
  3. 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 MachineTypesSettings 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
 MachineTypesSettings machineTypesSettings =
     MachineTypesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 MachineTypesClient machineTypesClient = MachineTypesClient.create(machineTypesSettings);
 

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
 MachineTypesSettings machineTypesSettings =
     MachineTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
 MachineTypesClient machineTypesClient = MachineTypesClient.create(machineTypesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

MachineTypesClient.AggregatedListFixedSizeCollection

MachineTypesClient.AggregatedListPage

MachineTypesClient.AggregatedListPagedResponse

MachineTypesClient.ListFixedSizeCollection

MachineTypesClient.ListPage

MachineTypesClient.ListPagedResponse

MachineTypesScopedList

Protobuf type google.cloud.compute.v1.MachineTypesScopedList

MachineTypesScopedList.Builder

Protobuf type google.cloud.compute.v1.MachineTypesScopedList

MachineTypesSettings

Settings class to configure an instance of MachineTypesClient.

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
 MachineTypesSettings.Builder machineTypesSettingsBuilder = MachineTypesSettings.newBuilder();
 machineTypesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         machineTypesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 MachineTypesSettings machineTypesSettings = machineTypesSettingsBuilder.build();
 

MachineTypesSettings.Builder

Builder for MachineTypesSettings.

ManagedInstance

A Managed Instance resource.

Protobuf type google.cloud.compute.v1.ManagedInstance

ManagedInstance.Builder

A Managed Instance resource.

Protobuf type google.cloud.compute.v1.ManagedInstance

ManagedInstanceInstanceHealth

Protobuf type google.cloud.compute.v1.ManagedInstanceInstanceHealth

ManagedInstanceInstanceHealth.Builder

Protobuf type google.cloud.compute.v1.ManagedInstanceInstanceHealth

ManagedInstanceLastAttempt

Protobuf type google.cloud.compute.v1.ManagedInstanceLastAttempt

ManagedInstanceLastAttempt.Builder

Protobuf type google.cloud.compute.v1.ManagedInstanceLastAttempt

ManagedInstanceVersion

Protobuf type google.cloud.compute.v1.ManagedInstanceVersion

ManagedInstanceVersion.Builder

Protobuf type google.cloud.compute.v1.ManagedInstanceVersion

Metadata

A metadata key/value entry.

Protobuf type google.cloud.compute.v1.Metadata

Metadata.Builder

A metadata key/value entry.

Protobuf type google.cloud.compute.v1.Metadata

MetadataFilter

Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers.

Protobuf type google.cloud.compute.v1.MetadataFilter

MetadataFilter.Builder

Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers.

Protobuf type google.cloud.compute.v1.MetadataFilter

MetadataFilterLabelMatch

MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer.

Protobuf type google.cloud.compute.v1.MetadataFilterLabelMatch

MetadataFilterLabelMatch.Builder

MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer.

Protobuf type google.cloud.compute.v1.MetadataFilterLabelMatch

MoveAddressRequest

A request message for Addresses.Move. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveAddressRequest

MoveAddressRequest.Builder

A request message for Addresses.Move. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveAddressRequest

MoveDiskProjectRequest

A request message for Projects.MoveDisk. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveDiskProjectRequest

MoveDiskProjectRequest.Builder

A request message for Projects.MoveDisk. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveDiskProjectRequest

MoveFirewallPolicyRequest

A request message for FirewallPolicies.Move. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveFirewallPolicyRequest

MoveFirewallPolicyRequest.Builder

A request message for FirewallPolicies.Move. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveFirewallPolicyRequest

MoveGlobalAddressRequest

A request message for GlobalAddresses.Move. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveGlobalAddressRequest

MoveGlobalAddressRequest.Builder

A request message for GlobalAddresses.Move. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveGlobalAddressRequest

MoveInstanceProjectRequest

A request message for Projects.MoveInstance. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveInstanceProjectRequest

MoveInstanceProjectRequest.Builder

A request message for Projects.MoveInstance. See the method description for details.

Protobuf type google.cloud.compute.v1.MoveInstanceProjectRequest

NamedPort

The named port. For example: <"http", 80>.

Protobuf type google.cloud.compute.v1.NamedPort

NamedPort.Builder

The named port. For example: <"http", 80>.

Protobuf type google.cloud.compute.v1.NamedPort

Network

Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network.

Protobuf type google.cloud.compute.v1.Network

Network.Builder

Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network.

Protobuf type google.cloud.compute.v1.Network

NetworkAttachment

NetworkAttachments A network attachment resource ...

Protobuf type google.cloud.compute.v1.NetworkAttachment

NetworkAttachment.Builder

NetworkAttachments A network attachment resource ...

Protobuf type google.cloud.compute.v1.NetworkAttachment

NetworkAttachmentAggregatedList

Contains a list of NetworkAttachmentsScopedList.

Protobuf type google.cloud.compute.v1.NetworkAttachmentAggregatedList

NetworkAttachmentAggregatedList.Builder

Contains a list of NetworkAttachmentsScopedList.

Protobuf type google.cloud.compute.v1.NetworkAttachmentAggregatedList

NetworkAttachmentConnectedEndpoint

[Output Only] A connection connected to this network attachment.

Protobuf type google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint

NetworkAttachmentConnectedEndpoint.Builder

[Output Only] A connection connected to this network attachment.

Protobuf type google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint

NetworkAttachmentList

Protobuf type google.cloud.compute.v1.NetworkAttachmentList

NetworkAttachmentList.Builder

Protobuf type google.cloud.compute.v1.NetworkAttachmentList

NetworkAttachmentsClient

Service Description: The NetworkAttachments 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 (NetworkAttachmentsClient networkAttachmentsClient = NetworkAttachmentsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String networkAttachment = "networkAttachment1918512625";
   NetworkAttachment response = networkAttachmentsClient.get(project, region, networkAttachment);
 }
 

Note: close() needs to be called on the NetworkAttachmentsClient 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:

  1. 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.
  2. 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.
  3. 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 NetworkAttachmentsSettings 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
 NetworkAttachmentsSettings networkAttachmentsSettings =
     NetworkAttachmentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NetworkAttachmentsClient networkAttachmentsClient =
     NetworkAttachmentsClient.create(networkAttachmentsSettings);
 

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
 NetworkAttachmentsSettings networkAttachmentsSettings =
     NetworkAttachmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 NetworkAttachmentsClient networkAttachmentsClient =
     NetworkAttachmentsClient.create(networkAttachmentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NetworkAttachmentsClient.AggregatedListFixedSizeCollection

NetworkAttachmentsClient.AggregatedListPage

NetworkAttachmentsClient.AggregatedListPagedResponse

NetworkAttachmentsClient.ListFixedSizeCollection

NetworkAttachmentsClient.ListPage

NetworkAttachmentsClient.ListPagedResponse

NetworkAttachmentsScopedList

Protobuf type google.cloud.compute.v1.NetworkAttachmentsScopedList

NetworkAttachmentsScopedList.Builder

Protobuf type google.cloud.compute.v1.NetworkAttachmentsScopedList

NetworkAttachmentsSettings

Settings class to configure an instance of NetworkAttachmentsClient.

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
 NetworkAttachmentsSettings.Builder networkAttachmentsSettingsBuilder =
     NetworkAttachmentsSettings.newBuilder();
 networkAttachmentsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         networkAttachmentsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NetworkAttachmentsSettings networkAttachmentsSettings =
     networkAttachmentsSettingsBuilder.build();
 

NetworkAttachmentsSettings.Builder

Builder for NetworkAttachmentsSettings.

NetworkEdgeSecurityService

Represents a Google Cloud Armor network edge security service resource.

Protobuf type google.cloud.compute.v1.NetworkEdgeSecurityService

NetworkEdgeSecurityService.Builder

Represents a Google Cloud Armor network edge security service resource.

Protobuf type google.cloud.compute.v1.NetworkEdgeSecurityService

NetworkEdgeSecurityServiceAggregatedList

Protobuf type google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList

NetworkEdgeSecurityServiceAggregatedList.Builder

Protobuf type google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList

NetworkEdgeSecurityServicesClient

Service Description: The NetworkEdgeSecurityServices 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 (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
     NetworkEdgeSecurityServicesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String networkEdgeSecurityService = "networkEdgeSecurityService-1390253366";
   NetworkEdgeSecurityService response =
       networkEdgeSecurityServicesClient.get(project, region, networkEdgeSecurityService);
 }
 

Note: close() needs to be called on the NetworkEdgeSecurityServicesClient 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:

  1. 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.
  2. 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.
  3. 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 NetworkEdgeSecurityServicesSettings 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
 NetworkEdgeSecurityServicesSettings networkEdgeSecurityServicesSettings =
     NetworkEdgeSecurityServicesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
     NetworkEdgeSecurityServicesClient.create(networkEdgeSecurityServicesSettings);
 

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
 NetworkEdgeSecurityServicesSettings networkEdgeSecurityServicesSettings =
     NetworkEdgeSecurityServicesSettings.newBuilder().setEndpoint(myEndpoint).build();
 NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
     NetworkEdgeSecurityServicesClient.create(networkEdgeSecurityServicesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NetworkEdgeSecurityServicesClient.AggregatedListFixedSizeCollection

NetworkEdgeSecurityServicesClient.AggregatedListPage

NetworkEdgeSecurityServicesClient.AggregatedListPagedResponse

NetworkEdgeSecurityServicesScopedList

Protobuf type google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList

NetworkEdgeSecurityServicesScopedList.Builder

Protobuf type google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList

NetworkEdgeSecurityServicesSettings

Settings class to configure an instance of NetworkEdgeSecurityServicesClient.

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
 NetworkEdgeSecurityServicesSettings.Builder networkEdgeSecurityServicesSettingsBuilder =
     NetworkEdgeSecurityServicesSettings.newBuilder();
 networkEdgeSecurityServicesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         networkEdgeSecurityServicesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NetworkEdgeSecurityServicesSettings networkEdgeSecurityServicesSettings =
     networkEdgeSecurityServicesSettingsBuilder.build();
 

NetworkEdgeSecurityServicesSettings.Builder

Builder for NetworkEdgeSecurityServicesSettings.

NetworkEndpoint

The network endpoint.

Protobuf type google.cloud.compute.v1.NetworkEndpoint

NetworkEndpoint.Builder

The network endpoint.

Protobuf type google.cloud.compute.v1.NetworkEndpoint

NetworkEndpointGroup

Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroup

NetworkEndpointGroup.Builder

Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroup

NetworkEndpointGroupAggregatedList

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupAggregatedList

NetworkEndpointGroupAggregatedList.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupAggregatedList

NetworkEndpointGroupAppEngine

Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupAppEngine

NetworkEndpointGroupAppEngine.Builder

Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupAppEngine

NetworkEndpointGroupCloudFunction

Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupCloudFunction

NetworkEndpointGroupCloudFunction.Builder

Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupCloudFunction

NetworkEndpointGroupCloudRun

Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupCloudRun

NetworkEndpointGroupCloudRun.Builder

Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupCloudRun

NetworkEndpointGroupList

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupList

NetworkEndpointGroupList.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupList

NetworkEndpointGroupPscData

All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupPscData

NetworkEndpointGroupPscData.Builder

All data that is specifically relevant to only network endpoint groups of type PRIVATE_SERVICE_CONNECT.

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupPscData

NetworkEndpointGroupsAttachEndpointsRequest

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsAttachEndpointsRequest

NetworkEndpointGroupsAttachEndpointsRequest.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsAttachEndpointsRequest

NetworkEndpointGroupsClient

Service Description: The NetworkEndpointGroups 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 (NetworkEndpointGroupsClient networkEndpointGroupsClient =
     NetworkEndpointGroupsClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String networkEndpointGroup = "networkEndpointGroup-2120389028";
   NetworkEndpointGroup response =
       networkEndpointGroupsClient.get(project, zone, networkEndpointGroup);
 }
 

Note: close() needs to be called on the NetworkEndpointGroupsClient 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:

  1. 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.
  2. 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.
  3. 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 NetworkEndpointGroupsSettings 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
 NetworkEndpointGroupsSettings networkEndpointGroupsSettings =
     NetworkEndpointGroupsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NetworkEndpointGroupsClient networkEndpointGroupsClient =
     NetworkEndpointGroupsClient.create(networkEndpointGroupsSettings);
 

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
 NetworkEndpointGroupsSettings networkEndpointGroupsSettings =
     NetworkEndpointGroupsSettings.newBuilder().setEndpoint(myEndpoint).build();
 NetworkEndpointGroupsClient networkEndpointGroupsClient =
     NetworkEndpointGroupsClient.create(networkEndpointGroupsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NetworkEndpointGroupsClient.AggregatedListFixedSizeCollection

NetworkEndpointGroupsClient.AggregatedListPage

NetworkEndpointGroupsClient.AggregatedListPagedResponse

NetworkEndpointGroupsClient.ListFixedSizeCollection

NetworkEndpointGroupsClient.ListNetworkEndpointsFixedSizeCollection

NetworkEndpointGroupsClient.ListNetworkEndpointsPage

NetworkEndpointGroupsClient.ListNetworkEndpointsPagedResponse

NetworkEndpointGroupsClient.ListPage

NetworkEndpointGroupsClient.ListPagedResponse

NetworkEndpointGroupsDetachEndpointsRequest

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsDetachEndpointsRequest

NetworkEndpointGroupsDetachEndpointsRequest.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsDetachEndpointsRequest

NetworkEndpointGroupsListEndpointsRequest

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsListEndpointsRequest

NetworkEndpointGroupsListEndpointsRequest.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsListEndpointsRequest

NetworkEndpointGroupsListNetworkEndpoints

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints

NetworkEndpointGroupsListNetworkEndpoints.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsListNetworkEndpoints

NetworkEndpointGroupsScopedList

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsScopedList

NetworkEndpointGroupsScopedList.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointGroupsScopedList

NetworkEndpointGroupsSettings

Settings class to configure an instance of NetworkEndpointGroupsClient.

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
 NetworkEndpointGroupsSettings.Builder networkEndpointGroupsSettingsBuilder =
     NetworkEndpointGroupsSettings.newBuilder();
 networkEndpointGroupsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         networkEndpointGroupsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NetworkEndpointGroupsSettings networkEndpointGroupsSettings =
     networkEndpointGroupsSettingsBuilder.build();
 

NetworkEndpointGroupsSettings.Builder

Builder for NetworkEndpointGroupsSettings.

NetworkEndpointWithHealthStatus

Protobuf type google.cloud.compute.v1.NetworkEndpointWithHealthStatus

NetworkEndpointWithHealthStatus.Builder

Protobuf type google.cloud.compute.v1.NetworkEndpointWithHealthStatus

NetworkFirewallPoliciesClient

Service Description: The NetworkFirewallPolicies 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 (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
     NetworkFirewallPoliciesClient.create()) {
   String project = "project-309310695";
   String firewallPolicy = "firewallPolicy1819692626";
   FirewallPolicy response = networkFirewallPoliciesClient.get(project, firewallPolicy);
 }
 

Note: close() needs to be called on the NetworkFirewallPoliciesClient 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:

  1. 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.
  2. 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.
  3. 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 NetworkFirewallPoliciesSettings 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
 NetworkFirewallPoliciesSettings networkFirewallPoliciesSettings =
     NetworkFirewallPoliciesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
     NetworkFirewallPoliciesClient.create(networkFirewallPoliciesSettings);
 

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
 NetworkFirewallPoliciesSettings networkFirewallPoliciesSettings =
     NetworkFirewallPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
 NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
     NetworkFirewallPoliciesClient.create(networkFirewallPoliciesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NetworkFirewallPoliciesClient.ListFixedSizeCollection

NetworkFirewallPoliciesClient.ListPage

NetworkFirewallPoliciesClient.ListPagedResponse

NetworkFirewallPoliciesSettings

Settings class to configure an instance of NetworkFirewallPoliciesClient.

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
 NetworkFirewallPoliciesSettings.Builder networkFirewallPoliciesSettingsBuilder =
     NetworkFirewallPoliciesSettings.newBuilder();
 networkFirewallPoliciesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         networkFirewallPoliciesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NetworkFirewallPoliciesSettings networkFirewallPoliciesSettings =
     networkFirewallPoliciesSettingsBuilder.build();
 

NetworkFirewallPoliciesSettings.Builder

Builder for NetworkFirewallPoliciesSettings.

NetworkInterface

A network interface resource attached to an instance.

Protobuf type google.cloud.compute.v1.NetworkInterface

NetworkInterface.Builder

A network interface resource attached to an instance.

Protobuf type google.cloud.compute.v1.NetworkInterface

NetworkList

Contains a list of networks.

Protobuf type google.cloud.compute.v1.NetworkList

NetworkList.Builder

Contains a list of networks.

Protobuf type google.cloud.compute.v1.NetworkList

NetworkPeering

A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.

Protobuf type google.cloud.compute.v1.NetworkPeering

NetworkPeering.Builder

A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.

Protobuf type google.cloud.compute.v1.NetworkPeering

NetworkPerformanceConfig

Protobuf type google.cloud.compute.v1.NetworkPerformanceConfig

NetworkPerformanceConfig.Builder

Protobuf type google.cloud.compute.v1.NetworkPerformanceConfig

NetworkRoutingConfig

A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.

Protobuf type google.cloud.compute.v1.NetworkRoutingConfig

NetworkRoutingConfig.Builder

A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.

Protobuf type google.cloud.compute.v1.NetworkRoutingConfig

NetworksAddPeeringRequest

Protobuf type google.cloud.compute.v1.NetworksAddPeeringRequest

NetworksAddPeeringRequest.Builder

Protobuf type google.cloud.compute.v1.NetworksAddPeeringRequest

NetworksClient

Service Description: The Networks 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 (NetworksClient networksClient = NetworksClient.create()) {
   String project = "project-309310695";
   String network = "network1843485230";
   Network response = networksClient.get(project, network);
 }
 

Note: close() needs to be called on the NetworksClient 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:

  1. 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.
  2. 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.
  3. 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 NetworksSettings 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
 NetworksSettings networksSettings =
     NetworksSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NetworksClient networksClient = NetworksClient.create(networksSettings);
 

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
 NetworksSettings networksSettings =
     NetworksSettings.newBuilder().setEndpoint(myEndpoint).build();
 NetworksClient networksClient = NetworksClient.create(networksSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NetworksClient.ListFixedSizeCollection

NetworksClient.ListPage

NetworksClient.ListPagedResponse

NetworksClient.ListPeeringRoutesFixedSizeCollection

NetworksClient.ListPeeringRoutesPage

NetworksClient.ListPeeringRoutesPagedResponse

NetworksGetEffectiveFirewallsResponse

Protobuf type google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponse

NetworksGetEffectiveFirewallsResponse.Builder

Protobuf type google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponse

NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy

Protobuf type google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy

NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

Protobuf type google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy

NetworksRemovePeeringRequest

Protobuf type google.cloud.compute.v1.NetworksRemovePeeringRequest

NetworksRemovePeeringRequest.Builder

Protobuf type google.cloud.compute.v1.NetworksRemovePeeringRequest

NetworksSettings

Settings class to configure an instance of NetworksClient.

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
 NetworksSettings.Builder networksSettingsBuilder = NetworksSettings.newBuilder();
 networksSettingsBuilder
     .getSettings()
     .setRetrySettings(
         networksSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NetworksSettings networksSettings = networksSettingsBuilder.build();
 

NetworksSettings.Builder

Builder for NetworksSettings.

NetworksUpdatePeeringRequest

Protobuf type google.cloud.compute.v1.NetworksUpdatePeeringRequest

NetworksUpdatePeeringRequest.Builder

Protobuf type google.cloud.compute.v1.NetworksUpdatePeeringRequest

NodeGroup

Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.

Protobuf type google.cloud.compute.v1.NodeGroup

NodeGroup.Builder

Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.

Protobuf type google.cloud.compute.v1.NodeGroup

NodeGroupAggregatedList

Protobuf type google.cloud.compute.v1.NodeGroupAggregatedList

NodeGroupAggregatedList.Builder

Protobuf type google.cloud.compute.v1.NodeGroupAggregatedList

NodeGroupAutoscalingPolicy

Protobuf type google.cloud.compute.v1.NodeGroupAutoscalingPolicy

NodeGroupAutoscalingPolicy.Builder

Protobuf type google.cloud.compute.v1.NodeGroupAutoscalingPolicy

NodeGroupList

Contains a list of nodeGroups.

Protobuf type google.cloud.compute.v1.NodeGroupList

NodeGroupList.Builder

Contains a list of nodeGroups.

Protobuf type google.cloud.compute.v1.NodeGroupList

NodeGroupMaintenanceWindow

Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.

Protobuf type google.cloud.compute.v1.NodeGroupMaintenanceWindow

NodeGroupMaintenanceWindow.Builder

Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.

Protobuf type google.cloud.compute.v1.NodeGroupMaintenanceWindow

NodeGroupNode

Protobuf type google.cloud.compute.v1.NodeGroupNode

NodeGroupNode.Builder

Protobuf type google.cloud.compute.v1.NodeGroupNode

NodeGroupsAddNodesRequest

Protobuf type google.cloud.compute.v1.NodeGroupsAddNodesRequest

NodeGroupsAddNodesRequest.Builder

Protobuf type google.cloud.compute.v1.NodeGroupsAddNodesRequest

NodeGroupsClient

Service Description: The NodeGroups 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 (NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String nodeGroup = "nodeGroup443599261";
   NodeGroup response = nodeGroupsClient.get(project, zone, nodeGroup);
 }
 

Note: close() needs to be called on the NodeGroupsClient 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:

  1. 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.
  2. 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.
  3. 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 NodeGroupsSettings 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
 NodeGroupsSettings nodeGroupsSettings =
     NodeGroupsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create(nodeGroupsSettings);
 

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
 NodeGroupsSettings nodeGroupsSettings =
     NodeGroupsSettings.newBuilder().setEndpoint(myEndpoint).build();
 NodeGroupsClient nodeGroupsClient = NodeGroupsClient.create(nodeGroupsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NodeGroupsClient.AggregatedListFixedSizeCollection

NodeGroupsClient.AggregatedListPage

NodeGroupsClient.AggregatedListPagedResponse

NodeGroupsClient.ListFixedSizeCollection

NodeGroupsClient.ListNodesFixedSizeCollection

NodeGroupsClient.ListNodesPage

NodeGroupsClient.ListNodesPagedResponse

NodeGroupsClient.ListPage

NodeGroupsClient.ListPagedResponse

NodeGroupsDeleteNodesRequest

Protobuf type google.cloud.compute.v1.NodeGroupsDeleteNodesRequest

NodeGroupsDeleteNodesRequest.Builder

Protobuf type google.cloud.compute.v1.NodeGroupsDeleteNodesRequest

NodeGroupsListNodes

Protobuf type google.cloud.compute.v1.NodeGroupsListNodes

NodeGroupsListNodes.Builder

Protobuf type google.cloud.compute.v1.NodeGroupsListNodes

NodeGroupsScopedList

Protobuf type google.cloud.compute.v1.NodeGroupsScopedList

NodeGroupsScopedList.Builder

Protobuf type google.cloud.compute.v1.NodeGroupsScopedList

NodeGroupsSetNodeTemplateRequest

Protobuf type google.cloud.compute.v1.NodeGroupsSetNodeTemplateRequest

NodeGroupsSetNodeTemplateRequest.Builder

Protobuf type google.cloud.compute.v1.NodeGroupsSetNodeTemplateRequest

NodeGroupsSettings

Settings class to configure an instance of NodeGroupsClient.

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
 NodeGroupsSettings.Builder nodeGroupsSettingsBuilder = NodeGroupsSettings.newBuilder();
 nodeGroupsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         nodeGroupsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NodeGroupsSettings nodeGroupsSettings = nodeGroupsSettingsBuilder.build();
 

NodeGroupsSettings.Builder

Builder for NodeGroupsSettings.

NodeGroupsSimulateMaintenanceEventRequest

Protobuf type google.cloud.compute.v1.NodeGroupsSimulateMaintenanceEventRequest

NodeGroupsSimulateMaintenanceEventRequest.Builder

Protobuf type google.cloud.compute.v1.NodeGroupsSimulateMaintenanceEventRequest

NodeTemplate

Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances.

Protobuf type google.cloud.compute.v1.NodeTemplate

NodeTemplate.Builder

Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances.

Protobuf type google.cloud.compute.v1.NodeTemplate

NodeTemplateAggregatedList

Protobuf type google.cloud.compute.v1.NodeTemplateAggregatedList

NodeTemplateAggregatedList.Builder

Protobuf type google.cloud.compute.v1.NodeTemplateAggregatedList

NodeTemplateList

Contains a list of node templates.

Protobuf type google.cloud.compute.v1.NodeTemplateList

NodeTemplateList.Builder

Contains a list of node templates.

Protobuf type google.cloud.compute.v1.NodeTemplateList

NodeTemplateNodeTypeFlexibility

Protobuf type google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility

NodeTemplateNodeTypeFlexibility.Builder

Protobuf type google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility

NodeTemplatesClient

Service Description: The NodeTemplates 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 (NodeTemplatesClient nodeTemplatesClient = NodeTemplatesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String nodeTemplate = "nodeTemplate2118368412";
   NodeTemplate response = nodeTemplatesClient.get(project, region, nodeTemplate);
 }
 

Note: close() needs to be called on the NodeTemplatesClient 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:

  1. 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.
  2. 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.
  3. 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 NodeTemplatesSettings 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
 NodeTemplatesSettings nodeTemplatesSettings =
     NodeTemplatesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NodeTemplatesClient nodeTemplatesClient = NodeTemplatesClient.create(nodeTemplatesSettings);
 

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
 NodeTemplatesSettings nodeTemplatesSettings =
     NodeTemplatesSettings.newBuilder().setEndpoint(myEndpoint).build();
 NodeTemplatesClient nodeTemplatesClient = NodeTemplatesClient.create(nodeTemplatesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NodeTemplatesClient.AggregatedListFixedSizeCollection

NodeTemplatesClient.AggregatedListPage

NodeTemplatesClient.AggregatedListPagedResponse

NodeTemplatesClient.ListFixedSizeCollection

NodeTemplatesClient.ListPage

NodeTemplatesClient.ListPagedResponse

NodeTemplatesScopedList

Protobuf type google.cloud.compute.v1.NodeTemplatesScopedList

NodeTemplatesScopedList.Builder

Protobuf type google.cloud.compute.v1.NodeTemplatesScopedList

NodeTemplatesSettings

Settings class to configure an instance of NodeTemplatesClient.

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
 NodeTemplatesSettings.Builder nodeTemplatesSettingsBuilder = NodeTemplatesSettings.newBuilder();
 nodeTemplatesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         nodeTemplatesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NodeTemplatesSettings nodeTemplatesSettings = nodeTemplatesSettingsBuilder.build();
 

NodeTemplatesSettings.Builder

Builder for NodeTemplatesSettings.

NodeType

Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types.

Protobuf type google.cloud.compute.v1.NodeType

NodeType.Builder

Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types.

Protobuf type google.cloud.compute.v1.NodeType

NodeTypeAggregatedList

Protobuf type google.cloud.compute.v1.NodeTypeAggregatedList

NodeTypeAggregatedList.Builder

Protobuf type google.cloud.compute.v1.NodeTypeAggregatedList

NodeTypeList

Contains a list of node types.

Protobuf type google.cloud.compute.v1.NodeTypeList

NodeTypeList.Builder

Contains a list of node types.

Protobuf type google.cloud.compute.v1.NodeTypeList

NodeTypesClient

Service Description: The NodeTypes 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 (NodeTypesClient nodeTypesClient = NodeTypesClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String nodeType = "nodeType1123082332";
   NodeType response = nodeTypesClient.get(project, zone, nodeType);
 }
 

Note: close() needs to be called on the NodeTypesClient 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:

  1. 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.
  2. 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.
  3. 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 NodeTypesSettings 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
 NodeTypesSettings nodeTypesSettings =
     NodeTypesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 NodeTypesClient nodeTypesClient = NodeTypesClient.create(nodeTypesSettings);
 

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
 NodeTypesSettings nodeTypesSettings =
     NodeTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
 NodeTypesClient nodeTypesClient = NodeTypesClient.create(nodeTypesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

NodeTypesClient.AggregatedListFixedSizeCollection

NodeTypesClient.AggregatedListPage

NodeTypesClient.AggregatedListPagedResponse

NodeTypesClient.ListFixedSizeCollection

NodeTypesClient.ListPage

NodeTypesClient.ListPagedResponse

NodeTypesScopedList

Protobuf type google.cloud.compute.v1.NodeTypesScopedList

NodeTypesScopedList.Builder

Protobuf type google.cloud.compute.v1.NodeTypesScopedList

NodeTypesSettings

Settings class to configure an instance of NodeTypesClient.

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
 NodeTypesSettings.Builder nodeTypesSettingsBuilder = NodeTypesSettings.newBuilder();
 nodeTypesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         nodeTypesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 NodeTypesSettings nodeTypesSettings = nodeTypesSettingsBuilder.build();
 

NodeTypesSettings.Builder

Builder for NodeTypesSettings.

NotificationEndpoint

Represents a notification endpoint. A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service. For more information, see Health checks overview.

Protobuf type google.cloud.compute.v1.NotificationEndpoint

NotificationEndpoint.Builder

Represents a notification endpoint. A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service. For more information, see Health checks overview.

Protobuf type google.cloud.compute.v1.NotificationEndpoint

NotificationEndpointGrpcSettings

Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.

Protobuf type google.cloud.compute.v1.NotificationEndpointGrpcSettings

NotificationEndpointGrpcSettings.Builder

Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.

Protobuf type google.cloud.compute.v1.NotificationEndpointGrpcSettings

NotificationEndpointList

Protobuf type google.cloud.compute.v1.NotificationEndpointList

NotificationEndpointList.Builder

Protobuf type google.cloud.compute.v1.NotificationEndpointList

Operation

Represents an Operation resource. Google Compute Engine has three Operation resources: * Global * Regional * Zonal You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the globalOperations resource. - For regional operations, use the regionOperations resource. - For zonal operations, use the zonalOperations resource. For more information, read Global, Regional, and Zonal Resources.

Protobuf type google.cloud.compute.v1.Operation

Operation.Builder

Represents an Operation resource. Google Compute Engine has three Operation resources: * Global * Regional * Zonal You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the globalOperations resource. - For regional operations, use the regionOperations resource. - For zonal operations, use the zonalOperations resource. For more information, read Global, Regional, and Zonal Resources.

Protobuf type google.cloud.compute.v1.Operation

OperationAggregatedList

Protobuf type google.cloud.compute.v1.OperationAggregatedList

OperationAggregatedList.Builder

Protobuf type google.cloud.compute.v1.OperationAggregatedList

OperationList

Contains a list of Operation resources.

Protobuf type google.cloud.compute.v1.OperationList

OperationList.Builder

Contains a list of Operation resources.

Protobuf type google.cloud.compute.v1.OperationList

OperationsScopedList

Protobuf type google.cloud.compute.v1.OperationsScopedList

OperationsScopedList.Builder

Protobuf type google.cloud.compute.v1.OperationsScopedList

OutlierDetection

Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service.

Protobuf type google.cloud.compute.v1.OutlierDetection

OutlierDetection.Builder

Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service.

Protobuf type google.cloud.compute.v1.OutlierDetection

PacketIntervals

Next free: 7

Protobuf type google.cloud.compute.v1.PacketIntervals

PacketIntervals.Builder

Next free: 7

Protobuf type google.cloud.compute.v1.PacketIntervals

PacketMirroring

Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring.

Protobuf type google.cloud.compute.v1.PacketMirroring

PacketMirroring.Builder

Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring.

Protobuf type google.cloud.compute.v1.PacketMirroring

PacketMirroringAggregatedList

Contains a list of packetMirrorings.

Protobuf type google.cloud.compute.v1.PacketMirroringAggregatedList

PacketMirroringAggregatedList.Builder

Contains a list of packetMirrorings.

Protobuf type google.cloud.compute.v1.PacketMirroringAggregatedList

PacketMirroringFilter

Protobuf type google.cloud.compute.v1.PacketMirroringFilter

PacketMirroringFilter.Builder

Protobuf type google.cloud.compute.v1.PacketMirroringFilter

PacketMirroringForwardingRuleInfo

Protobuf type google.cloud.compute.v1.PacketMirroringForwardingRuleInfo

PacketMirroringForwardingRuleInfo.Builder

Protobuf type google.cloud.compute.v1.PacketMirroringForwardingRuleInfo

PacketMirroringList

Contains a list of PacketMirroring resources.

Protobuf type google.cloud.compute.v1.PacketMirroringList

PacketMirroringList.Builder

Contains a list of PacketMirroring resources.

Protobuf type google.cloud.compute.v1.PacketMirroringList

PacketMirroringMirroredResourceInfo

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfo

PacketMirroringMirroredResourceInfo.Builder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfo

PacketMirroringMirroredResourceInfoInstanceInfo

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo

PacketMirroringMirroredResourceInfoInstanceInfo.Builder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfoInstanceInfo

PacketMirroringMirroredResourceInfoSubnetInfo

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo

PacketMirroringMirroredResourceInfoSubnetInfo.Builder

Protobuf type google.cloud.compute.v1.PacketMirroringMirroredResourceInfoSubnetInfo

PacketMirroringNetworkInfo

Protobuf type google.cloud.compute.v1.PacketMirroringNetworkInfo

PacketMirroringNetworkInfo.Builder

Protobuf type google.cloud.compute.v1.PacketMirroringNetworkInfo

PacketMirroringsClient

Service Description: The PacketMirrorings 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 (PacketMirroringsClient packetMirroringsClient = PacketMirroringsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String packetMirroring = "packetMirroring1405520923";
   PacketMirroring response = packetMirroringsClient.get(project, region, packetMirroring);
 }
 

Note: close() needs to be called on the PacketMirroringsClient 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:

  1. 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.
  2. 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.
  3. 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 PacketMirroringsSettings 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
 PacketMirroringsSettings packetMirroringsSettings =
     PacketMirroringsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 PacketMirroringsClient packetMirroringsClient =
     PacketMirroringsClient.create(packetMirroringsSettings);
 

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
 PacketMirroringsSettings packetMirroringsSettings =
     PacketMirroringsSettings.newBuilder().setEndpoint(myEndpoint).build();
 PacketMirroringsClient packetMirroringsClient =
     PacketMirroringsClient.create(packetMirroringsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

PacketMirroringsClient.AggregatedListFixedSizeCollection

PacketMirroringsClient.AggregatedListPage

PacketMirroringsClient.AggregatedListPagedResponse

PacketMirroringsClient.ListFixedSizeCollection

PacketMirroringsClient.ListPage

PacketMirroringsClient.ListPagedResponse

PacketMirroringsScopedList

Protobuf type google.cloud.compute.v1.PacketMirroringsScopedList

PacketMirroringsScopedList.Builder

Protobuf type google.cloud.compute.v1.PacketMirroringsScopedList

PacketMirroringsSettings

Settings class to configure an instance of PacketMirroringsClient.

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
 PacketMirroringsSettings.Builder packetMirroringsSettingsBuilder =
     PacketMirroringsSettings.newBuilder();
 packetMirroringsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         packetMirroringsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 PacketMirroringsSettings packetMirroringsSettings = packetMirroringsSettingsBuilder.build();
 

PacketMirroringsSettings.Builder

Builder for PacketMirroringsSettings.

PatchAutoscalerRequest

A request message for Autoscalers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchAutoscalerRequest

PatchAutoscalerRequest.Builder

A request message for Autoscalers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchAutoscalerRequest

PatchBackendBucketRequest

A request message for BackendBuckets.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchBackendBucketRequest

PatchBackendBucketRequest.Builder

A request message for BackendBuckets.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchBackendBucketRequest

PatchBackendServiceRequest

A request message for BackendServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchBackendServiceRequest

PatchBackendServiceRequest.Builder

A request message for BackendServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchBackendServiceRequest

PatchFirewallPolicyRequest

A request message for FirewallPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchFirewallPolicyRequest

PatchFirewallPolicyRequest.Builder

A request message for FirewallPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchFirewallPolicyRequest

PatchFirewallRequest

A request message for Firewalls.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchFirewallRequest

PatchFirewallRequest.Builder

A request message for Firewalls.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchFirewallRequest

PatchForwardingRuleRequest

A request message for ForwardingRules.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchForwardingRuleRequest

PatchForwardingRuleRequest.Builder

A request message for ForwardingRules.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchForwardingRuleRequest

PatchGlobalForwardingRuleRequest

A request message for GlobalForwardingRules.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchGlobalForwardingRuleRequest

PatchGlobalForwardingRuleRequest.Builder

A request message for GlobalForwardingRules.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchGlobalForwardingRuleRequest

PatchGlobalPublicDelegatedPrefixeRequest

A request message for GlobalPublicDelegatedPrefixes.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchGlobalPublicDelegatedPrefixeRequest

PatchGlobalPublicDelegatedPrefixeRequest.Builder

A request message for GlobalPublicDelegatedPrefixes.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchGlobalPublicDelegatedPrefixeRequest

PatchHealthCheckRequest

A request message for HealthChecks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchHealthCheckRequest

PatchHealthCheckRequest.Builder

A request message for HealthChecks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchHealthCheckRequest

PatchImageRequest

A request message for Images.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchImageRequest

PatchImageRequest.Builder

A request message for Images.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchImageRequest

PatchInstanceGroupManagerRequest

A request message for InstanceGroupManagers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchInstanceGroupManagerRequest

PatchInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchInstanceGroupManagerRequest

PatchInterconnectAttachmentRequest

A request message for InterconnectAttachments.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchInterconnectAttachmentRequest

PatchInterconnectAttachmentRequest.Builder

A request message for InterconnectAttachments.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchInterconnectAttachmentRequest

PatchInterconnectRequest

A request message for Interconnects.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchInterconnectRequest

PatchInterconnectRequest.Builder

A request message for Interconnects.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchInterconnectRequest

PatchNetworkEdgeSecurityServiceRequest

A request message for NetworkEdgeSecurityServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest

PatchNetworkEdgeSecurityServiceRequest.Builder

A request message for NetworkEdgeSecurityServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest

PatchNetworkFirewallPolicyRequest

A request message for NetworkFirewallPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest

PatchNetworkFirewallPolicyRequest.Builder

A request message for NetworkFirewallPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest

PatchNetworkRequest

A request message for Networks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNetworkRequest

PatchNetworkRequest.Builder

A request message for Networks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNetworkRequest

PatchNodeGroupRequest

A request message for NodeGroups.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNodeGroupRequest

PatchNodeGroupRequest.Builder

A request message for NodeGroups.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchNodeGroupRequest

PatchPacketMirroringRequest

A request message for PacketMirrorings.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPacketMirroringRequest

PatchPacketMirroringRequest.Builder

A request message for PacketMirrorings.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPacketMirroringRequest

PatchPerInstanceConfigsInstanceGroupManagerRequest

A request message for InstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPerInstanceConfigsInstanceGroupManagerRequest

PatchPerInstanceConfigsInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPerInstanceConfigsInstanceGroupManagerRequest

PatchPerInstanceConfigsRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest

PatchPerInstanceConfigsRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPerInstanceConfigsRegionInstanceGroupManagerRequest

PatchPublicAdvertisedPrefixeRequest

A request message for PublicAdvertisedPrefixes.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPublicAdvertisedPrefixeRequest

PatchPublicAdvertisedPrefixeRequest.Builder

A request message for PublicAdvertisedPrefixes.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPublicAdvertisedPrefixeRequest

PatchPublicDelegatedPrefixeRequest

A request message for PublicDelegatedPrefixes.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPublicDelegatedPrefixeRequest

PatchPublicDelegatedPrefixeRequest.Builder

A request message for PublicDelegatedPrefixes.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchPublicDelegatedPrefixeRequest

PatchRegionAutoscalerRequest

A request message for RegionAutoscalers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionAutoscalerRequest

PatchRegionAutoscalerRequest.Builder

A request message for RegionAutoscalers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionAutoscalerRequest

PatchRegionBackendServiceRequest

A request message for RegionBackendServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionBackendServiceRequest

PatchRegionBackendServiceRequest.Builder

A request message for RegionBackendServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionBackendServiceRequest

PatchRegionHealthCheckRequest

A request message for RegionHealthChecks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionHealthCheckRequest

PatchRegionHealthCheckRequest.Builder

A request message for RegionHealthChecks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionHealthCheckRequest

PatchRegionHealthCheckServiceRequest

A request message for RegionHealthCheckServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionHealthCheckServiceRequest

PatchRegionHealthCheckServiceRequest.Builder

A request message for RegionHealthCheckServices.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionHealthCheckServiceRequest

PatchRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionInstanceGroupManagerRequest

PatchRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionInstanceGroupManagerRequest

PatchRegionNetworkFirewallPolicyRequest

A request message for RegionNetworkFirewallPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest

PatchRegionNetworkFirewallPolicyRequest.Builder

A request message for RegionNetworkFirewallPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest

PatchRegionSecurityPolicyRequest

A request message for RegionSecurityPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionSecurityPolicyRequest

PatchRegionSecurityPolicyRequest.Builder

A request message for RegionSecurityPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionSecurityPolicyRequest

PatchRegionSslPolicyRequest

A request message for RegionSslPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionSslPolicyRequest

PatchRegionSslPolicyRequest.Builder

A request message for RegionSslPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionSslPolicyRequest

PatchRegionTargetHttpsProxyRequest

A request message for RegionTargetHttpsProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest

PatchRegionTargetHttpsProxyRequest.Builder

A request message for RegionTargetHttpsProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest

PatchRegionUrlMapRequest

A request message for RegionUrlMaps.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionUrlMapRequest

PatchRegionUrlMapRequest.Builder

A request message for RegionUrlMaps.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRegionUrlMapRequest

PatchResourcePolicyRequest

A request message for ResourcePolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchResourcePolicyRequest

PatchResourcePolicyRequest.Builder

A request message for ResourcePolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchResourcePolicyRequest

PatchRouterRequest

A request message for Routers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRouterRequest

PatchRouterRequest.Builder

A request message for Routers.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRouterRequest

PatchRuleFirewallPolicyRequest

A request message for FirewallPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleFirewallPolicyRequest

PatchRuleFirewallPolicyRequest.Builder

A request message for FirewallPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleFirewallPolicyRequest

PatchRuleNetworkFirewallPolicyRequest

A request message for NetworkFirewallPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest

PatchRuleNetworkFirewallPolicyRequest.Builder

A request message for NetworkFirewallPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest

PatchRuleRegionNetworkFirewallPolicyRequest

A request message for RegionNetworkFirewallPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest

PatchRuleRegionNetworkFirewallPolicyRequest.Builder

A request message for RegionNetworkFirewallPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest

PatchRuleSecurityPolicyRequest

A request message for SecurityPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleSecurityPolicyRequest

PatchRuleSecurityPolicyRequest.Builder

A request message for SecurityPolicies.PatchRule. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchRuleSecurityPolicyRequest

PatchSecurityPolicyRequest

A request message for SecurityPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchSecurityPolicyRequest

PatchSecurityPolicyRequest.Builder

A request message for SecurityPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchSecurityPolicyRequest

PatchServiceAttachmentRequest

A request message for ServiceAttachments.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchServiceAttachmentRequest

PatchServiceAttachmentRequest.Builder

A request message for ServiceAttachments.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchServiceAttachmentRequest

PatchSslPolicyRequest

A request message for SslPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchSslPolicyRequest

PatchSslPolicyRequest.Builder

A request message for SslPolicies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchSslPolicyRequest

PatchSubnetworkRequest

A request message for Subnetworks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchSubnetworkRequest

PatchSubnetworkRequest.Builder

A request message for Subnetworks.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchSubnetworkRequest

PatchTargetGrpcProxyRequest

A request message for TargetGrpcProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchTargetGrpcProxyRequest

PatchTargetGrpcProxyRequest.Builder

A request message for TargetGrpcProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchTargetGrpcProxyRequest

PatchTargetHttpProxyRequest

A request message for TargetHttpProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchTargetHttpProxyRequest

PatchTargetHttpProxyRequest.Builder

A request message for TargetHttpProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchTargetHttpProxyRequest

PatchTargetHttpsProxyRequest

A request message for TargetHttpsProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchTargetHttpsProxyRequest

PatchTargetHttpsProxyRequest.Builder

A request message for TargetHttpsProxies.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchTargetHttpsProxyRequest

PatchUrlMapRequest

A request message for UrlMaps.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchUrlMapRequest

PatchUrlMapRequest.Builder

A request message for UrlMaps.Patch. See the method description for details.

Protobuf type google.cloud.compute.v1.PatchUrlMapRequest

PathMatcher

A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used.

Protobuf type google.cloud.compute.v1.PathMatcher

PathMatcher.Builder

A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used.

Protobuf type google.cloud.compute.v1.PathMatcher

PathRule

A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.

Protobuf type google.cloud.compute.v1.PathRule

PathRule.Builder

A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL.

Protobuf type google.cloud.compute.v1.PathRule

PerInstanceConfig

Protobuf type google.cloud.compute.v1.PerInstanceConfig

PerInstanceConfig.Builder

Protobuf type google.cloud.compute.v1.PerInstanceConfig

Policy

An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation. JSON example: { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation.

Protobuf type google.cloud.compute.v1.Policy

Policy.Builder

An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation. JSON example: { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation.

Protobuf type google.cloud.compute.v1.Policy

PreconfiguredWafSet

Protobuf type google.cloud.compute.v1.PreconfiguredWafSet

PreconfiguredWafSet.Builder

Protobuf type google.cloud.compute.v1.PreconfiguredWafSet

PreservedState

Preserved state for a given instance.

Protobuf type google.cloud.compute.v1.PreservedState

PreservedState.Builder

Preserved state for a given instance.

Protobuf type google.cloud.compute.v1.PreservedState

PreservedStatePreservedDisk

Protobuf type google.cloud.compute.v1.PreservedStatePreservedDisk

PreservedStatePreservedDisk.Builder

Protobuf type google.cloud.compute.v1.PreservedStatePreservedDisk

PreviewRouterRequest

A request message for Routers.Preview. See the method description for details.

Protobuf type google.cloud.compute.v1.PreviewRouterRequest

PreviewRouterRequest.Builder

A request message for Routers.Preview. See the method description for details.

Protobuf type google.cloud.compute.v1.PreviewRouterRequest

Project

Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.

Protobuf type google.cloud.compute.v1.Project

Project.Builder

Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy.

Protobuf type google.cloud.compute.v1.Project

ProjectsClient

Service Description: The Projects 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 (ProjectsClient projectsClient = ProjectsClient.create()) {
   String project = "project-309310695";
   Project response = projectsClient.get(project);
 }
 

Note: close() needs to be called on the ProjectsClient 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:

  1. 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.
  2. 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.
  3. 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 ProjectsSettings 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
 ProjectsSettings projectsSettings =
     ProjectsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ProjectsClient projectsClient = ProjectsClient.create(projectsSettings);
 

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
 ProjectsSettings projectsSettings =
     ProjectsSettings.newBuilder().setEndpoint(myEndpoint).build();
 ProjectsClient projectsClient = ProjectsClient.create(projectsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ProjectsClient.GetXpnResourcesFixedSizeCollection

ProjectsClient.GetXpnResourcesPage

ProjectsClient.GetXpnResourcesPagedResponse

ProjectsClient.ListXpnHostsFixedSizeCollection

ProjectsClient.ListXpnHostsPage

ProjectsClient.ListXpnHostsPagedResponse

ProjectsDisableXpnResourceRequest

Protobuf type google.cloud.compute.v1.ProjectsDisableXpnResourceRequest

ProjectsDisableXpnResourceRequest.Builder

Protobuf type google.cloud.compute.v1.ProjectsDisableXpnResourceRequest

ProjectsEnableXpnResourceRequest

Protobuf type google.cloud.compute.v1.ProjectsEnableXpnResourceRequest

ProjectsEnableXpnResourceRequest.Builder

Protobuf type google.cloud.compute.v1.ProjectsEnableXpnResourceRequest

ProjectsGetXpnResources

Protobuf type google.cloud.compute.v1.ProjectsGetXpnResources

ProjectsGetXpnResources.Builder

Protobuf type google.cloud.compute.v1.ProjectsGetXpnResources

ProjectsListXpnHostsRequest

Protobuf type google.cloud.compute.v1.ProjectsListXpnHostsRequest

ProjectsListXpnHostsRequest.Builder

Protobuf type google.cloud.compute.v1.ProjectsListXpnHostsRequest

ProjectsSetDefaultNetworkTierRequest

Protobuf type google.cloud.compute.v1.ProjectsSetDefaultNetworkTierRequest

ProjectsSetDefaultNetworkTierRequest.Builder

Protobuf type google.cloud.compute.v1.ProjectsSetDefaultNetworkTierRequest

ProjectsSettings

Settings class to configure an instance of ProjectsClient.

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
 ProjectsSettings.Builder projectsSettingsBuilder = ProjectsSettings.newBuilder();
 projectsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         projectsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ProjectsSettings projectsSettings = projectsSettingsBuilder.build();
 

ProjectsSettings.Builder

Builder for ProjectsSettings.

PublicAdvertisedPrefix

A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.

Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefix

PublicAdvertisedPrefix.Builder

A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.

Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefix

PublicAdvertisedPrefixList

Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixList

PublicAdvertisedPrefixList.Builder

Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixList

PublicAdvertisedPrefixPublicDelegatedPrefix

Represents a CIDR range which can be used to assign addresses.

Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix

PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

Represents a CIDR range which can be used to assign addresses.

Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix

PublicAdvertisedPrefixesClient

Service Description: The PublicAdvertisedPrefixes 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 (PublicAdvertisedPrefixesClient publicAdvertisedPrefixesClient =
     PublicAdvertisedPrefixesClient.create()) {
   String project = "project-309310695";
   String publicAdvertisedPrefix = "publicAdvertisedPrefix1506440856";
   PublicAdvertisedPrefix response =
       publicAdvertisedPrefixesClient.get(project, publicAdvertisedPrefix);
 }
 

Note: close() needs to be called on the PublicAdvertisedPrefixesClient 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:

  1. 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.
  2. 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.
  3. 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 PublicAdvertisedPrefixesSettings 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
 PublicAdvertisedPrefixesSettings publicAdvertisedPrefixesSettings =
     PublicAdvertisedPrefixesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 PublicAdvertisedPrefixesClient publicAdvertisedPrefixesClient =
     PublicAdvertisedPrefixesClient.create(publicAdvertisedPrefixesSettings);
 

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
 PublicAdvertisedPrefixesSettings publicAdvertisedPrefixesSettings =
     PublicAdvertisedPrefixesSettings.newBuilder().setEndpoint(myEndpoint).build();
 PublicAdvertisedPrefixesClient publicAdvertisedPrefixesClient =
     PublicAdvertisedPrefixesClient.create(publicAdvertisedPrefixesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

PublicAdvertisedPrefixesClient.ListFixedSizeCollection

PublicAdvertisedPrefixesClient.ListPage

PublicAdvertisedPrefixesClient.ListPagedResponse

PublicAdvertisedPrefixesSettings

Settings class to configure an instance of PublicAdvertisedPrefixesClient.

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
 PublicAdvertisedPrefixesSettings.Builder publicAdvertisedPrefixesSettingsBuilder =
     PublicAdvertisedPrefixesSettings.newBuilder();
 publicAdvertisedPrefixesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         publicAdvertisedPrefixesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 PublicAdvertisedPrefixesSettings publicAdvertisedPrefixesSettings =
     publicAdvertisedPrefixesSettingsBuilder.build();
 

PublicAdvertisedPrefixesSettings.Builder

Builder for PublicAdvertisedPrefixesSettings.

PublicDelegatedPrefix

A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefix

PublicDelegatedPrefix.Builder

A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefix

PublicDelegatedPrefixAggregatedList

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixAggregatedList

PublicDelegatedPrefixAggregatedList.Builder

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixAggregatedList

PublicDelegatedPrefixList

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixList

PublicDelegatedPrefixList.Builder

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixList

PublicDelegatedPrefixPublicDelegatedSubPrefix

Represents a sub PublicDelegatedPrefix.

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix

PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

Represents a sub PublicDelegatedPrefix.

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix

PublicDelegatedPrefixesClient

Service Description: The PublicDelegatedPrefixes 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 (PublicDelegatedPrefixesClient publicDelegatedPrefixesClient =
     PublicDelegatedPrefixesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String publicDelegatedPrefix = "publicDelegatedPrefix-663003832";
   PublicDelegatedPrefix response =
       publicDelegatedPrefixesClient.get(project, region, publicDelegatedPrefix);
 }
 

Note: close() needs to be called on the PublicDelegatedPrefixesClient 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:

  1. 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.
  2. 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.
  3. 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 PublicDelegatedPrefixesSettings 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
 PublicDelegatedPrefixesSettings publicDelegatedPrefixesSettings =
     PublicDelegatedPrefixesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 PublicDelegatedPrefixesClient publicDelegatedPrefixesClient =
     PublicDelegatedPrefixesClient.create(publicDelegatedPrefixesSettings);
 

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
 PublicDelegatedPrefixesSettings publicDelegatedPrefixesSettings =
     PublicDelegatedPrefixesSettings.newBuilder().setEndpoint(myEndpoint).build();
 PublicDelegatedPrefixesClient publicDelegatedPrefixesClient =
     PublicDelegatedPrefixesClient.create(publicDelegatedPrefixesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

PublicDelegatedPrefixesClient.AggregatedListFixedSizeCollection

PublicDelegatedPrefixesClient.AggregatedListPage

PublicDelegatedPrefixesClient.AggregatedListPagedResponse

PublicDelegatedPrefixesClient.ListFixedSizeCollection

PublicDelegatedPrefixesClient.ListPage

PublicDelegatedPrefixesClient.ListPagedResponse

PublicDelegatedPrefixesScopedList

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixesScopedList

PublicDelegatedPrefixesScopedList.Builder

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixesScopedList

PublicDelegatedPrefixesSettings

Settings class to configure an instance of PublicDelegatedPrefixesClient.

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
 PublicDelegatedPrefixesSettings.Builder publicDelegatedPrefixesSettingsBuilder =
     PublicDelegatedPrefixesSettings.newBuilder();
 publicDelegatedPrefixesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         publicDelegatedPrefixesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 PublicDelegatedPrefixesSettings publicDelegatedPrefixesSettings =
     publicDelegatedPrefixesSettingsBuilder.build();
 

PublicDelegatedPrefixesSettings.Builder

Builder for PublicDelegatedPrefixesSettings.

Quota

A quotas entry.

Protobuf type google.cloud.compute.v1.Quota

Quota.Builder

A quotas entry.

Protobuf type google.cloud.compute.v1.Quota

QuotaExceededInfo

Additional details for quota exceeded error for resource quota.

Protobuf type google.cloud.compute.v1.QuotaExceededInfo

QuotaExceededInfo.Builder

Additional details for quota exceeded error for resource quota.

Protobuf type google.cloud.compute.v1.QuotaExceededInfo

RawDisk

The parameters of the raw disk image.

Protobuf type google.cloud.compute.v1.RawDisk

RawDisk.Builder

The parameters of the raw disk image.

Protobuf type google.cloud.compute.v1.RawDisk

RecreateInstancesInstanceGroupManagerRequest

A request message for InstanceGroupManagers.RecreateInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest

RecreateInstancesInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.RecreateInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.RecreateInstancesInstanceGroupManagerRequest

RecreateInstancesRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.RecreateInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.RecreateInstancesRegionInstanceGroupManagerRequest

RecreateInstancesRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.RecreateInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.RecreateInstancesRegionInstanceGroupManagerRequest

Reference

Represents a reference to a resource.

Protobuf type google.cloud.compute.v1.Reference

Reference.Builder

Represents a reference to a resource.

Protobuf type google.cloud.compute.v1.Reference

Region

Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.

Protobuf type google.cloud.compute.v1.Region

Region.Builder

Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.

Protobuf type google.cloud.compute.v1.Region

RegionAddressesMoveRequest

Protobuf type google.cloud.compute.v1.RegionAddressesMoveRequest

RegionAddressesMoveRequest.Builder

Protobuf type google.cloud.compute.v1.RegionAddressesMoveRequest

RegionAutoscalerList

Contains a list of autoscalers.

Protobuf type google.cloud.compute.v1.RegionAutoscalerList

RegionAutoscalerList.Builder

Contains a list of autoscalers.

Protobuf type google.cloud.compute.v1.RegionAutoscalerList

RegionAutoscalersClient

Service Description: The RegionAutoscalers 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 (RegionAutoscalersClient regionAutoscalersClient = RegionAutoscalersClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String autoscaler = "autoscaler517258967";
   Autoscaler response = regionAutoscalersClient.get(project, region, autoscaler);
 }
 

Note: close() needs to be called on the RegionAutoscalersClient 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:

  1. 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.
  2. 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.
  3. 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 RegionAutoscalersSettings 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
 RegionAutoscalersSettings regionAutoscalersSettings =
     RegionAutoscalersSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionAutoscalersClient regionAutoscalersClient =
     RegionAutoscalersClient.create(regionAutoscalersSettings);
 

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
 RegionAutoscalersSettings regionAutoscalersSettings =
     RegionAutoscalersSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionAutoscalersClient regionAutoscalersClient =
     RegionAutoscalersClient.create(regionAutoscalersSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionAutoscalersClient.ListFixedSizeCollection

RegionAutoscalersClient.ListPage

RegionAutoscalersClient.ListPagedResponse

RegionAutoscalersSettings

Settings class to configure an instance of RegionAutoscalersClient.

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
 RegionAutoscalersSettings.Builder regionAutoscalersSettingsBuilder =
     RegionAutoscalersSettings.newBuilder();
 regionAutoscalersSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionAutoscalersSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionAutoscalersSettings regionAutoscalersSettings = regionAutoscalersSettingsBuilder.build();
 

RegionAutoscalersSettings.Builder

Builder for RegionAutoscalersSettings.

RegionBackendServicesClient

Service Description: The RegionBackendServices 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 (RegionBackendServicesClient regionBackendServicesClient =
     RegionBackendServicesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String backendService = "backendService-1884714623";
   BackendService response = regionBackendServicesClient.get(project, region, backendService);
 }
 

Note: close() needs to be called on the RegionBackendServicesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionBackendServicesSettings 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
 RegionBackendServicesSettings regionBackendServicesSettings =
     RegionBackendServicesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionBackendServicesClient regionBackendServicesClient =
     RegionBackendServicesClient.create(regionBackendServicesSettings);
 

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
 RegionBackendServicesSettings regionBackendServicesSettings =
     RegionBackendServicesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionBackendServicesClient regionBackendServicesClient =
     RegionBackendServicesClient.create(regionBackendServicesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionBackendServicesClient.ListFixedSizeCollection

RegionBackendServicesClient.ListPage

RegionBackendServicesClient.ListPagedResponse

RegionBackendServicesSettings

Settings class to configure an instance of RegionBackendServicesClient.

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
 RegionBackendServicesSettings.Builder regionBackendServicesSettingsBuilder =
     RegionBackendServicesSettings.newBuilder();
 regionBackendServicesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionBackendServicesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionBackendServicesSettings regionBackendServicesSettings =
     regionBackendServicesSettingsBuilder.build();
 

RegionBackendServicesSettings.Builder

Builder for RegionBackendServicesSettings.

RegionCommitmentsClient

Service Description: The RegionCommitments 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 (RegionCommitmentsClient regionCommitmentsClient = RegionCommitmentsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String commitment = "commitment1019005717";
   Commitment response = regionCommitmentsClient.get(project, region, commitment);
 }
 

Note: close() needs to be called on the RegionCommitmentsClient 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:

  1. 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.
  2. 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.
  3. 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 RegionCommitmentsSettings 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
 RegionCommitmentsSettings regionCommitmentsSettings =
     RegionCommitmentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionCommitmentsClient regionCommitmentsClient =
     RegionCommitmentsClient.create(regionCommitmentsSettings);
 

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
 RegionCommitmentsSettings regionCommitmentsSettings =
     RegionCommitmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionCommitmentsClient regionCommitmentsClient =
     RegionCommitmentsClient.create(regionCommitmentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionCommitmentsClient.AggregatedListFixedSizeCollection

RegionCommitmentsClient.AggregatedListPage

RegionCommitmentsClient.AggregatedListPagedResponse

RegionCommitmentsClient.ListFixedSizeCollection

RegionCommitmentsClient.ListPage

RegionCommitmentsClient.ListPagedResponse

RegionCommitmentsSettings

Settings class to configure an instance of RegionCommitmentsClient.

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
 RegionCommitmentsSettings.Builder regionCommitmentsSettingsBuilder =
     RegionCommitmentsSettings.newBuilder();
 regionCommitmentsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionCommitmentsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionCommitmentsSettings regionCommitmentsSettings = regionCommitmentsSettingsBuilder.build();
 

RegionCommitmentsSettings.Builder

Builder for RegionCommitmentsSettings.

RegionDiskTypeList

Protobuf type google.cloud.compute.v1.RegionDiskTypeList

RegionDiskTypeList.Builder

Protobuf type google.cloud.compute.v1.RegionDiskTypeList

RegionDiskTypesClient

Service Description: The RegionDiskTypes 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 (RegionDiskTypesClient regionDiskTypesClient = RegionDiskTypesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String diskType = "diskType279771767";
   DiskType response = regionDiskTypesClient.get(project, region, diskType);
 }
 

Note: close() needs to be called on the RegionDiskTypesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionDiskTypesSettings 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
 RegionDiskTypesSettings regionDiskTypesSettings =
     RegionDiskTypesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionDiskTypesClient regionDiskTypesClient =
     RegionDiskTypesClient.create(regionDiskTypesSettings);
 

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
 RegionDiskTypesSettings regionDiskTypesSettings =
     RegionDiskTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionDiskTypesClient regionDiskTypesClient =
     RegionDiskTypesClient.create(regionDiskTypesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionDiskTypesClient.ListFixedSizeCollection

RegionDiskTypesClient.ListPage

RegionDiskTypesClient.ListPagedResponse

RegionDiskTypesSettings

Settings class to configure an instance of RegionDiskTypesClient.

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
 RegionDiskTypesSettings.Builder regionDiskTypesSettingsBuilder =
     RegionDiskTypesSettings.newBuilder();
 regionDiskTypesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionDiskTypesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionDiskTypesSettings regionDiskTypesSettings = regionDiskTypesSettingsBuilder.build();
 

RegionDiskTypesSettings.Builder

Builder for RegionDiskTypesSettings.

RegionDisksAddResourcePoliciesRequest

Protobuf type google.cloud.compute.v1.RegionDisksAddResourcePoliciesRequest

RegionDisksAddResourcePoliciesRequest.Builder

Protobuf type google.cloud.compute.v1.RegionDisksAddResourcePoliciesRequest

RegionDisksClient

Service Description: The RegionDisks 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 (RegionDisksClient regionDisksClient = RegionDisksClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String disk = "disk3083677";
   Disk response = regionDisksClient.get(project, region, disk);
 }
 

Note: close() needs to be called on the RegionDisksClient 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:

  1. 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.
  2. 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.
  3. 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 RegionDisksSettings 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
 RegionDisksSettings regionDisksSettings =
     RegionDisksSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionDisksClient regionDisksClient = RegionDisksClient.create(regionDisksSettings);
 

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
 RegionDisksSettings regionDisksSettings =
     RegionDisksSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionDisksClient regionDisksClient = RegionDisksClient.create(regionDisksSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionDisksClient.ListFixedSizeCollection

RegionDisksClient.ListPage

RegionDisksClient.ListPagedResponse

RegionDisksRemoveResourcePoliciesRequest

Protobuf type google.cloud.compute.v1.RegionDisksRemoveResourcePoliciesRequest

RegionDisksRemoveResourcePoliciesRequest.Builder

Protobuf type google.cloud.compute.v1.RegionDisksRemoveResourcePoliciesRequest

RegionDisksResizeRequest

Protobuf type google.cloud.compute.v1.RegionDisksResizeRequest

RegionDisksResizeRequest.Builder

Protobuf type google.cloud.compute.v1.RegionDisksResizeRequest

RegionDisksSettings

Settings class to configure an instance of RegionDisksClient.

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
 RegionDisksSettings.Builder regionDisksSettingsBuilder = RegionDisksSettings.newBuilder();
 regionDisksSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionDisksSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionDisksSettings regionDisksSettings = regionDisksSettingsBuilder.build();
 

RegionDisksSettings.Builder

Builder for RegionDisksSettings.

RegionDisksStartAsyncReplicationRequest

Protobuf type google.cloud.compute.v1.RegionDisksStartAsyncReplicationRequest

RegionDisksStartAsyncReplicationRequest.Builder

Protobuf type google.cloud.compute.v1.RegionDisksStartAsyncReplicationRequest

RegionHealthCheckServicesClient

Service Description: The RegionHealthCheckServices 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 (RegionHealthCheckServicesClient regionHealthCheckServicesClient =
     RegionHealthCheckServicesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String healthCheckService = "healthCheckService-917902071";
   HealthCheckService response =
       regionHealthCheckServicesClient.get(project, region, healthCheckService);
 }
 

Note: close() needs to be called on the RegionHealthCheckServicesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionHealthCheckServicesSettings 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
 RegionHealthCheckServicesSettings regionHealthCheckServicesSettings =
     RegionHealthCheckServicesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionHealthCheckServicesClient regionHealthCheckServicesClient =
     RegionHealthCheckServicesClient.create(regionHealthCheckServicesSettings);
 

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
 RegionHealthCheckServicesSettings regionHealthCheckServicesSettings =
     RegionHealthCheckServicesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionHealthCheckServicesClient regionHealthCheckServicesClient =
     RegionHealthCheckServicesClient.create(regionHealthCheckServicesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionHealthCheckServicesClient.ListFixedSizeCollection

RegionHealthCheckServicesClient.ListPage

RegionHealthCheckServicesClient.ListPagedResponse

RegionHealthCheckServicesSettings

Settings class to configure an instance of RegionHealthCheckServicesClient.

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
 RegionHealthCheckServicesSettings.Builder regionHealthCheckServicesSettingsBuilder =
     RegionHealthCheckServicesSettings.newBuilder();
 regionHealthCheckServicesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionHealthCheckServicesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionHealthCheckServicesSettings regionHealthCheckServicesSettings =
     regionHealthCheckServicesSettingsBuilder.build();
 

RegionHealthCheckServicesSettings.Builder

Builder for RegionHealthCheckServicesSettings.

RegionHealthChecksClient

Service Description: The RegionHealthChecks 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 (RegionHealthChecksClient regionHealthChecksClient = RegionHealthChecksClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String healthCheck = "healthCheck-1938093044";
   HealthCheck response = regionHealthChecksClient.get(project, region, healthCheck);
 }
 

Note: close() needs to be called on the RegionHealthChecksClient 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:

  1. 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.
  2. 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.
  3. 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 RegionHealthChecksSettings 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
 RegionHealthChecksSettings regionHealthChecksSettings =
     RegionHealthChecksSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionHealthChecksClient regionHealthChecksClient =
     RegionHealthChecksClient.create(regionHealthChecksSettings);
 

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
 RegionHealthChecksSettings regionHealthChecksSettings =
     RegionHealthChecksSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionHealthChecksClient regionHealthChecksClient =
     RegionHealthChecksClient.create(regionHealthChecksSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionHealthChecksClient.ListFixedSizeCollection

RegionHealthChecksClient.ListPage

RegionHealthChecksClient.ListPagedResponse

RegionHealthChecksSettings

Settings class to configure an instance of RegionHealthChecksClient.

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
 RegionHealthChecksSettings.Builder regionHealthChecksSettingsBuilder =
     RegionHealthChecksSettings.newBuilder();
 regionHealthChecksSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionHealthChecksSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionHealthChecksSettings regionHealthChecksSettings =
     regionHealthChecksSettingsBuilder.build();
 

RegionHealthChecksSettings.Builder

Builder for RegionHealthChecksSettings.

RegionInstanceGroupList

Contains a list of InstanceGroup resources.

Protobuf type google.cloud.compute.v1.RegionInstanceGroupList

RegionInstanceGroupList.Builder

Contains a list of InstanceGroup resources.

Protobuf type google.cloud.compute.v1.RegionInstanceGroupList

RegionInstanceGroupManagerDeleteInstanceConfigReq

RegionInstanceGroupManagers.deletePerInstanceConfigs

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerDeleteInstanceConfigReq

RegionInstanceGroupManagerDeleteInstanceConfigReq.Builder

RegionInstanceGroupManagers.deletePerInstanceConfigs

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerDeleteInstanceConfigReq

RegionInstanceGroupManagerList

Contains a list of managed instance groups.

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerList

RegionInstanceGroupManagerList.Builder

Contains a list of managed instance groups.

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerList

RegionInstanceGroupManagerPatchInstanceConfigReq

RegionInstanceGroupManagers.patchPerInstanceConfigs

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerPatchInstanceConfigReq

RegionInstanceGroupManagerPatchInstanceConfigReq.Builder

RegionInstanceGroupManagers.patchPerInstanceConfigs

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerPatchInstanceConfigReq

RegionInstanceGroupManagerUpdateInstanceConfigReq

RegionInstanceGroupManagers.updatePerInstanceConfigs

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerUpdateInstanceConfigReq

RegionInstanceGroupManagerUpdateInstanceConfigReq.Builder

RegionInstanceGroupManagers.updatePerInstanceConfigs

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagerUpdateInstanceConfigReq

RegionInstanceGroupManagersAbandonInstancesRequest

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersAbandonInstancesRequest

RegionInstanceGroupManagersAbandonInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersAbandonInstancesRequest

RegionInstanceGroupManagersApplyUpdatesRequest

RegionInstanceGroupManagers.applyUpdatesToInstances

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest

RegionInstanceGroupManagersApplyUpdatesRequest.Builder

RegionInstanceGroupManagers.applyUpdatesToInstances

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest

RegionInstanceGroupManagersClient

Service Description: The RegionInstanceGroupManagers 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 (RegionInstanceGroupManagersClient regionInstanceGroupManagersClient =
     RegionInstanceGroupManagersClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String instanceGroupManager = "instanceGroupManager-388242077";
   InstanceGroupManager response =
       regionInstanceGroupManagersClient.get(project, region, instanceGroupManager);
 }
 

Note: close() needs to be called on the RegionInstanceGroupManagersClient 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:

  1. 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.
  2. 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.
  3. 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 RegionInstanceGroupManagersSettings 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
 RegionInstanceGroupManagersSettings regionInstanceGroupManagersSettings =
     RegionInstanceGroupManagersSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionInstanceGroupManagersClient regionInstanceGroupManagersClient =
     RegionInstanceGroupManagersClient.create(regionInstanceGroupManagersSettings);
 

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
 RegionInstanceGroupManagersSettings regionInstanceGroupManagersSettings =
     RegionInstanceGroupManagersSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionInstanceGroupManagersClient regionInstanceGroupManagersClient =
     RegionInstanceGroupManagersClient.create(regionInstanceGroupManagersSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionInstanceGroupManagersClient.ListErrorsFixedSizeCollection

RegionInstanceGroupManagersClient.ListErrorsPage

RegionInstanceGroupManagersClient.ListErrorsPagedResponse

RegionInstanceGroupManagersClient.ListFixedSizeCollection

RegionInstanceGroupManagersClient.ListManagedInstancesFixedSizeCollection

RegionInstanceGroupManagersClient.ListManagedInstancesPage

RegionInstanceGroupManagersClient.ListManagedInstancesPagedResponse

RegionInstanceGroupManagersClient.ListPage

RegionInstanceGroupManagersClient.ListPagedResponse

RegionInstanceGroupManagersClient.ListPerInstanceConfigsFixedSizeCollection

RegionInstanceGroupManagersClient.ListPerInstanceConfigsPage

RegionInstanceGroupManagersClient.ListPerInstanceConfigsPagedResponse

RegionInstanceGroupManagersCreateInstancesRequest

RegionInstanceGroupManagers.createInstances

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersCreateInstancesRequest

RegionInstanceGroupManagersCreateInstancesRequest.Builder

RegionInstanceGroupManagers.createInstances

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersCreateInstancesRequest

RegionInstanceGroupManagersDeleteInstancesRequest

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersDeleteInstancesRequest

RegionInstanceGroupManagersDeleteInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersDeleteInstancesRequest

RegionInstanceGroupManagersListErrorsResponse

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersListErrorsResponse

RegionInstanceGroupManagersListErrorsResponse.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersListErrorsResponse

RegionInstanceGroupManagersListInstanceConfigsResp

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersListInstanceConfigsResp

RegionInstanceGroupManagersListInstanceConfigsResp.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersListInstanceConfigsResp

RegionInstanceGroupManagersListInstancesResponse

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersListInstancesResponse

RegionInstanceGroupManagersListInstancesResponse.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersListInstancesResponse

RegionInstanceGroupManagersRecreateRequest

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersRecreateRequest

RegionInstanceGroupManagersRecreateRequest.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersRecreateRequest

RegionInstanceGroupManagersSetTargetPoolsRequest

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequest

RegionInstanceGroupManagersSetTargetPoolsRequest.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTargetPoolsRequest

RegionInstanceGroupManagersSetTemplateRequest

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTemplateRequest

RegionInstanceGroupManagersSetTemplateRequest.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersSetTemplateRequest

RegionInstanceGroupManagersSettings

Settings class to configure an instance of RegionInstanceGroupManagersClient.

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
 RegionInstanceGroupManagersSettings.Builder regionInstanceGroupManagersSettingsBuilder =
     RegionInstanceGroupManagersSettings.newBuilder();
 regionInstanceGroupManagersSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionInstanceGroupManagersSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionInstanceGroupManagersSettings regionInstanceGroupManagersSettings =
     regionInstanceGroupManagersSettingsBuilder.build();
 

RegionInstanceGroupManagersSettings.Builder

Builder for RegionInstanceGroupManagersSettings.

RegionInstanceGroupsClient

Service Description: The RegionInstanceGroups 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 (RegionInstanceGroupsClient regionInstanceGroupsClient =
     RegionInstanceGroupsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String instanceGroup = "instanceGroup-1404696854";
   InstanceGroup response = regionInstanceGroupsClient.get(project, region, instanceGroup);
 }
 

Note: close() needs to be called on the RegionInstanceGroupsClient 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:

  1. 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.
  2. 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.
  3. 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 RegionInstanceGroupsSettings 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
 RegionInstanceGroupsSettings regionInstanceGroupsSettings =
     RegionInstanceGroupsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionInstanceGroupsClient regionInstanceGroupsClient =
     RegionInstanceGroupsClient.create(regionInstanceGroupsSettings);
 

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
 RegionInstanceGroupsSettings regionInstanceGroupsSettings =
     RegionInstanceGroupsSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionInstanceGroupsClient regionInstanceGroupsClient =
     RegionInstanceGroupsClient.create(regionInstanceGroupsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionInstanceGroupsClient.ListFixedSizeCollection

RegionInstanceGroupsClient.ListInstancesFixedSizeCollection

RegionInstanceGroupsClient.ListInstancesPage

RegionInstanceGroupsClient.ListInstancesPagedResponse

RegionInstanceGroupsClient.ListPage

RegionInstanceGroupsClient.ListPagedResponse

RegionInstanceGroupsListInstances

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsListInstances

RegionInstanceGroupsListInstances.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsListInstances

RegionInstanceGroupsListInstancesRequest

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest

RegionInstanceGroupsListInstancesRequest.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest

RegionInstanceGroupsSetNamedPortsRequest

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsSetNamedPortsRequest

RegionInstanceGroupsSetNamedPortsRequest.Builder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsSetNamedPortsRequest

RegionInstanceGroupsSettings

Settings class to configure an instance of RegionInstanceGroupsClient.

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
 RegionInstanceGroupsSettings.Builder regionInstanceGroupsSettingsBuilder =
     RegionInstanceGroupsSettings.newBuilder();
 regionInstanceGroupsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionInstanceGroupsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionInstanceGroupsSettings regionInstanceGroupsSettings =
     regionInstanceGroupsSettingsBuilder.build();
 

RegionInstanceGroupsSettings.Builder

Builder for RegionInstanceGroupsSettings.

RegionInstanceTemplatesClient

Service Description: The RegionInstanceTemplates 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 (RegionInstanceTemplatesClient regionInstanceTemplatesClient =
     RegionInstanceTemplatesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String instanceTemplate = "instanceTemplate1009541167";
   InstanceTemplate response =
       regionInstanceTemplatesClient.get(project, region, instanceTemplate);
 }
 

Note: close() needs to be called on the RegionInstanceTemplatesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionInstanceTemplatesSettings 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
 RegionInstanceTemplatesSettings regionInstanceTemplatesSettings =
     RegionInstanceTemplatesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionInstanceTemplatesClient regionInstanceTemplatesClient =
     RegionInstanceTemplatesClient.create(regionInstanceTemplatesSettings);
 

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
 RegionInstanceTemplatesSettings regionInstanceTemplatesSettings =
     RegionInstanceTemplatesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionInstanceTemplatesClient regionInstanceTemplatesClient =
     RegionInstanceTemplatesClient.create(regionInstanceTemplatesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionInstanceTemplatesClient.ListFixedSizeCollection

RegionInstanceTemplatesClient.ListPage

RegionInstanceTemplatesClient.ListPagedResponse

RegionInstanceTemplatesSettings

Settings class to configure an instance of RegionInstanceTemplatesClient.

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
 RegionInstanceTemplatesSettings.Builder regionInstanceTemplatesSettingsBuilder =
     RegionInstanceTemplatesSettings.newBuilder();
 regionInstanceTemplatesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionInstanceTemplatesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionInstanceTemplatesSettings regionInstanceTemplatesSettings =
     regionInstanceTemplatesSettingsBuilder.build();
 

RegionInstanceTemplatesSettings.Builder

Builder for RegionInstanceTemplatesSettings.

RegionInstancesClient

Service Description: The RegionInstances 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 (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();
 }
 

Note: close() needs to be called on the RegionInstancesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionInstancesSettings 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
 RegionInstancesSettings regionInstancesSettings =
     RegionInstancesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionInstancesClient regionInstancesClient =
     RegionInstancesClient.create(regionInstancesSettings);
 

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
 RegionInstancesSettings regionInstancesSettings =
     RegionInstancesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionInstancesClient regionInstancesClient =
     RegionInstancesClient.create(regionInstancesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionInstancesSettings

Settings class to configure an instance of RegionInstancesClient.

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 bulkInsert 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
 RegionInstancesSettings.Builder regionInstancesSettingsBuilder =
     RegionInstancesSettings.newBuilder();
 regionInstancesSettingsBuilder
     .bulkInsertSettings()
     .setRetrySettings(
         regionInstancesSettingsBuilder
             .bulkInsertSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionInstancesSettings regionInstancesSettings = regionInstancesSettingsBuilder.build();
 

RegionInstancesSettings.Builder

Builder for RegionInstancesSettings.

RegionList

Contains a list of region resources.

Protobuf type google.cloud.compute.v1.RegionList

RegionList.Builder

Contains a list of region resources.

Protobuf type google.cloud.compute.v1.RegionList

RegionNetworkEndpointGroupsClient

Service Description: The RegionNetworkEndpointGroups 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 (RegionNetworkEndpointGroupsClient regionNetworkEndpointGroupsClient =
     RegionNetworkEndpointGroupsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String networkEndpointGroup = "networkEndpointGroup-2120389028";
   NetworkEndpointGroup response =
       regionNetworkEndpointGroupsClient.get(project, region, networkEndpointGroup);
 }
 

Note: close() needs to be called on the RegionNetworkEndpointGroupsClient 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:

  1. 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.
  2. 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.
  3. 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 RegionNetworkEndpointGroupsSettings 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
 RegionNetworkEndpointGroupsSettings regionNetworkEndpointGroupsSettings =
     RegionNetworkEndpointGroupsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionNetworkEndpointGroupsClient regionNetworkEndpointGroupsClient =
     RegionNetworkEndpointGroupsClient.create(regionNetworkEndpointGroupsSettings);
 

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
 RegionNetworkEndpointGroupsSettings regionNetworkEndpointGroupsSettings =
     RegionNetworkEndpointGroupsSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionNetworkEndpointGroupsClient regionNetworkEndpointGroupsClient =
     RegionNetworkEndpointGroupsClient.create(regionNetworkEndpointGroupsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionNetworkEndpointGroupsClient.ListFixedSizeCollection

RegionNetworkEndpointGroupsClient.ListPage

RegionNetworkEndpointGroupsClient.ListPagedResponse

RegionNetworkEndpointGroupsSettings

Settings class to configure an instance of RegionNetworkEndpointGroupsClient.

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
 RegionNetworkEndpointGroupsSettings.Builder regionNetworkEndpointGroupsSettingsBuilder =
     RegionNetworkEndpointGroupsSettings.newBuilder();
 regionNetworkEndpointGroupsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionNetworkEndpointGroupsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionNetworkEndpointGroupsSettings regionNetworkEndpointGroupsSettings =
     regionNetworkEndpointGroupsSettingsBuilder.build();
 

RegionNetworkEndpointGroupsSettings.Builder

Builder for RegionNetworkEndpointGroupsSettings.

RegionNetworkFirewallPoliciesClient

Service Description: The RegionNetworkFirewallPolicies 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 (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
     RegionNetworkFirewallPoliciesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String firewallPolicy = "firewallPolicy1819692626";
   FirewallPolicy response =
       regionNetworkFirewallPoliciesClient.get(project, region, firewallPolicy);
 }
 

Note: close() needs to be called on the RegionNetworkFirewallPoliciesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionNetworkFirewallPoliciesSettings 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
 RegionNetworkFirewallPoliciesSettings regionNetworkFirewallPoliciesSettings =
     RegionNetworkFirewallPoliciesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
     RegionNetworkFirewallPoliciesClient.create(regionNetworkFirewallPoliciesSettings);
 

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
 RegionNetworkFirewallPoliciesSettings regionNetworkFirewallPoliciesSettings =
     RegionNetworkFirewallPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
     RegionNetworkFirewallPoliciesClient.create(regionNetworkFirewallPoliciesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionNetworkFirewallPoliciesClient.ListFixedSizeCollection

RegionNetworkFirewallPoliciesClient.ListPage

RegionNetworkFirewallPoliciesClient.ListPagedResponse

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse

Protobuf type google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.Builder

Protobuf type google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

Protobuf type google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder

Protobuf type google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy

RegionNetworkFirewallPoliciesSettings

Settings class to configure an instance of RegionNetworkFirewallPoliciesClient.

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
 RegionNetworkFirewallPoliciesSettings.Builder regionNetworkFirewallPoliciesSettingsBuilder =
     RegionNetworkFirewallPoliciesSettings.newBuilder();
 regionNetworkFirewallPoliciesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionNetworkFirewallPoliciesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionNetworkFirewallPoliciesSettings regionNetworkFirewallPoliciesSettings =
     regionNetworkFirewallPoliciesSettingsBuilder.build();
 

RegionNetworkFirewallPoliciesSettings.Builder

Builder for RegionNetworkFirewallPoliciesSettings.

RegionNotificationEndpointsClient

Service Description: The RegionNotificationEndpoints 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 (RegionNotificationEndpointsClient regionNotificationEndpointsClient =
     RegionNotificationEndpointsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String notificationEndpoint = "notificationEndpoint-354029664";
   NotificationEndpoint response =
       regionNotificationEndpointsClient.get(project, region, notificationEndpoint);
 }
 

Note: close() needs to be called on the RegionNotificationEndpointsClient 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:

  1. 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.
  2. 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.
  3. 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 RegionNotificationEndpointsSettings 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
 RegionNotificationEndpointsSettings regionNotificationEndpointsSettings =
     RegionNotificationEndpointsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionNotificationEndpointsClient regionNotificationEndpointsClient =
     RegionNotificationEndpointsClient.create(regionNotificationEndpointsSettings);
 

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
 RegionNotificationEndpointsSettings regionNotificationEndpointsSettings =
     RegionNotificationEndpointsSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionNotificationEndpointsClient regionNotificationEndpointsClient =
     RegionNotificationEndpointsClient.create(regionNotificationEndpointsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionNotificationEndpointsClient.ListFixedSizeCollection

RegionNotificationEndpointsClient.ListPage

RegionNotificationEndpointsClient.ListPagedResponse

RegionNotificationEndpointsSettings

Settings class to configure an instance of RegionNotificationEndpointsClient.

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
 RegionNotificationEndpointsSettings.Builder regionNotificationEndpointsSettingsBuilder =
     RegionNotificationEndpointsSettings.newBuilder();
 regionNotificationEndpointsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionNotificationEndpointsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionNotificationEndpointsSettings regionNotificationEndpointsSettings =
     regionNotificationEndpointsSettingsBuilder.build();
 

RegionNotificationEndpointsSettings.Builder

Builder for RegionNotificationEndpointsSettings.

RegionOperationsClient

Service Description: The RegionOperations 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 (RegionOperationsClient regionOperationsClient = RegionOperationsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String operation = "operation1662702951";
   DeleteRegionOperationResponse response =
       regionOperationsClient.delete(project, region, operation);
 }
 

Note: close() needs to be called on the RegionOperationsClient 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:

  1. 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.
  2. 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.
  3. 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 RegionOperationsSettings 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
 RegionOperationsSettings regionOperationsSettings =
     RegionOperationsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionOperationsClient regionOperationsClient =
     RegionOperationsClient.create(regionOperationsSettings);
 

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
 RegionOperationsSettings regionOperationsSettings =
     RegionOperationsSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionOperationsClient regionOperationsClient =
     RegionOperationsClient.create(regionOperationsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionOperationsClient.ListFixedSizeCollection

RegionOperationsClient.ListPage

RegionOperationsClient.ListPagedResponse

RegionOperationsSettings

Settings class to configure an instance of RegionOperationsClient.

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
 RegionOperationsSettings.Builder regionOperationsSettingsBuilder =
     RegionOperationsSettings.newBuilder();
 regionOperationsSettingsBuilder
     .deleteSettings()
     .setRetrySettings(
         regionOperationsSettingsBuilder
             .deleteSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionOperationsSettings regionOperationsSettings = regionOperationsSettingsBuilder.build();
 

RegionOperationsSettings.Builder

Builder for RegionOperationsSettings.

RegionSecurityPoliciesClient

Service Description: The RegionSecurityPolicies 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 (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
     RegionSecurityPoliciesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String securityPolicy = "securityPolicy-788621166";
   SecurityPolicy response = regionSecurityPoliciesClient.get(project, region, securityPolicy);
 }
 

Note: close() needs to be called on the RegionSecurityPoliciesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionSecurityPoliciesSettings 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
 RegionSecurityPoliciesSettings regionSecurityPoliciesSettings =
     RegionSecurityPoliciesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionSecurityPoliciesClient regionSecurityPoliciesClient =
     RegionSecurityPoliciesClient.create(regionSecurityPoliciesSettings);
 

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
 RegionSecurityPoliciesSettings regionSecurityPoliciesSettings =
     RegionSecurityPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionSecurityPoliciesClient regionSecurityPoliciesClient =
     RegionSecurityPoliciesClient.create(regionSecurityPoliciesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionSecurityPoliciesClient.ListFixedSizeCollection

RegionSecurityPoliciesClient.ListPage

RegionSecurityPoliciesClient.ListPagedResponse

RegionSecurityPoliciesSettings

Settings class to configure an instance of RegionSecurityPoliciesClient.

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
 RegionSecurityPoliciesSettings.Builder regionSecurityPoliciesSettingsBuilder =
     RegionSecurityPoliciesSettings.newBuilder();
 regionSecurityPoliciesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionSecurityPoliciesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionSecurityPoliciesSettings regionSecurityPoliciesSettings =
     regionSecurityPoliciesSettingsBuilder.build();
 

RegionSecurityPoliciesSettings.Builder

Builder for RegionSecurityPoliciesSettings.

RegionSetLabelsRequest

Protobuf type google.cloud.compute.v1.RegionSetLabelsRequest

RegionSetLabelsRequest.Builder

Protobuf type google.cloud.compute.v1.RegionSetLabelsRequest

RegionSetPolicyRequest

Protobuf type google.cloud.compute.v1.RegionSetPolicyRequest

RegionSetPolicyRequest.Builder

Protobuf type google.cloud.compute.v1.RegionSetPolicyRequest

RegionSslCertificatesClient

Service Description: The RegionSslCertificates 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 (RegionSslCertificatesClient regionSslCertificatesClient =
     RegionSslCertificatesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String sslCertificate = "sslCertificate-1304941589";
   SslCertificate response = regionSslCertificatesClient.get(project, region, sslCertificate);
 }
 

Note: close() needs to be called on the RegionSslCertificatesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionSslCertificatesSettings 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
 RegionSslCertificatesSettings regionSslCertificatesSettings =
     RegionSslCertificatesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionSslCertificatesClient regionSslCertificatesClient =
     RegionSslCertificatesClient.create(regionSslCertificatesSettings);
 

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
 RegionSslCertificatesSettings regionSslCertificatesSettings =
     RegionSslCertificatesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionSslCertificatesClient regionSslCertificatesClient =
     RegionSslCertificatesClient.create(regionSslCertificatesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionSslCertificatesClient.ListFixedSizeCollection

RegionSslCertificatesClient.ListPage

RegionSslCertificatesClient.ListPagedResponse

RegionSslCertificatesSettings

Settings class to configure an instance of RegionSslCertificatesClient.

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
 RegionSslCertificatesSettings.Builder regionSslCertificatesSettingsBuilder =
     RegionSslCertificatesSettings.newBuilder();
 regionSslCertificatesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionSslCertificatesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionSslCertificatesSettings regionSslCertificatesSettings =
     regionSslCertificatesSettingsBuilder.build();
 

RegionSslCertificatesSettings.Builder

Builder for RegionSslCertificatesSettings.

RegionSslPoliciesClient

Service Description: The RegionSslPolicies 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 (RegionSslPoliciesClient regionSslPoliciesClient = RegionSslPoliciesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String sslPolicy = "sslPolicy618174046";
   SslPolicy response = regionSslPoliciesClient.get(project, region, sslPolicy);
 }
 

Note: close() needs to be called on the RegionSslPoliciesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionSslPoliciesSettings 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
 RegionSslPoliciesSettings regionSslPoliciesSettings =
     RegionSslPoliciesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionSslPoliciesClient regionSslPoliciesClient =
     RegionSslPoliciesClient.create(regionSslPoliciesSettings);
 

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
 RegionSslPoliciesSettings regionSslPoliciesSettings =
     RegionSslPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionSslPoliciesClient regionSslPoliciesClient =
     RegionSslPoliciesClient.create(regionSslPoliciesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionSslPoliciesClient.ListFixedSizeCollection

RegionSslPoliciesClient.ListPage

RegionSslPoliciesClient.ListPagedResponse

RegionSslPoliciesSettings

Settings class to configure an instance of RegionSslPoliciesClient.

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
 RegionSslPoliciesSettings.Builder regionSslPoliciesSettingsBuilder =
     RegionSslPoliciesSettings.newBuilder();
 regionSslPoliciesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionSslPoliciesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionSslPoliciesSettings regionSslPoliciesSettings = regionSslPoliciesSettingsBuilder.build();
 

RegionSslPoliciesSettings.Builder

Builder for RegionSslPoliciesSettings.

RegionTargetHttpProxiesClient

Service Description: The RegionTargetHttpProxies 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 (RegionTargetHttpProxiesClient regionTargetHttpProxiesClient =
     RegionTargetHttpProxiesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String targetHttpProxy = "targetHttpProxy-1944074187";
   TargetHttpProxy response =
       regionTargetHttpProxiesClient.get(project, region, targetHttpProxy);
 }
 

Note: close() needs to be called on the RegionTargetHttpProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionTargetHttpProxiesSettings 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
 RegionTargetHttpProxiesSettings regionTargetHttpProxiesSettings =
     RegionTargetHttpProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionTargetHttpProxiesClient regionTargetHttpProxiesClient =
     RegionTargetHttpProxiesClient.create(regionTargetHttpProxiesSettings);
 

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
 RegionTargetHttpProxiesSettings regionTargetHttpProxiesSettings =
     RegionTargetHttpProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionTargetHttpProxiesClient regionTargetHttpProxiesClient =
     RegionTargetHttpProxiesClient.create(regionTargetHttpProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionTargetHttpProxiesClient.ListFixedSizeCollection

RegionTargetHttpProxiesClient.ListPage

RegionTargetHttpProxiesClient.ListPagedResponse

RegionTargetHttpProxiesSettings

Settings class to configure an instance of RegionTargetHttpProxiesClient.

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
 RegionTargetHttpProxiesSettings.Builder regionTargetHttpProxiesSettingsBuilder =
     RegionTargetHttpProxiesSettings.newBuilder();
 regionTargetHttpProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionTargetHttpProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionTargetHttpProxiesSettings regionTargetHttpProxiesSettings =
     regionTargetHttpProxiesSettingsBuilder.build();
 

RegionTargetHttpProxiesSettings.Builder

Builder for RegionTargetHttpProxiesSettings.

RegionTargetHttpsProxiesClient

Service Description: The RegionTargetHttpsProxies 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 (RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
     RegionTargetHttpsProxiesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String targetHttpsProxy = "targetHttpsProxy833943732";
   TargetHttpsProxy response =
       regionTargetHttpsProxiesClient.get(project, region, targetHttpsProxy);
 }
 

Note: close() needs to be called on the RegionTargetHttpsProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionTargetHttpsProxiesSettings 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
 RegionTargetHttpsProxiesSettings regionTargetHttpsProxiesSettings =
     RegionTargetHttpsProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
     RegionTargetHttpsProxiesClient.create(regionTargetHttpsProxiesSettings);
 

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
 RegionTargetHttpsProxiesSettings regionTargetHttpsProxiesSettings =
     RegionTargetHttpsProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
     RegionTargetHttpsProxiesClient.create(regionTargetHttpsProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionTargetHttpsProxiesClient.ListFixedSizeCollection

RegionTargetHttpsProxiesClient.ListPage

RegionTargetHttpsProxiesClient.ListPagedResponse

RegionTargetHttpsProxiesSetSslCertificatesRequest

Protobuf type google.cloud.compute.v1.RegionTargetHttpsProxiesSetSslCertificatesRequest

RegionTargetHttpsProxiesSetSslCertificatesRequest.Builder

Protobuf type google.cloud.compute.v1.RegionTargetHttpsProxiesSetSslCertificatesRequest

RegionTargetHttpsProxiesSettings

Settings class to configure an instance of RegionTargetHttpsProxiesClient.

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
 RegionTargetHttpsProxiesSettings.Builder regionTargetHttpsProxiesSettingsBuilder =
     RegionTargetHttpsProxiesSettings.newBuilder();
 regionTargetHttpsProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionTargetHttpsProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionTargetHttpsProxiesSettings regionTargetHttpsProxiesSettings =
     regionTargetHttpsProxiesSettingsBuilder.build();
 

RegionTargetHttpsProxiesSettings.Builder

Builder for RegionTargetHttpsProxiesSettings.

RegionTargetTcpProxiesClient

Service Description: The RegionTargetTcpProxies 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 (RegionTargetTcpProxiesClient regionTargetTcpProxiesClient =
     RegionTargetTcpProxiesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String targetTcpProxy = "targetTcpProxy-337144898";
   TargetTcpProxy response = regionTargetTcpProxiesClient.get(project, region, targetTcpProxy);
 }
 

Note: close() needs to be called on the RegionTargetTcpProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 RegionTargetTcpProxiesSettings 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
 RegionTargetTcpProxiesSettings regionTargetTcpProxiesSettings =
     RegionTargetTcpProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionTargetTcpProxiesClient regionTargetTcpProxiesClient =
     RegionTargetTcpProxiesClient.create(regionTargetTcpProxiesSettings);
 

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
 RegionTargetTcpProxiesSettings regionTargetTcpProxiesSettings =
     RegionTargetTcpProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionTargetTcpProxiesClient regionTargetTcpProxiesClient =
     RegionTargetTcpProxiesClient.create(regionTargetTcpProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionTargetTcpProxiesClient.ListFixedSizeCollection

RegionTargetTcpProxiesClient.ListPage

RegionTargetTcpProxiesClient.ListPagedResponse

RegionTargetTcpProxiesSettings

Settings class to configure an instance of RegionTargetTcpProxiesClient.

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
 RegionTargetTcpProxiesSettings.Builder regionTargetTcpProxiesSettingsBuilder =
     RegionTargetTcpProxiesSettings.newBuilder();
 regionTargetTcpProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionTargetTcpProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionTargetTcpProxiesSettings regionTargetTcpProxiesSettings =
     regionTargetTcpProxiesSettingsBuilder.build();
 

RegionTargetTcpProxiesSettings.Builder

Builder for RegionTargetTcpProxiesSettings.

RegionUrlMapsClient

Service Description: The RegionUrlMaps 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 (RegionUrlMapsClient regionUrlMapsClient = RegionUrlMapsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String urlMap = "urlMap-836780691";
   UrlMap response = regionUrlMapsClient.get(project, region, urlMap);
 }
 

Note: close() needs to be called on the RegionUrlMapsClient 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:

  1. 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.
  2. 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.
  3. 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 RegionUrlMapsSettings 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
 RegionUrlMapsSettings regionUrlMapsSettings =
     RegionUrlMapsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionUrlMapsClient regionUrlMapsClient = RegionUrlMapsClient.create(regionUrlMapsSettings);
 

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
 RegionUrlMapsSettings regionUrlMapsSettings =
     RegionUrlMapsSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionUrlMapsClient regionUrlMapsClient = RegionUrlMapsClient.create(regionUrlMapsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionUrlMapsClient.ListFixedSizeCollection

RegionUrlMapsClient.ListPage

RegionUrlMapsClient.ListPagedResponse

RegionUrlMapsSettings

Settings class to configure an instance of RegionUrlMapsClient.

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
 RegionUrlMapsSettings.Builder regionUrlMapsSettingsBuilder = RegionUrlMapsSettings.newBuilder();
 regionUrlMapsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionUrlMapsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionUrlMapsSettings regionUrlMapsSettings = regionUrlMapsSettingsBuilder.build();
 

RegionUrlMapsSettings.Builder

Builder for RegionUrlMapsSettings.

RegionUrlMapsValidateRequest

Protobuf type google.cloud.compute.v1.RegionUrlMapsValidateRequest

RegionUrlMapsValidateRequest.Builder

Protobuf type google.cloud.compute.v1.RegionUrlMapsValidateRequest

RegionsClient

Service Description: The Regions 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 (RegionsClient regionsClient = RegionsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   Region response = regionsClient.get(project, region);
 }
 

Note: close() needs to be called on the RegionsClient 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:

  1. 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.
  2. 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.
  3. 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 RegionsSettings 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
 RegionsSettings regionsSettings =
     RegionsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RegionsClient regionsClient = RegionsClient.create(regionsSettings);
 

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
 RegionsSettings regionsSettings = RegionsSettings.newBuilder().setEndpoint(myEndpoint).build();
 RegionsClient regionsClient = RegionsClient.create(regionsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RegionsClient.ListFixedSizeCollection

RegionsClient.ListPage

RegionsClient.ListPagedResponse

RegionsSettings

Settings class to configure an instance of RegionsClient.

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
 RegionsSettings.Builder regionsSettingsBuilder = RegionsSettings.newBuilder();
 regionsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         regionsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RegionsSettings regionsSettings = regionsSettingsBuilder.build();
 

RegionsSettings.Builder

Builder for RegionsSettings.

RemoveAssociationFirewallPolicyRequest

A request message for FirewallPolicies.RemoveAssociation. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveAssociationFirewallPolicyRequest

RemoveAssociationFirewallPolicyRequest.Builder

A request message for FirewallPolicies.RemoveAssociation. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveAssociationFirewallPolicyRequest

RemoveAssociationNetworkFirewallPolicyRequest

A request message for NetworkFirewallPolicies.RemoveAssociation. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest

RemoveAssociationNetworkFirewallPolicyRequest.Builder

A request message for NetworkFirewallPolicies.RemoveAssociation. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest

RemoveAssociationRegionNetworkFirewallPolicyRequest

A request message for RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest

RemoveAssociationRegionNetworkFirewallPolicyRequest.Builder

A request message for RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest

RemoveHealthCheckTargetPoolRequest

A request message for TargetPools.RemoveHealthCheck. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveHealthCheckTargetPoolRequest

RemoveHealthCheckTargetPoolRequest.Builder

A request message for TargetPools.RemoveHealthCheck. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveHealthCheckTargetPoolRequest

RemoveInstanceTargetPoolRequest

A request message for TargetPools.RemoveInstance. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveInstanceTargetPoolRequest

RemoveInstanceTargetPoolRequest.Builder

A request message for TargetPools.RemoveInstance. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveInstanceTargetPoolRequest

RemoveInstancesInstanceGroupRequest

A request message for InstanceGroups.RemoveInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveInstancesInstanceGroupRequest

RemoveInstancesInstanceGroupRequest.Builder

A request message for InstanceGroups.RemoveInstances. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveInstancesInstanceGroupRequest

RemovePeeringNetworkRequest

A request message for Networks.RemovePeering. See the method description for details.

Protobuf type google.cloud.compute.v1.RemovePeeringNetworkRequest

RemovePeeringNetworkRequest.Builder

A request message for Networks.RemovePeering. See the method description for details.

Protobuf type google.cloud.compute.v1.RemovePeeringNetworkRequest

RemoveResourcePoliciesDiskRequest

A request message for Disks.RemoveResourcePolicies. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveResourcePoliciesDiskRequest

RemoveResourcePoliciesDiskRequest.Builder

A request message for Disks.RemoveResourcePolicies. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveResourcePoliciesDiskRequest

RemoveResourcePoliciesInstanceRequest

A request message for Instances.RemoveResourcePolicies. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveResourcePoliciesInstanceRequest

RemoveResourcePoliciesInstanceRequest.Builder

A request message for Instances.RemoveResourcePolicies. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveResourcePoliciesInstanceRequest

RemoveResourcePoliciesRegionDiskRequest

A request message for RegionDisks.RemoveResourcePolicies. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveResourcePoliciesRegionDiskRequest

RemoveResourcePoliciesRegionDiskRequest.Builder

A request message for RegionDisks.RemoveResourcePolicies. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveResourcePoliciesRegionDiskRequest

RemoveRuleFirewallPolicyRequest

A request message for FirewallPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleFirewallPolicyRequest

RemoveRuleFirewallPolicyRequest.Builder

A request message for FirewallPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleFirewallPolicyRequest

RemoveRuleNetworkFirewallPolicyRequest

A request message for NetworkFirewallPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest

RemoveRuleNetworkFirewallPolicyRequest.Builder

A request message for NetworkFirewallPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest

RemoveRuleRegionNetworkFirewallPolicyRequest

A request message for RegionNetworkFirewallPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest

RemoveRuleRegionNetworkFirewallPolicyRequest.Builder

A request message for RegionNetworkFirewallPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest

RemoveRuleSecurityPolicyRequest

A request message for SecurityPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleSecurityPolicyRequest

RemoveRuleSecurityPolicyRequest.Builder

A request message for SecurityPolicies.RemoveRule. See the method description for details.

Protobuf type google.cloud.compute.v1.RemoveRuleSecurityPolicyRequest

RequestMirrorPolicy

A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow.

Protobuf type google.cloud.compute.v1.RequestMirrorPolicy

RequestMirrorPolicy.Builder

A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow.

Protobuf type google.cloud.compute.v1.RequestMirrorPolicy

Reservation

Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.

Protobuf type google.cloud.compute.v1.Reservation

Reservation.Builder

Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.

Protobuf type google.cloud.compute.v1.Reservation

ReservationAffinity

Specifies the reservations that this instance can consume from.

Protobuf type google.cloud.compute.v1.ReservationAffinity

ReservationAffinity.Builder

Specifies the reservations that this instance can consume from.

Protobuf type google.cloud.compute.v1.ReservationAffinity

ReservationAggregatedList

Contains a list of reservations.

Protobuf type google.cloud.compute.v1.ReservationAggregatedList

ReservationAggregatedList.Builder

Contains a list of reservations.

Protobuf type google.cloud.compute.v1.ReservationAggregatedList

ReservationList

Protobuf type google.cloud.compute.v1.ReservationList

ReservationList.Builder

Protobuf type google.cloud.compute.v1.ReservationList

ReservationsClient

Service Description: The Reservations 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 (ReservationsClient reservationsClient = ReservationsClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String reservation = "reservation-1563081780";
   Reservation response = reservationsClient.get(project, zone, reservation);
 }
 

Note: close() needs to be called on the ReservationsClient 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:

  1. 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.
  2. 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.
  3. 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 ReservationsSettings 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
 ReservationsSettings reservationsSettings =
     ReservationsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ReservationsClient reservationsClient = ReservationsClient.create(reservationsSettings);
 

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
 ReservationsSettings reservationsSettings =
     ReservationsSettings.newBuilder().setEndpoint(myEndpoint).build();
 ReservationsClient reservationsClient = ReservationsClient.create(reservationsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ReservationsClient.AggregatedListFixedSizeCollection

ReservationsClient.AggregatedListPage

ReservationsClient.AggregatedListPagedResponse

ReservationsClient.ListFixedSizeCollection

ReservationsClient.ListPage

ReservationsClient.ListPagedResponse

ReservationsResizeRequest

Protobuf type google.cloud.compute.v1.ReservationsResizeRequest

ReservationsResizeRequest.Builder

Protobuf type google.cloud.compute.v1.ReservationsResizeRequest

ReservationsScopedList

Protobuf type google.cloud.compute.v1.ReservationsScopedList

ReservationsScopedList.Builder

Protobuf type google.cloud.compute.v1.ReservationsScopedList

ReservationsSettings

Settings class to configure an instance of ReservationsClient.

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
 ReservationsSettings.Builder reservationsSettingsBuilder = ReservationsSettings.newBuilder();
 reservationsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         reservationsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ReservationsSettings reservationsSettings = reservationsSettingsBuilder.build();
 

ReservationsSettings.Builder

Builder for ReservationsSettings.

ResetInstanceRequest

A request message for Instances.Reset. See the method description for details.

Protobuf type google.cloud.compute.v1.ResetInstanceRequest

ResetInstanceRequest.Builder

A request message for Instances.Reset. See the method description for details.

Protobuf type google.cloud.compute.v1.ResetInstanceRequest

ResizeDiskRequest

A request message for Disks.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeDiskRequest

ResizeDiskRequest.Builder

A request message for Disks.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeDiskRequest

ResizeInstanceGroupManagerRequest

A request message for InstanceGroupManagers.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeInstanceGroupManagerRequest

ResizeInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeInstanceGroupManagerRequest

ResizeRegionDiskRequest

A request message for RegionDisks.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeRegionDiskRequest

ResizeRegionDiskRequest.Builder

A request message for RegionDisks.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeRegionDiskRequest

ResizeRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeRegionInstanceGroupManagerRequest

ResizeRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeRegionInstanceGroupManagerRequest

ResizeReservationRequest

A request message for Reservations.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeReservationRequest

ResizeReservationRequest.Builder

A request message for Reservations.Resize. See the method description for details.

Protobuf type google.cloud.compute.v1.ResizeReservationRequest

ResourceCommitment

Commitment for a particular resource (a Commitment is composed of one or more of these).

Protobuf type google.cloud.compute.v1.ResourceCommitment

ResourceCommitment.Builder

Commitment for a particular resource (a Commitment is composed of one or more of these).

Protobuf type google.cloud.compute.v1.ResourceCommitment

ResourceGroupReference

Protobuf type google.cloud.compute.v1.ResourceGroupReference

ResourceGroupReference.Builder

Protobuf type google.cloud.compute.v1.ResourceGroupReference

ResourcePoliciesClient

Service Description: The ResourcePolicies 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 (ResourcePoliciesClient resourcePoliciesClient = ResourcePoliciesClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String resourcePolicy = "resourcePolicy-130903328";
   ResourcePolicy response = resourcePoliciesClient.get(project, region, resourcePolicy);
 }
 

Note: close() needs to be called on the ResourcePoliciesClient 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:

  1. 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.
  2. 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.
  3. 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 ResourcePoliciesSettings 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
 ResourcePoliciesSettings resourcePoliciesSettings =
     ResourcePoliciesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ResourcePoliciesClient resourcePoliciesClient =
     ResourcePoliciesClient.create(resourcePoliciesSettings);
 

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
 ResourcePoliciesSettings resourcePoliciesSettings =
     ResourcePoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
 ResourcePoliciesClient resourcePoliciesClient =
     ResourcePoliciesClient.create(resourcePoliciesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ResourcePoliciesClient.AggregatedListFixedSizeCollection

ResourcePoliciesClient.AggregatedListPage

ResourcePoliciesClient.AggregatedListPagedResponse

ResourcePoliciesClient.ListFixedSizeCollection

ResourcePoliciesClient.ListPage

ResourcePoliciesClient.ListPagedResponse

ResourcePoliciesScopedList

Protobuf type google.cloud.compute.v1.ResourcePoliciesScopedList

ResourcePoliciesScopedList.Builder

Protobuf type google.cloud.compute.v1.ResourcePoliciesScopedList

ResourcePoliciesSettings

Settings class to configure an instance of ResourcePoliciesClient.

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
 ResourcePoliciesSettings.Builder resourcePoliciesSettingsBuilder =
     ResourcePoliciesSettings.newBuilder();
 resourcePoliciesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         resourcePoliciesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ResourcePoliciesSettings resourcePoliciesSettings = resourcePoliciesSettingsBuilder.build();
 

ResourcePoliciesSettings.Builder

Builder for ResourcePoliciesSettings.

ResourcePolicy

Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.

Protobuf type google.cloud.compute.v1.ResourcePolicy

ResourcePolicy.Builder

Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots.

Protobuf type google.cloud.compute.v1.ResourcePolicy

ResourcePolicyAggregatedList

Contains a list of resourcePolicies.

Protobuf type google.cloud.compute.v1.ResourcePolicyAggregatedList

ResourcePolicyAggregatedList.Builder

Contains a list of resourcePolicies.

Protobuf type google.cloud.compute.v1.ResourcePolicyAggregatedList

ResourcePolicyDailyCycle

Time window specified for daily operations.

Protobuf type google.cloud.compute.v1.ResourcePolicyDailyCycle

ResourcePolicyDailyCycle.Builder

Time window specified for daily operations.

Protobuf type google.cloud.compute.v1.ResourcePolicyDailyCycle

ResourcePolicyDiskConsistencyGroupPolicy

Resource policy for disk consistency groups.

Protobuf type google.cloud.compute.v1.ResourcePolicyDiskConsistencyGroupPolicy

ResourcePolicyDiskConsistencyGroupPolicy.Builder

Resource policy for disk consistency groups.

Protobuf type google.cloud.compute.v1.ResourcePolicyDiskConsistencyGroupPolicy

ResourcePolicyGroupPlacementPolicy

A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality

Protobuf type google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy

ResourcePolicyGroupPlacementPolicy.Builder

A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality

Protobuf type google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy

ResourcePolicyHourlyCycle

Time window specified for hourly operations.

Protobuf type google.cloud.compute.v1.ResourcePolicyHourlyCycle

ResourcePolicyHourlyCycle.Builder

Time window specified for hourly operations.

Protobuf type google.cloud.compute.v1.ResourcePolicyHourlyCycle

ResourcePolicyInstanceSchedulePolicy

An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.

Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy

ResourcePolicyInstanceSchedulePolicy.Builder

An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.

Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicy

ResourcePolicyInstanceSchedulePolicySchedule

Schedule for an instance operation.

Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule

ResourcePolicyInstanceSchedulePolicySchedule.Builder

Schedule for an instance operation.

Protobuf type google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule

ResourcePolicyList

Protobuf type google.cloud.compute.v1.ResourcePolicyList

ResourcePolicyList.Builder

Protobuf type google.cloud.compute.v1.ResourcePolicyList

ResourcePolicyResourceStatus

Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this "status" field should mimic the structure of ResourcePolicy proto specification.

Protobuf type google.cloud.compute.v1.ResourcePolicyResourceStatus

ResourcePolicyResourceStatus.Builder

Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this "status" field should mimic the structure of ResourcePolicy proto specification.

Protobuf type google.cloud.compute.v1.ResourcePolicyResourceStatus

ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

Protobuf type google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

ResourcePolicyResourceStatusInstanceSchedulePolicyStatus.Builder

Protobuf type google.cloud.compute.v1.ResourcePolicyResourceStatusInstanceSchedulePolicyStatus

ResourcePolicySnapshotSchedulePolicy

A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy

ResourcePolicySnapshotSchedulePolicy.Builder

A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicy

ResourcePolicySnapshotSchedulePolicyRetentionPolicy

Policy for retention of scheduled snapshots.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy

ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Builder

Policy for retention of scheduled snapshots.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy

ResourcePolicySnapshotSchedulePolicySchedule

A schedule for disks where the schedueled operations are performed.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule

ResourcePolicySnapshotSchedulePolicySchedule.Builder

A schedule for disks where the schedueled operations are performed.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySchedule

ResourcePolicySnapshotSchedulePolicySnapshotProperties

Specified snapshot properties for scheduled snapshots created by this policy.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties

ResourcePolicySnapshotSchedulePolicySnapshotProperties.Builder

Specified snapshot properties for scheduled snapshots created by this policy.

Protobuf type google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicySnapshotProperties

ResourcePolicyWeeklyCycle

Time window specified for weekly operations.

Protobuf type google.cloud.compute.v1.ResourcePolicyWeeklyCycle

ResourcePolicyWeeklyCycle.Builder

Time window specified for weekly operations.

Protobuf type google.cloud.compute.v1.ResourcePolicyWeeklyCycle

ResourcePolicyWeeklyCycleDayOfWeek

Protobuf type google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek

ResourcePolicyWeeklyCycleDayOfWeek.Builder

Protobuf type google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek

ResourceStatus

Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.

Protobuf type google.cloud.compute.v1.ResourceStatus

ResourceStatus.Builder

Contains output only fields. Use this sub-message for actual values set on Instance attributes as compared to the value requested by the user (intent) in their instance CRUD calls.

Protobuf type google.cloud.compute.v1.ResourceStatus

ResumeInstanceRequest

A request message for Instances.Resume. See the method description for details.

Protobuf type google.cloud.compute.v1.ResumeInstanceRequest

ResumeInstanceRequest.Builder

A request message for Instances.Resume. See the method description for details.

Protobuf type google.cloud.compute.v1.ResumeInstanceRequest

Route

Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview.

Protobuf type google.cloud.compute.v1.Route

Route.Builder

Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview.

Protobuf type google.cloud.compute.v1.Route

RouteAsPath

Protobuf type google.cloud.compute.v1.RouteAsPath

RouteAsPath.Builder

Protobuf type google.cloud.compute.v1.RouteAsPath

RouteList

Contains a list of Route resources.

Protobuf type google.cloud.compute.v1.RouteList

RouteList.Builder

Contains a list of Route resources.

Protobuf type google.cloud.compute.v1.RouteList

Router

Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.

Protobuf type google.cloud.compute.v1.Router

Router.Builder

Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview.

Protobuf type google.cloud.compute.v1.Router

RouterAdvertisedIpRange

Description-tagged IP ranges for the router to advertise.

Protobuf type google.cloud.compute.v1.RouterAdvertisedIpRange

RouterAdvertisedIpRange.Builder

Description-tagged IP ranges for the router to advertise.

Protobuf type google.cloud.compute.v1.RouterAdvertisedIpRange

RouterAggregatedList

Contains a list of routers.

Protobuf type google.cloud.compute.v1.RouterAggregatedList

RouterAggregatedList.Builder

Contains a list of routers.

Protobuf type google.cloud.compute.v1.RouterAggregatedList

RouterBgp

Protobuf type google.cloud.compute.v1.RouterBgp

RouterBgp.Builder

Protobuf type google.cloud.compute.v1.RouterBgp

RouterBgpPeer

Protobuf type google.cloud.compute.v1.RouterBgpPeer

RouterBgpPeer.Builder

Protobuf type google.cloud.compute.v1.RouterBgpPeer

RouterBgpPeerBfd

Protobuf type google.cloud.compute.v1.RouterBgpPeerBfd

RouterBgpPeerBfd.Builder

Protobuf type google.cloud.compute.v1.RouterBgpPeerBfd

RouterBgpPeerCustomLearnedIpRange

Protobuf type google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange

RouterBgpPeerCustomLearnedIpRange.Builder

Protobuf type google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange

RouterInterface

Protobuf type google.cloud.compute.v1.RouterInterface

RouterInterface.Builder

Protobuf type google.cloud.compute.v1.RouterInterface

RouterList

Contains a list of Router resources.

Protobuf type google.cloud.compute.v1.RouterList

RouterList.Builder

Contains a list of Router resources.

Protobuf type google.cloud.compute.v1.RouterList

RouterMd5AuthenticationKey

Protobuf type google.cloud.compute.v1.RouterMd5AuthenticationKey

RouterMd5AuthenticationKey.Builder

Protobuf type google.cloud.compute.v1.RouterMd5AuthenticationKey

RouterNat

Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided.

Protobuf type google.cloud.compute.v1.RouterNat

RouterNat.Builder

Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided.

Protobuf type google.cloud.compute.v1.RouterNat

RouterNatLogConfig

Configuration of logging on a NAT.

Protobuf type google.cloud.compute.v1.RouterNatLogConfig

RouterNatLogConfig.Builder

Configuration of logging on a NAT.

Protobuf type google.cloud.compute.v1.RouterNatLogConfig

RouterNatRule

Protobuf type google.cloud.compute.v1.RouterNatRule

RouterNatRule.Builder

Protobuf type google.cloud.compute.v1.RouterNatRule

RouterNatRuleAction

Protobuf type google.cloud.compute.v1.RouterNatRuleAction

RouterNatRuleAction.Builder

Protobuf type google.cloud.compute.v1.RouterNatRuleAction

RouterNatSubnetworkToNat

Defines the IP ranges that want to use NAT for a subnetwork.

Protobuf type google.cloud.compute.v1.RouterNatSubnetworkToNat

RouterNatSubnetworkToNat.Builder

Defines the IP ranges that want to use NAT for a subnetwork.

Protobuf type google.cloud.compute.v1.RouterNatSubnetworkToNat

RouterStatus

Protobuf type google.cloud.compute.v1.RouterStatus

RouterStatus.Builder

Protobuf type google.cloud.compute.v1.RouterStatus

RouterStatusBgpPeerStatus

Protobuf type google.cloud.compute.v1.RouterStatusBgpPeerStatus

RouterStatusBgpPeerStatus.Builder

Protobuf type google.cloud.compute.v1.RouterStatusBgpPeerStatus

RouterStatusNatStatus

Status of a NAT contained in this router.

Protobuf type google.cloud.compute.v1.RouterStatusNatStatus

RouterStatusNatStatus.Builder

Status of a NAT contained in this router.

Protobuf type google.cloud.compute.v1.RouterStatusNatStatus

RouterStatusNatStatusNatRuleStatus

Status of a NAT Rule contained in this NAT.

Protobuf type google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus

RouterStatusNatStatusNatRuleStatus.Builder

Status of a NAT Rule contained in this NAT.

Protobuf type google.cloud.compute.v1.RouterStatusNatStatusNatRuleStatus

RouterStatusResponse

Protobuf type google.cloud.compute.v1.RouterStatusResponse

RouterStatusResponse.Builder

Protobuf type google.cloud.compute.v1.RouterStatusResponse

RoutersClient

Service Description: The Routers 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 (RoutersClient routersClient = RoutersClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String router = "router-925132983";
   Router response = routersClient.get(project, region, router);
 }
 

Note: close() needs to be called on the RoutersClient 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:

  1. 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.
  2. 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.
  3. 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 RoutersSettings 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
 RoutersSettings routersSettings =
     RoutersSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RoutersClient routersClient = RoutersClient.create(routersSettings);
 

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
 RoutersSettings routersSettings = RoutersSettings.newBuilder().setEndpoint(myEndpoint).build();
 RoutersClient routersClient = RoutersClient.create(routersSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RoutersClient.AggregatedListFixedSizeCollection

RoutersClient.AggregatedListPage

RoutersClient.AggregatedListPagedResponse

RoutersClient.GetNatMappingInfoFixedSizeCollection

RoutersClient.GetNatMappingInfoPage

RoutersClient.GetNatMappingInfoPagedResponse

RoutersClient.ListFixedSizeCollection

RoutersClient.ListPage

RoutersClient.ListPagedResponse

RoutersPreviewResponse

Protobuf type google.cloud.compute.v1.RoutersPreviewResponse

RoutersPreviewResponse.Builder

Protobuf type google.cloud.compute.v1.RoutersPreviewResponse

RoutersScopedList

Protobuf type google.cloud.compute.v1.RoutersScopedList

RoutersScopedList.Builder

Protobuf type google.cloud.compute.v1.RoutersScopedList

RoutersSettings

Settings class to configure an instance of RoutersClient.

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
 RoutersSettings.Builder routersSettingsBuilder = RoutersSettings.newBuilder();
 routersSettingsBuilder
     .getSettings()
     .setRetrySettings(
         routersSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RoutersSettings routersSettings = routersSettingsBuilder.build();
 

RoutersSettings.Builder

Builder for RoutersSettings.

RoutesClient

Service Description: The Routes 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 (RoutesClient routesClient = RoutesClient.create()) {
   String project = "project-309310695";
   String route = "route108704329";
   Route response = routesClient.get(project, route);
 }
 

Note: close() needs to be called on the RoutesClient 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:

  1. 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.
  2. 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.
  3. 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 RoutesSettings 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
 RoutesSettings routesSettings =
     RoutesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 RoutesClient routesClient = RoutesClient.create(routesSettings);
 

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
 RoutesSettings routesSettings = RoutesSettings.newBuilder().setEndpoint(myEndpoint).build();
 RoutesClient routesClient = RoutesClient.create(routesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

RoutesClient.ListFixedSizeCollection

RoutesClient.ListPage

RoutesClient.ListPagedResponse

RoutesSettings

Settings class to configure an instance of RoutesClient.

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
 RoutesSettings.Builder routesSettingsBuilder = RoutesSettings.newBuilder();
 routesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         routesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 RoutesSettings routesSettings = routesSettingsBuilder.build();
 

RoutesSettings.Builder

Builder for RoutesSettings.

Rule

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.Rule

Rule.Builder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.Rule

SSLHealthCheck

Protobuf type google.cloud.compute.v1.SSLHealthCheck

SSLHealthCheck.Builder

Protobuf type google.cloud.compute.v1.SSLHealthCheck

SavedAttachedDisk

DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.

Protobuf type google.cloud.compute.v1.SavedAttachedDisk

SavedAttachedDisk.Builder

DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.

Protobuf type google.cloud.compute.v1.SavedAttachedDisk

SavedDisk

An instance-attached disk resource.

Protobuf type google.cloud.compute.v1.SavedDisk

SavedDisk.Builder

An instance-attached disk resource.

Protobuf type google.cloud.compute.v1.SavedDisk

ScalingScheduleStatus

Protobuf type google.cloud.compute.v1.ScalingScheduleStatus

ScalingScheduleStatus.Builder

Protobuf type google.cloud.compute.v1.ScalingScheduleStatus

Scheduling

Sets the scheduling options for an Instance.

Protobuf type google.cloud.compute.v1.Scheduling

Scheduling.Builder

Sets the scheduling options for an Instance.

Protobuf type google.cloud.compute.v1.Scheduling

SchedulingNodeAffinity

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

Protobuf type google.cloud.compute.v1.SchedulingNodeAffinity

SchedulingNodeAffinity.Builder

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.

Protobuf type google.cloud.compute.v1.SchedulingNodeAffinity

ScratchDisks

Protobuf type google.cloud.compute.v1.ScratchDisks

ScratchDisks.Builder

Protobuf type google.cloud.compute.v1.ScratchDisks

Screenshot

An instance's screenshot.

Protobuf type google.cloud.compute.v1.Screenshot

Screenshot.Builder

An instance's screenshot.

Protobuf type google.cloud.compute.v1.Screenshot

SecurityPoliciesAggregatedList

Protobuf type google.cloud.compute.v1.SecurityPoliciesAggregatedList

SecurityPoliciesAggregatedList.Builder

Protobuf type google.cloud.compute.v1.SecurityPoliciesAggregatedList

SecurityPoliciesClient

Service Description: The SecurityPolicies 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 (SecurityPoliciesClient securityPoliciesClient = SecurityPoliciesClient.create()) {
   String project = "project-309310695";
   String securityPolicy = "securityPolicy-788621166";
   SecurityPolicy response = securityPoliciesClient.get(project, securityPolicy);
 }
 

Note: close() needs to be called on the SecurityPoliciesClient 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:

  1. 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.
  2. 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.
  3. 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 SecurityPoliciesSettings 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
 SecurityPoliciesSettings securityPoliciesSettings =
     SecurityPoliciesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 SecurityPoliciesClient securityPoliciesClient =
     SecurityPoliciesClient.create(securityPoliciesSettings);
 

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
 SecurityPoliciesSettings securityPoliciesSettings =
     SecurityPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
 SecurityPoliciesClient securityPoliciesClient =
     SecurityPoliciesClient.create(securityPoliciesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

SecurityPoliciesClient.AggregatedListFixedSizeCollection

SecurityPoliciesClient.AggregatedListPage

SecurityPoliciesClient.AggregatedListPagedResponse

SecurityPoliciesClient.ListFixedSizeCollection

SecurityPoliciesClient.ListPage

SecurityPoliciesClient.ListPagedResponse

SecurityPoliciesListPreconfiguredExpressionSetsResponse

Protobuf type google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse

SecurityPoliciesListPreconfiguredExpressionSetsResponse.Builder

Protobuf type google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse

SecurityPoliciesScopedList

Protobuf type google.cloud.compute.v1.SecurityPoliciesScopedList

SecurityPoliciesScopedList.Builder

Protobuf type google.cloud.compute.v1.SecurityPoliciesScopedList

SecurityPoliciesSettings

Settings class to configure an instance of SecurityPoliciesClient.

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
 SecurityPoliciesSettings.Builder securityPoliciesSettingsBuilder =
     SecurityPoliciesSettings.newBuilder();
 securityPoliciesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         securityPoliciesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SecurityPoliciesSettings securityPoliciesSettings = securityPoliciesSettingsBuilder.build();
 

SecurityPoliciesSettings.Builder

Builder for SecurityPoliciesSettings.

SecurityPoliciesWafConfig

Protobuf type google.cloud.compute.v1.SecurityPoliciesWafConfig

SecurityPoliciesWafConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPoliciesWafConfig

SecurityPolicy

Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview.

Protobuf type google.cloud.compute.v1.SecurityPolicy

SecurityPolicy.Builder

Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview.

Protobuf type google.cloud.compute.v1.SecurityPolicy

SecurityPolicyAdaptiveProtectionConfig

Configuration options for Cloud Armor Adaptive Protection (CAAP).

Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig

SecurityPolicyAdaptiveProtectionConfig.Builder

Configuration options for Cloud Armor Adaptive Protection (CAAP).

Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.Builder

Configuration options for L7 DDoS detection. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

Protobuf type google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig

SecurityPolicyAdvancedOptionsConfig

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig

SecurityPolicyAdvancedOptionsConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig

SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

SecurityPolicyAdvancedOptionsConfigJsonCustomConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

SecurityPolicyDdosProtectionConfig

Protobuf type google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig

SecurityPolicyDdosProtectionConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig

SecurityPolicyList

Protobuf type google.cloud.compute.v1.SecurityPolicyList

SecurityPolicyList.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyList

SecurityPolicyRecaptchaOptionsConfig

Protobuf type google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig

SecurityPolicyRecaptchaOptionsConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig

SecurityPolicyReference

Protobuf type google.cloud.compute.v1.SecurityPolicyReference

SecurityPolicyReference.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyReference

SecurityPolicyRule

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.SecurityPolicyRule

SecurityPolicyRule.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.SecurityPolicyRule

SecurityPolicyRuleHttpHeaderAction

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderAction

SecurityPolicyRuleHttpHeaderAction.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderAction

SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

SecurityPolicyRuleHttpHeaderActionHttpHeaderOption.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleHttpHeaderActionHttpHeaderOption

SecurityPolicyRuleMatcher

Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcher

SecurityPolicyRuleMatcher.Builder

Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcher

SecurityPolicyRuleMatcherConfig

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig

SecurityPolicyRuleMatcherConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleMatcherConfig

SecurityPolicyRulePreconfiguredWafConfig

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfig

SecurityPolicyRulePreconfiguredWafConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfig

SecurityPolicyRulePreconfiguredWafConfigExclusion

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion

SecurityPolicyRulePreconfiguredWafConfigExclusion.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusion

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

SecurityPolicyRuleRateLimitOptions

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions

SecurityPolicyRuleRateLimitOptions.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions

SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig

SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig

SecurityPolicyRuleRateLimitOptionsThreshold

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold

SecurityPolicyRuleRateLimitOptionsThreshold.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold

SecurityPolicyRuleRedirectOptions

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions

SecurityPolicyRuleRedirectOptions.Builder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions

SecuritySettings

The authentication and authorization settings for a BackendService.

Protobuf type google.cloud.compute.v1.SecuritySettings

SecuritySettings.Builder

The authentication and authorization settings for a BackendService.

Protobuf type google.cloud.compute.v1.SecuritySettings

SendDiagnosticInterruptInstanceRequest

A request message for Instances.SendDiagnosticInterrupt. See the method description for details.

Protobuf type google.cloud.compute.v1.SendDiagnosticInterruptInstanceRequest

SendDiagnosticInterruptInstanceRequest.Builder

A request message for Instances.SendDiagnosticInterrupt. See the method description for details.

Protobuf type google.cloud.compute.v1.SendDiagnosticInterruptInstanceRequest

SendDiagnosticInterruptInstanceResponse

A response message for Instances.SendDiagnosticInterrupt. See the method description for details.

Protobuf type google.cloud.compute.v1.SendDiagnosticInterruptInstanceResponse

SendDiagnosticInterruptInstanceResponse.Builder

A response message for Instances.SendDiagnosticInterrupt. See the method description for details.

Protobuf type google.cloud.compute.v1.SendDiagnosticInterruptInstanceResponse

SerialPortOutput

An instance serial console output.

Protobuf type google.cloud.compute.v1.SerialPortOutput

SerialPortOutput.Builder

An instance serial console output.

Protobuf type google.cloud.compute.v1.SerialPortOutput

ServerBinding

Protobuf type google.cloud.compute.v1.ServerBinding

ServerBinding.Builder

Protobuf type google.cloud.compute.v1.ServerBinding

ServiceAccount

A service account.

Protobuf type google.cloud.compute.v1.ServiceAccount

ServiceAccount.Builder

A service account.

Protobuf type google.cloud.compute.v1.ServiceAccount

ServiceAttachment

Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service.

Protobuf type google.cloud.compute.v1.ServiceAttachment

ServiceAttachment.Builder

Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service.

Protobuf type google.cloud.compute.v1.ServiceAttachment

ServiceAttachmentAggregatedList

Contains a list of ServiceAttachmentsScopedList.

Protobuf type google.cloud.compute.v1.ServiceAttachmentAggregatedList

ServiceAttachmentAggregatedList.Builder

Contains a list of ServiceAttachmentsScopedList.

Protobuf type google.cloud.compute.v1.ServiceAttachmentAggregatedList

ServiceAttachmentConnectedEndpoint

[Output Only] A connection connected to this service attachment.

Protobuf type google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint

ServiceAttachmentConnectedEndpoint.Builder

[Output Only] A connection connected to this service attachment.

Protobuf type google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint

ServiceAttachmentConsumerProjectLimit

Protobuf type google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit

ServiceAttachmentConsumerProjectLimit.Builder

Protobuf type google.cloud.compute.v1.ServiceAttachmentConsumerProjectLimit

ServiceAttachmentList

Protobuf type google.cloud.compute.v1.ServiceAttachmentList

ServiceAttachmentList.Builder

Protobuf type google.cloud.compute.v1.ServiceAttachmentList

ServiceAttachmentsClient

Service Description: The ServiceAttachments 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 (ServiceAttachmentsClient serviceAttachmentsClient = ServiceAttachmentsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String serviceAttachment = "serviceAttachment-398467656";
   ServiceAttachment response = serviceAttachmentsClient.get(project, region, serviceAttachment);
 }
 

Note: close() needs to be called on the ServiceAttachmentsClient 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:

  1. 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.
  2. 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.
  3. 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 ServiceAttachmentsSettings 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
 ServiceAttachmentsSettings serviceAttachmentsSettings =
     ServiceAttachmentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ServiceAttachmentsClient serviceAttachmentsClient =
     ServiceAttachmentsClient.create(serviceAttachmentsSettings);
 

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
 ServiceAttachmentsSettings serviceAttachmentsSettings =
     ServiceAttachmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 ServiceAttachmentsClient serviceAttachmentsClient =
     ServiceAttachmentsClient.create(serviceAttachmentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ServiceAttachmentsClient.AggregatedListFixedSizeCollection

ServiceAttachmentsClient.AggregatedListPage

ServiceAttachmentsClient.AggregatedListPagedResponse

ServiceAttachmentsClient.ListFixedSizeCollection

ServiceAttachmentsClient.ListPage

ServiceAttachmentsClient.ListPagedResponse

ServiceAttachmentsScopedList

Protobuf type google.cloud.compute.v1.ServiceAttachmentsScopedList

ServiceAttachmentsScopedList.Builder

Protobuf type google.cloud.compute.v1.ServiceAttachmentsScopedList

ServiceAttachmentsSettings

Settings class to configure an instance of ServiceAttachmentsClient.

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
 ServiceAttachmentsSettings.Builder serviceAttachmentsSettingsBuilder =
     ServiceAttachmentsSettings.newBuilder();
 serviceAttachmentsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         serviceAttachmentsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ServiceAttachmentsSettings serviceAttachmentsSettings =
     serviceAttachmentsSettingsBuilder.build();
 

ServiceAttachmentsSettings.Builder

Builder for ServiceAttachmentsSettings.

SetBackendServiceTargetSslProxyRequest

A request message for TargetSslProxies.SetBackendService. See the method description for details.

Protobuf type google.cloud.compute.v1.SetBackendServiceTargetSslProxyRequest

SetBackendServiceTargetSslProxyRequest.Builder

A request message for TargetSslProxies.SetBackendService. See the method description for details.

Protobuf type google.cloud.compute.v1.SetBackendServiceTargetSslProxyRequest

SetBackendServiceTargetTcpProxyRequest

A request message for TargetTcpProxies.SetBackendService. See the method description for details.

Protobuf type google.cloud.compute.v1.SetBackendServiceTargetTcpProxyRequest

SetBackendServiceTargetTcpProxyRequest.Builder

A request message for TargetTcpProxies.SetBackendService. See the method description for details.

Protobuf type google.cloud.compute.v1.SetBackendServiceTargetTcpProxyRequest

SetBackupTargetPoolRequest

A request message for TargetPools.SetBackup. See the method description for details.

Protobuf type google.cloud.compute.v1.SetBackupTargetPoolRequest

SetBackupTargetPoolRequest.Builder

A request message for TargetPools.SetBackup. See the method description for details.

Protobuf type google.cloud.compute.v1.SetBackupTargetPoolRequest

SetCertificateMapTargetHttpsProxyRequest

A request message for TargetHttpsProxies.SetCertificateMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetCertificateMapTargetHttpsProxyRequest

SetCertificateMapTargetHttpsProxyRequest.Builder

A request message for TargetHttpsProxies.SetCertificateMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetCertificateMapTargetHttpsProxyRequest

SetCertificateMapTargetSslProxyRequest

A request message for TargetSslProxies.SetCertificateMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetCertificateMapTargetSslProxyRequest

SetCertificateMapTargetSslProxyRequest.Builder

A request message for TargetSslProxies.SetCertificateMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetCertificateMapTargetSslProxyRequest

SetCommonInstanceMetadataProjectRequest

A request message for Projects.SetCommonInstanceMetadata. See the method description for details.

Protobuf type google.cloud.compute.v1.SetCommonInstanceMetadataProjectRequest

SetCommonInstanceMetadataProjectRequest.Builder

A request message for Projects.SetCommonInstanceMetadata. See the method description for details.

Protobuf type google.cloud.compute.v1.SetCommonInstanceMetadataProjectRequest

SetDefaultNetworkTierProjectRequest

A request message for Projects.SetDefaultNetworkTier. See the method description for details.

Protobuf type google.cloud.compute.v1.SetDefaultNetworkTierProjectRequest

SetDefaultNetworkTierProjectRequest.Builder

A request message for Projects.SetDefaultNetworkTier. See the method description for details.

Protobuf type google.cloud.compute.v1.SetDefaultNetworkTierProjectRequest

SetDeletionProtectionInstanceRequest

A request message for Instances.SetDeletionProtection. See the method description for details.

Protobuf type google.cloud.compute.v1.SetDeletionProtectionInstanceRequest

SetDeletionProtectionInstanceRequest.Builder

A request message for Instances.SetDeletionProtection. See the method description for details.

Protobuf type google.cloud.compute.v1.SetDeletionProtectionInstanceRequest

SetDiskAutoDeleteInstanceRequest

A request message for Instances.SetDiskAutoDelete. See the method description for details.

Protobuf type google.cloud.compute.v1.SetDiskAutoDeleteInstanceRequest

SetDiskAutoDeleteInstanceRequest.Builder

A request message for Instances.SetDiskAutoDelete. See the method description for details.

Protobuf type google.cloud.compute.v1.SetDiskAutoDeleteInstanceRequest

SetEdgeSecurityPolicyBackendBucketRequest

A request message for BackendBuckets.SetEdgeSecurityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetEdgeSecurityPolicyBackendBucketRequest

SetEdgeSecurityPolicyBackendBucketRequest.Builder

A request message for BackendBuckets.SetEdgeSecurityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetEdgeSecurityPolicyBackendBucketRequest

SetEdgeSecurityPolicyBackendServiceRequest

A request message for BackendServices.SetEdgeSecurityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetEdgeSecurityPolicyBackendServiceRequest

SetEdgeSecurityPolicyBackendServiceRequest.Builder

A request message for BackendServices.SetEdgeSecurityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetEdgeSecurityPolicyBackendServiceRequest

SetIamPolicyBackendServiceRequest

A request message for BackendServices.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyBackendServiceRequest

SetIamPolicyBackendServiceRequest.Builder

A request message for BackendServices.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyBackendServiceRequest

SetIamPolicyDiskRequest

A request message for Disks.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyDiskRequest

SetIamPolicyDiskRequest.Builder

A request message for Disks.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyDiskRequest

SetIamPolicyFirewallPolicyRequest

A request message for FirewallPolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyFirewallPolicyRequest

SetIamPolicyFirewallPolicyRequest.Builder

A request message for FirewallPolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyFirewallPolicyRequest

SetIamPolicyImageRequest

A request message for Images.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyImageRequest

SetIamPolicyImageRequest.Builder

A request message for Images.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyImageRequest

SetIamPolicyInstanceRequest

A request message for Instances.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyInstanceRequest

SetIamPolicyInstanceRequest.Builder

A request message for Instances.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyInstanceRequest

SetIamPolicyInstanceTemplateRequest

A request message for InstanceTemplates.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyInstanceTemplateRequest

SetIamPolicyInstanceTemplateRequest.Builder

A request message for InstanceTemplates.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyInstanceTemplateRequest

SetIamPolicyLicenseRequest

A request message for Licenses.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyLicenseRequest

SetIamPolicyLicenseRequest.Builder

A request message for Licenses.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyLicenseRequest

SetIamPolicyMachineImageRequest

A request message for MachineImages.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyMachineImageRequest

SetIamPolicyMachineImageRequest.Builder

A request message for MachineImages.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyMachineImageRequest

SetIamPolicyNetworkAttachmentRequest

A request message for NetworkAttachments.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNetworkAttachmentRequest

SetIamPolicyNetworkAttachmentRequest.Builder

A request message for NetworkAttachments.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNetworkAttachmentRequest

SetIamPolicyNetworkFirewallPolicyRequest

A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest

SetIamPolicyNetworkFirewallPolicyRequest.Builder

A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest

SetIamPolicyNodeGroupRequest

A request message for NodeGroups.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNodeGroupRequest

SetIamPolicyNodeGroupRequest.Builder

A request message for NodeGroups.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNodeGroupRequest

SetIamPolicyNodeTemplateRequest

A request message for NodeTemplates.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNodeTemplateRequest

SetIamPolicyNodeTemplateRequest.Builder

A request message for NodeTemplates.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyNodeTemplateRequest

SetIamPolicyRegionBackendServiceRequest

A request message for RegionBackendServices.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyRegionBackendServiceRequest

SetIamPolicyRegionBackendServiceRequest.Builder

A request message for RegionBackendServices.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyRegionBackendServiceRequest

SetIamPolicyRegionDiskRequest

A request message for RegionDisks.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyRegionDiskRequest

SetIamPolicyRegionDiskRequest.Builder

A request message for RegionDisks.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyRegionDiskRequest

SetIamPolicyRegionNetworkFirewallPolicyRequest

A request message for RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest

SetIamPolicyRegionNetworkFirewallPolicyRequest.Builder

A request message for RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest

SetIamPolicyReservationRequest

A request message for Reservations.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyReservationRequest

SetIamPolicyReservationRequest.Builder

A request message for Reservations.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyReservationRequest

SetIamPolicyResourcePolicyRequest

A request message for ResourcePolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyResourcePolicyRequest

SetIamPolicyResourcePolicyRequest.Builder

A request message for ResourcePolicies.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyResourcePolicyRequest

SetIamPolicyServiceAttachmentRequest

A request message for ServiceAttachments.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyServiceAttachmentRequest

SetIamPolicyServiceAttachmentRequest.Builder

A request message for ServiceAttachments.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicyServiceAttachmentRequest

SetIamPolicySnapshotRequest

A request message for Snapshots.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicySnapshotRequest

SetIamPolicySnapshotRequest.Builder

A request message for Snapshots.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicySnapshotRequest

SetIamPolicySubnetworkRequest

A request message for Subnetworks.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicySubnetworkRequest

SetIamPolicySubnetworkRequest.Builder

A request message for Subnetworks.SetIamPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetIamPolicySubnetworkRequest

SetInstanceTemplateInstanceGroupManagerRequest

A request message for InstanceGroupManagers.SetInstanceTemplate. See the method description for details.

Protobuf type google.cloud.compute.v1.SetInstanceTemplateInstanceGroupManagerRequest

SetInstanceTemplateInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.SetInstanceTemplate. See the method description for details.

Protobuf type google.cloud.compute.v1.SetInstanceTemplateInstanceGroupManagerRequest

SetInstanceTemplateRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.SetInstanceTemplate. See the method description for details.

Protobuf type google.cloud.compute.v1.SetInstanceTemplateRegionInstanceGroupManagerRequest

SetInstanceTemplateRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.SetInstanceTemplate. See the method description for details.

Protobuf type google.cloud.compute.v1.SetInstanceTemplateRegionInstanceGroupManagerRequest

SetLabelsAddressRequest

A request message for Addresses.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsAddressRequest

SetLabelsAddressRequest.Builder

A request message for Addresses.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsAddressRequest

SetLabelsDiskRequest

A request message for Disks.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsDiskRequest

SetLabelsDiskRequest.Builder

A request message for Disks.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsDiskRequest

SetLabelsExternalVpnGatewayRequest

A request message for ExternalVpnGateways.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsExternalVpnGatewayRequest

SetLabelsExternalVpnGatewayRequest.Builder

A request message for ExternalVpnGateways.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsExternalVpnGatewayRequest

SetLabelsForwardingRuleRequest

A request message for ForwardingRules.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsForwardingRuleRequest

SetLabelsForwardingRuleRequest.Builder

A request message for ForwardingRules.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsForwardingRuleRequest

SetLabelsGlobalAddressRequest

A request message for GlobalAddresses.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsGlobalAddressRequest

SetLabelsGlobalAddressRequest.Builder

A request message for GlobalAddresses.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsGlobalAddressRequest

SetLabelsGlobalForwardingRuleRequest

A request message for GlobalForwardingRules.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsGlobalForwardingRuleRequest

SetLabelsGlobalForwardingRuleRequest.Builder

A request message for GlobalForwardingRules.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsGlobalForwardingRuleRequest

SetLabelsImageRequest

A request message for Images.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsImageRequest

SetLabelsImageRequest.Builder

A request message for Images.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsImageRequest

SetLabelsInstanceRequest

A request message for Instances.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsInstanceRequest

SetLabelsInstanceRequest.Builder

A request message for Instances.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsInstanceRequest

SetLabelsInterconnectAttachmentRequest

A request message for InterconnectAttachments.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsInterconnectAttachmentRequest

SetLabelsInterconnectAttachmentRequest.Builder

A request message for InterconnectAttachments.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsInterconnectAttachmentRequest

SetLabelsInterconnectRequest

A request message for Interconnects.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsInterconnectRequest

SetLabelsInterconnectRequest.Builder

A request message for Interconnects.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsInterconnectRequest

SetLabelsRegionDiskRequest

A request message for RegionDisks.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsRegionDiskRequest

SetLabelsRegionDiskRequest.Builder

A request message for RegionDisks.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsRegionDiskRequest

SetLabelsSecurityPolicyRequest

A request message for SecurityPolicies.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsSecurityPolicyRequest

SetLabelsSecurityPolicyRequest.Builder

A request message for SecurityPolicies.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsSecurityPolicyRequest

SetLabelsSnapshotRequest

A request message for Snapshots.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsSnapshotRequest

SetLabelsSnapshotRequest.Builder

A request message for Snapshots.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsSnapshotRequest

SetLabelsTargetVpnGatewayRequest

A request message for TargetVpnGateways.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsTargetVpnGatewayRequest

SetLabelsTargetVpnGatewayRequest.Builder

A request message for TargetVpnGateways.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsTargetVpnGatewayRequest

SetLabelsVpnGatewayRequest

A request message for VpnGateways.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsVpnGatewayRequest

SetLabelsVpnGatewayRequest.Builder

A request message for VpnGateways.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsVpnGatewayRequest

SetLabelsVpnTunnelRequest

A request message for VpnTunnels.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsVpnTunnelRequest

SetLabelsVpnTunnelRequest.Builder

A request message for VpnTunnels.SetLabels. See the method description for details.

Protobuf type google.cloud.compute.v1.SetLabelsVpnTunnelRequest

SetMachineResourcesInstanceRequest

A request message for Instances.SetMachineResources. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMachineResourcesInstanceRequest

SetMachineResourcesInstanceRequest.Builder

A request message for Instances.SetMachineResources. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMachineResourcesInstanceRequest

SetMachineTypeInstanceRequest

A request message for Instances.SetMachineType. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMachineTypeInstanceRequest

SetMachineTypeInstanceRequest.Builder

A request message for Instances.SetMachineType. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMachineTypeInstanceRequest

SetMetadataInstanceRequest

A request message for Instances.SetMetadata. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMetadataInstanceRequest

SetMetadataInstanceRequest.Builder

A request message for Instances.SetMetadata. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMetadataInstanceRequest

SetMinCpuPlatformInstanceRequest

A request message for Instances.SetMinCpuPlatform. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMinCpuPlatformInstanceRequest

SetMinCpuPlatformInstanceRequest.Builder

A request message for Instances.SetMinCpuPlatform. See the method description for details.

Protobuf type google.cloud.compute.v1.SetMinCpuPlatformInstanceRequest

SetNameInstanceRequest

A request message for Instances.SetName. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNameInstanceRequest

SetNameInstanceRequest.Builder

A request message for Instances.SetName. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNameInstanceRequest

SetNamedPortsInstanceGroupRequest

A request message for InstanceGroups.SetNamedPorts. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNamedPortsInstanceGroupRequest

SetNamedPortsInstanceGroupRequest.Builder

A request message for InstanceGroups.SetNamedPorts. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNamedPortsInstanceGroupRequest

SetNamedPortsRegionInstanceGroupRequest

A request message for RegionInstanceGroups.SetNamedPorts. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNamedPortsRegionInstanceGroupRequest

SetNamedPortsRegionInstanceGroupRequest.Builder

A request message for RegionInstanceGroups.SetNamedPorts. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNamedPortsRegionInstanceGroupRequest

SetNodeTemplateNodeGroupRequest

A request message for NodeGroups.SetNodeTemplate. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNodeTemplateNodeGroupRequest

SetNodeTemplateNodeGroupRequest.Builder

A request message for NodeGroups.SetNodeTemplate. See the method description for details.

Protobuf type google.cloud.compute.v1.SetNodeTemplateNodeGroupRequest

SetPrivateIpGoogleAccessSubnetworkRequest

A request message for Subnetworks.SetPrivateIpGoogleAccess. See the method description for details.

Protobuf type google.cloud.compute.v1.SetPrivateIpGoogleAccessSubnetworkRequest

SetPrivateIpGoogleAccessSubnetworkRequest.Builder

A request message for Subnetworks.SetPrivateIpGoogleAccess. See the method description for details.

Protobuf type google.cloud.compute.v1.SetPrivateIpGoogleAccessSubnetworkRequest

SetProxyHeaderTargetSslProxyRequest

A request message for TargetSslProxies.SetProxyHeader. See the method description for details.

Protobuf type google.cloud.compute.v1.SetProxyHeaderTargetSslProxyRequest

SetProxyHeaderTargetSslProxyRequest.Builder

A request message for TargetSslProxies.SetProxyHeader. See the method description for details.

Protobuf type google.cloud.compute.v1.SetProxyHeaderTargetSslProxyRequest

SetProxyHeaderTargetTcpProxyRequest

A request message for TargetTcpProxies.SetProxyHeader. See the method description for details.

Protobuf type google.cloud.compute.v1.SetProxyHeaderTargetTcpProxyRequest

SetProxyHeaderTargetTcpProxyRequest.Builder

A request message for TargetTcpProxies.SetProxyHeader. See the method description for details.

Protobuf type google.cloud.compute.v1.SetProxyHeaderTargetTcpProxyRequest

SetQuicOverrideTargetHttpsProxyRequest

A request message for TargetHttpsProxies.SetQuicOverride. See the method description for details.

Protobuf type google.cloud.compute.v1.SetQuicOverrideTargetHttpsProxyRequest

SetQuicOverrideTargetHttpsProxyRequest.Builder

A request message for TargetHttpsProxies.SetQuicOverride. See the method description for details.

Protobuf type google.cloud.compute.v1.SetQuicOverrideTargetHttpsProxyRequest

SetSchedulingInstanceRequest

A request message for Instances.SetScheduling. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSchedulingInstanceRequest

SetSchedulingInstanceRequest.Builder

A request message for Instances.SetScheduling. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSchedulingInstanceRequest

SetSecurityPolicyBackendServiceRequest

A request message for BackendServices.SetSecurityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSecurityPolicyBackendServiceRequest

SetSecurityPolicyBackendServiceRequest.Builder

A request message for BackendServices.SetSecurityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSecurityPolicyBackendServiceRequest

SetServiceAccountInstanceRequest

A request message for Instances.SetServiceAccount. See the method description for details.

Protobuf type google.cloud.compute.v1.SetServiceAccountInstanceRequest

SetServiceAccountInstanceRequest.Builder

A request message for Instances.SetServiceAccount. See the method description for details.

Protobuf type google.cloud.compute.v1.SetServiceAccountInstanceRequest

SetShieldedInstanceIntegrityPolicyInstanceRequest

A request message for Instances.SetShieldedInstanceIntegrityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetShieldedInstanceIntegrityPolicyInstanceRequest

SetShieldedInstanceIntegrityPolicyInstanceRequest.Builder

A request message for Instances.SetShieldedInstanceIntegrityPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetShieldedInstanceIntegrityPolicyInstanceRequest

SetSslCertificatesRegionTargetHttpsProxyRequest

A request message for RegionTargetHttpsProxies.SetSslCertificates. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslCertificatesRegionTargetHttpsProxyRequest

SetSslCertificatesRegionTargetHttpsProxyRequest.Builder

A request message for RegionTargetHttpsProxies.SetSslCertificates. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslCertificatesRegionTargetHttpsProxyRequest

SetSslCertificatesTargetHttpsProxyRequest

A request message for TargetHttpsProxies.SetSslCertificates. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslCertificatesTargetHttpsProxyRequest

SetSslCertificatesTargetHttpsProxyRequest.Builder

A request message for TargetHttpsProxies.SetSslCertificates. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslCertificatesTargetHttpsProxyRequest

SetSslCertificatesTargetSslProxyRequest

A request message for TargetSslProxies.SetSslCertificates. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslCertificatesTargetSslProxyRequest

SetSslCertificatesTargetSslProxyRequest.Builder

A request message for TargetSslProxies.SetSslCertificates. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslCertificatesTargetSslProxyRequest

SetSslPolicyTargetHttpsProxyRequest

A request message for TargetHttpsProxies.SetSslPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslPolicyTargetHttpsProxyRequest

SetSslPolicyTargetHttpsProxyRequest.Builder

A request message for TargetHttpsProxies.SetSslPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslPolicyTargetHttpsProxyRequest

SetSslPolicyTargetSslProxyRequest

A request message for TargetSslProxies.SetSslPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslPolicyTargetSslProxyRequest

SetSslPolicyTargetSslProxyRequest.Builder

A request message for TargetSslProxies.SetSslPolicy. See the method description for details.

Protobuf type google.cloud.compute.v1.SetSslPolicyTargetSslProxyRequest

SetTagsInstanceRequest

A request message for Instances.SetTags. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTagsInstanceRequest

SetTagsInstanceRequest.Builder

A request message for Instances.SetTags. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTagsInstanceRequest

SetTargetForwardingRuleRequest

A request message for ForwardingRules.SetTarget. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetForwardingRuleRequest

SetTargetForwardingRuleRequest.Builder

A request message for ForwardingRules.SetTarget. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetForwardingRuleRequest

SetTargetGlobalForwardingRuleRequest

A request message for GlobalForwardingRules.SetTarget. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetGlobalForwardingRuleRequest

SetTargetGlobalForwardingRuleRequest.Builder

A request message for GlobalForwardingRules.SetTarget. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetGlobalForwardingRuleRequest

SetTargetPoolsInstanceGroupManagerRequest

A request message for InstanceGroupManagers.SetTargetPools. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetPoolsInstanceGroupManagerRequest

SetTargetPoolsInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.SetTargetPools. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetPoolsInstanceGroupManagerRequest

SetTargetPoolsRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.SetTargetPools. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetPoolsRegionInstanceGroupManagerRequest

SetTargetPoolsRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.SetTargetPools. See the method description for details.

Protobuf type google.cloud.compute.v1.SetTargetPoolsRegionInstanceGroupManagerRequest

SetUrlMapRegionTargetHttpProxyRequest

A request message for RegionTargetHttpProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapRegionTargetHttpProxyRequest

SetUrlMapRegionTargetHttpProxyRequest.Builder

A request message for RegionTargetHttpProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapRegionTargetHttpProxyRequest

SetUrlMapRegionTargetHttpsProxyRequest

A request message for RegionTargetHttpsProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapRegionTargetHttpsProxyRequest

SetUrlMapRegionTargetHttpsProxyRequest.Builder

A request message for RegionTargetHttpsProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapRegionTargetHttpsProxyRequest

SetUrlMapTargetHttpProxyRequest

A request message for TargetHttpProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapTargetHttpProxyRequest

SetUrlMapTargetHttpProxyRequest.Builder

A request message for TargetHttpProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapTargetHttpProxyRequest

SetUrlMapTargetHttpsProxyRequest

A request message for TargetHttpsProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapTargetHttpsProxyRequest

SetUrlMapTargetHttpsProxyRequest.Builder

A request message for TargetHttpsProxies.SetUrlMap. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUrlMapTargetHttpsProxyRequest

SetUsageExportBucketProjectRequest

A request message for Projects.SetUsageExportBucket. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUsageExportBucketProjectRequest

SetUsageExportBucketProjectRequest.Builder

A request message for Projects.SetUsageExportBucket. See the method description for details.

Protobuf type google.cloud.compute.v1.SetUsageExportBucketProjectRequest

ShareSettings

The share setting for reservations and sole tenancy node groups.

Protobuf type google.cloud.compute.v1.ShareSettings

ShareSettings.Builder

The share setting for reservations and sole tenancy node groups.

Protobuf type google.cloud.compute.v1.ShareSettings

ShareSettingsProjectConfig

Config for each project in the share settings.

Protobuf type google.cloud.compute.v1.ShareSettingsProjectConfig

ShareSettingsProjectConfig.Builder

Config for each project in the share settings.

Protobuf type google.cloud.compute.v1.ShareSettingsProjectConfig

ShieldedInstanceConfig

A set of Shielded Instance options.

Protobuf type google.cloud.compute.v1.ShieldedInstanceConfig

ShieldedInstanceConfig.Builder

A set of Shielded Instance options.

Protobuf type google.cloud.compute.v1.ShieldedInstanceConfig

ShieldedInstanceIdentity

A Shielded Instance Identity.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentity

ShieldedInstanceIdentity.Builder

A Shielded Instance Identity.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentity

ShieldedInstanceIdentityEntry

A Shielded Instance Identity Entry.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentityEntry

ShieldedInstanceIdentityEntry.Builder

A Shielded Instance Identity Entry.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIdentityEntry

ShieldedInstanceIntegrityPolicy

The policy describes the baseline against which Instance boot integrity is measured.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy

ShieldedInstanceIntegrityPolicy.Builder

The policy describes the baseline against which Instance boot integrity is measured.

Protobuf type google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy

SignedUrlKey

Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs

Protobuf type google.cloud.compute.v1.SignedUrlKey

SignedUrlKey.Builder

Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs

Protobuf type google.cloud.compute.v1.SignedUrlKey

SimulateMaintenanceEventInstanceRequest

A request message for Instances.SimulateMaintenanceEvent. See the method description for details.

Protobuf type google.cloud.compute.v1.SimulateMaintenanceEventInstanceRequest

SimulateMaintenanceEventInstanceRequest.Builder

A request message for Instances.SimulateMaintenanceEvent. See the method description for details.

Protobuf type google.cloud.compute.v1.SimulateMaintenanceEventInstanceRequest

SimulateMaintenanceEventNodeGroupRequest

A request message for NodeGroups.SimulateMaintenanceEvent. See the method description for details.

Protobuf type google.cloud.compute.v1.SimulateMaintenanceEventNodeGroupRequest

SimulateMaintenanceEventNodeGroupRequest.Builder

A request message for NodeGroups.SimulateMaintenanceEvent. See the method description for details.

Protobuf type google.cloud.compute.v1.SimulateMaintenanceEventNodeGroupRequest

Snapshot

Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.

Protobuf type google.cloud.compute.v1.Snapshot

Snapshot.Builder

Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.

Protobuf type google.cloud.compute.v1.Snapshot

SnapshotList

Contains a list of Snapshot resources.

Protobuf type google.cloud.compute.v1.SnapshotList

SnapshotList.Builder

Contains a list of Snapshot resources.

Protobuf type google.cloud.compute.v1.SnapshotList

SnapshotsClient

Service Description: The Snapshots 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 (SnapshotsClient snapshotsClient = SnapshotsClient.create()) {
   String project = "project-309310695";
   String snapshot = "snapshot284874180";
   Snapshot response = snapshotsClient.get(project, snapshot);
 }
 

Note: close() needs to be called on the SnapshotsClient 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:

  1. 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.
  2. 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.
  3. 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 SnapshotsSettings 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
 SnapshotsSettings snapshotsSettings =
     SnapshotsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 SnapshotsClient snapshotsClient = SnapshotsClient.create(snapshotsSettings);
 

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
 SnapshotsSettings snapshotsSettings =
     SnapshotsSettings.newBuilder().setEndpoint(myEndpoint).build();
 SnapshotsClient snapshotsClient = SnapshotsClient.create(snapshotsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

SnapshotsClient.ListFixedSizeCollection

SnapshotsClient.ListPage

SnapshotsClient.ListPagedResponse

SnapshotsSettings

Settings class to configure an instance of SnapshotsClient.

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
 SnapshotsSettings.Builder snapshotsSettingsBuilder = SnapshotsSettings.newBuilder();
 snapshotsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         snapshotsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SnapshotsSettings snapshotsSettings = snapshotsSettingsBuilder.build();
 

SnapshotsSettings.Builder

Builder for SnapshotsSettings.

SourceDiskEncryptionKey

Protobuf type google.cloud.compute.v1.SourceDiskEncryptionKey

SourceDiskEncryptionKey.Builder

Protobuf type google.cloud.compute.v1.SourceDiskEncryptionKey

SourceInstanceParams

A specification of the parameters to use when creating the instance template from a source instance.

Protobuf type google.cloud.compute.v1.SourceInstanceParams

SourceInstanceParams.Builder

A specification of the parameters to use when creating the instance template from a source instance.

Protobuf type google.cloud.compute.v1.SourceInstanceParams

SourceInstanceProperties

DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.

Protobuf type google.cloud.compute.v1.SourceInstanceProperties

SourceInstanceProperties.Builder

DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.

Protobuf type google.cloud.compute.v1.SourceInstanceProperties

SslCertificate

Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * Global * Regional The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.

Protobuf type google.cloud.compute.v1.SslCertificate

SslCertificate.Builder

Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * Global * Regional The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates.

Protobuf type google.cloud.compute.v1.SslCertificate

SslCertificateAggregatedList

Protobuf type google.cloud.compute.v1.SslCertificateAggregatedList

SslCertificateAggregatedList.Builder

Protobuf type google.cloud.compute.v1.SslCertificateAggregatedList

SslCertificateList

Contains a list of SslCertificate resources.

Protobuf type google.cloud.compute.v1.SslCertificateList

SslCertificateList.Builder

Contains a list of SslCertificate resources.

Protobuf type google.cloud.compute.v1.SslCertificateList

SslCertificateManagedSslCertificate

Configuration and status of a managed SSL certificate.

Protobuf type google.cloud.compute.v1.SslCertificateManagedSslCertificate

SslCertificateManagedSslCertificate.Builder

Configuration and status of a managed SSL certificate.

Protobuf type google.cloud.compute.v1.SslCertificateManagedSslCertificate

SslCertificateSelfManagedSslCertificate

Configuration and status of a self-managed SSL certificate.

Protobuf type google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate

SslCertificateSelfManagedSslCertificate.Builder

Configuration and status of a self-managed SSL certificate.

Protobuf type google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate

SslCertificatesClient

Service Description: The SslCertificates 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 (SslCertificatesClient sslCertificatesClient = SslCertificatesClient.create()) {
   String project = "project-309310695";
   String sslCertificate = "sslCertificate-1304941589";
   SslCertificate response = sslCertificatesClient.get(project, sslCertificate);
 }
 

Note: close() needs to be called on the SslCertificatesClient 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:

  1. 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.
  2. 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.
  3. 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 SslCertificatesSettings 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
 SslCertificatesSettings sslCertificatesSettings =
     SslCertificatesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 SslCertificatesClient sslCertificatesClient =
     SslCertificatesClient.create(sslCertificatesSettings);
 

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
 SslCertificatesSettings sslCertificatesSettings =
     SslCertificatesSettings.newBuilder().setEndpoint(myEndpoint).build();
 SslCertificatesClient sslCertificatesClient =
     SslCertificatesClient.create(sslCertificatesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

SslCertificatesClient.AggregatedListFixedSizeCollection

SslCertificatesClient.AggregatedListPage

SslCertificatesClient.AggregatedListPagedResponse

SslCertificatesClient.ListFixedSizeCollection

SslCertificatesClient.ListPage

SslCertificatesClient.ListPagedResponse

SslCertificatesScopedList

Protobuf type google.cloud.compute.v1.SslCertificatesScopedList

SslCertificatesScopedList.Builder

Protobuf type google.cloud.compute.v1.SslCertificatesScopedList

SslCertificatesSettings

Settings class to configure an instance of SslCertificatesClient.

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
 SslCertificatesSettings.Builder sslCertificatesSettingsBuilder =
     SslCertificatesSettings.newBuilder();
 sslCertificatesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         sslCertificatesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SslCertificatesSettings sslCertificatesSettings = sslCertificatesSettingsBuilder.build();
 

SslCertificatesSettings.Builder

Builder for SslCertificatesSettings.

SslPoliciesAggregatedList

Protobuf type google.cloud.compute.v1.SslPoliciesAggregatedList

SslPoliciesAggregatedList.Builder

Protobuf type google.cloud.compute.v1.SslPoliciesAggregatedList

SslPoliciesClient

Service Description: The SslPolicies 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 (SslPoliciesClient sslPoliciesClient = SslPoliciesClient.create()) {
   String project = "project-309310695";
   String sslPolicy = "sslPolicy618174046";
   SslPolicy response = sslPoliciesClient.get(project, sslPolicy);
 }
 

Note: close() needs to be called on the SslPoliciesClient 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:

  1. 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.
  2. 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.
  3. 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 SslPoliciesSettings 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
 SslPoliciesSettings sslPoliciesSettings =
     SslPoliciesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 SslPoliciesClient sslPoliciesClient = SslPoliciesClient.create(sslPoliciesSettings);
 

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
 SslPoliciesSettings sslPoliciesSettings =
     SslPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
 SslPoliciesClient sslPoliciesClient = SslPoliciesClient.create(sslPoliciesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

SslPoliciesClient.AggregatedListFixedSizeCollection

SslPoliciesClient.AggregatedListPage

SslPoliciesClient.AggregatedListPagedResponse

SslPoliciesClient.ListFixedSizeCollection

SslPoliciesClient.ListPage

SslPoliciesClient.ListPagedResponse

SslPoliciesList

Protobuf type google.cloud.compute.v1.SslPoliciesList

SslPoliciesList.Builder

Protobuf type google.cloud.compute.v1.SslPoliciesList

SslPoliciesListAvailableFeaturesResponse

Protobuf type google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse

SslPoliciesListAvailableFeaturesResponse.Builder

Protobuf type google.cloud.compute.v1.SslPoliciesListAvailableFeaturesResponse

SslPoliciesScopedList

Protobuf type google.cloud.compute.v1.SslPoliciesScopedList

SslPoliciesScopedList.Builder

Protobuf type google.cloud.compute.v1.SslPoliciesScopedList

SslPoliciesSettings

Settings class to configure an instance of SslPoliciesClient.

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
 SslPoliciesSettings.Builder sslPoliciesSettingsBuilder = SslPoliciesSettings.newBuilder();
 sslPoliciesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         sslPoliciesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SslPoliciesSettings sslPoliciesSettings = sslPoliciesSettingsBuilder.build();
 

SslPoliciesSettings.Builder

Builder for SslPoliciesSettings.

SslPolicy

Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts.

Protobuf type google.cloud.compute.v1.SslPolicy

SslPolicy.Builder

Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts.

Protobuf type google.cloud.compute.v1.SslPolicy

SslPolicyReference

Protobuf type google.cloud.compute.v1.SslPolicyReference

SslPolicyReference.Builder

Protobuf type google.cloud.compute.v1.SslPolicyReference

StartAsyncReplicationDiskRequest

A request message for Disks.StartAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StartAsyncReplicationDiskRequest

StartAsyncReplicationDiskRequest.Builder

A request message for Disks.StartAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StartAsyncReplicationDiskRequest

StartAsyncReplicationRegionDiskRequest

A request message for RegionDisks.StartAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StartAsyncReplicationRegionDiskRequest

StartAsyncReplicationRegionDiskRequest.Builder

A request message for RegionDisks.StartAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StartAsyncReplicationRegionDiskRequest

StartInstanceRequest

A request message for Instances.Start. See the method description for details.

Protobuf type google.cloud.compute.v1.StartInstanceRequest

StartInstanceRequest.Builder

A request message for Instances.Start. See the method description for details.

Protobuf type google.cloud.compute.v1.StartInstanceRequest

StartWithEncryptionKeyInstanceRequest

A request message for Instances.StartWithEncryptionKey. See the method description for details.

Protobuf type google.cloud.compute.v1.StartWithEncryptionKeyInstanceRequest

StartWithEncryptionKeyInstanceRequest.Builder

A request message for Instances.StartWithEncryptionKey. See the method description for details.

Protobuf type google.cloud.compute.v1.StartWithEncryptionKeyInstanceRequest

StatefulPolicy

Protobuf type google.cloud.compute.v1.StatefulPolicy

StatefulPolicy.Builder

Protobuf type google.cloud.compute.v1.StatefulPolicy

StatefulPolicyPreservedState

Configuration of preserved resources.

Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedState

StatefulPolicyPreservedState.Builder

Configuration of preserved resources.

Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedState

StatefulPolicyPreservedStateDiskDevice

Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice

StatefulPolicyPreservedStateDiskDevice.Builder

Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice

StopAsyncReplicationDiskRequest

A request message for Disks.StopAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopAsyncReplicationDiskRequest

StopAsyncReplicationDiskRequest.Builder

A request message for Disks.StopAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopAsyncReplicationDiskRequest

StopAsyncReplicationRegionDiskRequest

A request message for RegionDisks.StopAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopAsyncReplicationRegionDiskRequest

StopAsyncReplicationRegionDiskRequest.Builder

A request message for RegionDisks.StopAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopAsyncReplicationRegionDiskRequest

StopGroupAsyncReplicationDiskRequest

A request message for Disks.StopGroupAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopGroupAsyncReplicationDiskRequest

StopGroupAsyncReplicationDiskRequest.Builder

A request message for Disks.StopGroupAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopGroupAsyncReplicationDiskRequest

StopGroupAsyncReplicationRegionDiskRequest

A request message for RegionDisks.StopGroupAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopGroupAsyncReplicationRegionDiskRequest

StopGroupAsyncReplicationRegionDiskRequest.Builder

A request message for RegionDisks.StopGroupAsyncReplication. See the method description for details.

Protobuf type google.cloud.compute.v1.StopGroupAsyncReplicationRegionDiskRequest

StopInstanceRequest

A request message for Instances.Stop. See the method description for details.

Protobuf type google.cloud.compute.v1.StopInstanceRequest

StopInstanceRequest.Builder

A request message for Instances.Stop. See the method description for details.

Protobuf type google.cloud.compute.v1.StopInstanceRequest

Subnetwork

Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network.

Protobuf type google.cloud.compute.v1.Subnetwork

Subnetwork.Builder

Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network.

Protobuf type google.cloud.compute.v1.Subnetwork

SubnetworkAggregatedList

Protobuf type google.cloud.compute.v1.SubnetworkAggregatedList

SubnetworkAggregatedList.Builder

Protobuf type google.cloud.compute.v1.SubnetworkAggregatedList

SubnetworkList

Contains a list of Subnetwork resources.

Protobuf type google.cloud.compute.v1.SubnetworkList

SubnetworkList.Builder

Contains a list of Subnetwork resources.

Protobuf type google.cloud.compute.v1.SubnetworkList

SubnetworkLogConfig

The available logging options for this subnetwork.

Protobuf type google.cloud.compute.v1.SubnetworkLogConfig

SubnetworkLogConfig.Builder

The available logging options for this subnetwork.

Protobuf type google.cloud.compute.v1.SubnetworkLogConfig

SubnetworkSecondaryRange

Represents a secondary IP range of a subnetwork.

Protobuf type google.cloud.compute.v1.SubnetworkSecondaryRange

SubnetworkSecondaryRange.Builder

Represents a secondary IP range of a subnetwork.

Protobuf type google.cloud.compute.v1.SubnetworkSecondaryRange

SubnetworksClient

Service Description: The Subnetworks 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 (SubnetworksClient subnetworksClient = SubnetworksClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String subnetwork = "subnetwork-1302785042";
   Subnetwork response = subnetworksClient.get(project, region, subnetwork);
 }
 

Note: close() needs to be called on the SubnetworksClient 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:

  1. 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.
  2. 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.
  3. 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 SubnetworksSettings 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
 SubnetworksSettings subnetworksSettings =
     SubnetworksSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 SubnetworksClient subnetworksClient = SubnetworksClient.create(subnetworksSettings);
 

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
 SubnetworksSettings subnetworksSettings =
     SubnetworksSettings.newBuilder().setEndpoint(myEndpoint).build();
 SubnetworksClient subnetworksClient = SubnetworksClient.create(subnetworksSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

SubnetworksClient.AggregatedListFixedSizeCollection

SubnetworksClient.AggregatedListPage

SubnetworksClient.AggregatedListPagedResponse

SubnetworksClient.ListFixedSizeCollection

SubnetworksClient.ListPage

SubnetworksClient.ListPagedResponse

SubnetworksClient.ListUsableFixedSizeCollection

SubnetworksClient.ListUsablePage

SubnetworksClient.ListUsablePagedResponse

SubnetworksExpandIpCidrRangeRequest

Protobuf type google.cloud.compute.v1.SubnetworksExpandIpCidrRangeRequest

SubnetworksExpandIpCidrRangeRequest.Builder

Protobuf type google.cloud.compute.v1.SubnetworksExpandIpCidrRangeRequest

SubnetworksScopedList

Protobuf type google.cloud.compute.v1.SubnetworksScopedList

SubnetworksScopedList.Builder

Protobuf type google.cloud.compute.v1.SubnetworksScopedList

SubnetworksSetPrivateIpGoogleAccessRequest

Protobuf type google.cloud.compute.v1.SubnetworksSetPrivateIpGoogleAccessRequest

SubnetworksSetPrivateIpGoogleAccessRequest.Builder

Protobuf type google.cloud.compute.v1.SubnetworksSetPrivateIpGoogleAccessRequest

SubnetworksSettings

Settings class to configure an instance of SubnetworksClient.

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
 SubnetworksSettings.Builder subnetworksSettingsBuilder = SubnetworksSettings.newBuilder();
 subnetworksSettingsBuilder
     .getSettings()
     .setRetrySettings(
         subnetworksSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SubnetworksSettings subnetworksSettings = subnetworksSettingsBuilder.build();
 

SubnetworksSettings.Builder

Builder for SubnetworksSettings.

Subsetting

Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director.

Protobuf type google.cloud.compute.v1.Subsetting

Subsetting.Builder

Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director.

Protobuf type google.cloud.compute.v1.Subsetting

SuspendInstanceRequest

A request message for Instances.Suspend. See the method description for details.

Protobuf type google.cloud.compute.v1.SuspendInstanceRequest

SuspendInstanceRequest.Builder

A request message for Instances.Suspend. See the method description for details.

Protobuf type google.cloud.compute.v1.SuspendInstanceRequest

SwitchToCustomModeNetworkRequest

A request message for Networks.SwitchToCustomMode. See the method description for details.

Protobuf type google.cloud.compute.v1.SwitchToCustomModeNetworkRequest

SwitchToCustomModeNetworkRequest.Builder

A request message for Networks.SwitchToCustomMode. See the method description for details.

Protobuf type google.cloud.compute.v1.SwitchToCustomModeNetworkRequest

TCPHealthCheck

Protobuf type google.cloud.compute.v1.TCPHealthCheck

TCPHealthCheck.Builder

Protobuf type google.cloud.compute.v1.TCPHealthCheck

Tags

A set of instance tags.

Protobuf type google.cloud.compute.v1.Tags

Tags.Builder

A set of instance tags.

Protobuf type google.cloud.compute.v1.Tags

TargetGrpcProxiesClient

Service Description: The TargetGrpcProxies 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 (TargetGrpcProxiesClient targetGrpcProxiesClient = TargetGrpcProxiesClient.create()) {
   String project = "project-309310695";
   String targetGrpcProxy = "targetGrpcProxy1045500511";
   TargetGrpcProxy response = targetGrpcProxiesClient.get(project, targetGrpcProxy);
 }
 

Note: close() needs to be called on the TargetGrpcProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 TargetGrpcProxiesSettings 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
 TargetGrpcProxiesSettings targetGrpcProxiesSettings =
     TargetGrpcProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetGrpcProxiesClient targetGrpcProxiesClient =
     TargetGrpcProxiesClient.create(targetGrpcProxiesSettings);
 

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
 TargetGrpcProxiesSettings targetGrpcProxiesSettings =
     TargetGrpcProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetGrpcProxiesClient targetGrpcProxiesClient =
     TargetGrpcProxiesClient.create(targetGrpcProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetGrpcProxiesClient.ListFixedSizeCollection

TargetGrpcProxiesClient.ListPage

TargetGrpcProxiesClient.ListPagedResponse

TargetGrpcProxiesSettings

Settings class to configure an instance of TargetGrpcProxiesClient.

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
 TargetGrpcProxiesSettings.Builder targetGrpcProxiesSettingsBuilder =
     TargetGrpcProxiesSettings.newBuilder();
 targetGrpcProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetGrpcProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetGrpcProxiesSettings targetGrpcProxiesSettings = targetGrpcProxiesSettingsBuilder.build();
 

TargetGrpcProxiesSettings.Builder

Builder for TargetGrpcProxiesSettings.

TargetGrpcProxy

Represents a Target gRPC Proxy resource. A target gRPC proxy is a component of load balancers intended for load balancing gRPC traffic. Only global forwarding rules with load balancing scheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target gRPC Proxy references a URL map that specifies how traffic is routed to gRPC backend services.

Protobuf type google.cloud.compute.v1.TargetGrpcProxy

TargetGrpcProxy.Builder

Represents a Target gRPC Proxy resource. A target gRPC proxy is a component of load balancers intended for load balancing gRPC traffic. Only global forwarding rules with load balancing scheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target gRPC Proxy references a URL map that specifies how traffic is routed to gRPC backend services.

Protobuf type google.cloud.compute.v1.TargetGrpcProxy

TargetGrpcProxyList

Protobuf type google.cloud.compute.v1.TargetGrpcProxyList

TargetGrpcProxyList.Builder

Protobuf type google.cloud.compute.v1.TargetGrpcProxyList

TargetHttpProxiesClient

Service Description: The TargetHttpProxies 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 (TargetHttpProxiesClient targetHttpProxiesClient = TargetHttpProxiesClient.create()) {
   String project = "project-309310695";
   String targetHttpProxy = "targetHttpProxy-1944074187";
   TargetHttpProxy response = targetHttpProxiesClient.get(project, targetHttpProxy);
 }
 

Note: close() needs to be called on the TargetHttpProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 TargetHttpProxiesSettings 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
 TargetHttpProxiesSettings targetHttpProxiesSettings =
     TargetHttpProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetHttpProxiesClient targetHttpProxiesClient =
     TargetHttpProxiesClient.create(targetHttpProxiesSettings);
 

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
 TargetHttpProxiesSettings targetHttpProxiesSettings =
     TargetHttpProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetHttpProxiesClient targetHttpProxiesClient =
     TargetHttpProxiesClient.create(targetHttpProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetHttpProxiesClient.AggregatedListFixedSizeCollection

TargetHttpProxiesClient.AggregatedListPage

TargetHttpProxiesClient.AggregatedListPagedResponse

TargetHttpProxiesClient.ListFixedSizeCollection

TargetHttpProxiesClient.ListPage

TargetHttpProxiesClient.ListPagedResponse

TargetHttpProxiesScopedList

Protobuf type google.cloud.compute.v1.TargetHttpProxiesScopedList

TargetHttpProxiesScopedList.Builder

Protobuf type google.cloud.compute.v1.TargetHttpProxiesScopedList

TargetHttpProxiesSettings

Settings class to configure an instance of TargetHttpProxiesClient.

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
 TargetHttpProxiesSettings.Builder targetHttpProxiesSettingsBuilder =
     TargetHttpProxiesSettings.newBuilder();
 targetHttpProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetHttpProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetHttpProxiesSettings targetHttpProxiesSettings = targetHttpProxiesSettingsBuilder.build();
 

TargetHttpProxiesSettings.Builder

Builder for TargetHttpProxiesSettings.

TargetHttpProxy

Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * Global * Regional A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.

Protobuf type google.cloud.compute.v1.TargetHttpProxy

TargetHttpProxy.Builder

Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * Global * Regional A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.

Protobuf type google.cloud.compute.v1.TargetHttpProxy

TargetHttpProxyAggregatedList

Protobuf type google.cloud.compute.v1.TargetHttpProxyAggregatedList

TargetHttpProxyAggregatedList.Builder

Protobuf type google.cloud.compute.v1.TargetHttpProxyAggregatedList

TargetHttpProxyList

A list of TargetHttpProxy resources.

Protobuf type google.cloud.compute.v1.TargetHttpProxyList

TargetHttpProxyList.Builder

A list of TargetHttpProxy resources.

Protobuf type google.cloud.compute.v1.TargetHttpProxyList

TargetHttpsProxiesClient

Service Description: The TargetHttpsProxies 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 (TargetHttpsProxiesClient targetHttpsProxiesClient = TargetHttpsProxiesClient.create()) {
   String project = "project-309310695";
   String targetHttpsProxy = "targetHttpsProxy833943732";
   TargetHttpsProxy response = targetHttpsProxiesClient.get(project, targetHttpsProxy);
 }
 

Note: close() needs to be called on the TargetHttpsProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 TargetHttpsProxiesSettings 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
 TargetHttpsProxiesSettings targetHttpsProxiesSettings =
     TargetHttpsProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetHttpsProxiesClient targetHttpsProxiesClient =
     TargetHttpsProxiesClient.create(targetHttpsProxiesSettings);
 

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
 TargetHttpsProxiesSettings targetHttpsProxiesSettings =
     TargetHttpsProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetHttpsProxiesClient targetHttpsProxiesClient =
     TargetHttpsProxiesClient.create(targetHttpsProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetHttpsProxiesClient.AggregatedListFixedSizeCollection

TargetHttpsProxiesClient.AggregatedListPage

TargetHttpsProxiesClient.AggregatedListPagedResponse

TargetHttpsProxiesClient.ListFixedSizeCollection

TargetHttpsProxiesClient.ListPage

TargetHttpsProxiesClient.ListPagedResponse

TargetHttpsProxiesScopedList

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesScopedList

TargetHttpsProxiesScopedList.Builder

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesScopedList

TargetHttpsProxiesSetCertificateMapRequest

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetCertificateMapRequest

TargetHttpsProxiesSetCertificateMapRequest.Builder

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetCertificateMapRequest

TargetHttpsProxiesSetQuicOverrideRequest

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest

TargetHttpsProxiesSetQuicOverrideRequest.Builder

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest

TargetHttpsProxiesSetSslCertificatesRequest

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetSslCertificatesRequest

TargetHttpsProxiesSetSslCertificatesRequest.Builder

Protobuf type google.cloud.compute.v1.TargetHttpsProxiesSetSslCertificatesRequest

TargetHttpsProxiesSettings

Settings class to configure an instance of TargetHttpsProxiesClient.

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
 TargetHttpsProxiesSettings.Builder targetHttpsProxiesSettingsBuilder =
     TargetHttpsProxiesSettings.newBuilder();
 targetHttpsProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetHttpsProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetHttpsProxiesSettings targetHttpsProxiesSettings =
     targetHttpsProxiesSettingsBuilder.build();
 

TargetHttpsProxiesSettings.Builder

Builder for TargetHttpsProxiesSettings.

TargetHttpsProxy

Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * Global * Regional A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.

Protobuf type google.cloud.compute.v1.TargetHttpsProxy

TargetHttpsProxy.Builder

Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * Global * Regional A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts.

Protobuf type google.cloud.compute.v1.TargetHttpsProxy

TargetHttpsProxyAggregatedList

Protobuf type google.cloud.compute.v1.TargetHttpsProxyAggregatedList

TargetHttpsProxyAggregatedList.Builder

Protobuf type google.cloud.compute.v1.TargetHttpsProxyAggregatedList

TargetHttpsProxyList

Contains a list of TargetHttpsProxy resources.

Protobuf type google.cloud.compute.v1.TargetHttpsProxyList

TargetHttpsProxyList.Builder

Contains a list of TargetHttpsProxy resources.

Protobuf type google.cloud.compute.v1.TargetHttpsProxyList

TargetInstance

Represents a Target Instance resource. You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source. For example, ESP, AH, TCP, or UDP. For more information, read Target instances.

Protobuf type google.cloud.compute.v1.TargetInstance

TargetInstance.Builder

Represents a Target Instance resource. You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source. For example, ESP, AH, TCP, or UDP. For more information, read Target instances.

Protobuf type google.cloud.compute.v1.TargetInstance

TargetInstanceAggregatedList

Protobuf type google.cloud.compute.v1.TargetInstanceAggregatedList

TargetInstanceAggregatedList.Builder

Protobuf type google.cloud.compute.v1.TargetInstanceAggregatedList

TargetInstanceList

Contains a list of TargetInstance resources.

Protobuf type google.cloud.compute.v1.TargetInstanceList

TargetInstanceList.Builder

Contains a list of TargetInstance resources.

Protobuf type google.cloud.compute.v1.TargetInstanceList

TargetInstancesClient

Service Description: The TargetInstances 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 (TargetInstancesClient targetInstancesClient = TargetInstancesClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String targetInstance = "targetInstance-1036957370";
   TargetInstance response = targetInstancesClient.get(project, zone, targetInstance);
 }
 

Note: close() needs to be called on the TargetInstancesClient 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:

  1. 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.
  2. 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.
  3. 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 TargetInstancesSettings 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
 TargetInstancesSettings targetInstancesSettings =
     TargetInstancesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetInstancesClient targetInstancesClient =
     TargetInstancesClient.create(targetInstancesSettings);
 

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
 TargetInstancesSettings targetInstancesSettings =
     TargetInstancesSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetInstancesClient targetInstancesClient =
     TargetInstancesClient.create(targetInstancesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetInstancesClient.AggregatedListFixedSizeCollection

TargetInstancesClient.AggregatedListPage

TargetInstancesClient.AggregatedListPagedResponse

TargetInstancesClient.ListFixedSizeCollection

TargetInstancesClient.ListPage

TargetInstancesClient.ListPagedResponse

TargetInstancesScopedList

Protobuf type google.cloud.compute.v1.TargetInstancesScopedList

TargetInstancesScopedList.Builder

Protobuf type google.cloud.compute.v1.TargetInstancesScopedList

TargetInstancesSettings

Settings class to configure an instance of TargetInstancesClient.

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
 TargetInstancesSettings.Builder targetInstancesSettingsBuilder =
     TargetInstancesSettings.newBuilder();
 targetInstancesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetInstancesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetInstancesSettings targetInstancesSettings = targetInstancesSettingsBuilder.build();
 

TargetInstancesSettings.Builder

Builder for TargetInstancesSettings.

TargetPool

Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.

Protobuf type google.cloud.compute.v1.TargetPool

TargetPool.Builder

Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools.

Protobuf type google.cloud.compute.v1.TargetPool

TargetPoolAggregatedList

Protobuf type google.cloud.compute.v1.TargetPoolAggregatedList

TargetPoolAggregatedList.Builder

Protobuf type google.cloud.compute.v1.TargetPoolAggregatedList

TargetPoolInstanceHealth

Protobuf type google.cloud.compute.v1.TargetPoolInstanceHealth

TargetPoolInstanceHealth.Builder

Protobuf type google.cloud.compute.v1.TargetPoolInstanceHealth

TargetPoolList

Contains a list of TargetPool resources.

Protobuf type google.cloud.compute.v1.TargetPoolList

TargetPoolList.Builder

Contains a list of TargetPool resources.

Protobuf type google.cloud.compute.v1.TargetPoolList

TargetPoolsAddHealthCheckRequest

Protobuf type google.cloud.compute.v1.TargetPoolsAddHealthCheckRequest

TargetPoolsAddHealthCheckRequest.Builder

Protobuf type google.cloud.compute.v1.TargetPoolsAddHealthCheckRequest

TargetPoolsAddInstanceRequest

Protobuf type google.cloud.compute.v1.TargetPoolsAddInstanceRequest

TargetPoolsAddInstanceRequest.Builder

Protobuf type google.cloud.compute.v1.TargetPoolsAddInstanceRequest

TargetPoolsClient

Service Description: The TargetPools 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 (TargetPoolsClient targetPoolsClient = TargetPoolsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String targetPool = "targetPool486493517";
   TargetPool response = targetPoolsClient.get(project, region, targetPool);
 }
 

Note: close() needs to be called on the TargetPoolsClient 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:

  1. 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.
  2. 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.
  3. 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 TargetPoolsSettings 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
 TargetPoolsSettings targetPoolsSettings =
     TargetPoolsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetPoolsClient targetPoolsClient = TargetPoolsClient.create(targetPoolsSettings);
 

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
 TargetPoolsSettings targetPoolsSettings =
     TargetPoolsSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetPoolsClient targetPoolsClient = TargetPoolsClient.create(targetPoolsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetPoolsClient.AggregatedListFixedSizeCollection

TargetPoolsClient.AggregatedListPage

TargetPoolsClient.AggregatedListPagedResponse

TargetPoolsClient.ListFixedSizeCollection

TargetPoolsClient.ListPage

TargetPoolsClient.ListPagedResponse

TargetPoolsRemoveHealthCheckRequest

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveHealthCheckRequest

TargetPoolsRemoveHealthCheckRequest.Builder

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveHealthCheckRequest

TargetPoolsRemoveInstanceRequest

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveInstanceRequest

TargetPoolsRemoveInstanceRequest.Builder

Protobuf type google.cloud.compute.v1.TargetPoolsRemoveInstanceRequest

TargetPoolsScopedList

Protobuf type google.cloud.compute.v1.TargetPoolsScopedList

TargetPoolsScopedList.Builder

Protobuf type google.cloud.compute.v1.TargetPoolsScopedList

TargetPoolsSettings

Settings class to configure an instance of TargetPoolsClient.

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
 TargetPoolsSettings.Builder targetPoolsSettingsBuilder = TargetPoolsSettings.newBuilder();
 targetPoolsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetPoolsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetPoolsSettings targetPoolsSettings = targetPoolsSettingsBuilder.build();
 

TargetPoolsSettings.Builder

Builder for TargetPoolsSettings.

TargetReference

Protobuf type google.cloud.compute.v1.TargetReference

TargetReference.Builder

Protobuf type google.cloud.compute.v1.TargetReference

TargetSslProxiesClient

Service Description: The TargetSslProxies 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 (TargetSslProxiesClient targetSslProxiesClient = TargetSslProxiesClient.create()) {
   String project = "project-309310695";
   String targetSslProxy = "targetSslProxy-879314829";
   TargetSslProxy response = targetSslProxiesClient.get(project, targetSslProxy);
 }
 

Note: close() needs to be called on the TargetSslProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 TargetSslProxiesSettings 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
 TargetSslProxiesSettings targetSslProxiesSettings =
     TargetSslProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetSslProxiesClient targetSslProxiesClient =
     TargetSslProxiesClient.create(targetSslProxiesSettings);
 

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
 TargetSslProxiesSettings targetSslProxiesSettings =
     TargetSslProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetSslProxiesClient targetSslProxiesClient =
     TargetSslProxiesClient.create(targetSslProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetSslProxiesClient.ListFixedSizeCollection

TargetSslProxiesClient.ListPage

TargetSslProxiesClient.ListPagedResponse

TargetSslProxiesSetBackendServiceRequest

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest

TargetSslProxiesSetBackendServiceRequest.Builder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetBackendServiceRequest

TargetSslProxiesSetCertificateMapRequest

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetCertificateMapRequest

TargetSslProxiesSetCertificateMapRequest.Builder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetCertificateMapRequest

TargetSslProxiesSetProxyHeaderRequest

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest

TargetSslProxiesSetProxyHeaderRequest.Builder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest

TargetSslProxiesSetSslCertificatesRequest

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetSslCertificatesRequest

TargetSslProxiesSetSslCertificatesRequest.Builder

Protobuf type google.cloud.compute.v1.TargetSslProxiesSetSslCertificatesRequest

TargetSslProxiesSettings

Settings class to configure an instance of TargetSslProxiesClient.

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
 TargetSslProxiesSettings.Builder targetSslProxiesSettingsBuilder =
     TargetSslProxiesSettings.newBuilder();
 targetSslProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetSslProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetSslProxiesSettings targetSslProxiesSettings = targetSslProxiesSettingsBuilder.build();
 

TargetSslProxiesSettings.Builder

Builder for TargetSslProxiesSettings.

TargetSslProxy

Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies.

Protobuf type google.cloud.compute.v1.TargetSslProxy

TargetSslProxy.Builder

Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies.

Protobuf type google.cloud.compute.v1.TargetSslProxy

TargetSslProxyList

Contains a list of TargetSslProxy resources.

Protobuf type google.cloud.compute.v1.TargetSslProxyList

TargetSslProxyList.Builder

Contains a list of TargetSslProxy resources.

Protobuf type google.cloud.compute.v1.TargetSslProxyList

TargetTcpProxiesClient

Service Description: The TargetTcpProxies 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 (TargetTcpProxiesClient targetTcpProxiesClient = TargetTcpProxiesClient.create()) {
   String project = "project-309310695";
   String targetTcpProxy = "targetTcpProxy-337144898";
   TargetTcpProxy response = targetTcpProxiesClient.get(project, targetTcpProxy);
 }
 

Note: close() needs to be called on the TargetTcpProxiesClient 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:

  1. 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.
  2. 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.
  3. 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 TargetTcpProxiesSettings 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
 TargetTcpProxiesSettings targetTcpProxiesSettings =
     TargetTcpProxiesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetTcpProxiesClient targetTcpProxiesClient =
     TargetTcpProxiesClient.create(targetTcpProxiesSettings);
 

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
 TargetTcpProxiesSettings targetTcpProxiesSettings =
     TargetTcpProxiesSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetTcpProxiesClient targetTcpProxiesClient =
     TargetTcpProxiesClient.create(targetTcpProxiesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetTcpProxiesClient.AggregatedListFixedSizeCollection

TargetTcpProxiesClient.AggregatedListPage

TargetTcpProxiesClient.AggregatedListPagedResponse

TargetTcpProxiesClient.ListFixedSizeCollection

TargetTcpProxiesClient.ListPage

TargetTcpProxiesClient.ListPagedResponse

TargetTcpProxiesScopedList

Protobuf type google.cloud.compute.v1.TargetTcpProxiesScopedList

TargetTcpProxiesScopedList.Builder

Protobuf type google.cloud.compute.v1.TargetTcpProxiesScopedList

TargetTcpProxiesSetBackendServiceRequest

Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetBackendServiceRequest

TargetTcpProxiesSetBackendServiceRequest.Builder

Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetBackendServiceRequest

TargetTcpProxiesSetProxyHeaderRequest

Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequest

TargetTcpProxiesSetProxyHeaderRequest.Builder

Protobuf type google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequest

TargetTcpProxiesSettings

Settings class to configure an instance of TargetTcpProxiesClient.

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
 TargetTcpProxiesSettings.Builder targetTcpProxiesSettingsBuilder =
     TargetTcpProxiesSettings.newBuilder();
 targetTcpProxiesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetTcpProxiesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetTcpProxiesSettings targetTcpProxiesSettings = targetTcpProxiesSettingsBuilder.build();
 

TargetTcpProxiesSettings.Builder

Builder for TargetTcpProxiesSettings.

TargetTcpProxy

Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview.

Protobuf type google.cloud.compute.v1.TargetTcpProxy

TargetTcpProxy.Builder

Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview.

Protobuf type google.cloud.compute.v1.TargetTcpProxy

TargetTcpProxyAggregatedList

Protobuf type google.cloud.compute.v1.TargetTcpProxyAggregatedList

TargetTcpProxyAggregatedList.Builder

Protobuf type google.cloud.compute.v1.TargetTcpProxyAggregatedList

TargetTcpProxyList

Contains a list of TargetTcpProxy resources.

Protobuf type google.cloud.compute.v1.TargetTcpProxyList

TargetTcpProxyList.Builder

Contains a list of TargetTcpProxy resources.

Protobuf type google.cloud.compute.v1.TargetTcpProxyList

TargetVpnGateway

Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.

Protobuf type google.cloud.compute.v1.TargetVpnGateway

TargetVpnGateway.Builder

Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview.

Protobuf type google.cloud.compute.v1.TargetVpnGateway

TargetVpnGatewayAggregatedList

Protobuf type google.cloud.compute.v1.TargetVpnGatewayAggregatedList

TargetVpnGatewayAggregatedList.Builder

Protobuf type google.cloud.compute.v1.TargetVpnGatewayAggregatedList

TargetVpnGatewayList

Contains a list of TargetVpnGateway resources.

Protobuf type google.cloud.compute.v1.TargetVpnGatewayList

TargetVpnGatewayList.Builder

Contains a list of TargetVpnGateway resources.

Protobuf type google.cloud.compute.v1.TargetVpnGatewayList

TargetVpnGatewaysClient

Service Description: The TargetVpnGateways 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 (TargetVpnGatewaysClient targetVpnGatewaysClient = TargetVpnGatewaysClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String targetVpnGateway = "targetVpnGateway935274273";
   TargetVpnGateway response = targetVpnGatewaysClient.get(project, region, targetVpnGateway);
 }
 

Note: close() needs to be called on the TargetVpnGatewaysClient 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:

  1. 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.
  2. 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.
  3. 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 TargetVpnGatewaysSettings 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
 TargetVpnGatewaysSettings targetVpnGatewaysSettings =
     TargetVpnGatewaysSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 TargetVpnGatewaysClient targetVpnGatewaysClient =
     TargetVpnGatewaysClient.create(targetVpnGatewaysSettings);
 

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
 TargetVpnGatewaysSettings targetVpnGatewaysSettings =
     TargetVpnGatewaysSettings.newBuilder().setEndpoint(myEndpoint).build();
 TargetVpnGatewaysClient targetVpnGatewaysClient =
     TargetVpnGatewaysClient.create(targetVpnGatewaysSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

TargetVpnGatewaysClient.AggregatedListFixedSizeCollection

TargetVpnGatewaysClient.AggregatedListPage

TargetVpnGatewaysClient.AggregatedListPagedResponse

TargetVpnGatewaysClient.ListFixedSizeCollection

TargetVpnGatewaysClient.ListPage

TargetVpnGatewaysClient.ListPagedResponse

TargetVpnGatewaysScopedList

Protobuf type google.cloud.compute.v1.TargetVpnGatewaysScopedList

TargetVpnGatewaysScopedList.Builder

Protobuf type google.cloud.compute.v1.TargetVpnGatewaysScopedList

TargetVpnGatewaysSettings

Settings class to configure an instance of TargetVpnGatewaysClient.

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
 TargetVpnGatewaysSettings.Builder targetVpnGatewaysSettingsBuilder =
     TargetVpnGatewaysSettings.newBuilder();
 targetVpnGatewaysSettingsBuilder
     .getSettings()
     .setRetrySettings(
         targetVpnGatewaysSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TargetVpnGatewaysSettings targetVpnGatewaysSettings = targetVpnGatewaysSettingsBuilder.build();
 

TargetVpnGatewaysSettings.Builder

Builder for TargetVpnGatewaysSettings.

TestFailure

Protobuf type google.cloud.compute.v1.TestFailure

TestFailure.Builder

Protobuf type google.cloud.compute.v1.TestFailure

TestIamPermissionsDiskRequest

A request message for Disks.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsDiskRequest

TestIamPermissionsDiskRequest.Builder

A request message for Disks.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsDiskRequest

TestIamPermissionsExternalVpnGatewayRequest

A request message for ExternalVpnGateways.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsExternalVpnGatewayRequest

TestIamPermissionsExternalVpnGatewayRequest.Builder

A request message for ExternalVpnGateways.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsExternalVpnGatewayRequest

TestIamPermissionsFirewallPolicyRequest

A request message for FirewallPolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsFirewallPolicyRequest

TestIamPermissionsFirewallPolicyRequest.Builder

A request message for FirewallPolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsFirewallPolicyRequest

TestIamPermissionsImageRequest

A request message for Images.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsImageRequest

TestIamPermissionsImageRequest.Builder

A request message for Images.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsImageRequest

TestIamPermissionsInstanceRequest

A request message for Instances.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsInstanceRequest

TestIamPermissionsInstanceRequest.Builder

A request message for Instances.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsInstanceRequest

TestIamPermissionsInstanceTemplateRequest

A request message for InstanceTemplates.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsInstanceTemplateRequest

TestIamPermissionsInstanceTemplateRequest.Builder

A request message for InstanceTemplates.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsInstanceTemplateRequest

TestIamPermissionsLicenseCodeRequest

A request message for LicenseCodes.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsLicenseCodeRequest

TestIamPermissionsLicenseCodeRequest.Builder

A request message for LicenseCodes.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsLicenseCodeRequest

TestIamPermissionsLicenseRequest

A request message for Licenses.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsLicenseRequest

TestIamPermissionsLicenseRequest.Builder

A request message for Licenses.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsLicenseRequest

TestIamPermissionsMachineImageRequest

A request message for MachineImages.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsMachineImageRequest

TestIamPermissionsMachineImageRequest.Builder

A request message for MachineImages.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsMachineImageRequest

TestIamPermissionsNetworkAttachmentRequest

A request message for NetworkAttachments.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNetworkAttachmentRequest

TestIamPermissionsNetworkAttachmentRequest.Builder

A request message for NetworkAttachments.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNetworkAttachmentRequest

TestIamPermissionsNetworkEndpointGroupRequest

A request message for NetworkEndpointGroups.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNetworkEndpointGroupRequest

TestIamPermissionsNetworkEndpointGroupRequest.Builder

A request message for NetworkEndpointGroups.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNetworkEndpointGroupRequest

TestIamPermissionsNetworkFirewallPolicyRequest

A request message for NetworkFirewallPolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest

TestIamPermissionsNetworkFirewallPolicyRequest.Builder

A request message for NetworkFirewallPolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest

TestIamPermissionsNodeGroupRequest

A request message for NodeGroups.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNodeGroupRequest

TestIamPermissionsNodeGroupRequest.Builder

A request message for NodeGroups.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNodeGroupRequest

TestIamPermissionsNodeTemplateRequest

A request message for NodeTemplates.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNodeTemplateRequest

TestIamPermissionsNodeTemplateRequest.Builder

A request message for NodeTemplates.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsNodeTemplateRequest

TestIamPermissionsPacketMirroringRequest

A request message for PacketMirrorings.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsPacketMirroringRequest

TestIamPermissionsPacketMirroringRequest.Builder

A request message for PacketMirrorings.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsPacketMirroringRequest

TestIamPermissionsRegionDiskRequest

A request message for RegionDisks.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsRegionDiskRequest

TestIamPermissionsRegionDiskRequest.Builder

A request message for RegionDisks.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsRegionDiskRequest

TestIamPermissionsRegionNetworkFirewallPolicyRequest

A request message for RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest

TestIamPermissionsRegionNetworkFirewallPolicyRequest.Builder

A request message for RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest

TestIamPermissionsReservationRequest

A request message for Reservations.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsReservationRequest

TestIamPermissionsReservationRequest.Builder

A request message for Reservations.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsReservationRequest

TestIamPermissionsResourcePolicyRequest

A request message for ResourcePolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsResourcePolicyRequest

TestIamPermissionsResourcePolicyRequest.Builder

A request message for ResourcePolicies.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsResourcePolicyRequest

TestIamPermissionsServiceAttachmentRequest

A request message for ServiceAttachments.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsServiceAttachmentRequest

TestIamPermissionsServiceAttachmentRequest.Builder

A request message for ServiceAttachments.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsServiceAttachmentRequest

TestIamPermissionsSnapshotRequest

A request message for Snapshots.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsSnapshotRequest

TestIamPermissionsSnapshotRequest.Builder

A request message for Snapshots.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsSnapshotRequest

TestIamPermissionsSubnetworkRequest

A request message for Subnetworks.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsSubnetworkRequest

TestIamPermissionsSubnetworkRequest.Builder

A request message for Subnetworks.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsSubnetworkRequest

TestIamPermissionsVpnGatewayRequest

A request message for VpnGateways.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsVpnGatewayRequest

TestIamPermissionsVpnGatewayRequest.Builder

A request message for VpnGateways.TestIamPermissions. See the method description for details.

Protobuf type google.cloud.compute.v1.TestIamPermissionsVpnGatewayRequest

TestPermissionsRequest

Protobuf type google.cloud.compute.v1.TestPermissionsRequest

TestPermissionsRequest.Builder

Protobuf type google.cloud.compute.v1.TestPermissionsRequest

TestPermissionsResponse

Protobuf type google.cloud.compute.v1.TestPermissionsResponse

TestPermissionsResponse.Builder

Protobuf type google.cloud.compute.v1.TestPermissionsResponse

Uint128

Protobuf type google.cloud.compute.v1.Uint128

Uint128.Builder

Protobuf type google.cloud.compute.v1.Uint128

UpdateAccessConfigInstanceRequest

A request message for Instances.UpdateAccessConfig. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateAccessConfigInstanceRequest

UpdateAccessConfigInstanceRequest.Builder

A request message for Instances.UpdateAccessConfig. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateAccessConfigInstanceRequest

UpdateAutoscalerRequest

A request message for Autoscalers.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateAutoscalerRequest

UpdateAutoscalerRequest.Builder

A request message for Autoscalers.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateAutoscalerRequest

UpdateBackendBucketRequest

A request message for BackendBuckets.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateBackendBucketRequest

UpdateBackendBucketRequest.Builder

A request message for BackendBuckets.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateBackendBucketRequest

UpdateBackendServiceRequest

A request message for BackendServices.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateBackendServiceRequest

UpdateBackendServiceRequest.Builder

A request message for BackendServices.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateBackendServiceRequest

UpdateDiskRequest

A request message for Disks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateDiskRequest

UpdateDiskRequest.Builder

A request message for Disks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateDiskRequest

UpdateDisplayDeviceInstanceRequest

A request message for Instances.UpdateDisplayDevice. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateDisplayDeviceInstanceRequest

UpdateDisplayDeviceInstanceRequest.Builder

A request message for Instances.UpdateDisplayDevice. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateDisplayDeviceInstanceRequest

UpdateFirewallRequest

A request message for Firewalls.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateFirewallRequest

UpdateFirewallRequest.Builder

A request message for Firewalls.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateFirewallRequest

UpdateHealthCheckRequest

A request message for HealthChecks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateHealthCheckRequest

UpdateHealthCheckRequest.Builder

A request message for HealthChecks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateHealthCheckRequest

UpdateInstanceRequest

A request message for Instances.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateInstanceRequest

UpdateInstanceRequest.Builder

A request message for Instances.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateInstanceRequest

UpdateNetworkInterfaceInstanceRequest

A request message for Instances.UpdateNetworkInterface. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateNetworkInterfaceInstanceRequest

UpdateNetworkInterfaceInstanceRequest.Builder

A request message for Instances.UpdateNetworkInterface. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateNetworkInterfaceInstanceRequest

UpdatePeeringNetworkRequest

A request message for Networks.UpdatePeering. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdatePeeringNetworkRequest

UpdatePeeringNetworkRequest.Builder

A request message for Networks.UpdatePeering. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdatePeeringNetworkRequest

UpdatePerInstanceConfigsInstanceGroupManagerRequest

A request message for InstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdatePerInstanceConfigsInstanceGroupManagerRequest

UpdatePerInstanceConfigsInstanceGroupManagerRequest.Builder

A request message for InstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdatePerInstanceConfigsInstanceGroupManagerRequest

UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest

A request message for RegionInstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest

UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest.Builder

A request message for RegionInstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest

UpdateRegionAutoscalerRequest

A request message for RegionAutoscalers.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionAutoscalerRequest

UpdateRegionAutoscalerRequest.Builder

A request message for RegionAutoscalers.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionAutoscalerRequest

UpdateRegionBackendServiceRequest

A request message for RegionBackendServices.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionBackendServiceRequest

UpdateRegionBackendServiceRequest.Builder

A request message for RegionBackendServices.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionBackendServiceRequest

UpdateRegionCommitmentRequest

A request message for RegionCommitments.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionCommitmentRequest

UpdateRegionCommitmentRequest.Builder

A request message for RegionCommitments.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionCommitmentRequest

UpdateRegionDiskRequest

A request message for RegionDisks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionDiskRequest

UpdateRegionDiskRequest.Builder

A request message for RegionDisks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionDiskRequest

UpdateRegionHealthCheckRequest

A request message for RegionHealthChecks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionHealthCheckRequest

UpdateRegionHealthCheckRequest.Builder

A request message for RegionHealthChecks.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionHealthCheckRequest

UpdateRegionUrlMapRequest

A request message for RegionUrlMaps.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionUrlMapRequest

UpdateRegionUrlMapRequest.Builder

A request message for RegionUrlMaps.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRegionUrlMapRequest

UpdateReservationRequest

A request message for Reservations.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateReservationRequest

UpdateReservationRequest.Builder

A request message for Reservations.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateReservationRequest

UpdateRouterRequest

A request message for Routers.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRouterRequest

UpdateRouterRequest.Builder

A request message for Routers.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateRouterRequest

UpdateShieldedInstanceConfigInstanceRequest

A request message for Instances.UpdateShieldedInstanceConfig. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateShieldedInstanceConfigInstanceRequest

UpdateShieldedInstanceConfigInstanceRequest.Builder

A request message for Instances.UpdateShieldedInstanceConfig. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateShieldedInstanceConfigInstanceRequest

UpdateUrlMapRequest

A request message for UrlMaps.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateUrlMapRequest

UpdateUrlMapRequest.Builder

A request message for UrlMaps.Update. See the method description for details.

Protobuf type google.cloud.compute.v1.UpdateUrlMapRequest

UrlMap

Represents a URL Map resource. Compute Engine has two URL Map resources: * Global * Regional A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.

Protobuf type google.cloud.compute.v1.UrlMap

UrlMap.Builder

Represents a URL Map resource. Compute Engine has two URL Map resources: * Global * Regional A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts.

Protobuf type google.cloud.compute.v1.UrlMap

UrlMapList

Contains a list of UrlMap resources.

Protobuf type google.cloud.compute.v1.UrlMapList

UrlMapList.Builder

Contains a list of UrlMap resources.

Protobuf type google.cloud.compute.v1.UrlMapList

UrlMapReference

Protobuf type google.cloud.compute.v1.UrlMapReference

UrlMapReference.Builder

Protobuf type google.cloud.compute.v1.UrlMapReference

UrlMapTest

Message for the expected URL mappings.

Protobuf type google.cloud.compute.v1.UrlMapTest

UrlMapTest.Builder

Message for the expected URL mappings.

Protobuf type google.cloud.compute.v1.UrlMapTest

UrlMapTestHeader

HTTP headers used in UrlMapTests.

Protobuf type google.cloud.compute.v1.UrlMapTestHeader

UrlMapTestHeader.Builder

HTTP headers used in UrlMapTests.

Protobuf type google.cloud.compute.v1.UrlMapTestHeader

UrlMapValidationResult

Message representing the validation result for a UrlMap.

Protobuf type google.cloud.compute.v1.UrlMapValidationResult

UrlMapValidationResult.Builder

Message representing the validation result for a UrlMap.

Protobuf type google.cloud.compute.v1.UrlMapValidationResult

UrlMapsAggregatedList

Protobuf type google.cloud.compute.v1.UrlMapsAggregatedList

UrlMapsAggregatedList.Builder

Protobuf type google.cloud.compute.v1.UrlMapsAggregatedList

UrlMapsClient

Service Description: The UrlMaps 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 (UrlMapsClient urlMapsClient = UrlMapsClient.create()) {
   String project = "project-309310695";
   String urlMap = "urlMap-836780691";
   UrlMap response = urlMapsClient.get(project, urlMap);
 }
 

Note: close() needs to be called on the UrlMapsClient 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:

  1. 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.
  2. 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.
  3. 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 UrlMapsSettings 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
 UrlMapsSettings urlMapsSettings =
     UrlMapsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 UrlMapsClient urlMapsClient = UrlMapsClient.create(urlMapsSettings);
 

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
 UrlMapsSettings urlMapsSettings = UrlMapsSettings.newBuilder().setEndpoint(myEndpoint).build();
 UrlMapsClient urlMapsClient = UrlMapsClient.create(urlMapsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

UrlMapsClient.AggregatedListFixedSizeCollection

UrlMapsClient.AggregatedListPage

UrlMapsClient.AggregatedListPagedResponse

UrlMapsClient.ListFixedSizeCollection

UrlMapsClient.ListPage

UrlMapsClient.ListPagedResponse

UrlMapsScopedList

Protobuf type google.cloud.compute.v1.UrlMapsScopedList

UrlMapsScopedList.Builder

Protobuf type google.cloud.compute.v1.UrlMapsScopedList

UrlMapsSettings

Settings class to configure an instance of UrlMapsClient.

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
 UrlMapsSettings.Builder urlMapsSettingsBuilder = UrlMapsSettings.newBuilder();
 urlMapsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         urlMapsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 UrlMapsSettings urlMapsSettings = urlMapsSettingsBuilder.build();
 

UrlMapsSettings.Builder

Builder for UrlMapsSettings.

UrlMapsValidateRequest

Protobuf type google.cloud.compute.v1.UrlMapsValidateRequest

UrlMapsValidateRequest.Builder

Protobuf type google.cloud.compute.v1.UrlMapsValidateRequest

UrlMapsValidateResponse

Protobuf type google.cloud.compute.v1.UrlMapsValidateResponse

UrlMapsValidateResponse.Builder

Protobuf type google.cloud.compute.v1.UrlMapsValidateResponse

UrlRewrite

The spec for modifying the path before sending the request to the matched backend service.

Protobuf type google.cloud.compute.v1.UrlRewrite

UrlRewrite.Builder

The spec for modifying the path before sending the request to the matched backend service.

Protobuf type google.cloud.compute.v1.UrlRewrite

UsableSubnetwork

Subnetwork which the current user has compute.subnetworks.use permission on.

Protobuf type google.cloud.compute.v1.UsableSubnetwork

UsableSubnetwork.Builder

Subnetwork which the current user has compute.subnetworks.use permission on.

Protobuf type google.cloud.compute.v1.UsableSubnetwork

UsableSubnetworkSecondaryRange

Secondary IP range of a usable subnetwork.

Protobuf type google.cloud.compute.v1.UsableSubnetworkSecondaryRange

UsableSubnetworkSecondaryRange.Builder

Secondary IP range of a usable subnetwork.

Protobuf type google.cloud.compute.v1.UsableSubnetworkSecondaryRange

UsableSubnetworksAggregatedList

Protobuf type google.cloud.compute.v1.UsableSubnetworksAggregatedList

UsableSubnetworksAggregatedList.Builder

Protobuf type google.cloud.compute.v1.UsableSubnetworksAggregatedList

UsageExportLocation

The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.

Protobuf type google.cloud.compute.v1.UsageExportLocation

UsageExportLocation.Builder

The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.

Protobuf type google.cloud.compute.v1.UsageExportLocation

ValidateRegionUrlMapRequest

A request message for RegionUrlMaps.Validate. See the method description for details.

Protobuf type google.cloud.compute.v1.ValidateRegionUrlMapRequest

ValidateRegionUrlMapRequest.Builder

A request message for RegionUrlMaps.Validate. See the method description for details.

Protobuf type google.cloud.compute.v1.ValidateRegionUrlMapRequest

ValidateUrlMapRequest

A request message for UrlMaps.Validate. See the method description for details.

Protobuf type google.cloud.compute.v1.ValidateUrlMapRequest

ValidateUrlMapRequest.Builder

A request message for UrlMaps.Validate. See the method description for details.

Protobuf type google.cloud.compute.v1.ValidateUrlMapRequest

VmEndpointNatMappings

Contain information of Nat mapping for a VM endpoint (i.e., NIC).

Protobuf type google.cloud.compute.v1.VmEndpointNatMappings

VmEndpointNatMappings.Builder

Contain information of Nat mapping for a VM endpoint (i.e., NIC).

Protobuf type google.cloud.compute.v1.VmEndpointNatMappings

VmEndpointNatMappingsInterfaceNatMappings

Contain information of Nat mapping for an interface of this endpoint.

Protobuf type google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappings

VmEndpointNatMappingsInterfaceNatMappings.Builder

Contain information of Nat mapping for an interface of this endpoint.

Protobuf type google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappings

VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

Contains information of NAT Mappings provided by a NAT Rule.

Protobuf type google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings.Builder

Contains information of NAT Mappings provided by a NAT Rule.

Protobuf type google.cloud.compute.v1.VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings

VmEndpointNatMappingsList

Contains a list of VmEndpointNatMappings.

Protobuf type google.cloud.compute.v1.VmEndpointNatMappingsList

VmEndpointNatMappingsList.Builder

Contains a list of VmEndpointNatMappings.

Protobuf type google.cloud.compute.v1.VmEndpointNatMappingsList

VpnGateway

Represents a HA VPN gateway. HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies .

Protobuf type google.cloud.compute.v1.VpnGateway

VpnGateway.Builder

Represents a HA VPN gateway. HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies .

Protobuf type google.cloud.compute.v1.VpnGateway

VpnGatewayAggregatedList

Protobuf type google.cloud.compute.v1.VpnGatewayAggregatedList

VpnGatewayAggregatedList.Builder

Protobuf type google.cloud.compute.v1.VpnGatewayAggregatedList

VpnGatewayList

Contains a list of VpnGateway resources.

Protobuf type google.cloud.compute.v1.VpnGatewayList

VpnGatewayList.Builder

Contains a list of VpnGateway resources.

Protobuf type google.cloud.compute.v1.VpnGatewayList

VpnGatewayStatus

Protobuf type google.cloud.compute.v1.VpnGatewayStatus

VpnGatewayStatus.Builder

Protobuf type google.cloud.compute.v1.VpnGatewayStatus

VpnGatewayStatusHighAvailabilityRequirementState

Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.

Protobuf type google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState

VpnGatewayStatusHighAvailabilityRequirementState.Builder

Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway.

Protobuf type google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState

VpnGatewayStatusTunnel

Contains some information about a VPN tunnel.

Protobuf type google.cloud.compute.v1.VpnGatewayStatusTunnel

VpnGatewayStatusTunnel.Builder

Contains some information about a VPN tunnel.

Protobuf type google.cloud.compute.v1.VpnGatewayStatusTunnel

VpnGatewayStatusVpnConnection

A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.

Protobuf type google.cloud.compute.v1.VpnGatewayStatusVpnConnection

VpnGatewayStatusVpnConnection.Builder

A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.

Protobuf type google.cloud.compute.v1.VpnGatewayStatusVpnConnection

VpnGatewayVpnGatewayInterface

A VPN gateway interface.

Protobuf type google.cloud.compute.v1.VpnGatewayVpnGatewayInterface

VpnGatewayVpnGatewayInterface.Builder

A VPN gateway interface.

Protobuf type google.cloud.compute.v1.VpnGatewayVpnGatewayInterface

VpnGatewaysClient

Service Description: The VpnGateways 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 (VpnGatewaysClient vpnGatewaysClient = VpnGatewaysClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String vpnGateway = "vpnGateway1920916144";
   VpnGateway response = vpnGatewaysClient.get(project, region, vpnGateway);
 }
 

Note: close() needs to be called on the VpnGatewaysClient 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:

  1. 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.
  2. 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.
  3. 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 VpnGatewaysSettings 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
 VpnGatewaysSettings vpnGatewaysSettings =
     VpnGatewaysSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 VpnGatewaysClient vpnGatewaysClient = VpnGatewaysClient.create(vpnGatewaysSettings);
 

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
 VpnGatewaysSettings vpnGatewaysSettings =
     VpnGatewaysSettings.newBuilder().setEndpoint(myEndpoint).build();
 VpnGatewaysClient vpnGatewaysClient = VpnGatewaysClient.create(vpnGatewaysSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

VpnGatewaysClient.AggregatedListFixedSizeCollection

VpnGatewaysClient.AggregatedListPage

VpnGatewaysClient.AggregatedListPagedResponse

VpnGatewaysClient.ListFixedSizeCollection

VpnGatewaysClient.ListPage

VpnGatewaysClient.ListPagedResponse

VpnGatewaysGetStatusResponse

Protobuf type google.cloud.compute.v1.VpnGatewaysGetStatusResponse

VpnGatewaysGetStatusResponse.Builder

Protobuf type google.cloud.compute.v1.VpnGatewaysGetStatusResponse

VpnGatewaysScopedList

Protobuf type google.cloud.compute.v1.VpnGatewaysScopedList

VpnGatewaysScopedList.Builder

Protobuf type google.cloud.compute.v1.VpnGatewaysScopedList

VpnGatewaysSettings

Settings class to configure an instance of VpnGatewaysClient.

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
 VpnGatewaysSettings.Builder vpnGatewaysSettingsBuilder = VpnGatewaysSettings.newBuilder();
 vpnGatewaysSettingsBuilder
     .getSettings()
     .setRetrySettings(
         vpnGatewaysSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 VpnGatewaysSettings vpnGatewaysSettings = vpnGatewaysSettingsBuilder.build();
 

VpnGatewaysSettings.Builder

Builder for VpnGatewaysSettings.

VpnTunnel

Represents a Cloud VPN Tunnel resource. For more information about VPN, read the the Cloud VPN Overview.

Protobuf type google.cloud.compute.v1.VpnTunnel

VpnTunnel.Builder

Represents a Cloud VPN Tunnel resource. For more information about VPN, read the the Cloud VPN Overview.

Protobuf type google.cloud.compute.v1.VpnTunnel

VpnTunnelAggregatedList

Protobuf type google.cloud.compute.v1.VpnTunnelAggregatedList

VpnTunnelAggregatedList.Builder

Protobuf type google.cloud.compute.v1.VpnTunnelAggregatedList

VpnTunnelList

Contains a list of VpnTunnel resources.

Protobuf type google.cloud.compute.v1.VpnTunnelList

VpnTunnelList.Builder

Contains a list of VpnTunnel resources.

Protobuf type google.cloud.compute.v1.VpnTunnelList

VpnTunnelsClient

Service Description: The VpnTunnels 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 (VpnTunnelsClient vpnTunnelsClient = VpnTunnelsClient.create()) {
   String project = "project-309310695";
   String region = "region-934795532";
   String vpnTunnel = "vpnTunnel452443772";
   VpnTunnel response = vpnTunnelsClient.get(project, region, vpnTunnel);
 }
 

Note: close() needs to be called on the VpnTunnelsClient 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:

  1. 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.
  2. 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.
  3. 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 VpnTunnelsSettings 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
 VpnTunnelsSettings vpnTunnelsSettings =
     VpnTunnelsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 VpnTunnelsClient vpnTunnelsClient = VpnTunnelsClient.create(vpnTunnelsSettings);
 

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
 VpnTunnelsSettings vpnTunnelsSettings =
     VpnTunnelsSettings.newBuilder().setEndpoint(myEndpoint).build();
 VpnTunnelsClient vpnTunnelsClient = VpnTunnelsClient.create(vpnTunnelsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

VpnTunnelsClient.AggregatedListFixedSizeCollection

VpnTunnelsClient.AggregatedListPage

VpnTunnelsClient.AggregatedListPagedResponse

VpnTunnelsClient.ListFixedSizeCollection

VpnTunnelsClient.ListPage

VpnTunnelsClient.ListPagedResponse

VpnTunnelsScopedList

Protobuf type google.cloud.compute.v1.VpnTunnelsScopedList

VpnTunnelsScopedList.Builder

Protobuf type google.cloud.compute.v1.VpnTunnelsScopedList

VpnTunnelsSettings

Settings class to configure an instance of VpnTunnelsClient.

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
 VpnTunnelsSettings.Builder vpnTunnelsSettingsBuilder = VpnTunnelsSettings.newBuilder();
 vpnTunnelsSettingsBuilder
     .getSettings()
     .setRetrySettings(
         vpnTunnelsSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 VpnTunnelsSettings vpnTunnelsSettings = vpnTunnelsSettingsBuilder.build();
 

VpnTunnelsSettings.Builder

Builder for VpnTunnelsSettings.

WafExpressionSet

Protobuf type google.cloud.compute.v1.WafExpressionSet

WafExpressionSet.Builder

Protobuf type google.cloud.compute.v1.WafExpressionSet

WafExpressionSetExpression

Protobuf type google.cloud.compute.v1.WafExpressionSetExpression

WafExpressionSetExpression.Builder

Protobuf type google.cloud.compute.v1.WafExpressionSetExpression

WaitGlobalOperationRequest

A request message for GlobalOperations.Wait. See the method description for details.

Protobuf type google.cloud.compute.v1.WaitGlobalOperationRequest

WaitGlobalOperationRequest.Builder

A request message for GlobalOperations.Wait. See the method description for details.

Protobuf type google.cloud.compute.v1.WaitGlobalOperationRequest

WaitRegionOperationRequest

A request message for RegionOperations.Wait. See the method description for details.

Protobuf type google.cloud.compute.v1.WaitRegionOperationRequest

WaitRegionOperationRequest.Builder

A request message for RegionOperations.Wait. See the method description for details.

Protobuf type google.cloud.compute.v1.WaitRegionOperationRequest

WaitZoneOperationRequest

A request message for ZoneOperations.Wait. See the method description for details.

Protobuf type google.cloud.compute.v1.WaitZoneOperationRequest

WaitZoneOperationRequest.Builder

A request message for ZoneOperations.Wait. See the method description for details.

Protobuf type google.cloud.compute.v1.WaitZoneOperationRequest

Warning

[Output Only] Informational warning message.

Protobuf type google.cloud.compute.v1.Warning

Warning.Builder

[Output Only] Informational warning message.

Protobuf type google.cloud.compute.v1.Warning

Warnings

Protobuf type google.cloud.compute.v1.Warnings

Warnings.Builder

Protobuf type google.cloud.compute.v1.Warnings

WeightedBackendService

In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService

Protobuf type google.cloud.compute.v1.WeightedBackendService

WeightedBackendService.Builder

In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService

Protobuf type google.cloud.compute.v1.WeightedBackendService

XpnHostList

Protobuf type google.cloud.compute.v1.XpnHostList

XpnHostList.Builder

Protobuf type google.cloud.compute.v1.XpnHostList

XpnResourceId

Service resource (a.k.a service project) ID.

Protobuf type google.cloud.compute.v1.XpnResourceId

XpnResourceId.Builder

Service resource (a.k.a service project) ID.

Protobuf type google.cloud.compute.v1.XpnResourceId

Zone

Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.

Protobuf type google.cloud.compute.v1.Zone

Zone.Builder

Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones.

Protobuf type google.cloud.compute.v1.Zone

ZoneList

Contains a list of zone resources.

Protobuf type google.cloud.compute.v1.ZoneList

ZoneList.Builder

Contains a list of zone resources.

Protobuf type google.cloud.compute.v1.ZoneList

ZoneOperationsClient

Service Description: The ZoneOperations 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 (ZoneOperationsClient zoneOperationsClient = ZoneOperationsClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   String operation = "operation1662702951";
   DeleteZoneOperationResponse response = zoneOperationsClient.delete(project, zone, operation);
 }
 

Note: close() needs to be called on the ZoneOperationsClient 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:

  1. 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.
  2. 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.
  3. 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 ZoneOperationsSettings 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
 ZoneOperationsSettings zoneOperationsSettings =
     ZoneOperationsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ZoneOperationsClient zoneOperationsClient = ZoneOperationsClient.create(zoneOperationsSettings);
 

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
 ZoneOperationsSettings zoneOperationsSettings =
     ZoneOperationsSettings.newBuilder().setEndpoint(myEndpoint).build();
 ZoneOperationsClient zoneOperationsClient = ZoneOperationsClient.create(zoneOperationsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ZoneOperationsClient.ListFixedSizeCollection

ZoneOperationsClient.ListPage

ZoneOperationsClient.ListPagedResponse

ZoneOperationsSettings

Settings class to configure an instance of ZoneOperationsClient.

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
 ZoneOperationsSettings.Builder zoneOperationsSettingsBuilder =
     ZoneOperationsSettings.newBuilder();
 zoneOperationsSettingsBuilder
     .deleteSettings()
     .setRetrySettings(
         zoneOperationsSettingsBuilder
             .deleteSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ZoneOperationsSettings zoneOperationsSettings = zoneOperationsSettingsBuilder.build();
 

ZoneOperationsSettings.Builder

Builder for ZoneOperationsSettings.

ZoneSetLabelsRequest

Protobuf type google.cloud.compute.v1.ZoneSetLabelsRequest

ZoneSetLabelsRequest.Builder

Protobuf type google.cloud.compute.v1.ZoneSetLabelsRequest

ZoneSetPolicyRequest

Protobuf type google.cloud.compute.v1.ZoneSetPolicyRequest

ZoneSetPolicyRequest.Builder

Protobuf type google.cloud.compute.v1.ZoneSetPolicyRequest

ZonesClient

Service Description: The Zones 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 (ZonesClient zonesClient = ZonesClient.create()) {
   String project = "project-309310695";
   String zone = "zone3744684";
   Zone response = zonesClient.get(project, zone);
 }
 

Note: close() needs to be called on the ZonesClient 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:

  1. 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.
  2. 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.
  3. 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 ZonesSettings 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
 ZonesSettings zonesSettings =
     ZonesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ZonesClient zonesClient = ZonesClient.create(zonesSettings);
 

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
 ZonesSettings zonesSettings = ZonesSettings.newBuilder().setEndpoint(myEndpoint).build();
 ZonesClient zonesClient = ZonesClient.create(zonesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ZonesClient.ListFixedSizeCollection

ZonesClient.ListPage

ZonesClient.ListPagedResponse

ZonesSettings

Settings class to configure an instance of ZonesClient.

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
 ZonesSettings.Builder zonesSettingsBuilder = ZonesSettings.newBuilder();
 zonesSettingsBuilder
     .getSettings()
     .setRetrySettings(
         zonesSettingsBuilder
             .getSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ZonesSettings zonesSettings = zonesSettingsBuilder.build();
 

ZonesSettings.Builder

Builder for ZonesSettings.

Interfaces

AbandonInstancesInstanceGroupManagerRequestOrBuilder

AbandonInstancesRegionInstanceGroupManagerRequestOrBuilder

AcceleratorConfigOrBuilder

AcceleratorTypeAggregatedListOrBuilder

AcceleratorTypeListOrBuilder

AcceleratorTypeOrBuilder

AcceleratorTypesScopedListOrBuilder

AcceleratorsOrBuilder

AccessConfigOrBuilder

AddAccessConfigInstanceRequestOrBuilder

AddAssociationFirewallPolicyRequestOrBuilder

AddAssociationNetworkFirewallPolicyRequestOrBuilder

AddAssociationRegionNetworkFirewallPolicyRequestOrBuilder

AddHealthCheckTargetPoolRequestOrBuilder

AddInstanceTargetPoolRequestOrBuilder

AddInstancesInstanceGroupRequestOrBuilder

AddNodesNodeGroupRequestOrBuilder

AddPeeringNetworkRequestOrBuilder

AddResourcePoliciesDiskRequestOrBuilder

AddResourcePoliciesInstanceRequestOrBuilder

AddResourcePoliciesRegionDiskRequestOrBuilder

AddRuleFirewallPolicyRequestOrBuilder

AddRuleNetworkFirewallPolicyRequestOrBuilder

AddRuleRegionNetworkFirewallPolicyRequestOrBuilder

AddRuleSecurityPolicyRequestOrBuilder

AddSignedUrlKeyBackendBucketRequestOrBuilder

AddSignedUrlKeyBackendServiceRequestOrBuilder

AddressAggregatedListOrBuilder

AddressListOrBuilder

AddressOrBuilder

AddressesScopedListOrBuilder

AdvancedMachineFeaturesOrBuilder

AggregatedListAcceleratorTypesRequestOrBuilder

AggregatedListAddressesRequestOrBuilder

AggregatedListAutoscalersRequestOrBuilder

AggregatedListBackendServicesRequestOrBuilder

AggregatedListDiskTypesRequestOrBuilder

AggregatedListDisksRequestOrBuilder

AggregatedListForwardingRulesRequestOrBuilder

AggregatedListGlobalOperationsRequestOrBuilder

AggregatedListHealthChecksRequestOrBuilder

AggregatedListInstanceGroupManagersRequestOrBuilder

AggregatedListInstanceGroupsRequestOrBuilder

AggregatedListInstanceTemplatesRequestOrBuilder

AggregatedListInstancesRequestOrBuilder

AggregatedListInterconnectAttachmentsRequestOrBuilder

AggregatedListMachineTypesRequestOrBuilder

AggregatedListNetworkAttachmentsRequestOrBuilder

AggregatedListNetworkEdgeSecurityServicesRequestOrBuilder

AggregatedListNetworkEndpointGroupsRequestOrBuilder

AggregatedListNodeGroupsRequestOrBuilder

AggregatedListNodeTemplatesRequestOrBuilder

AggregatedListNodeTypesRequestOrBuilder

AggregatedListPacketMirroringsRequestOrBuilder

AggregatedListPublicDelegatedPrefixesRequestOrBuilder

AggregatedListRegionCommitmentsRequestOrBuilder

AggregatedListReservationsRequestOrBuilder

AggregatedListResourcePoliciesRequestOrBuilder

AggregatedListRoutersRequestOrBuilder

AggregatedListSecurityPoliciesRequestOrBuilder

AggregatedListServiceAttachmentsRequestOrBuilder

AggregatedListSslCertificatesRequestOrBuilder

AggregatedListSslPoliciesRequestOrBuilder

AggregatedListSubnetworksRequestOrBuilder

AggregatedListTargetHttpProxiesRequestOrBuilder

AggregatedListTargetHttpsProxiesRequestOrBuilder

AggregatedListTargetInstancesRequestOrBuilder

AggregatedListTargetPoolsRequestOrBuilder

AggregatedListTargetTcpProxiesRequestOrBuilder

AggregatedListTargetVpnGatewaysRequestOrBuilder

AggregatedListUrlMapsRequestOrBuilder

AggregatedListVpnGatewaysRequestOrBuilder

AggregatedListVpnTunnelsRequestOrBuilder

AliasIpRangeOrBuilder

AllocationResourceStatusOrBuilder

AllocationResourceStatusSpecificSKUAllocationOrBuilder

AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder

AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder

AllocationSpecificSKUReservationOrBuilder

AllowedOrBuilder

ApplyUpdatesToInstancesInstanceGroupManagerRequestOrBuilder

ApplyUpdatesToInstancesRegionInstanceGroupManagerRequestOrBuilder

AttachDiskInstanceRequestOrBuilder

AttachNetworkEndpointsGlobalNetworkEndpointGroupRequestOrBuilder

AttachNetworkEndpointsNetworkEndpointGroupRequestOrBuilder

AttachedDiskInitializeParamsOrBuilder

AttachedDiskOrBuilder

AuditConfigOrBuilder

AuditLogConfigOrBuilder

AuthorizationLoggingOptionsOrBuilder

AutoscalerAggregatedListOrBuilder

AutoscalerListOrBuilder

AutoscalerOrBuilder

AutoscalerStatusDetailsOrBuilder

AutoscalersScopedListOrBuilder

AutoscalingPolicyCpuUtilizationOrBuilder

AutoscalingPolicyCustomMetricUtilizationOrBuilder

AutoscalingPolicyLoadBalancingUtilizationOrBuilder

AutoscalingPolicyOrBuilder

AutoscalingPolicyScaleInControlOrBuilder

AutoscalingPolicyScalingScheduleOrBuilder

BackendBucketCdnPolicyBypassCacheOnRequestHeaderOrBuilder

BackendBucketCdnPolicyCacheKeyPolicyOrBuilder

BackendBucketCdnPolicyNegativeCachingPolicyOrBuilder

BackendBucketCdnPolicyOrBuilder

BackendBucketListOrBuilder

BackendBucketOrBuilder

BackendOrBuilder

BackendServiceAggregatedListOrBuilder

BackendServiceCdnPolicyBypassCacheOnRequestHeaderOrBuilder

BackendServiceCdnPolicyNegativeCachingPolicyOrBuilder

BackendServiceCdnPolicyOrBuilder

BackendServiceConnectionTrackingPolicyOrBuilder

BackendServiceFailoverPolicyOrBuilder

BackendServiceGroupHealthOrBuilder

BackendServiceIAPOrBuilder

BackendServiceListOrBuilder

BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder

BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder

BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder

BackendServiceLogConfigOrBuilder

BackendServiceOrBuilder

BackendServiceReferenceOrBuilder

BackendServicesScopedListOrBuilder

BfdPacketOrBuilder

BfdStatusOrBuilder

BfdStatusPacketCountsOrBuilder

BindingOrBuilder

BulkInsertDiskRequestOrBuilder

BulkInsertDiskResourceOrBuilder

BulkInsertInstanceRequestOrBuilder

BulkInsertInstanceResourceOrBuilder

BulkInsertInstanceResourcePerInstancePropertiesOrBuilder

BulkInsertRegionDiskRequestOrBuilder

BulkInsertRegionInstanceRequestOrBuilder

CacheInvalidationRuleOrBuilder

CacheKeyPolicyOrBuilder

CircuitBreakersOrBuilder

CloneRulesFirewallPolicyRequestOrBuilder

CloneRulesNetworkFirewallPolicyRequestOrBuilder

CloneRulesRegionNetworkFirewallPolicyRequestOrBuilder

CommitmentAggregatedListOrBuilder

CommitmentListOrBuilder

CommitmentOrBuilder

CommitmentsScopedListOrBuilder

ConditionOrBuilder

ConfidentialInstanceConfigOrBuilder

ConnectionDrainingOrBuilder

ConsistentHashLoadBalancerSettingsHttpCookieOrBuilder

ConsistentHashLoadBalancerSettingsOrBuilder

CorsPolicyOrBuilder

CreateInstancesInstanceGroupManagerRequestOrBuilder

CreateInstancesRegionInstanceGroupManagerRequestOrBuilder

CreateSnapshotDiskRequestOrBuilder

CreateSnapshotRegionDiskRequestOrBuilder

CustomerEncryptionKeyOrBuilder

CustomerEncryptionKeyProtectedDiskOrBuilder

DataOrBuilder

DeleteAccessConfigInstanceRequestOrBuilder

DeleteAddressRequestOrBuilder

DeleteAutoscalerRequestOrBuilder

DeleteBackendBucketRequestOrBuilder

DeleteBackendServiceRequestOrBuilder

DeleteDiskRequestOrBuilder

DeleteExternalVpnGatewayRequestOrBuilder

DeleteFirewallPolicyRequestOrBuilder

DeleteFirewallRequestOrBuilder

DeleteForwardingRuleRequestOrBuilder

DeleteGlobalAddressRequestOrBuilder

DeleteGlobalForwardingRuleRequestOrBuilder

DeleteGlobalNetworkEndpointGroupRequestOrBuilder

DeleteGlobalOperationRequestOrBuilder

DeleteGlobalOperationResponseOrBuilder

DeleteGlobalOrganizationOperationRequestOrBuilder

DeleteGlobalOrganizationOperationResponseOrBuilder

DeleteGlobalPublicDelegatedPrefixeRequestOrBuilder

DeleteHealthCheckRequestOrBuilder

DeleteImageRequestOrBuilder

DeleteInstanceGroupManagerRequestOrBuilder

DeleteInstanceGroupRequestOrBuilder

DeleteInstanceRequestOrBuilder

DeleteInstanceTemplateRequestOrBuilder

DeleteInstancesInstanceGroupManagerRequestOrBuilder

DeleteInstancesRegionInstanceGroupManagerRequestOrBuilder

DeleteInterconnectAttachmentRequestOrBuilder

DeleteInterconnectRequestOrBuilder

DeleteLicenseRequestOrBuilder

DeleteMachineImageRequestOrBuilder

DeleteNetworkAttachmentRequestOrBuilder

DeleteNetworkEdgeSecurityServiceRequestOrBuilder

DeleteNetworkEndpointGroupRequestOrBuilder

DeleteNetworkFirewallPolicyRequestOrBuilder

DeleteNetworkRequestOrBuilder

DeleteNodeGroupRequestOrBuilder

DeleteNodeTemplateRequestOrBuilder

DeleteNodesNodeGroupRequestOrBuilder

DeletePacketMirroringRequestOrBuilder

DeletePerInstanceConfigsInstanceGroupManagerRequestOrBuilder

DeletePerInstanceConfigsRegionInstanceGroupManagerRequestOrBuilder

DeletePublicAdvertisedPrefixeRequestOrBuilder

DeletePublicDelegatedPrefixeRequestOrBuilder

DeleteRegionAutoscalerRequestOrBuilder

DeleteRegionBackendServiceRequestOrBuilder

DeleteRegionDiskRequestOrBuilder

DeleteRegionHealthCheckRequestOrBuilder

DeleteRegionHealthCheckServiceRequestOrBuilder

DeleteRegionInstanceGroupManagerRequestOrBuilder

DeleteRegionInstanceTemplateRequestOrBuilder

DeleteRegionNetworkEndpointGroupRequestOrBuilder

DeleteRegionNetworkFirewallPolicyRequestOrBuilder

DeleteRegionNotificationEndpointRequestOrBuilder

DeleteRegionOperationRequestOrBuilder

DeleteRegionOperationResponseOrBuilder

DeleteRegionSecurityPolicyRequestOrBuilder

DeleteRegionSslCertificateRequestOrBuilder

DeleteRegionSslPolicyRequestOrBuilder

DeleteRegionTargetHttpProxyRequestOrBuilder

DeleteRegionTargetHttpsProxyRequestOrBuilder

DeleteRegionTargetTcpProxyRequestOrBuilder

DeleteRegionUrlMapRequestOrBuilder

DeleteReservationRequestOrBuilder

DeleteResourcePolicyRequestOrBuilder

DeleteRouteRequestOrBuilder

DeleteRouterRequestOrBuilder

DeleteSecurityPolicyRequestOrBuilder

DeleteServiceAttachmentRequestOrBuilder

DeleteSignedUrlKeyBackendBucketRequestOrBuilder

DeleteSignedUrlKeyBackendServiceRequestOrBuilder

DeleteSnapshotRequestOrBuilder

DeleteSslCertificateRequestOrBuilder

DeleteSslPolicyRequestOrBuilder

DeleteSubnetworkRequestOrBuilder

DeleteTargetGrpcProxyRequestOrBuilder

DeleteTargetHttpProxyRequestOrBuilder

DeleteTargetHttpsProxyRequestOrBuilder

DeleteTargetInstanceRequestOrBuilder

DeleteTargetPoolRequestOrBuilder

DeleteTargetSslProxyRequestOrBuilder

DeleteTargetTcpProxyRequestOrBuilder

DeleteTargetVpnGatewayRequestOrBuilder

DeleteUrlMapRequestOrBuilder

DeleteVpnGatewayRequestOrBuilder

DeleteVpnTunnelRequestOrBuilder

DeleteZoneOperationRequestOrBuilder

DeleteZoneOperationResponseOrBuilder

DeniedOrBuilder

DeprecateImageRequestOrBuilder

DeprecationStatusOrBuilder

DetachDiskInstanceRequestOrBuilder

DetachNetworkEndpointsGlobalNetworkEndpointGroupRequestOrBuilder

DetachNetworkEndpointsNetworkEndpointGroupRequestOrBuilder

DisableXpnHostProjectRequestOrBuilder

DisableXpnResourceProjectRequestOrBuilder

DiskAggregatedListOrBuilder

DiskAsyncReplicationListOrBuilder

DiskAsyncReplicationOrBuilder

DiskInstantiationConfigOrBuilder

DiskListOrBuilder

DiskMoveRequestOrBuilder

DiskOrBuilder

DiskParamsOrBuilder

DiskResourceStatusAsyncReplicationStatusOrBuilder

DiskResourceStatusOrBuilder

DiskTypeAggregatedListOrBuilder

DiskTypeListOrBuilder

DiskTypeOrBuilder

DiskTypesScopedListOrBuilder

DisksAddResourcePoliciesRequestOrBuilder

DisksRemoveResourcePoliciesRequestOrBuilder

DisksResizeRequestOrBuilder

DisksScopedListOrBuilder

DisksStartAsyncReplicationRequestOrBuilder

DisksStopGroupAsyncReplicationResourceOrBuilder

DisplayDeviceOrBuilder

DistributionPolicyOrBuilder

DistributionPolicyZoneConfigurationOrBuilder

DurationOrBuilder

EnableXpnHostProjectRequestOrBuilder

EnableXpnResourceProjectRequestOrBuilder

ErrorDetailsOrBuilder

ErrorInfoOrBuilder

ErrorOrBuilder

ErrorsOrBuilder

ExchangedPeeringRouteOrBuilder

ExchangedPeeringRoutesListOrBuilder

ExpandIpCidrRangeSubnetworkRequestOrBuilder

ExprOrBuilder

ExternalVpnGatewayInterfaceOrBuilder

ExternalVpnGatewayListOrBuilder

ExternalVpnGatewayOrBuilder

FileContentBufferOrBuilder

FirewallListOrBuilder

FirewallLogConfigOrBuilder

FirewallOrBuilder

FirewallPoliciesListAssociationsResponseOrBuilder

FirewallPolicyAssociationOrBuilder

FirewallPolicyListOrBuilder

FirewallPolicyOrBuilder

FirewallPolicyRuleMatcherLayer4ConfigOrBuilder

FirewallPolicyRuleMatcherOrBuilder

FirewallPolicyRuleOrBuilder

FirewallPolicyRuleSecureTagOrBuilder

FixedOrPercentOrBuilder

ForwardingRuleAggregatedListOrBuilder

ForwardingRuleListOrBuilder

ForwardingRuleOrBuilder

ForwardingRuleReferenceOrBuilder

ForwardingRuleServiceDirectoryRegistrationOrBuilder

ForwardingRulesScopedListOrBuilder

GRPCHealthCheckOrBuilder

GetAcceleratorTypeRequestOrBuilder

GetAddressRequestOrBuilder

GetAssociationFirewallPolicyRequestOrBuilder

GetAssociationNetworkFirewallPolicyRequestOrBuilder

GetAssociationRegionNetworkFirewallPolicyRequestOrBuilder

GetAutoscalerRequestOrBuilder

GetBackendBucketRequestOrBuilder

GetBackendServiceRequestOrBuilder

GetDiagnosticsInterconnectRequestOrBuilder

GetDiskRequestOrBuilder

GetDiskTypeRequestOrBuilder

GetEffectiveFirewallsInstanceRequestOrBuilder

GetEffectiveFirewallsNetworkRequestOrBuilder

GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestOrBuilder

GetExternalVpnGatewayRequestOrBuilder

GetFirewallPolicyRequestOrBuilder

GetFirewallRequestOrBuilder

GetForwardingRuleRequestOrBuilder

GetFromFamilyImageRequestOrBuilder

GetGlobalAddressRequestOrBuilder

GetGlobalForwardingRuleRequestOrBuilder

GetGlobalNetworkEndpointGroupRequestOrBuilder

GetGlobalOperationRequestOrBuilder

GetGlobalOrganizationOperationRequestOrBuilder

GetGlobalPublicDelegatedPrefixeRequestOrBuilder

GetGuestAttributesInstanceRequestOrBuilder

GetHealthBackendServiceRequestOrBuilder

GetHealthCheckRequestOrBuilder

GetHealthRegionBackendServiceRequestOrBuilder

GetHealthTargetPoolRequestOrBuilder

GetIamPolicyBackendServiceRequestOrBuilder

GetIamPolicyDiskRequestOrBuilder

GetIamPolicyFirewallPolicyRequestOrBuilder

GetIamPolicyImageRequestOrBuilder

GetIamPolicyInstanceRequestOrBuilder

GetIamPolicyInstanceTemplateRequestOrBuilder

GetIamPolicyLicenseRequestOrBuilder

GetIamPolicyMachineImageRequestOrBuilder

GetIamPolicyNetworkAttachmentRequestOrBuilder

GetIamPolicyNetworkFirewallPolicyRequestOrBuilder

GetIamPolicyNodeGroupRequestOrBuilder

GetIamPolicyNodeTemplateRequestOrBuilder

GetIamPolicyRegionBackendServiceRequestOrBuilder

GetIamPolicyRegionDiskRequestOrBuilder

GetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder

GetIamPolicyReservationRequestOrBuilder

GetIamPolicyResourcePolicyRequestOrBuilder

GetIamPolicyServiceAttachmentRequestOrBuilder

GetIamPolicySnapshotRequestOrBuilder

GetIamPolicySubnetworkRequestOrBuilder

GetImageFamilyViewRequestOrBuilder

GetImageRequestOrBuilder

GetInstanceGroupManagerRequestOrBuilder

GetInstanceGroupRequestOrBuilder

GetInstanceRequestOrBuilder

GetInstanceTemplateRequestOrBuilder

GetInterconnectAttachmentRequestOrBuilder

GetInterconnectLocationRequestOrBuilder

GetInterconnectRemoteLocationRequestOrBuilder

GetInterconnectRequestOrBuilder

GetLicenseCodeRequestOrBuilder

GetLicenseRequestOrBuilder

GetMachineImageRequestOrBuilder

GetMachineTypeRequestOrBuilder

GetNatMappingInfoRoutersRequestOrBuilder

GetNetworkAttachmentRequestOrBuilder

GetNetworkEdgeSecurityServiceRequestOrBuilder

GetNetworkEndpointGroupRequestOrBuilder

GetNetworkFirewallPolicyRequestOrBuilder

GetNetworkRequestOrBuilder

GetNodeGroupRequestOrBuilder

GetNodeTemplateRequestOrBuilder

GetNodeTypeRequestOrBuilder

GetPacketMirroringRequestOrBuilder

GetProjectRequestOrBuilder

GetPublicAdvertisedPrefixeRequestOrBuilder

GetPublicDelegatedPrefixeRequestOrBuilder

GetRegionAutoscalerRequestOrBuilder

GetRegionBackendServiceRequestOrBuilder

GetRegionCommitmentRequestOrBuilder

GetRegionDiskRequestOrBuilder

GetRegionDiskTypeRequestOrBuilder

GetRegionHealthCheckRequestOrBuilder

GetRegionHealthCheckServiceRequestOrBuilder

GetRegionInstanceGroupManagerRequestOrBuilder

GetRegionInstanceGroupRequestOrBuilder

GetRegionInstanceTemplateRequestOrBuilder

GetRegionNetworkEndpointGroupRequestOrBuilder

GetRegionNetworkFirewallPolicyRequestOrBuilder

GetRegionNotificationEndpointRequestOrBuilder

GetRegionOperationRequestOrBuilder

GetRegionRequestOrBuilder

GetRegionSecurityPolicyRequestOrBuilder

GetRegionSslCertificateRequestOrBuilder

GetRegionSslPolicyRequestOrBuilder

GetRegionTargetHttpProxyRequestOrBuilder

GetRegionTargetHttpsProxyRequestOrBuilder

GetRegionTargetTcpProxyRequestOrBuilder

GetRegionUrlMapRequestOrBuilder

GetReservationRequestOrBuilder

GetResourcePolicyRequestOrBuilder

GetRouteRequestOrBuilder

GetRouterRequestOrBuilder

GetRouterStatusRouterRequestOrBuilder

GetRuleFirewallPolicyRequestOrBuilder

GetRuleNetworkFirewallPolicyRequestOrBuilder

GetRuleRegionNetworkFirewallPolicyRequestOrBuilder

GetRuleSecurityPolicyRequestOrBuilder

GetScreenshotInstanceRequestOrBuilder

GetSecurityPolicyRequestOrBuilder

GetSerialPortOutputInstanceRequestOrBuilder

GetServiceAttachmentRequestOrBuilder

GetShieldedInstanceIdentityInstanceRequestOrBuilder

GetSnapshotRequestOrBuilder

GetSslCertificateRequestOrBuilder

GetSslPolicyRequestOrBuilder

GetStatusVpnGatewayRequestOrBuilder

GetSubnetworkRequestOrBuilder

GetTargetGrpcProxyRequestOrBuilder

GetTargetHttpProxyRequestOrBuilder

GetTargetHttpsProxyRequestOrBuilder

GetTargetInstanceRequestOrBuilder

GetTargetPoolRequestOrBuilder

GetTargetSslProxyRequestOrBuilder

GetTargetTcpProxyRequestOrBuilder

GetTargetVpnGatewayRequestOrBuilder

GetUrlMapRequestOrBuilder

GetVpnGatewayRequestOrBuilder

GetVpnTunnelRequestOrBuilder

GetXpnHostProjectRequestOrBuilder

GetXpnResourcesProjectsRequestOrBuilder

GetZoneOperationRequestOrBuilder

GetZoneRequestOrBuilder

GlobalAddressesMoveRequestOrBuilder

GlobalNetworkEndpointGroupsAttachEndpointsRequestOrBuilder

GlobalNetworkEndpointGroupsDetachEndpointsRequestOrBuilder

GlobalOrganizationSetPolicyRequestOrBuilder

GlobalSetLabelsRequestOrBuilder

GlobalSetPolicyRequestOrBuilder

GuestAttributesEntryOrBuilder

GuestAttributesOrBuilder

GuestAttributesValueOrBuilder

GuestOsFeatureOrBuilder

HTTP2HealthCheckOrBuilder

HTTPHealthCheckOrBuilder

HTTPSHealthCheckOrBuilder

HealthCheckListOrBuilder

HealthCheckLogConfigOrBuilder

HealthCheckOrBuilder

HealthCheckReferenceOrBuilder

HealthCheckServiceOrBuilder

HealthCheckServiceReferenceOrBuilder

HealthCheckServicesListOrBuilder

HealthChecksAggregatedListOrBuilder

HealthChecksScopedListOrBuilder

HealthStatusForNetworkEndpointOrBuilder

HealthStatusOrBuilder

HelpLinkOrBuilder

HelpOrBuilder

HostRuleOrBuilder

HttpFaultAbortOrBuilder

HttpFaultDelayOrBuilder

HttpFaultInjectionOrBuilder

HttpHeaderActionOrBuilder

HttpHeaderMatchOrBuilder

HttpHeaderOptionOrBuilder

HttpQueryParameterMatchOrBuilder

HttpRedirectActionOrBuilder

HttpRetryPolicyOrBuilder

HttpRouteActionOrBuilder

HttpRouteRuleMatchOrBuilder

HttpRouteRuleOrBuilder

ImageFamilyViewOrBuilder

ImageListOrBuilder

ImageOrBuilder

InitialStateConfigOrBuilder

InsertAddressRequestOrBuilder

InsertAutoscalerRequestOrBuilder

InsertBackendBucketRequestOrBuilder

InsertBackendServiceRequestOrBuilder

InsertDiskRequestOrBuilder

InsertExternalVpnGatewayRequestOrBuilder

InsertFirewallPolicyRequestOrBuilder

InsertFirewallRequestOrBuilder

InsertForwardingRuleRequestOrBuilder

InsertGlobalAddressRequestOrBuilder

InsertGlobalForwardingRuleRequestOrBuilder

InsertGlobalNetworkEndpointGroupRequestOrBuilder

InsertGlobalPublicDelegatedPrefixeRequestOrBuilder

InsertHealthCheckRequestOrBuilder

InsertImageRequestOrBuilder

InsertInstanceGroupManagerRequestOrBuilder

InsertInstanceGroupRequestOrBuilder

InsertInstanceRequestOrBuilder

InsertInstanceTemplateRequestOrBuilder

InsertInterconnectAttachmentRequestOrBuilder

InsertInterconnectRequestOrBuilder

InsertLicenseRequestOrBuilder

InsertMachineImageRequestOrBuilder

InsertNetworkAttachmentRequestOrBuilder

InsertNetworkEdgeSecurityServiceRequestOrBuilder

InsertNetworkEndpointGroupRequestOrBuilder

InsertNetworkFirewallPolicyRequestOrBuilder

InsertNetworkRequestOrBuilder

InsertNodeGroupRequestOrBuilder

InsertNodeTemplateRequestOrBuilder

InsertPacketMirroringRequestOrBuilder

InsertPublicAdvertisedPrefixeRequestOrBuilder

InsertPublicDelegatedPrefixeRequestOrBuilder

InsertRegionAutoscalerRequestOrBuilder

InsertRegionBackendServiceRequestOrBuilder

InsertRegionCommitmentRequestOrBuilder

InsertRegionDiskRequestOrBuilder

InsertRegionHealthCheckRequestOrBuilder

InsertRegionHealthCheckServiceRequestOrBuilder

InsertRegionInstanceGroupManagerRequestOrBuilder

InsertRegionInstanceTemplateRequestOrBuilder

InsertRegionNetworkEndpointGroupRequestOrBuilder

InsertRegionNetworkFirewallPolicyRequestOrBuilder

InsertRegionNotificationEndpointRequestOrBuilder

InsertRegionSecurityPolicyRequestOrBuilder

InsertRegionSslCertificateRequestOrBuilder

InsertRegionSslPolicyRequestOrBuilder

InsertRegionTargetHttpProxyRequestOrBuilder

InsertRegionTargetHttpsProxyRequestOrBuilder

InsertRegionTargetTcpProxyRequestOrBuilder

InsertRegionUrlMapRequestOrBuilder

InsertReservationRequestOrBuilder

InsertResourcePolicyRequestOrBuilder

InsertRouteRequestOrBuilder

InsertRouterRequestOrBuilder

InsertSecurityPolicyRequestOrBuilder

InsertServiceAttachmentRequestOrBuilder

InsertSnapshotRequestOrBuilder

InsertSslCertificateRequestOrBuilder

InsertSslPolicyRequestOrBuilder

InsertSubnetworkRequestOrBuilder

InsertTargetGrpcProxyRequestOrBuilder

InsertTargetHttpProxyRequestOrBuilder

InsertTargetHttpsProxyRequestOrBuilder

InsertTargetInstanceRequestOrBuilder

InsertTargetPoolRequestOrBuilder

InsertTargetSslProxyRequestOrBuilder

InsertTargetTcpProxyRequestOrBuilder

InsertTargetVpnGatewayRequestOrBuilder

InsertUrlMapRequestOrBuilder

InsertVpnGatewayRequestOrBuilder

InsertVpnTunnelRequestOrBuilder

InstanceAggregatedListOrBuilder

InstanceConsumptionDataOrBuilder

InstanceConsumptionInfoOrBuilder

InstanceGroupAggregatedListOrBuilder

InstanceGroupListOrBuilder

InstanceGroupManagerActionsSummaryOrBuilder

InstanceGroupManagerAggregatedListOrBuilder

InstanceGroupManagerAutoHealingPolicyOrBuilder

InstanceGroupManagerInstanceLifecyclePolicyOrBuilder

InstanceGroupManagerListOrBuilder

InstanceGroupManagerOrBuilder

InstanceGroupManagerStatusOrBuilder

InstanceGroupManagerStatusStatefulOrBuilder

InstanceGroupManagerStatusStatefulPerInstanceConfigsOrBuilder

InstanceGroupManagerStatusVersionTargetOrBuilder

InstanceGroupManagerUpdatePolicyOrBuilder

InstanceGroupManagerVersionOrBuilder

InstanceGroupManagersAbandonInstancesRequestOrBuilder

InstanceGroupManagersApplyUpdatesRequestOrBuilder

InstanceGroupManagersCreateInstancesRequestOrBuilder

InstanceGroupManagersDeleteInstancesRequestOrBuilder

InstanceGroupManagersDeletePerInstanceConfigsReqOrBuilder

InstanceGroupManagersListErrorsResponseOrBuilder

InstanceGroupManagersListManagedInstancesResponseOrBuilder

InstanceGroupManagersListPerInstanceConfigsRespOrBuilder

InstanceGroupManagersPatchPerInstanceConfigsReqOrBuilder

InstanceGroupManagersRecreateInstancesRequestOrBuilder

InstanceGroupManagersScopedListOrBuilder

InstanceGroupManagersSetInstanceTemplateRequestOrBuilder

InstanceGroupManagersSetTargetPoolsRequestOrBuilder

InstanceGroupManagersUpdatePerInstanceConfigsReqOrBuilder

InstanceGroupOrBuilder

InstanceGroupsAddInstancesRequestOrBuilder

InstanceGroupsListInstancesOrBuilder

InstanceGroupsListInstancesRequestOrBuilder

InstanceGroupsRemoveInstancesRequestOrBuilder

InstanceGroupsScopedListOrBuilder

InstanceGroupsSetNamedPortsRequestOrBuilder

InstanceListOrBuilder

InstanceListReferrersOrBuilder

InstanceManagedByIgmErrorInstanceActionDetailsOrBuilder

InstanceManagedByIgmErrorManagedInstanceErrorOrBuilder

InstanceManagedByIgmErrorOrBuilder

InstanceMoveRequestOrBuilder

InstanceOrBuilder

InstanceParamsOrBuilder

InstancePropertiesOrBuilder

InstanceReferenceOrBuilder

InstanceTemplateAggregatedListOrBuilder

InstanceTemplateListOrBuilder

InstanceTemplateOrBuilder

InstanceTemplatesScopedListOrBuilder

InstanceWithNamedPortsOrBuilder

InstancesAddResourcePoliciesRequestOrBuilder

InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

InstancesGetEffectiveFirewallsResponseOrBuilder

InstancesRemoveResourcePoliciesRequestOrBuilder

InstancesScopedListOrBuilder

InstancesSetLabelsRequestOrBuilder

InstancesSetMachineResourcesRequestOrBuilder

InstancesSetMachineTypeRequestOrBuilder

InstancesSetMinCpuPlatformRequestOrBuilder

InstancesSetNameRequestOrBuilder

InstancesSetServiceAccountRequestOrBuilder

InstancesStartWithEncryptionKeyRequestOrBuilder

Int64RangeMatchOrBuilder

InterconnectAttachmentAggregatedListOrBuilder

InterconnectAttachmentConfigurationConstraintsBgpPeerASNRangeOrBuilder

InterconnectAttachmentConfigurationConstraintsOrBuilder

InterconnectAttachmentListOrBuilder

InterconnectAttachmentOrBuilder

InterconnectAttachmentPartnerMetadataOrBuilder

InterconnectAttachmentPrivateInfoOrBuilder

InterconnectAttachmentsScopedListOrBuilder

InterconnectCircuitInfoOrBuilder

InterconnectDiagnosticsARPEntryOrBuilder

InterconnectDiagnosticsLinkLACPStatusOrBuilder

InterconnectDiagnosticsLinkOpticalPowerOrBuilder

InterconnectDiagnosticsLinkStatusOrBuilder

InterconnectDiagnosticsOrBuilder

InterconnectListOrBuilder

InterconnectLocationListOrBuilder

InterconnectLocationOrBuilder

InterconnectLocationRegionInfoOrBuilder

InterconnectOrBuilder

InterconnectOutageNotificationOrBuilder

InterconnectRemoteLocationConstraintsOrBuilder

InterconnectRemoteLocationConstraintsSubnetLengthRangeOrBuilder

InterconnectRemoteLocationListOrBuilder

InterconnectRemoteLocationOrBuilder

InterconnectRemoteLocationPermittedConnectionsOrBuilder

InterconnectsGetDiagnosticsResponseOrBuilder

InvalidateCacheUrlMapRequestOrBuilder

ItemsOrBuilder

LicenseCodeLicenseAliasOrBuilder

LicenseCodeOrBuilder

LicenseOrBuilder

LicenseResourceCommitmentOrBuilder

LicenseResourceRequirementsOrBuilder

LicensesListResponseOrBuilder

ListAcceleratorTypesRequestOrBuilder

ListAddressesRequestOrBuilder

ListAssociationsFirewallPolicyRequestOrBuilder

ListAutoscalersRequestOrBuilder

ListAvailableFeaturesRegionSslPoliciesRequestOrBuilder

ListAvailableFeaturesSslPoliciesRequestOrBuilder

ListBackendBucketsRequestOrBuilder

ListBackendServicesRequestOrBuilder

ListDiskTypesRequestOrBuilder

ListDisksRequestOrBuilder

ListErrorsInstanceGroupManagersRequestOrBuilder

ListErrorsRegionInstanceGroupManagersRequestOrBuilder

ListExternalVpnGatewaysRequestOrBuilder

ListFirewallPoliciesRequestOrBuilder

ListFirewallsRequestOrBuilder

ListForwardingRulesRequestOrBuilder

ListGlobalAddressesRequestOrBuilder

ListGlobalForwardingRulesRequestOrBuilder

ListGlobalNetworkEndpointGroupsRequestOrBuilder

ListGlobalOperationsRequestOrBuilder

ListGlobalOrganizationOperationsRequestOrBuilder

ListGlobalPublicDelegatedPrefixesRequestOrBuilder

ListHealthChecksRequestOrBuilder

ListImagesRequestOrBuilder

ListInstanceGroupManagersRequestOrBuilder

ListInstanceGroupsRequestOrBuilder

ListInstanceTemplatesRequestOrBuilder

ListInstancesInstanceGroupsRequestOrBuilder

ListInstancesRegionInstanceGroupsRequestOrBuilder

ListInstancesRequestOrBuilder

ListInterconnectAttachmentsRequestOrBuilder

ListInterconnectLocationsRequestOrBuilder

ListInterconnectRemoteLocationsRequestOrBuilder

ListInterconnectsRequestOrBuilder

ListLicensesRequestOrBuilder

ListMachineImagesRequestOrBuilder

ListMachineTypesRequestOrBuilder

ListManagedInstancesInstanceGroupManagersRequestOrBuilder

ListManagedInstancesRegionInstanceGroupManagersRequestOrBuilder

ListNetworkAttachmentsRequestOrBuilder

ListNetworkEndpointGroupsRequestOrBuilder

ListNetworkEndpointsGlobalNetworkEndpointGroupsRequestOrBuilder

ListNetworkEndpointsNetworkEndpointGroupsRequestOrBuilder

ListNetworkFirewallPoliciesRequestOrBuilder

ListNetworksRequestOrBuilder

ListNodeGroupsRequestOrBuilder

ListNodeTemplatesRequestOrBuilder

ListNodeTypesRequestOrBuilder

ListNodesNodeGroupsRequestOrBuilder

ListPacketMirroringsRequestOrBuilder

ListPeeringRoutesNetworksRequestOrBuilder

ListPerInstanceConfigsInstanceGroupManagersRequestOrBuilder

ListPerInstanceConfigsRegionInstanceGroupManagersRequestOrBuilder

ListPreconfiguredExpressionSetsSecurityPoliciesRequestOrBuilder

ListPublicAdvertisedPrefixesRequestOrBuilder

ListPublicDelegatedPrefixesRequestOrBuilder

ListReferrersInstancesRequestOrBuilder

ListRegionAutoscalersRequestOrBuilder

ListRegionBackendServicesRequestOrBuilder

ListRegionCommitmentsRequestOrBuilder

ListRegionDiskTypesRequestOrBuilder

ListRegionDisksRequestOrBuilder

ListRegionHealthCheckServicesRequestOrBuilder

ListRegionHealthChecksRequestOrBuilder

ListRegionInstanceGroupManagersRequestOrBuilder

ListRegionInstanceGroupsRequestOrBuilder

ListRegionInstanceTemplatesRequestOrBuilder

ListRegionNetworkEndpointGroupsRequestOrBuilder

ListRegionNetworkFirewallPoliciesRequestOrBuilder

ListRegionNotificationEndpointsRequestOrBuilder

ListRegionOperationsRequestOrBuilder

ListRegionSecurityPoliciesRequestOrBuilder

ListRegionSslCertificatesRequestOrBuilder

ListRegionSslPoliciesRequestOrBuilder

ListRegionTargetHttpProxiesRequestOrBuilder

ListRegionTargetHttpsProxiesRequestOrBuilder

ListRegionTargetTcpProxiesRequestOrBuilder

ListRegionUrlMapsRequestOrBuilder

ListRegionsRequestOrBuilder

ListReservationsRequestOrBuilder

ListResourcePoliciesRequestOrBuilder

ListRoutersRequestOrBuilder

ListRoutesRequestOrBuilder

ListSecurityPoliciesRequestOrBuilder

ListServiceAttachmentsRequestOrBuilder

ListSnapshotsRequestOrBuilder

ListSslCertificatesRequestOrBuilder

ListSslPoliciesRequestOrBuilder

ListSubnetworksRequestOrBuilder

ListTargetGrpcProxiesRequestOrBuilder

ListTargetHttpProxiesRequestOrBuilder

ListTargetHttpsProxiesRequestOrBuilder

ListTargetInstancesRequestOrBuilder

ListTargetPoolsRequestOrBuilder

ListTargetSslProxiesRequestOrBuilder

ListTargetTcpProxiesRequestOrBuilder

ListTargetVpnGatewaysRequestOrBuilder

ListUrlMapsRequestOrBuilder

ListUsableSubnetworksRequestOrBuilder

ListVpnGatewaysRequestOrBuilder

ListVpnTunnelsRequestOrBuilder

ListXpnHostsProjectsRequestOrBuilder

ListZoneOperationsRequestOrBuilder

ListZonesRequestOrBuilder

LocalDiskOrBuilder

LocalizedMessageOrBuilder

LocationPolicyLocationConstraintsOrBuilder

LocationPolicyLocationOrBuilder

LocationPolicyOrBuilder

LogConfigCloudAuditOptionsOrBuilder

LogConfigCounterOptionsCustomFieldOrBuilder

LogConfigCounterOptionsOrBuilder

LogConfigDataAccessOptionsOrBuilder

LogConfigOrBuilder

MachineImageListOrBuilder

MachineImageOrBuilder

MachineTypeAggregatedListOrBuilder

MachineTypeListOrBuilder

MachineTypeOrBuilder

MachineTypesScopedListOrBuilder

ManagedInstanceInstanceHealthOrBuilder

ManagedInstanceLastAttemptOrBuilder

ManagedInstanceOrBuilder

ManagedInstanceVersionOrBuilder

MetadataFilterLabelMatchOrBuilder

MetadataFilterOrBuilder

MetadataOrBuilder

MoveAddressRequestOrBuilder

MoveDiskProjectRequestOrBuilder

MoveFirewallPolicyRequestOrBuilder

MoveGlobalAddressRequestOrBuilder

MoveInstanceProjectRequestOrBuilder

NamedPortOrBuilder

NetworkAttachmentAggregatedListOrBuilder

NetworkAttachmentConnectedEndpointOrBuilder

NetworkAttachmentListOrBuilder

NetworkAttachmentOrBuilder

NetworkAttachmentsScopedListOrBuilder

NetworkEdgeSecurityServiceAggregatedListOrBuilder

NetworkEdgeSecurityServiceOrBuilder

NetworkEdgeSecurityServicesScopedListOrBuilder

NetworkEndpointGroupAggregatedListOrBuilder

NetworkEndpointGroupAppEngineOrBuilder

NetworkEndpointGroupCloudFunctionOrBuilder

NetworkEndpointGroupCloudRunOrBuilder

NetworkEndpointGroupListOrBuilder

NetworkEndpointGroupOrBuilder

NetworkEndpointGroupPscDataOrBuilder

NetworkEndpointGroupsAttachEndpointsRequestOrBuilder

NetworkEndpointGroupsDetachEndpointsRequestOrBuilder

NetworkEndpointGroupsListEndpointsRequestOrBuilder

NetworkEndpointGroupsListNetworkEndpointsOrBuilder

NetworkEndpointGroupsScopedListOrBuilder

NetworkEndpointOrBuilder

NetworkEndpointWithHealthStatusOrBuilder

NetworkInterfaceOrBuilder

NetworkListOrBuilder

NetworkOrBuilder

NetworkPeeringOrBuilder

NetworkPerformanceConfigOrBuilder

NetworkRoutingConfigOrBuilder

NetworksAddPeeringRequestOrBuilder

NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

NetworksGetEffectiveFirewallsResponseOrBuilder

NetworksRemovePeeringRequestOrBuilder

NetworksUpdatePeeringRequestOrBuilder

NodeGroupAggregatedListOrBuilder

NodeGroupAutoscalingPolicyOrBuilder

NodeGroupListOrBuilder

NodeGroupMaintenanceWindowOrBuilder

NodeGroupNodeOrBuilder

NodeGroupOrBuilder

NodeGroupsAddNodesRequestOrBuilder

NodeGroupsDeleteNodesRequestOrBuilder

NodeGroupsListNodesOrBuilder

NodeGroupsScopedListOrBuilder

NodeGroupsSetNodeTemplateRequestOrBuilder

NodeGroupsSimulateMaintenanceEventRequestOrBuilder

NodeTemplateAggregatedListOrBuilder

NodeTemplateListOrBuilder

NodeTemplateNodeTypeFlexibilityOrBuilder

NodeTemplateOrBuilder

NodeTemplatesScopedListOrBuilder

NodeTypeAggregatedListOrBuilder

NodeTypeListOrBuilder

NodeTypeOrBuilder

NodeTypesScopedListOrBuilder

NotificationEndpointGrpcSettingsOrBuilder

NotificationEndpointListOrBuilder

NotificationEndpointOrBuilder

OperationAggregatedListOrBuilder

OperationListOrBuilder

OperationOrBuilder

OperationsScopedListOrBuilder

OutlierDetectionOrBuilder

PacketIntervalsOrBuilder

PacketMirroringAggregatedListOrBuilder

PacketMirroringFilterOrBuilder

PacketMirroringForwardingRuleInfoOrBuilder

PacketMirroringListOrBuilder

PacketMirroringMirroredResourceInfoInstanceInfoOrBuilder

PacketMirroringMirroredResourceInfoOrBuilder

PacketMirroringMirroredResourceInfoSubnetInfoOrBuilder

PacketMirroringNetworkInfoOrBuilder

PacketMirroringOrBuilder

PacketMirroringsScopedListOrBuilder

PatchAutoscalerRequestOrBuilder

PatchBackendBucketRequestOrBuilder

PatchBackendServiceRequestOrBuilder

PatchFirewallPolicyRequestOrBuilder

PatchFirewallRequestOrBuilder

PatchForwardingRuleRequestOrBuilder

PatchGlobalForwardingRuleRequestOrBuilder

PatchGlobalPublicDelegatedPrefixeRequestOrBuilder

PatchHealthCheckRequestOrBuilder

PatchImageRequestOrBuilder

PatchInstanceGroupManagerRequestOrBuilder

PatchInterconnectAttachmentRequestOrBuilder

PatchInterconnectRequestOrBuilder

PatchNetworkEdgeSecurityServiceRequestOrBuilder

PatchNetworkFirewallPolicyRequestOrBuilder

PatchNetworkRequestOrBuilder

PatchNodeGroupRequestOrBuilder

PatchPacketMirroringRequestOrBuilder

PatchPerInstanceConfigsInstanceGroupManagerRequestOrBuilder

PatchPerInstanceConfigsRegionInstanceGroupManagerRequestOrBuilder

PatchPublicAdvertisedPrefixeRequestOrBuilder

PatchPublicDelegatedPrefixeRequestOrBuilder

PatchRegionAutoscalerRequestOrBuilder

PatchRegionBackendServiceRequestOrBuilder

PatchRegionHealthCheckRequestOrBuilder

PatchRegionHealthCheckServiceRequestOrBuilder

PatchRegionInstanceGroupManagerRequestOrBuilder

PatchRegionNetworkFirewallPolicyRequestOrBuilder

PatchRegionSecurityPolicyRequestOrBuilder

PatchRegionSslPolicyRequestOrBuilder

PatchRegionTargetHttpsProxyRequestOrBuilder

PatchRegionUrlMapRequestOrBuilder

PatchResourcePolicyRequestOrBuilder

PatchRouterRequestOrBuilder

PatchRuleFirewallPolicyRequestOrBuilder

PatchRuleNetworkFirewallPolicyRequestOrBuilder

PatchRuleRegionNetworkFirewallPolicyRequestOrBuilder

PatchRuleSecurityPolicyRequestOrBuilder

PatchSecurityPolicyRequestOrBuilder

PatchServiceAttachmentRequestOrBuilder

PatchSslPolicyRequestOrBuilder

PatchSubnetworkRequestOrBuilder

PatchTargetGrpcProxyRequestOrBuilder

PatchTargetHttpProxyRequestOrBuilder

PatchTargetHttpsProxyRequestOrBuilder

PatchUrlMapRequestOrBuilder

PathMatcherOrBuilder

PathRuleOrBuilder

PerInstanceConfigOrBuilder

PolicyOrBuilder

PreconfiguredWafSetOrBuilder

PreservedStateOrBuilder

PreservedStatePreservedDiskOrBuilder

PreviewRouterRequestOrBuilder

ProjectOrBuilder

ProjectsDisableXpnResourceRequestOrBuilder

ProjectsEnableXpnResourceRequestOrBuilder

ProjectsGetXpnResourcesOrBuilder

ProjectsListXpnHostsRequestOrBuilder

ProjectsSetDefaultNetworkTierRequestOrBuilder

PublicAdvertisedPrefixListOrBuilder

PublicAdvertisedPrefixOrBuilder

PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder

PublicDelegatedPrefixAggregatedListOrBuilder

PublicDelegatedPrefixListOrBuilder

PublicDelegatedPrefixOrBuilder

PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder

PublicDelegatedPrefixesScopedListOrBuilder

QuotaExceededInfoOrBuilder

QuotaOrBuilder

RawDiskOrBuilder

RecreateInstancesInstanceGroupManagerRequestOrBuilder

RecreateInstancesRegionInstanceGroupManagerRequestOrBuilder

ReferenceOrBuilder

RegionAddressesMoveRequestOrBuilder

RegionAutoscalerListOrBuilder

RegionDiskTypeListOrBuilder

RegionDisksAddResourcePoliciesRequestOrBuilder

RegionDisksRemoveResourcePoliciesRequestOrBuilder

RegionDisksResizeRequestOrBuilder

RegionDisksStartAsyncReplicationRequestOrBuilder

RegionInstanceGroupListOrBuilder

RegionInstanceGroupManagerDeleteInstanceConfigReqOrBuilder

RegionInstanceGroupManagerListOrBuilder

RegionInstanceGroupManagerPatchInstanceConfigReqOrBuilder

RegionInstanceGroupManagerUpdateInstanceConfigReqOrBuilder

RegionInstanceGroupManagersAbandonInstancesRequestOrBuilder

RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder

RegionInstanceGroupManagersCreateInstancesRequestOrBuilder

RegionInstanceGroupManagersDeleteInstancesRequestOrBuilder

RegionInstanceGroupManagersListErrorsResponseOrBuilder

RegionInstanceGroupManagersListInstanceConfigsRespOrBuilder

RegionInstanceGroupManagersListInstancesResponseOrBuilder

RegionInstanceGroupManagersRecreateRequestOrBuilder

RegionInstanceGroupManagersSetTargetPoolsRequestOrBuilder

RegionInstanceGroupManagersSetTemplateRequestOrBuilder

RegionInstanceGroupsListInstancesOrBuilder

RegionInstanceGroupsListInstancesRequestOrBuilder

RegionInstanceGroupsSetNamedPortsRequestOrBuilder

RegionListOrBuilder

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseOrBuilder

RegionOrBuilder

RegionSetLabelsRequestOrBuilder

RegionSetPolicyRequestOrBuilder

RegionTargetHttpsProxiesSetSslCertificatesRequestOrBuilder

RegionUrlMapsValidateRequestOrBuilder

RemoveAssociationFirewallPolicyRequestOrBuilder

RemoveAssociationNetworkFirewallPolicyRequestOrBuilder

RemoveAssociationRegionNetworkFirewallPolicyRequestOrBuilder

RemoveHealthCheckTargetPoolRequestOrBuilder

RemoveInstanceTargetPoolRequestOrBuilder

RemoveInstancesInstanceGroupRequestOrBuilder

RemovePeeringNetworkRequestOrBuilder

RemoveResourcePoliciesDiskRequestOrBuilder

RemoveResourcePoliciesInstanceRequestOrBuilder

RemoveResourcePoliciesRegionDiskRequestOrBuilder

RemoveRuleFirewallPolicyRequestOrBuilder

RemoveRuleNetworkFirewallPolicyRequestOrBuilder

RemoveRuleRegionNetworkFirewallPolicyRequestOrBuilder

RemoveRuleSecurityPolicyRequestOrBuilder

RequestMirrorPolicyOrBuilder

ReservationAffinityOrBuilder

ReservationAggregatedListOrBuilder

ReservationListOrBuilder

ReservationOrBuilder

ReservationsResizeRequestOrBuilder

ReservationsScopedListOrBuilder

ResetInstanceRequestOrBuilder

ResizeDiskRequestOrBuilder

ResizeInstanceGroupManagerRequestOrBuilder

ResizeRegionDiskRequestOrBuilder

ResizeRegionInstanceGroupManagerRequestOrBuilder

ResizeReservationRequestOrBuilder

ResourceCommitmentOrBuilder

ResourceGroupReferenceOrBuilder

ResourcePoliciesScopedListOrBuilder

ResourcePolicyAggregatedListOrBuilder

ResourcePolicyDailyCycleOrBuilder

ResourcePolicyDiskConsistencyGroupPolicyOrBuilder

ResourcePolicyGroupPlacementPolicyOrBuilder

ResourcePolicyHourlyCycleOrBuilder

ResourcePolicyInstanceSchedulePolicyOrBuilder

ResourcePolicyInstanceSchedulePolicyScheduleOrBuilder

ResourcePolicyListOrBuilder

ResourcePolicyOrBuilder

ResourcePolicyResourceStatusInstanceSchedulePolicyStatusOrBuilder

ResourcePolicyResourceStatusOrBuilder

ResourcePolicySnapshotSchedulePolicyOrBuilder

ResourcePolicySnapshotSchedulePolicyRetentionPolicyOrBuilder

ResourcePolicySnapshotSchedulePolicyScheduleOrBuilder

ResourcePolicySnapshotSchedulePolicySnapshotPropertiesOrBuilder

ResourcePolicyWeeklyCycleDayOfWeekOrBuilder

ResourcePolicyWeeklyCycleOrBuilder

ResourceStatusOrBuilder

ResumeInstanceRequestOrBuilder

RouteAsPathOrBuilder

RouteListOrBuilder

RouteOrBuilder

RouterAdvertisedIpRangeOrBuilder

RouterAggregatedListOrBuilder

RouterBgpOrBuilder

RouterBgpPeerBfdOrBuilder

RouterBgpPeerCustomLearnedIpRangeOrBuilder

RouterBgpPeerOrBuilder

RouterInterfaceOrBuilder

RouterListOrBuilder

RouterMd5AuthenticationKeyOrBuilder

RouterNatLogConfigOrBuilder

RouterNatOrBuilder

RouterNatRuleActionOrBuilder

RouterNatRuleOrBuilder

RouterNatSubnetworkToNatOrBuilder

RouterOrBuilder

RouterStatusBgpPeerStatusOrBuilder

RouterStatusNatStatusNatRuleStatusOrBuilder

RouterStatusNatStatusOrBuilder

RouterStatusOrBuilder

RouterStatusResponseOrBuilder

RoutersPreviewResponseOrBuilder

RoutersScopedListOrBuilder

RuleOrBuilder

SSLHealthCheckOrBuilder

SavedAttachedDiskOrBuilder

SavedDiskOrBuilder

ScalingScheduleStatusOrBuilder

SchedulingNodeAffinityOrBuilder

SchedulingOrBuilder

ScratchDisksOrBuilder

ScreenshotOrBuilder

SecurityPoliciesAggregatedListOrBuilder

SecurityPoliciesListPreconfiguredExpressionSetsResponseOrBuilder

SecurityPoliciesScopedListOrBuilder

SecurityPoliciesWafConfigOrBuilder

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigOrBuilder

SecurityPolicyAdaptiveProtectionConfigOrBuilder

SecurityPolicyAdvancedOptionsConfigJsonCustomConfigOrBuilder

SecurityPolicyAdvancedOptionsConfigOrBuilder

SecurityPolicyDdosProtectionConfigOrBuilder

SecurityPolicyListOrBuilder

SecurityPolicyOrBuilder

SecurityPolicyRecaptchaOptionsConfigOrBuilder

SecurityPolicyReferenceOrBuilder

SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionOrBuilder

SecurityPolicyRuleHttpHeaderActionOrBuilder

SecurityPolicyRuleMatcherConfigOrBuilder

SecurityPolicyRuleMatcherOrBuilder

SecurityPolicyRuleOrBuilder

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParamsOrBuilder

SecurityPolicyRulePreconfiguredWafConfigExclusionOrBuilder

SecurityPolicyRulePreconfiguredWafConfigOrBuilder

SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOrBuilder

SecurityPolicyRuleRateLimitOptionsOrBuilder

SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder

SecurityPolicyRuleRedirectOptionsOrBuilder

SecuritySettingsOrBuilder

SendDiagnosticInterruptInstanceRequestOrBuilder

SendDiagnosticInterruptInstanceResponseOrBuilder

SerialPortOutputOrBuilder

ServerBindingOrBuilder

ServiceAccountOrBuilder

ServiceAttachmentAggregatedListOrBuilder

ServiceAttachmentConnectedEndpointOrBuilder

ServiceAttachmentConsumerProjectLimitOrBuilder

ServiceAttachmentListOrBuilder

ServiceAttachmentOrBuilder

ServiceAttachmentsScopedListOrBuilder

SetBackendServiceTargetSslProxyRequestOrBuilder

SetBackendServiceTargetTcpProxyRequestOrBuilder

SetBackupTargetPoolRequestOrBuilder

SetCertificateMapTargetHttpsProxyRequestOrBuilder

SetCertificateMapTargetSslProxyRequestOrBuilder

SetCommonInstanceMetadataProjectRequestOrBuilder

SetDefaultNetworkTierProjectRequestOrBuilder

SetDeletionProtectionInstanceRequestOrBuilder

SetDiskAutoDeleteInstanceRequestOrBuilder

SetEdgeSecurityPolicyBackendBucketRequestOrBuilder

SetEdgeSecurityPolicyBackendServiceRequestOrBuilder

SetIamPolicyBackendServiceRequestOrBuilder

SetIamPolicyDiskRequestOrBuilder

SetIamPolicyFirewallPolicyRequestOrBuilder

SetIamPolicyImageRequestOrBuilder

SetIamPolicyInstanceRequestOrBuilder

SetIamPolicyInstanceTemplateRequestOrBuilder

SetIamPolicyLicenseRequestOrBuilder

SetIamPolicyMachineImageRequestOrBuilder

SetIamPolicyNetworkAttachmentRequestOrBuilder

SetIamPolicyNetworkFirewallPolicyRequestOrBuilder

SetIamPolicyNodeGroupRequestOrBuilder

SetIamPolicyNodeTemplateRequestOrBuilder

SetIamPolicyRegionBackendServiceRequestOrBuilder

SetIamPolicyRegionDiskRequestOrBuilder

SetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder

SetIamPolicyReservationRequestOrBuilder

SetIamPolicyResourcePolicyRequestOrBuilder

SetIamPolicyServiceAttachmentRequestOrBuilder

SetIamPolicySnapshotRequestOrBuilder

SetIamPolicySubnetworkRequestOrBuilder

SetInstanceTemplateInstanceGroupManagerRequestOrBuilder

SetInstanceTemplateRegionInstanceGroupManagerRequestOrBuilder

SetLabelsAddressRequestOrBuilder

SetLabelsDiskRequestOrBuilder

SetLabelsExternalVpnGatewayRequestOrBuilder

SetLabelsForwardingRuleRequestOrBuilder

SetLabelsGlobalAddressRequestOrBuilder

SetLabelsGlobalForwardingRuleRequestOrBuilder

SetLabelsImageRequestOrBuilder

SetLabelsInstanceRequestOrBuilder

SetLabelsInterconnectAttachmentRequestOrBuilder

SetLabelsInterconnectRequestOrBuilder

SetLabelsRegionDiskRequestOrBuilder

SetLabelsSecurityPolicyRequestOrBuilder

SetLabelsSnapshotRequestOrBuilder

SetLabelsTargetVpnGatewayRequestOrBuilder

SetLabelsVpnGatewayRequestOrBuilder

SetLabelsVpnTunnelRequestOrBuilder

SetMachineResourcesInstanceRequestOrBuilder

SetMachineTypeInstanceRequestOrBuilder

SetMetadataInstanceRequestOrBuilder

SetMinCpuPlatformInstanceRequestOrBuilder

SetNameInstanceRequestOrBuilder

SetNamedPortsInstanceGroupRequestOrBuilder

SetNamedPortsRegionInstanceGroupRequestOrBuilder

SetNodeTemplateNodeGroupRequestOrBuilder

SetPrivateIpGoogleAccessSubnetworkRequestOrBuilder

SetProxyHeaderTargetSslProxyRequestOrBuilder

SetProxyHeaderTargetTcpProxyRequestOrBuilder

SetQuicOverrideTargetHttpsProxyRequestOrBuilder

SetSchedulingInstanceRequestOrBuilder

SetSecurityPolicyBackendServiceRequestOrBuilder

SetServiceAccountInstanceRequestOrBuilder

SetShieldedInstanceIntegrityPolicyInstanceRequestOrBuilder

SetSslCertificatesRegionTargetHttpsProxyRequestOrBuilder

SetSslCertificatesTargetHttpsProxyRequestOrBuilder

SetSslCertificatesTargetSslProxyRequestOrBuilder

SetSslPolicyTargetHttpsProxyRequestOrBuilder

SetSslPolicyTargetSslProxyRequestOrBuilder

SetTagsInstanceRequestOrBuilder

SetTargetForwardingRuleRequestOrBuilder

SetTargetGlobalForwardingRuleRequestOrBuilder

SetTargetPoolsInstanceGroupManagerRequestOrBuilder

SetTargetPoolsRegionInstanceGroupManagerRequestOrBuilder

SetUrlMapRegionTargetHttpProxyRequestOrBuilder

SetUrlMapRegionTargetHttpsProxyRequestOrBuilder

SetUrlMapTargetHttpProxyRequestOrBuilder

SetUrlMapTargetHttpsProxyRequestOrBuilder

SetUsageExportBucketProjectRequestOrBuilder

ShareSettingsOrBuilder

ShareSettingsProjectConfigOrBuilder

ShieldedInstanceConfigOrBuilder

ShieldedInstanceIdentityEntryOrBuilder

ShieldedInstanceIdentityOrBuilder

ShieldedInstanceIntegrityPolicyOrBuilder

SignedUrlKeyOrBuilder

SimulateMaintenanceEventInstanceRequestOrBuilder

SimulateMaintenanceEventNodeGroupRequestOrBuilder

SnapshotListOrBuilder

SnapshotOrBuilder

SourceDiskEncryptionKeyOrBuilder

SourceInstanceParamsOrBuilder

SourceInstancePropertiesOrBuilder

SslCertificateAggregatedListOrBuilder

SslCertificateListOrBuilder

SslCertificateManagedSslCertificateOrBuilder

SslCertificateOrBuilder

SslCertificateSelfManagedSslCertificateOrBuilder

SslCertificatesScopedListOrBuilder

SslPoliciesAggregatedListOrBuilder

SslPoliciesListAvailableFeaturesResponseOrBuilder

SslPoliciesListOrBuilder

SslPoliciesScopedListOrBuilder

SslPolicyOrBuilder

SslPolicyReferenceOrBuilder

StartAsyncReplicationDiskRequestOrBuilder

StartAsyncReplicationRegionDiskRequestOrBuilder

StartInstanceRequestOrBuilder

StartWithEncryptionKeyInstanceRequestOrBuilder

StatefulPolicyOrBuilder

StatefulPolicyPreservedStateDiskDeviceOrBuilder

StatefulPolicyPreservedStateOrBuilder

StopAsyncReplicationDiskRequestOrBuilder

StopAsyncReplicationRegionDiskRequestOrBuilder

StopGroupAsyncReplicationDiskRequestOrBuilder

StopGroupAsyncReplicationRegionDiskRequestOrBuilder

StopInstanceRequestOrBuilder

SubnetworkAggregatedListOrBuilder

SubnetworkListOrBuilder

SubnetworkLogConfigOrBuilder

SubnetworkOrBuilder

SubnetworkSecondaryRangeOrBuilder

SubnetworksExpandIpCidrRangeRequestOrBuilder

SubnetworksScopedListOrBuilder

SubnetworksSetPrivateIpGoogleAccessRequestOrBuilder

SubsettingOrBuilder

SuspendInstanceRequestOrBuilder

SwitchToCustomModeNetworkRequestOrBuilder

TCPHealthCheckOrBuilder

TagsOrBuilder

TargetGrpcProxyListOrBuilder

TargetGrpcProxyOrBuilder

TargetHttpProxiesScopedListOrBuilder

TargetHttpProxyAggregatedListOrBuilder

TargetHttpProxyListOrBuilder

TargetHttpProxyOrBuilder

TargetHttpsProxiesScopedListOrBuilder

TargetHttpsProxiesSetCertificateMapRequestOrBuilder

TargetHttpsProxiesSetQuicOverrideRequestOrBuilder

TargetHttpsProxiesSetSslCertificatesRequestOrBuilder

TargetHttpsProxyAggregatedListOrBuilder

TargetHttpsProxyListOrBuilder

TargetHttpsProxyOrBuilder

TargetInstanceAggregatedListOrBuilder

TargetInstanceListOrBuilder

TargetInstanceOrBuilder

TargetInstancesScopedListOrBuilder

TargetPoolAggregatedListOrBuilder

TargetPoolInstanceHealthOrBuilder

TargetPoolListOrBuilder

TargetPoolOrBuilder

TargetPoolsAddHealthCheckRequestOrBuilder

TargetPoolsAddInstanceRequestOrBuilder

TargetPoolsRemoveHealthCheckRequestOrBuilder

TargetPoolsRemoveInstanceRequestOrBuilder

TargetPoolsScopedListOrBuilder

TargetReferenceOrBuilder

TargetSslProxiesSetBackendServiceRequestOrBuilder

TargetSslProxiesSetCertificateMapRequestOrBuilder

TargetSslProxiesSetProxyHeaderRequestOrBuilder

TargetSslProxiesSetSslCertificatesRequestOrBuilder

TargetSslProxyListOrBuilder

TargetSslProxyOrBuilder

TargetTcpProxiesScopedListOrBuilder

TargetTcpProxiesSetBackendServiceRequestOrBuilder

TargetTcpProxiesSetProxyHeaderRequestOrBuilder

TargetTcpProxyAggregatedListOrBuilder

TargetTcpProxyListOrBuilder

TargetTcpProxyOrBuilder

TargetVpnGatewayAggregatedListOrBuilder

TargetVpnGatewayListOrBuilder

TargetVpnGatewayOrBuilder

TargetVpnGatewaysScopedListOrBuilder

TestFailureOrBuilder

TestIamPermissionsDiskRequestOrBuilder

TestIamPermissionsExternalVpnGatewayRequestOrBuilder

TestIamPermissionsFirewallPolicyRequestOrBuilder

TestIamPermissionsImageRequestOrBuilder

TestIamPermissionsInstanceRequestOrBuilder

TestIamPermissionsInstanceTemplateRequestOrBuilder

TestIamPermissionsLicenseCodeRequestOrBuilder

TestIamPermissionsLicenseRequestOrBuilder

TestIamPermissionsMachineImageRequestOrBuilder

TestIamPermissionsNetworkAttachmentRequestOrBuilder

TestIamPermissionsNetworkEndpointGroupRequestOrBuilder

TestIamPermissionsNetworkFirewallPolicyRequestOrBuilder

TestIamPermissionsNodeGroupRequestOrBuilder

TestIamPermissionsNodeTemplateRequestOrBuilder

TestIamPermissionsPacketMirroringRequestOrBuilder

TestIamPermissionsRegionDiskRequestOrBuilder

TestIamPermissionsRegionNetworkFirewallPolicyRequestOrBuilder

TestIamPermissionsReservationRequestOrBuilder

TestIamPermissionsResourcePolicyRequestOrBuilder

TestIamPermissionsServiceAttachmentRequestOrBuilder

TestIamPermissionsSnapshotRequestOrBuilder

TestIamPermissionsSubnetworkRequestOrBuilder

TestIamPermissionsVpnGatewayRequestOrBuilder

TestPermissionsRequestOrBuilder

TestPermissionsResponseOrBuilder

Uint128OrBuilder

UpdateAccessConfigInstanceRequestOrBuilder

UpdateAutoscalerRequestOrBuilder

UpdateBackendBucketRequestOrBuilder

UpdateBackendServiceRequestOrBuilder

UpdateDiskRequestOrBuilder

UpdateDisplayDeviceInstanceRequestOrBuilder

UpdateFirewallRequestOrBuilder

UpdateHealthCheckRequestOrBuilder

UpdateInstanceRequestOrBuilder

UpdateNetworkInterfaceInstanceRequestOrBuilder

UpdatePeeringNetworkRequestOrBuilder

UpdatePerInstanceConfigsInstanceGroupManagerRequestOrBuilder

UpdatePerInstanceConfigsRegionInstanceGroupManagerRequestOrBuilder

UpdateRegionAutoscalerRequestOrBuilder

UpdateRegionBackendServiceRequestOrBuilder

UpdateRegionCommitmentRequestOrBuilder

UpdateRegionDiskRequestOrBuilder

UpdateRegionHealthCheckRequestOrBuilder

UpdateRegionUrlMapRequestOrBuilder

UpdateReservationRequestOrBuilder

UpdateRouterRequestOrBuilder

UpdateShieldedInstanceConfigInstanceRequestOrBuilder

UpdateUrlMapRequestOrBuilder

UrlMapListOrBuilder

UrlMapOrBuilder

UrlMapReferenceOrBuilder

UrlMapTestHeaderOrBuilder

UrlMapTestOrBuilder

UrlMapValidationResultOrBuilder

UrlMapsAggregatedListOrBuilder

UrlMapsScopedListOrBuilder

UrlMapsValidateRequestOrBuilder

UrlMapsValidateResponseOrBuilder

UrlRewriteOrBuilder

UsableSubnetworkOrBuilder

UsableSubnetworkSecondaryRangeOrBuilder

UsableSubnetworksAggregatedListOrBuilder

UsageExportLocationOrBuilder

ValidateRegionUrlMapRequestOrBuilder

ValidateUrlMapRequestOrBuilder

VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappingsOrBuilder

VmEndpointNatMappingsInterfaceNatMappingsOrBuilder

VmEndpointNatMappingsListOrBuilder

VmEndpointNatMappingsOrBuilder

VpnGatewayAggregatedListOrBuilder

VpnGatewayListOrBuilder

VpnGatewayOrBuilder

VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder

VpnGatewayStatusOrBuilder

VpnGatewayStatusTunnelOrBuilder

VpnGatewayStatusVpnConnectionOrBuilder

VpnGatewayVpnGatewayInterfaceOrBuilder

VpnGatewaysGetStatusResponseOrBuilder

VpnGatewaysScopedListOrBuilder

VpnTunnelAggregatedListOrBuilder

VpnTunnelListOrBuilder

VpnTunnelOrBuilder

VpnTunnelsScopedListOrBuilder

WafExpressionSetExpressionOrBuilder

WafExpressionSetOrBuilder

WaitGlobalOperationRequestOrBuilder

WaitRegionOperationRequestOrBuilder

WaitZoneOperationRequestOrBuilder

WarningOrBuilder

WarningsOrBuilder

WeightedBackendServiceOrBuilder

XpnHostListOrBuilder

XpnResourceIdOrBuilder

ZoneListOrBuilder

ZoneOrBuilder

ZoneSetLabelsRequestOrBuilder

ZoneSetPolicyRequestOrBuilder

Enums

AccessConfig.NetworkTier

This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.

Protobuf enum google.cloud.compute.v1.AccessConfig.NetworkTier

AccessConfig.Type

The type of configuration. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.

Protobuf enum google.cloud.compute.v1.AccessConfig.Type

Address.AddressType

The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.

Protobuf enum google.cloud.compute.v1.Address.AddressType

Address.IpVersion

The IP version that will be used by this address. Valid options are IPV4 or IPV6.

Protobuf enum google.cloud.compute.v1.Address.IpVersion

Address.Ipv6EndpointType

The endpoint type of this address, which should be VM or NETLB. This is used for deciding which type of endpoint this address can be used after the external IPv6 address reservation.

Protobuf enum google.cloud.compute.v1.Address.Ipv6EndpointType

Address.NetworkTier

This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM.

Protobuf enum google.cloud.compute.v1.Address.NetworkTier

Address.Purpose

The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an HA VPN over Cloud Interconnect configuration. These addresses are regional resources. - SHARED_LOADBALANCER_VIP for an internal IP address that is assigned to multiple internal forwarding rules. - PRIVATE_SERVICE_CONNECT for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose.

Protobuf enum google.cloud.compute.v1.Address.Purpose

Address.Status

[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.

Protobuf enum google.cloud.compute.v1.Address.Status

AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Interface

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.

Protobuf enum google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Interface

AttachedDisk.Architecture

[Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64.

Protobuf enum google.cloud.compute.v1.AttachedDisk.Architecture

AttachedDisk.Interface

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks.

Protobuf enum google.cloud.compute.v1.AttachedDisk.Interface

AttachedDisk.Mode

The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.

Protobuf enum google.cloud.compute.v1.AttachedDisk.Mode

AttachedDisk.SavedState

For LocalSSD disks on VM Instances in STOPPED or SUSPENDED state, this field is set to PRESERVED if the LocalSSD data has been saved to a persistent location by customer request. (see the discard_local_ssd option on Stop/Suspend). Read-only in the api.

Protobuf enum google.cloud.compute.v1.AttachedDisk.SavedState

AttachedDisk.Type

Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.

Protobuf enum google.cloud.compute.v1.AttachedDisk.Type

AttachedDiskInitializeParams.Architecture

The architecture of the attached disk. Valid values are arm64 or x86_64.

Protobuf enum google.cloud.compute.v1.AttachedDiskInitializeParams.Architecture

AttachedDiskInitializeParams.OnUpdateAction

Specifies which action to take on instance update with this disk. Default is to use the existing disk.

Protobuf enum google.cloud.compute.v1.AttachedDiskInitializeParams.OnUpdateAction

AuditLogConfig.LogType

The log type that this config enables.

Protobuf enum google.cloud.compute.v1.AuditLogConfig.LogType

AuthorizationLoggingOptions.PermissionType

This is deprecated and has no effect. Do not use.

Protobuf enum google.cloud.compute.v1.AuthorizationLoggingOptions.PermissionType

Autoscaler.Status

[Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future.

Protobuf enum google.cloud.compute.v1.Autoscaler.Status

AutoscalerStatusDetails.Type

The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions.

Protobuf enum google.cloud.compute.v1.AutoscalerStatusDetails.Type

AutoscalingPolicy.Mode

Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler"

Protobuf enum google.cloud.compute.v1.AutoscalingPolicy.Mode

AutoscalingPolicyCpuUtilization.PredictiveMethod

Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.

Protobuf enum google.cloud.compute.v1.AutoscalingPolicyCpuUtilization.PredictiveMethod

AutoscalingPolicyCustomMetricUtilization.UtilizationTargetType

Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE.

Protobuf enum google.cloud.compute.v1.AutoscalingPolicyCustomMetricUtilization.UtilizationTargetType

Backend.BalancingMode

Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected.

Protobuf enum google.cloud.compute.v1.Backend.BalancingMode

BackendBucket.CompressionMode

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.

Protobuf enum google.cloud.compute.v1.BackendBucket.CompressionMode

BackendBucketCdnPolicy.CacheMode

Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.

Protobuf enum google.cloud.compute.v1.BackendBucketCdnPolicy.CacheMode

BackendService.CompressionMode

Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.

Protobuf enum google.cloud.compute.v1.BackendService.CompressionMode

BackendService.LoadBalancingScheme

Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer.

Protobuf enum google.cloud.compute.v1.BackendService.LoadBalancingScheme

BackendService.LocalityLbPolicy

The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Protobuf enum google.cloud.compute.v1.BackendService.LocalityLbPolicy

BackendService.Protocol

The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy.

Protobuf enum google.cloud.compute.v1.BackendService.Protocol

BackendService.SessionAffinity

Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: Session Affinity.

Protobuf enum google.cloud.compute.v1.BackendService.SessionAffinity

BackendServiceCdnPolicy.CacheMode

Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached.

Protobuf enum google.cloud.compute.v1.BackendServiceCdnPolicy.CacheMode

BackendServiceConnectionTrackingPolicy.ConnectionPersistenceOnUnhealthyBackends

Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see Connection Persistence for Network Load Balancing and Connection Persistence for Internal TCP/UDP Load Balancing.

Protobuf enum google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy.ConnectionPersistenceOnUnhealthyBackends

BackendServiceConnectionTrackingPolicy.TrackingMode

Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see Tracking Mode for Network Load Balancing and Tracking Mode for Internal TCP/UDP Load Balancing.

Protobuf enum google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy.TrackingMode

BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Name

The name of a locality load-balancing policy. Valid values include ROUND_ROBIN and, for Java clients, LEAST_REQUEST. For information about these values, see the description of localityLbPolicy. Do not specify the same policy more than once for a backend. If you do, the configuration is rejected.

Protobuf enum google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Name

BackendServiceLogConfig.OptionalMode

This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.

Protobuf enum google.cloud.compute.v1.BackendServiceLogConfig.OptionalMode

BfdPacket.Diagnostic

The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880

Protobuf enum google.cloud.compute.v1.BfdPacket.Diagnostic

BfdPacket.State

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880

Protobuf enum google.cloud.compute.v1.BfdPacket.State

BfdStatus.BfdSessionInitializationMode

The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer.

Protobuf enum google.cloud.compute.v1.BfdStatus.BfdSessionInitializationMode

BfdStatus.LocalDiagnostic

The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880

Protobuf enum google.cloud.compute.v1.BfdStatus.LocalDiagnostic

BfdStatus.LocalState

The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880

Protobuf enum google.cloud.compute.v1.BfdStatus.LocalState

Commitment.Category

The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified.

Protobuf enum google.cloud.compute.v1.Commitment.Category

Commitment.Plan

The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years).

Protobuf enum google.cloud.compute.v1.Commitment.Plan

Commitment.Status

[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED.

Protobuf enum google.cloud.compute.v1.Commitment.Status

Commitment.Type

The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.

Protobuf enum google.cloud.compute.v1.Commitment.Type

Condition.Iam

This is deprecated and has no effect. Do not use. Additional supported values which may be not listed in the enum directly due to technical reasons: NO_ATTR

Protobuf enum google.cloud.compute.v1.Condition.Iam

Condition.Op

This is deprecated and has no effect. Do not use.

Protobuf enum google.cloud.compute.v1.Condition.Op

Condition.Sys

This is deprecated and has no effect. Do not use. Additional supported values which may be not listed in the enum directly due to technical reasons: NO_ATTR

Protobuf enum google.cloud.compute.v1.Condition.Sys

DeprecationStatus.State

The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.

Protobuf enum google.cloud.compute.v1.DeprecationStatus.State

Disk.Architecture

The architecture of the disk. Valid values are ARM64 or X86_64.

Protobuf enum google.cloud.compute.v1.Disk.Architecture

Disk.Status

[Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting.

Protobuf enum google.cloud.compute.v1.Disk.Status

DiskInstantiationConfig.InstantiateFrom

Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks.

Protobuf enum google.cloud.compute.v1.DiskInstantiationConfig.InstantiateFrom

DiskResourceStatusAsyncReplicationStatus.State

Protobuf enum google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus.State

DistributionPolicy.TargetShape

The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).

Protobuf enum google.cloud.compute.v1.DistributionPolicy.TargetShape

ExchangedPeeringRoute.Type

The type of the peering route.

Protobuf enum google.cloud.compute.v1.ExchangedPeeringRoute.Type

ExternalVpnGateway.RedundancyType

Indicates the user-supplied redundancy type of this external VPN gateway.

Protobuf enum google.cloud.compute.v1.ExternalVpnGateway.RedundancyType

FileContentBuffer.FileType

The file type of source file.

Protobuf enum google.cloud.compute.v1.FileContentBuffer.FileType

Firewall.Direction

Direction of traffic to which this firewall applies, either INGRESS or EGRESS. The default is INGRESS. For EGRESS traffic, you cannot specify the sourceTags fields.

Protobuf enum google.cloud.compute.v1.Firewall.Direction

FirewallLogConfig.Metadata

This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs.

Protobuf enum google.cloud.compute.v1.FirewallLogConfig.Metadata

FirewallPolicyRule.Direction

The direction in which this rule applies.

Protobuf enum google.cloud.compute.v1.FirewallPolicyRule.Direction

FirewallPolicyRuleSecureTag.State

[Output Only] State of the secure tag, either EFFECTIVE or INEFFECTIVE. A secure tag is INEFFECTIVE when it is deleted or its network is deleted.

Protobuf enum google.cloud.compute.v1.FirewallPolicyRuleSecureTag.State

ForwardingRule.IPProtocolEnum

The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in Load balancing features.

Protobuf enum google.cloud.compute.v1.ForwardingRule.IPProtocolEnum

ForwardingRule.IpVersion

The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6.

Protobuf enum google.cloud.compute.v1.ForwardingRule.IpVersion

ForwardingRule.LoadBalancingScheme

Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts.

Protobuf enum google.cloud.compute.v1.ForwardingRule.LoadBalancingScheme

ForwardingRule.NetworkTier

This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address.

Protobuf enum google.cloud.compute.v1.ForwardingRule.NetworkTier

ForwardingRule.PscConnectionStatus

Protobuf enum google.cloud.compute.v1.ForwardingRule.PscConnectionStatus

GRPCHealthCheck.PortSpecification

Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.

Protobuf enum google.cloud.compute.v1.GRPCHealthCheck.PortSpecification

GuestOsFeature.Type

The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.

Protobuf enum google.cloud.compute.v1.GuestOsFeature.Type

HTTP2HealthCheck.PortSpecification

Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.

Protobuf enum google.cloud.compute.v1.HTTP2HealthCheck.PortSpecification

HTTP2HealthCheck.ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Protobuf enum google.cloud.compute.v1.HTTP2HealthCheck.ProxyHeader

HTTPHealthCheck.PortSpecification

Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Also supported in legacy HTTP health checks for target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.

Protobuf enum google.cloud.compute.v1.HTTPHealthCheck.PortSpecification

HTTPHealthCheck.ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Protobuf enum google.cloud.compute.v1.HTTPHealthCheck.ProxyHeader

HTTPSHealthCheck.PortSpecification

Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.

Protobuf enum google.cloud.compute.v1.HTTPSHealthCheck.PortSpecification

HTTPSHealthCheck.ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Protobuf enum google.cloud.compute.v1.HTTPSHealthCheck.ProxyHeader

HealthCheck.Type

Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field.

Protobuf enum google.cloud.compute.v1.HealthCheck.Type

HealthCheckService.HealthStatusAggregationPolicy

Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.

Protobuf enum google.cloud.compute.v1.HealthCheckService.HealthStatusAggregationPolicy

HealthStatus.HealthState

Health state of the IPv4 address of the instance.

Protobuf enum google.cloud.compute.v1.HealthStatus.HealthState

HealthStatus.WeightError

Protobuf enum google.cloud.compute.v1.HealthStatus.WeightError

HealthStatusForNetworkEndpoint.HealthState

Health state of the network endpoint determined based on the health checks configured.

Protobuf enum google.cloud.compute.v1.HealthStatusForNetworkEndpoint.HealthState

HttpRedirectAction.RedirectResponseCode

The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained.

Protobuf enum google.cloud.compute.v1.HttpRedirectAction.RedirectResponseCode

Image.Architecture

The architecture of the image. Valid values are ARM64 or X86_64.

Protobuf enum google.cloud.compute.v1.Image.Architecture

Image.SourceType

The type of the image used to create this disk. The default and only valid value is RAW.

Protobuf enum google.cloud.compute.v1.Image.SourceType

Image.Status

[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.

Protobuf enum google.cloud.compute.v1.Image.Status

Instance.KeyRevocationActionType

KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.

Protobuf enum google.cloud.compute.v1.Instance.KeyRevocationActionType

Instance.PrivateIpv6GoogleAccess

The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.

Protobuf enum google.cloud.compute.v1.Instance.PrivateIpv6GoogleAccess

Instance.Status

[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.

Protobuf enum google.cloud.compute.v1.Instance.Status

InstanceGroupManager.ListManagedInstancesResults

Pagination behavior of the listManagedInstances API method for this managed instance group.

Protobuf enum google.cloud.compute.v1.InstanceGroupManager.ListManagedInstancesResults

InstanceGroupManagerInstanceLifecyclePolicy.ForceUpdateOnRepair

A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.

Protobuf enum google.cloud.compute.v1.InstanceGroupManagerInstanceLifecyclePolicy.ForceUpdateOnRepair

InstanceGroupManagerUpdatePolicy.InstanceRedistributionType

The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE PROACTIVE

Protobuf enum google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.InstanceRedistributionType

InstanceGroupManagerUpdatePolicy.MinimalAction

Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTART

Protobuf enum google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.MinimalAction

InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction

Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTART

Protobuf enum google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction

InstanceGroupManagerUpdatePolicy.ReplacementMethod

What action should be used to replace instances. See minimal_action.REPLACE

Protobuf enum google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.ReplacementMethod

InstanceGroupManagerUpdatePolicy.Type

The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update. Additional supported values which may be not listed in the enum directly due to technical reasons: PROACTIVE

Protobuf enum google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.Type

InstanceGroupManagersApplyUpdatesRequest.MinimalAction

The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTART

Protobuf enum google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.MinimalAction

InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction

The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTART

Protobuf enum google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction

InstanceGroupsListInstancesRequest.InstanceState

A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.

Protobuf enum google.cloud.compute.v1.InstanceGroupsListInstancesRequest.InstanceState

InstanceManagedByIgmErrorInstanceActionDetails.Action

[Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values:

Protobuf enum google.cloud.compute.v1.InstanceManagedByIgmErrorInstanceActionDetails.Action

InstanceProperties.KeyRevocationActionType

KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.

Protobuf enum google.cloud.compute.v1.InstanceProperties.KeyRevocationActionType

InstanceProperties.PrivateIpv6GoogleAccess

The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet.

Protobuf enum google.cloud.compute.v1.InstanceProperties.PrivateIpv6GoogleAccess

InstanceWithNamedPorts.Status

[Output Only] The status of the instance.

Protobuf enum google.cloud.compute.v1.InstanceWithNamedPorts.Status

InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.

Protobuf enum google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type

Interconnect.InterconnectType

Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED.

Protobuf enum google.cloud.compute.v1.Interconnect.InterconnectType

Interconnect.LinkType

Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle.

Protobuf enum google.cloud.compute.v1.Interconnect.LinkType

Interconnect.OperationalStatus

[Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.

Protobuf enum google.cloud.compute.v1.Interconnect.OperationalStatus

Interconnect.State

[Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect.

Protobuf enum google.cloud.compute.v1.Interconnect.State

InterconnectAttachment.Bandwidth

Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s

Protobuf enum google.cloud.compute.v1.InterconnectAttachment.Bandwidth

InterconnectAttachment.EdgeAvailabilityDomain

Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.

Protobuf enum google.cloud.compute.v1.InterconnectAttachment.EdgeAvailabilityDomain

InterconnectAttachment.Encryption

Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN attachment must be created with this option.

Protobuf enum google.cloud.compute.v1.InterconnectAttachment.Encryption

InterconnectAttachment.OperationalStatus

[Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete.

Protobuf enum google.cloud.compute.v1.InterconnectAttachment.OperationalStatus

InterconnectAttachment.StackType

The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations.

Protobuf enum google.cloud.compute.v1.InterconnectAttachment.StackType

InterconnectAttachment.State

[Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted.

Protobuf enum google.cloud.compute.v1.InterconnectAttachment.State

InterconnectAttachment.Type

The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner.

Protobuf enum google.cloud.compute.v1.InterconnectAttachment.Type

InterconnectAttachmentConfigurationConstraints.BgpMd5

[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested.

Protobuf enum google.cloud.compute.v1.InterconnectAttachmentConfigurationConstraints.BgpMd5

InterconnectDiagnostics.BundleAggregationType

The aggregation type of the bundle interface.

Protobuf enum google.cloud.compute.v1.InterconnectDiagnostics.BundleAggregationType

InterconnectDiagnostics.BundleOperationalStatus

The operational status of the bundle interface.

Protobuf enum google.cloud.compute.v1.InterconnectDiagnostics.BundleOperationalStatus

InterconnectDiagnosticsLinkLACPStatus.State

The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty.

Protobuf enum google.cloud.compute.v1.InterconnectDiagnosticsLinkLACPStatus.State

InterconnectDiagnosticsLinkOpticalPower.State

The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold.

Protobuf enum google.cloud.compute.v1.InterconnectDiagnosticsLinkOpticalPower.State

InterconnectDiagnosticsLinkStatus.OperationalStatus

The operational status of the link.

Protobuf enum google.cloud.compute.v1.InterconnectDiagnosticsLinkStatus.OperationalStatus

InterconnectLocation.Continent

[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA

Protobuf enum google.cloud.compute.v1.InterconnectLocation.Continent

InterconnectLocation.Status

[Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects.

Protobuf enum google.cloud.compute.v1.InterconnectLocation.Status

InterconnectLocationRegionInfo.LocationPresence

Identifies the network presence of this location.

Protobuf enum google.cloud.compute.v1.InterconnectLocationRegionInfo.LocationPresence

InterconnectOutageNotification.IssueType

Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values.

Protobuf enum google.cloud.compute.v1.InterconnectOutageNotification.IssueType

InterconnectOutageNotification.Source

The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE.

Protobuf enum google.cloud.compute.v1.InterconnectOutageNotification.Source

InterconnectOutageNotification.State

State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values.

Protobuf enum google.cloud.compute.v1.InterconnectOutageNotification.State

InterconnectRemoteLocation.Continent

[Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA

Protobuf enum google.cloud.compute.v1.InterconnectRemoteLocation.Continent

InterconnectRemoteLocation.Lacp

[Output Only] Link Aggregation Control Protocol (LACP) constraints, which can take one of the following values: LACP_SUPPORTED, LACP_UNSUPPORTED

Protobuf enum google.cloud.compute.v1.InterconnectRemoteLocation.Lacp

InterconnectRemoteLocation.Status

[Output Only] The status of this InterconnectRemoteLocation, which can take one of the following values: - CLOSED: The InterconnectRemoteLocation is closed and is unavailable for provisioning new Cross-Cloud Interconnects. - AVAILABLE: The InterconnectRemoteLocation is available for provisioning new Cross-Cloud Interconnects.

Protobuf enum google.cloud.compute.v1.InterconnectRemoteLocation.Status

InterconnectRemoteLocationConstraints.PortPairRemoteLocation

[Output Only] Port pair remote location constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports, but the UI uses this field when ordering a pair of ports, to prevent users from accidentally ordering something that is incompatible with their cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports, and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the UI requires that both ports use the same remote location.

Protobuf enum google.cloud.compute.v1.InterconnectRemoteLocationConstraints.PortPairRemoteLocation

InterconnectRemoteLocationConstraints.PortPairVlan

[Output Only] Port pair VLAN constraints, which can take one of the following values: PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN

Protobuf enum google.cloud.compute.v1.InterconnectRemoteLocationConstraints.PortPairVlan

LicenseCode.State

[Output Only] Current state of this License Code.

Protobuf enum google.cloud.compute.v1.LicenseCode.State

ListPeeringRoutesNetworksRequest.Direction

The direction of the exchanged routes.

Protobuf enum google.cloud.compute.v1.ListPeeringRoutesNetworksRequest.Direction

LocationPolicy.TargetShape

Strategy for distributing VMs across zones in a region.

Protobuf enum google.cloud.compute.v1.LocationPolicy.TargetShape

LocationPolicyLocation.Preference

Preference for a given location. Set to either ALLOW or DENY.

Protobuf enum google.cloud.compute.v1.LocationPolicyLocation.Preference

LogConfigCloudAuditOptions.LogName

This is deprecated and has no effect. Do not use.

Protobuf enum google.cloud.compute.v1.LogConfigCloudAuditOptions.LogName

LogConfigDataAccessOptions.LogMode

This is deprecated and has no effect. Do not use.

Protobuf enum google.cloud.compute.v1.LogConfigDataAccessOptions.LogMode

MachineImage.Status

[Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING.

Protobuf enum google.cloud.compute.v1.MachineImage.Status

ManagedInstance.CurrentAction

[Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. Additional supported values which may be not listed in the enum directly due to technical reasons: STOPPING SUSPENDING

Protobuf enum google.cloud.compute.v1.ManagedInstance.CurrentAction

ManagedInstance.InstanceStatus

[Output Only] The status of the instance. This field is empty when the instance does not exist. Additional supported values which may be not listed in the enum directly due to technical reasons: STOPPING SUSPENDING

Protobuf enum google.cloud.compute.v1.ManagedInstance.InstanceStatus

ManagedInstanceInstanceHealth.DetailedHealthState

[Output Only] The current detailed instance health state.

Protobuf enum google.cloud.compute.v1.ManagedInstanceInstanceHealth.DetailedHealthState

MetadataFilter.FilterMatchCriteria

Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.

Protobuf enum google.cloud.compute.v1.MetadataFilter.FilterMatchCriteria

Network.NetworkFirewallPolicyEnforcementOrder

The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.

Protobuf enum google.cloud.compute.v1.Network.NetworkFirewallPolicyEnforcementOrder

NetworkAttachment.ConnectionPreference

Protobuf enum google.cloud.compute.v1.NetworkAttachment.ConnectionPreference

NetworkAttachmentConnectedEndpoint.Status

The status of a connected endpoint to this network attachment.

Protobuf enum google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint.Status

NetworkEndpointGroup.NetworkEndpointType

Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.

Protobuf enum google.cloud.compute.v1.NetworkEndpointGroup.NetworkEndpointType

NetworkEndpointGroupPscData.PscConnectionStatus

[Output Only] The connection status of the PSC Forwarding Rule.

Protobuf enum google.cloud.compute.v1.NetworkEndpointGroupPscData.PscConnectionStatus

NetworkEndpointGroupsListEndpointsRequest.HealthStatus

Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.

Protobuf enum google.cloud.compute.v1.NetworkEndpointGroupsListEndpointsRequest.HealthStatus

NetworkInterface.Ipv6AccessType

[Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6.

Protobuf enum google.cloud.compute.v1.NetworkInterface.Ipv6AccessType

NetworkInterface.NicType

The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.

Protobuf enum google.cloud.compute.v1.NetworkInterface.NicType

NetworkInterface.StackType

The stack type for this network interface. To assign only IPv4 addresses, use IPV4_ONLY. To assign both IPv4 and IPv6 addresses, use IPV4_IPV6. If not specified, IPV4_ONLY is used. This field can be both set at instance creation and update network interface operations.

Protobuf enum google.cloud.compute.v1.NetworkInterface.StackType

NetworkPeering.StackType

Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY.

Protobuf enum google.cloud.compute.v1.NetworkPeering.StackType

NetworkPeering.State

[Output Only] State for the peering, either ACTIVE or INACTIVE. The peering is ACTIVE when there's a matching configuration in the peer network.

Protobuf enum google.cloud.compute.v1.NetworkPeering.State

NetworkPerformanceConfig.TotalEgressBandwidthTier

Protobuf enum google.cloud.compute.v1.NetworkPerformanceConfig.TotalEgressBandwidthTier

NetworkRoutingConfig.RoutingMode

The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions.

Protobuf enum google.cloud.compute.v1.NetworkRoutingConfig.RoutingMode

NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type

[Output Only] The type of the firewall policy.

Protobuf enum google.cloud.compute.v1.NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type

NodeGroup.MaintenancePolicy

Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies.

Protobuf enum google.cloud.compute.v1.NodeGroup.MaintenancePolicy

NodeGroup.Status

Protobuf enum google.cloud.compute.v1.NodeGroup.Status

NodeGroupAutoscalingPolicy.Mode

The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.

Protobuf enum google.cloud.compute.v1.NodeGroupAutoscalingPolicy.Mode

NodeGroupNode.CpuOvercommitType

CPU overcommit.

Protobuf enum google.cloud.compute.v1.NodeGroupNode.CpuOvercommitType

NodeGroupNode.Status

Protobuf enum google.cloud.compute.v1.NodeGroupNode.Status

NodeTemplate.CpuOvercommitType

CPU overcommit.

Protobuf enum google.cloud.compute.v1.NodeTemplate.CpuOvercommitType

NodeTemplate.Status

[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING.

Protobuf enum google.cloud.compute.v1.NodeTemplate.Status

Operation.Status

[Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.

Protobuf enum google.cloud.compute.v1.Operation.Status

PacketIntervals.Duration

From how long ago in the past these intervals were observed.

Protobuf enum google.cloud.compute.v1.PacketIntervals.Duration

PacketIntervals.Type

The type of packets for which inter-packet intervals were computed.

Protobuf enum google.cloud.compute.v1.PacketIntervals.Type

PacketMirroring.Enable

Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE.

Protobuf enum google.cloud.compute.v1.PacketMirroring.Enable

PacketMirroringFilter.Direction

Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH.

Protobuf enum google.cloud.compute.v1.PacketMirroringFilter.Direction

PerInstanceConfig.Status

The status of applying this per-instance configuration on the corresponding managed instance.

Protobuf enum google.cloud.compute.v1.PerInstanceConfig.Status

PreservedStatePreservedDisk.AutoDelete

These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.

Protobuf enum google.cloud.compute.v1.PreservedStatePreservedDisk.AutoDelete

PreservedStatePreservedDisk.Mode

The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.

Protobuf enum google.cloud.compute.v1.PreservedStatePreservedDisk.Mode

Project.DefaultNetworkTier

This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM.

Protobuf enum google.cloud.compute.v1.Project.DefaultNetworkTier

Project.VmDnsSetting

[Output Only] Default internal DNS setting used by VMs running in this project.

Protobuf enum google.cloud.compute.v1.Project.VmDnsSetting

Project.XpnProjectStatus

[Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated.

Protobuf enum google.cloud.compute.v1.Project.XpnProjectStatus

ProjectsSetDefaultNetworkTierRequest.NetworkTier

Default network tier to be set.

Protobuf enum google.cloud.compute.v1.ProjectsSetDefaultNetworkTierRequest.NetworkTier

PublicAdvertisedPrefix.Status

The status of the public advertised prefix. Possible values include: - INITIAL: RPKI validation is complete. - PTR_CONFIGURED: User has configured the PTR. - VALIDATED: Reverse DNS lookup is successful. - REVERSE_DNS_LOOKUP_FAILED: Reverse DNS lookup failed. - PREFIX_CONFIGURATION_IN_PROGRESS: The prefix is being configured. - PREFIX_CONFIGURATION_COMPLETE: The prefix is fully configured. - PREFIX_REMOVAL_IN_PROGRESS: The prefix is being removed.

Protobuf enum google.cloud.compute.v1.PublicAdvertisedPrefix.Status

PublicDelegatedPrefix.Status

[Output Only] The status of the public delegated prefix, which can be one of following values: - INITIALIZING The public delegated prefix is being initialized and addresses cannot be created yet. - READY_TO_ANNOUNCE The public delegated prefix is a live migration prefix and is active. - ANNOUNCED The public delegated prefix is active. - DELETING The public delegated prefix is being deprovsioned.

Protobuf enum google.cloud.compute.v1.PublicDelegatedPrefix.Status

PublicDelegatedPrefixPublicDelegatedSubPrefix.Status

[Output Only] The status of the sub public delegated prefix.

Protobuf enum google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix.Status

Quota.Metric

[Output Only] Name of the quota metric.

Protobuf enum google.cloud.compute.v1.Quota.Metric

QuotaExceededInfo.RolloutStatus

Rollout status of the future quota limit.

Protobuf enum google.cloud.compute.v1.QuotaExceededInfo.RolloutStatus

RawDisk.ContainerType

The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.

Protobuf enum google.cloud.compute.v1.RawDisk.ContainerType

Region.Status

[Output Only] Status of the region, either UP or DOWN.

Protobuf enum google.cloud.compute.v1.Region.Status

RegionInstanceGroupManagersApplyUpdatesRequest.MinimalAction

The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTART

Protobuf enum google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest.MinimalAction

RegionInstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction

The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance and limit disruption as much as possible. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. Additional supported values which may be not listed in the enum directly due to technical reasons: NONE REFRESH REPLACE RESTART

Protobuf enum google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction

RegionInstanceGroupsListInstancesRequest.InstanceState

Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.

Protobuf enum google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest.InstanceState

RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type

[Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.

Protobuf enum google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type

Reservation.Status

[Output Only] The status of the reservation.

Protobuf enum google.cloud.compute.v1.Reservation.Status

ReservationAffinity.ConsumeReservationType

Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples.

Protobuf enum google.cloud.compute.v1.ReservationAffinity.ConsumeReservationType

ResourceCommitment.Type

Type of resource for which this commitment applies. Possible values are VCPU, MEMORY, LOCAL_SSD, and ACCELERATOR.

Protobuf enum google.cloud.compute.v1.ResourceCommitment.Type

ResourcePolicy.Status

[Output Only] The status of resource policy creation.

Protobuf enum google.cloud.compute.v1.ResourcePolicy.Status

ResourcePolicyGroupPlacementPolicy.Collocation

Specifies network collocation

Protobuf enum google.cloud.compute.v1.ResourcePolicyGroupPlacementPolicy.Collocation

ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

Protobuf enum google.cloud.compute.v1.ResourcePolicySnapshotSchedulePolicyRetentionPolicy.OnSourceDiskDelete

ResourcePolicyWeeklyCycleDayOfWeek.Day

Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.

Protobuf enum google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek.Day

Route.RouteStatus

[Output only] The status of the route.

Protobuf enum google.cloud.compute.v1.Route.RouteStatus

Route.RouteType

[Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route

Protobuf enum google.cloud.compute.v1.Route.RouteType

RouteAsPath.PathSegmentType

[Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed

Protobuf enum google.cloud.compute.v1.RouteAsPath.PathSegmentType

RouterBgp.AdvertiseMode

User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM.

Protobuf enum google.cloud.compute.v1.RouterBgp.AdvertiseMode

RouterBgp.AdvertisedGroups

Protobuf enum google.cloud.compute.v1.RouterBgp.AdvertisedGroups

RouterBgpPeer.AdvertiseMode

User-specified flag to indicate which mode to use for advertisement.

Protobuf enum google.cloud.compute.v1.RouterBgpPeer.AdvertiseMode

RouterBgpPeer.AdvertisedGroups

Protobuf enum google.cloud.compute.v1.RouterBgpPeer.AdvertisedGroups

RouterBgpPeer.Enable

The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE.

Protobuf enum google.cloud.compute.v1.RouterBgpPeer.Enable

RouterBgpPeer.ManagementType

[Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.

Protobuf enum google.cloud.compute.v1.RouterBgpPeer.ManagementType

RouterBgpPeerBfd.SessionInitializationMode

The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.

Protobuf enum google.cloud.compute.v1.RouterBgpPeerBfd.SessionInitializationMode

RouterInterface.ManagementType

[Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted.

Protobuf enum google.cloud.compute.v1.RouterInterface.ManagementType

RouterNat.AutoNetworkTier

The network tier to use when automatically reserving IP addresses. Must be one of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.

Protobuf enum google.cloud.compute.v1.RouterNat.AutoNetworkTier

RouterNat.EndpointTypes

Protobuf enum google.cloud.compute.v1.RouterNat.EndpointTypes

RouterNat.NatIpAllocateOption

Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty.

Protobuf enum google.cloud.compute.v1.RouterNat.NatIpAllocateOption

RouterNat.SourceSubnetworkIpRangesToNat

Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES then there should not be any other Router.Nat section in any Router for this network in this region.

Protobuf enum google.cloud.compute.v1.RouterNat.SourceSubnetworkIpRangesToNat

RouterNatLogConfig.Filter

Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful.

Protobuf enum google.cloud.compute.v1.RouterNatLogConfig.Filter

RouterNatSubnetworkToNat.SourceIpRangesToNat

Protobuf enum google.cloud.compute.v1.RouterNatSubnetworkToNat.SourceIpRangesToNat

RouterStatusBgpPeerStatus.Status

Status of the BGP peer: {UP, DOWN}

Protobuf enum google.cloud.compute.v1.RouterStatusBgpPeerStatus.Status

RouterStatusBgpPeerStatus.StatusReason

Indicates why particular status was returned.

Protobuf enum google.cloud.compute.v1.RouterStatusBgpPeerStatus.StatusReason

Rule.Action

This is deprecated and has no effect. Do not use.

Protobuf enum google.cloud.compute.v1.Rule.Action

SSLHealthCheck.PortSpecification

Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.

Protobuf enum google.cloud.compute.v1.SSLHealthCheck.PortSpecification

SSLHealthCheck.ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Protobuf enum google.cloud.compute.v1.SSLHealthCheck.ProxyHeader

SavedAttachedDisk.Interface

Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.

Protobuf enum google.cloud.compute.v1.SavedAttachedDisk.Interface

SavedAttachedDisk.Mode

The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.

Protobuf enum google.cloud.compute.v1.SavedAttachedDisk.Mode

SavedAttachedDisk.StorageBytesStatus

[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.

Protobuf enum google.cloud.compute.v1.SavedAttachedDisk.StorageBytesStatus

SavedAttachedDisk.Type

Specifies the type of the attached disk, either SCRATCH or PERSISTENT.

Protobuf enum google.cloud.compute.v1.SavedAttachedDisk.Type

SavedDisk.Architecture

[Output Only] The architecture of the attached disk.

Protobuf enum google.cloud.compute.v1.SavedDisk.Architecture

SavedDisk.StorageBytesStatus

[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.

Protobuf enum google.cloud.compute.v1.SavedDisk.StorageBytesStatus

ScalingScheduleStatus.State

[Output Only] The current state of a scaling schedule.

Protobuf enum google.cloud.compute.v1.ScalingScheduleStatus.State

Scheduling.InstanceTerminationAction

Specifies the termination action for the instance.

Protobuf enum google.cloud.compute.v1.Scheduling.InstanceTerminationAction

Scheduling.OnHostMaintenance

Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy.

Protobuf enum google.cloud.compute.v1.Scheduling.OnHostMaintenance

Scheduling.ProvisioningModel

Specifies the provisioning model of the instance.

Protobuf enum google.cloud.compute.v1.Scheduling.ProvisioningModel

SchedulingNodeAffinity.Operator

Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity.

Protobuf enum google.cloud.compute.v1.SchedulingNodeAffinity.Operator

SecurityPolicy.Type

The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can be configured to filter packets targeting network load balancing resources such as backend services, target pools, target instances, and instances with external IPs. They filter requests before the request is served from the application. This field can be set only at resource creation time.

Protobuf enum google.cloud.compute.v1.SecurityPolicy.Type

SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.RuleVisibility

Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. This field is only supported in Global Security Policies of type CLOUD_ARMOR.

Protobuf enum google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig.RuleVisibility

SecurityPolicyAdvancedOptionsConfig.JsonParsing

Protobuf enum google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig.JsonParsing

SecurityPolicyAdvancedOptionsConfig.LogLevel

Protobuf enum google.cloud.compute.v1.SecurityPolicyAdvancedOptionsConfig.LogLevel

SecurityPolicyDdosProtectionConfig.DdosProtection

Protobuf enum google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.DdosProtection

SecurityPolicyRuleMatcher.VersionedExpr

Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.

Protobuf enum google.cloud.compute.v1.SecurityPolicyRuleMatcher.VersionedExpr

SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams.Op

The match operator for the field.

Protobuf enum google.cloud.compute.v1.SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams.Op

SecurityPolicyRuleRateLimitOptions.EnforceOnKey

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKey" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.

Protobuf enum google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions.EnforceOnKey

SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.EnforceOnKeyType

Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if "enforceOnKeyConfigs" is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforceOnKeyName". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value is truncated to the first 128 bytes. - SNI: Server name indication in the TLS session of the HTTPS request. The key value is truncated to the first 128 bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The country/region from which the request originates.

Protobuf enum google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.EnforceOnKeyType

SecurityPolicyRuleRedirectOptions.Type

Type of the redirect action.

Protobuf enum google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions.Type

ServerBinding.Type

Protobuf enum google.cloud.compute.v1.ServerBinding.Type

ServiceAttachment.ConnectionPreference

The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules.

Protobuf enum google.cloud.compute.v1.ServiceAttachment.ConnectionPreference

ServiceAttachmentConnectedEndpoint.Status

The status of a connected endpoint to this service attachment.

Protobuf enum google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint.Status

ShareSettings.ShareType

Type of sharing for this shared-reservation

Protobuf enum google.cloud.compute.v1.ShareSettings.ShareType

Snapshot.Architecture

[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64.

Protobuf enum google.cloud.compute.v1.Snapshot.Architecture

Snapshot.SnapshotType

Indicates the type of the snapshot.

Protobuf enum google.cloud.compute.v1.Snapshot.SnapshotType

Snapshot.Status

[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.

Protobuf enum google.cloud.compute.v1.Snapshot.Status

Snapshot.StorageBytesStatus

[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.

Protobuf enum google.cloud.compute.v1.Snapshot.StorageBytesStatus

SourceInstanceProperties.KeyRevocationActionType

KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.

Protobuf enum google.cloud.compute.v1.SourceInstanceProperties.KeyRevocationActionType

SslCertificate.Type

(Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.

Protobuf enum google.cloud.compute.v1.SslCertificate.Type

SslCertificateManagedSslCertificate.Status

[Output only] Status of the managed certificate resource.

Protobuf enum google.cloud.compute.v1.SslCertificateManagedSslCertificate.Status

SslPolicy.MinTlsVersion

The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.

Protobuf enum google.cloud.compute.v1.SslPolicy.MinTlsVersion

SslPolicy.Profile

Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.

Protobuf enum google.cloud.compute.v1.SslPolicy.Profile

StatefulPolicyPreservedStateDiskDevice.AutoDelete

These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.

Protobuf enum google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice.AutoDelete

Subnetwork.Ipv6AccessType

The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.

Protobuf enum google.cloud.compute.v1.Subnetwork.Ipv6AccessType

Subnetwork.PrivateIpv6GoogleAccess

This field is for internal use. This field can be both set at resource creation time and updated using patch.

Protobuf enum google.cloud.compute.v1.Subnetwork.PrivateIpv6GoogleAccess

Subnetwork.Purpose

The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.

Protobuf enum google.cloud.compute.v1.Subnetwork.Purpose

Subnetwork.Role

The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.

Protobuf enum google.cloud.compute.v1.Subnetwork.Role

Subnetwork.StackType

The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.

Protobuf enum google.cloud.compute.v1.Subnetwork.StackType

Subnetwork.State

[Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY

Protobuf enum google.cloud.compute.v1.Subnetwork.State

SubnetworkLogConfig.AggregationInterval

Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection.

Protobuf enum google.cloud.compute.v1.SubnetworkLogConfig.AggregationInterval

SubnetworkLogConfig.Metadata

Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.

Protobuf enum google.cloud.compute.v1.SubnetworkLogConfig.Metadata

Subsetting.Policy

Protobuf enum google.cloud.compute.v1.Subsetting.Policy

TCPHealthCheck.PortSpecification

Specifies how a port is selected for health checking. Can be one of the following values: USE_FIXED_PORT: Specifies a port number explicitly using the port field in the health check. Supported by backend services for pass-through load balancers and backend services for proxy load balancers. Not supported by target pools. The health check supports all backends supported by the backend service provided the backend can be health checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an indirect method of specifying the health check port by referring to the backend service. Only supported by backend services for proxy load balancers. Not supported by target pools. Not supported by backend services for pass-through load balancers. Supports all backends that can be health checked; for example, GCE_VM_IP_PORT network endpoint groups and instance group backends. For GCE_VM_IP_PORT network endpoint group backends, the health check uses the port number specified for each endpoint in the network endpoint group. For instance group backends, the health check uses the port number determined by looking up the backend service's named port in the instance group's list of named ports.

Protobuf enum google.cloud.compute.v1.TCPHealthCheck.PortSpecification

TCPHealthCheck.ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Protobuf enum google.cloud.compute.v1.TCPHealthCheck.ProxyHeader

TargetHttpsProxiesSetQuicOverrideRequest.QuicOverride

QUIC policy for the TargetHttpsProxy resource.

Protobuf enum google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest.QuicOverride

TargetHttpsProxy.QuicOverride

Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied.

Protobuf enum google.cloud.compute.v1.TargetHttpsProxy.QuicOverride

TargetInstance.NatPolicy

Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance.

Protobuf enum google.cloud.compute.v1.TargetInstance.NatPolicy

TargetPool.SessionAffinity

Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.

Protobuf enum google.cloud.compute.v1.TargetPool.SessionAffinity

TargetSslProxiesSetProxyHeaderRequest.ProxyHeader

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.

Protobuf enum google.cloud.compute.v1.TargetSslProxiesSetProxyHeaderRequest.ProxyHeader

TargetSslProxy.ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Protobuf enum google.cloud.compute.v1.TargetSslProxy.ProxyHeader

TargetTcpProxiesSetProxyHeaderRequest.ProxyHeader

The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed.

Protobuf enum google.cloud.compute.v1.TargetTcpProxiesSetProxyHeaderRequest.ProxyHeader

TargetTcpProxy.ProxyHeader

Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.

Protobuf enum google.cloud.compute.v1.TargetTcpProxy.ProxyHeader

TargetVpnGateway.Status

[Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING.

Protobuf enum google.cloud.compute.v1.TargetVpnGateway.Status

UpdateInstanceRequest.MinimalAction

Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require. Additional supported values which may be not listed in the enum directly due to technical reasons: INVALID NO_EFFECT REFRESH RESTART

Protobuf enum google.cloud.compute.v1.UpdateInstanceRequest.MinimalAction

UpdateInstanceRequest.MostDisruptiveAllowedAction

Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. Additional supported values which may be not listed in the enum directly due to technical reasons: INVALID NO_EFFECT REFRESH RESTART

Protobuf enum google.cloud.compute.v1.UpdateInstanceRequest.MostDisruptiveAllowedAction

UrlMapsValidateRequest.LoadBalancingSchemes

Protobuf enum google.cloud.compute.v1.UrlMapsValidateRequest.LoadBalancingSchemes

UsableSubnetwork.Ipv6AccessType

The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack.

Protobuf enum google.cloud.compute.v1.UsableSubnetwork.Ipv6AccessType

UsableSubnetwork.Purpose

The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.

Protobuf enum google.cloud.compute.v1.UsableSubnetwork.Purpose

UsableSubnetwork.Role

The role of subnetwork. Currently, this field is only used when purpose = REGIONAL_MANAGED_PROXY. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Envoy-based load balancers in a region. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request.

Protobuf enum google.cloud.compute.v1.UsableSubnetwork.Role

UsableSubnetwork.StackType

The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.

Protobuf enum google.cloud.compute.v1.UsableSubnetwork.StackType

VpnGateway.StackType

The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.

Protobuf enum google.cloud.compute.v1.VpnGateway.StackType

VpnGatewayStatusHighAvailabilityRequirementState.State

Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET.

Protobuf enum google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState.State

VpnGatewayStatusHighAvailabilityRequirementState.UnsatisfiedReason

Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE.

Protobuf enum google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState.UnsatisfiedReason

VpnTunnel.Status

[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel.

Protobuf enum google.cloud.compute.v1.VpnTunnel.Status

Warning.Code

[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.

Protobuf enum google.cloud.compute.v1.Warning.Code

Warnings.Code

[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.

Protobuf enum google.cloud.compute.v1.Warnings.Code

XpnResourceId.Type

The type of the service resource.

Protobuf enum google.cloud.compute.v1.XpnResourceId.Type

Zone.Status

[Output Only] Status of the zone, either UP or DOWN.

Protobuf enum google.cloud.compute.v1.Zone.Status