There are two kinds of Instance Group Managers (IGMs), which are almost identical.
There are two differences between them:
- Service used to managed them (compute.instanceGroupManagers for zonal and compute.regionInstanceGroupManagers for regional),
- Fields you can set (you must set zone for regional but can not set it for regional, reverse that for with region field).
You want to create a regional IGM. So you must send call to compute.regionInstanceGroupManagers.create method not set any value to zone field but set value of region field.
If you are just starting it's probably easiest to use web UI. You can also use command gcloud compute instance-groups managed create
(with --region
flag) if you like console. If you want to interact with API more directly APIs Explorer makes that easier.