def Run(self, args): update_instances_utils.ValidateCanaryVersionFlag('--canary-version', args.canary_version) holder = base_classes.ComputeApiHolder(self.ReleaseTrack()) client = holder.client request = self.CreateRequest(args, client, holder.resources) return client.MakeRequests([request])
def Run(self, args): update_instances_utils.ValidateCanaryVersionFlag('--canary-version', args.canary_version) holder = base_classes.ComputeApiHolder(self.ReleaseTrack()) client = holder.client cleared_fields = [] request = self.CreateRequest(args, cleared_fields, client, holder.resources) with client.apitools_client.IncludeFields(cleared_fields): return client.MakeRequests([request])