code: @BetaApi
    public final Operation expandIpCidrRangeSubnetwork(
        ProjectRegionSubnetworkName subnetwork,
        SubnetworksExpandIpCidrRangeRequest subnetworksExpandIpCidrRangeRequestResource) {
  
      ExpandIpCidrRangeSubnetworkHttpRequest request =
          ExpandIpCidrRangeSubnetworkHttpRequest.newBuilder()
              .setSubnetwork(subnetwork == null ? null : subnetwork.toString())
              .setSubnetworksExpandIpCidrRangeRequestResource(
                  subnetworksExpandIpCidrRangeRequestResource)
              .build();
      return expandIpCidrRangeSubnetwork(request);
    }
docs: Expands the IP CIDR range of the subnetwork to a specified value.
  
  <p>Sample code:
  
  <pre><code>
  try (SubnetworkClient subnetworkClient = SubnetworkClient.create()) {
  ProjectRegionSubnetworkName subnetwork = ProjectRegionSubnetworkName.of("[PROJECT]", "[REGION]", "[SUBNETWORK]");
  SubnetworksExpandIpCidrRangeRequest subnetworksExpandIpCidrRangeRequestResource = SubnetworksExpandIpCidrRangeRequest.newBuilder().build();
  Operation response = subnetworkClient.expandIpCidrRangeSubnetwork(subnetwork, subnetworksExpandIpCidrRangeRequestResource);
  }
  </code></pre>
  
  @param subnetwork Name of the Subnetwork resource to update.
  @param subnetworksExpandIpCidrRangeRequestResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails